Malicious Office (OLE) / .DOC — malware analysis report

Static analysis result for SHA-256 6d861491d125d8d1…

MALICIOUS

Office (OLE) / .DOC

1.16 MB Created: 2023-04-19 04:39:00 Authoring application: Microsoft Office Word First seen: 2023-04-19
MD5: 2adc7688a6ba52aff4f84707b194e215 SHA-1: 4fa0f795008f084c52f3680bd8100f38ee8ec478 SHA-256: 6d861491d125d8d1eba8d376484a6463a55e83bfd45216445b9685cd8d4a27eb
244 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1547.001 Registry Run Keys / Startup Folder T1059.003 Windows Command Shell

The VBA macro uses an obfuscated loader to execute shell commands. Specifically, it reconstructs and writes to registry keys that appear to disable security features for Microsoft Office macros, likely to facilitate further malicious activity. The script's intent is to establish persistence by modifying these registry keys.

Heuristics 8

  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • CallByName call high OLE_VBA_CALLBYNAME
    CallByName call
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
debe129ad89dda8413b3a09df2256fa8d96debd4d0455cb39e17bf5465902ad4
vba-macro oletools.olevba.extract_macros (decoded VBA source) 2476 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 long base64-like blob(s).