# SANS researcher shares DWG VBA detection rule

Published: 2026-10-18 · Severity: routine · Sectors: Manufacturing · Not tied to an actor or CVE
Canonical: https://vorant.io/reports/c6a22140-dd2c-5346-9452-7b85278af8a1/sans-researcher-shares-dwg-vba-detection-rule
Vorant's rating weighs the evidence in the report: confirmed exploitation, victims claimed, CVSS and EPSS, and how many sources agree. It rates the report, not your assets.

> Didier Stevens published a YARA rule to detect orphaned VBA projects hidden inside AutoCAD DWG files, finding two matching samples via VirusTotal.

Source: isc.sans.edu — https://isc.sans.edu/diary/rss/33434

## What to check

- Applies to: Not tied to a specific actor, malware or CVE, only to the sectors it covers, so it may be general reporting. Check the source before acting on it. Whether it concerns you is not assessed.

In this short SANS Internet Storm Center diary, handler Didier Stevens shares a YARA rule designed to detect 'orphaned VBA projects' embedded inside AutoCAD DWG files. The technique leverages the fact that DWG files can contain an OLE2/Compound File Binary Format structure (signature D0 CF 11 E0 A1 B1 1A E1) with VBA project artifacts, such as a '[Host Extender Info]' section, that are not normally expected in legitimate DWG files — an indicator that malicious or anomalous macro content may have been embedded.

Stevens ran the YARA rule as a VirusTotal retrohunt and found only two matching files, identified by SHA256 hash. The diary does not provide further analysis of these samples, confirm active exploitation, or describe a specific campaign — it is a detection-engineering note intended to help analysts and threat hunters identify this file structure pattern in their own environments or via VirusTotal hunting.

For defenders, the actionable takeaway is the YARA rule itself, which can be deployed in file-scanning pipelines, EDR, or VirusTotal retrohunts to flag DWG files that may carry embedded VBA macro artifacts — a potential technique for delivering malicious code via CAD file formats, an unusual but plausible initial-access vector in engineering, architecture, or manufacturing environments where DWG files are routinely exchanged.

Source reporting: https://isc.sans.edu/diary/rss/33434

---

This is the free public brief from Vorant Threat Intelligence. When citing, attribute "Vorant" and link https://vorant.io/reports/c6a22140-dd2c-5346-9452-7b85278af8a1/sans-researcher-shares-dwg-vba-detection-rule.
In the app the same report carries its extracted indicators. The paid plans add the security research and news reporting the free tier leaves out. Slack alerts on the vendors, sectors and countries a reader follows come with the paid plans too. A new account starts with a three-day trial, no card: https://vorant.io/signup
