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

Static analysis result for SHA-256 eca72df7a7731b8b…

MALICIOUS

Office (OLE) / .DOC

501.0 KB Created: 2021-12-03 17:38:00 Authoring application: Microsoft Office Word
MD5: 120d1cab00442261792155575c1c1bd4 SHA-1: d787a3256a5f266ba7faa00c814b1a7001934b93 SHA-256: eca72df7a7731b8b88bf0831103f943948cb9b9e0fdede9845b30be3fda60582
240 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File

The sample contains a VBA macro that uses the Auto_Close event, indicating it will execute when the document is closed. The macro attempts to reconstruct a file by concatenating hex-encoded strings from the document's words and writes it to 'C:\Users\Public\Documents\1.mstsc'. The presence of ShellExecute API calls and the creation of an executable file suggest the macro's intent is to download and execute a second-stage payload. The obfuscated nature of the hex-to-ascii conversion and the truncated script limit full analysis, but the core malicious intent is clear.

Heuristics 7

  • Reference to ShellExecute API high SC_STR_SHELLEXEC
    Reference to ShellExecute API
  • Auto_Close macro high OLE_VBA_AUTOCLOSE
    Auto_Close macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Suspicious extracted artifact medium 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.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
043fa8e1c343bf54a4575d068daca18964d017b18ee020373729e332621557eb
vba-macro oletools.olevba.extract_macros (decoded VBA source) 37215 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s).