Skip to main content

Orphaned VBA Projects Inside DWG Files, (Wed, Oct 14th)

0
Low
News
Published: 10/14/2026 (10/14/2026, 06:49:46 UTC)
Source: SANS ISC Handlers Diary

Description

This report discusses the presence of orphaned VBA projects embedded inside AutoCAD DWG files. These VBA projects are stored within OLE files embedded in the DWG files. Some DWG files contain VBA projects that are orphaned, meaning the pointer to the embedded VBA project is zero, but the embedded OLE file with the VBA code still exists. AutoCAD does not recognize or execute these orphaned VBA projects. The report includes a method to detect and extract these embedded VBA projects using custom scripts and tools.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/14/2026, 07:03:36 UTC

Technical Analysis

AutoCAD DWG files can contain embedded VBA code stored inside OLE files. Typically, a pointer at offset 0x24 in the DWG file header indicates the location of the embedded VBA project. However, some DWG files have orphaned VBA projects where this pointer is zero, yet the embedded OLE file with VBA code remains present. These orphaned VBA projects are not executed by AutoCAD because the pointer is missing or cleared, possibly due to commands like (dictremove (namedobjdict) "ACAD_VBA"). Detection requires brute-force searching for embedded OLE files rather than relying solely on the pointer. The report provides Python scripts and tools to extract and analyze these embedded VBA projects.

Potential Impact

Orphaned VBA projects inside DWG files do not execute when the file is opened in AutoCAD because the pointer to the VBA project is zero. Therefore, these orphaned VBA projects do not pose an immediate execution risk within AutoCAD. However, their presence may indicate leftover or incomplete removal of VBA code, which could be relevant for forensic analysis or malware investigations. There is no indication of active exploitation or direct security impact from these orphaned projects.

Defensive Guidance

No direct remediation is required as orphaned VBA projects are not executed by AutoCAD. Users should verify the pointer at offset 0x24 to confirm if embedded VBA projects are orphaned. If removal of VBA projects is desired, commands like (dictremove (namedobjdict) "ACAD_VBA") may clear the pointer but may not remove the embedded OLE file. Further manual cleanup may be necessary if complete removal is required. Since AutoCAD does not execute orphaned VBA projects, no urgent action is needed.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Classification
{"confidence":0.3,"severitySource":"default","classifier":"rss-v2"}
Article Source
{"url":"https://isc.sans.edu/diary/rss/33420","fetched":true,"fetchedAt":"2026-10-14T07:03:30.340Z","wordCount":550}

Threat ID: 6acf29422cdf04f65654cceb

Added to database: 10/14/2026, 07:03:30 UTC

Last enriched: 10/14/2026, 07:03:36 UTC

Last updated: 10/14/2026, 13:03:40 UTC

Views: 18

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses