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

Static analysis result for SHA-256 2bf088955007b4f4…

MALICIOUS

Office (OLE) / .DOCX

4.72 MB Created: 2021-02-05 16:34:00 Authoring application: Microsoft Office Word
MD5: 2157d2c3b5ba5ae6fe5052353668234e SHA-1: ae01ca2cf0dc07abb3a7bef9930e38c9212975d5 SHA-256: 2bf088955007b4f47fe9187affe65fffea234ff16596313a74958a7c85129172
408 Risk Score

Malware Insights

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

The sample is a malicious OLE document containing VBA macros, specifically a Document_Open macro that uses CreateObject and references mshta.exe. This suggests the macro is designed to execute arbitrary code, likely by downloading and running a second-stage payload. The presence of a 'Password-protected archive handoff' heuristic indicates the document's content is likely a lure to trick users into opening a password-protected archive, a common tactic to evade gateway scanning.

Heuristics 11

  • ClamAV: Doc.Dropper.EmbeddedBase64Exe-9865902-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.EmbeddedBase64Exe-9865902-1
  • Heap-spray pattern detected high SC_HEAP_SPRAY
    Repeated 0x41 (A) bytes found
  • Reference to WinExec API high SC_STR_WINEXEC
    Reference to WinExec API
  • Reference to mshta.exe high SC_STR_MSHTA
    Reference to mshta.exe
  • 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.
    URL http://schemas.openxmlformats.org/drawingml/2006/main
    • http://schemas.openxmlformats.org/officeDocument/2006/bibliography
    • http://schemas.openxmlformats.org/officeDocument/2006/customXml
  • Password-protected archive handoff high SE_PASSWORD_ARCHIVE_LURE
    Document gives password instructions for an archive or attachment — often used to keep payloads encrypted until after gateway scanning
  • Suspicious extracted artifact high 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.
    URL http://schemas.openxmlformats.org/drawingml/2006/main
    • http://schemas.openxmlformats.org/officeDocument/2006/bibliography
    • http://schemas.openxmlformats.org/officeDocument/2006/customXml
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
5cfba1a7865e812ebf8b596b84251424a33f0377abd54e9666314a2c4045120c
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1331 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.