Source: SANS Internet Storm Center, October 13, 2026
Read the original on SANS Internet Storm Center
What This Means for Central Coast Offices
Didier Stevens wrote a SANS Internet Storm Center diary on October 14, 2026 about an unusual finding in AutoCAD drawing files. VBA macro code in a DWG file is stored in an embedded OLE container, and a pointer near the start of the DWG header normally tells tools and AutoCAD where that container lives. Stevens has written tools that follow this pointer to carve out and inspect the macro code.
In this diary he describes two DWG files where that pointer was set to zero, which would normally mean no VBA project is present, yet the files still contained an embedded OLE container with a VBA project inside. His pointer based tool returned nothing, while his oledump tool, which searches the data directly, found and analyzed the code. He calls these orphaned VBA projects because the drawing no longer references them. Since AutoCAD would not see the project, he believes the code likely could not run when the file was opened, and he notes that a default AutoCAD installation does not support VBA without a separate install. He does not know how orphaning happens, but suggests an AutoLISP command that removes a VBA project might clear the pointer while leaving the data behind. His advice to analysts is not to rely on the pointer alone when screening DWG files.
For Central Coast architects, engineers, contractors, and agricultural operations that trade drawings with outside parties, this is mostly a reminder that DWG files can carry code. The orphaned case appears low risk on its own, but malicious DWG files with working macros exist, and files with hidden leftover content can confuse scanning tools.
Practical steps are straightforward. If your team does not use AutoCAD VBA, do not install the VBA module, which removes a whole class of risk. If you do need macros, keep AutoCAD’s security settings restrictive and only allow macros from trusted, known sources. Treat drawings from unfamiliar senders with the same caution as unexpected Office attachments, and scan them with up to date security software before opening.
It also helps to keep AutoCAD and related viewers updated and to store project files where backups and access controls apply. CoastDigiTech can help small design and engineering offices review their file handling and endpoint protection.
