On 2026-10-18, researchers from the SANS Internet Storm Center published a YARA rule to detect orphaned VBA projects in DWG files.
A YARA rule is a pattern‑matching tool that scans files for specific byte sequences or strings. Orphaned VBA projects are Visual Basic for Applications macros embedded in a file without a proper reference, which can allow the macros to execute unnoticed. DWG files are the native drawing format used by AutoCAD and other CAD programs.
String $a in the rule is defined as the literal AC10. String $b is set by the rule to the bytes D0, CF, 11, E0, A1, B1, 1A, and E1. String $c is set by the rule to the ASCII text [Host Extender Info]. The rule looks for $a at offset 0, a uint32 at offset 0x24 equals zero, and it requires $b and $c to be present.
When the rule was applied in a VirusTotal retrohunt, it flagged just two files. Didier Stevens, a Senior Handler with the SANS Internet Storm Center, shared the YARA rule. His blog resides at blog.DidierStevens.com.

Join the discussion