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

Static analysis result for SHA-256 16262c4613bd83f0…

MALICIOUS

Office (OLE) / .DOC

18.0 KB First seen: 2022-06-21
MD5: 896a9091bcbe32144c6bbfa2bba4ec99 SHA-1: 26e1b54243ec897ee5e5993be4ac182ae95e6fc0 SHA-256: 16262c4613bd83f037253dca7f7b34d85c9887b213ffb4d9362209d36e8d5cfd
182 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1566.001 Spearphishing Attachment

The sample contains VBA macros, specifically an Auto_Close macro, which is designed to execute when the document is closed. This macro uses the Shell function to execute 'mshta.exe' with a URL pointing to a payload hosted on bitbucket.org. This indicates the document is a malicious attachment intended to download and execute a second-stage payload.

Heuristics 6

  • Reference to mshta.exe high SC_STR_MSHTA
    Reference to mshta.exe
  • Auto_Close macro high OLE_VBA_AUTOCLOSE
    Auto_Close macro
  • 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/7kkpa9/c8b0ead78ed9adf6015a0eb6e4a43667da101d2e/files/charlesfinal

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
545b867e15e907a7b6806ffae3e1605d9764222047af456c4d7e4bebe15f2528
vba-macro oletools.olevba.extract_macros (decoded VBA source) 752 bytes