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

Static analysis result for SHA-256 2ddb01d064d5900f…

MALICIOUS

Office (OLE) / .DOC

27.0 KB First seen: 2022-07-19
MD5: f15db607ab68dda5a18eead6c241d8d1 SHA-1: a5915cce9cfafe61b96f9bcc4e53339be4b3b5f5 SHA-256: 2ddb01d064d5900fce78b3dd2211a3e1b07a5ee690cd0bdbc0f5b699fe4eb8df
282 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1218.005 System Binary Proxy Execution: Mshta T1059.005 Visual Basic

The sample contains a heavily obfuscated Auto_Open VBA macro that utilizes GetObject to execute a command. The macro decodes strings to construct a command that likely involves mshta.exe to download and execute a second-stage payload from a remote URL. The presence of a reference to mshta.exe and the obfuscated loader strongly suggest a downloader or initial access stage.

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.
  • Reference to mshta.exe high SC_STR_MSHTA
    Reference to mshta.exe
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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.
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • 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 https://bitbucket.org/!api/2.0/snippets/rikimartinplace/KMdkj4/fb234120f46da0e5d1b1411bdf9aff08bf1c2f6d/files/michael1final
    • http://www.googl.com

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
bdfb111b2b6180aae30c00a75f807228cdee10380b42868986e34cdd254762cc
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1241 bytes