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

Static analysis result for SHA-256 5b81f8f1208d2dfc…

MALICIOUS

Office (OLE) / .DOC

82.5 KB Created: 2023-03-28 06:44:00 Authoring application: Microsoft Office Word First seen: 2023-04-07
MD5: bcc12e4c20895dfc52160013aecf76c0 SHA-1: cedf1888a05ec696108756825ce91f2081f331ae SHA-256: 5b81f8f1208d2dfccb4dd6946102b61ad8f220c7b1c0a80f7be3ca23e6e59b3e
202 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1204.002 Malicious File

The sample contains heavily obfuscated VBA macros, including an auto-exec loader within the Document_Open subroutine. The script utilizes CreateObject to instantiate 'VBScript.Shell' and attempts to write to the registry key 'HKCU\Software\Microsoft\Office\Word\Security\AccessVBO' with a REG_DWORD value, indicating an attempt to manipulate security settings or establish persistence. The obfuscation and use of shell execution strongly suggest a downloader or initial access payload.

Heuristics 6

  • 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
  • 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
  • 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
3e3c59c31b67de57890549a2c6e758edafe00460f45bde9bb8adcd75f554ac61
vba-macro oletools.olevba.extract_macros (decoded VBA source) 36869 bytes