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

Static analysis result for SHA-256 40dead1e1d831076…

MALICIOUS

Office (OLE) / .DOC

1.44 MB Created: 2024-07-25 23:39:00 Authoring application: Microsoft Office Word
MD5: 07824f0ee982774b25a3beeadc727734 SHA-1: 645d2f225e7a25a76dd579bdb0b32a8cb912e91d SHA-256: 40dead1e1d83107698ff96bce9ea52236803b15b63fb0002e0b55af71a9b5e05
380 Risk Score

Malware Insights

MITRE ATT&CK
T1059.003 Windows Command Shell T1566.001 Spearphishing Attachment T1059.005 Visual Basic

The file contains a Document_Open VBA macro that utilizes Shell() and references cmd.exe, indicating an attempt to execute arbitrary commands. This macro is likely responsible for downloading and executing a secondary payload, as suggested by the ClamAV detection name 'Doc.Dropper.HexEncodedEXEHeader-9789587-1'. The presence of the 'macros.bas' artifact further supports the macro-based execution.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • ClamAV: Doc.Dropper.HexEncodedEXEHeader-9789587-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.HexEncodedEXEHeader-9789587-1
  • Reference to ShellExecute API high SC_STR_SHELLEXEC
    Reference to ShellExecute API
  • Suspicious cmd.exe invocation with execution flag high SC_STR_CMD
    Suspicious cmd.exe invocation with execution flag
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • 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/officeDocument/2006/
    • http://schemas.openxmlformats.org/officeDocument/2006/bibliography
    • http://schemas.openxmlformats.org/officeDocument/2006/customXml
    • http://schemas.openxmlformats.org/drawingml/2006/main
  • 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/officeDocument/2006/
    • http://schemas.openxmlformats.org/officeDocument/2006/bibliography
    • http://schemas.openxmlformats.org/officeDocument/2006/customXml
    • http://schemas.openxmlformats.org/drawingml/2006/main
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
b78eb47074594c71de709af5aa5816dca281cdffc03e772515852d3827421372
vba-macro oletools.olevba.extract_macros (decoded VBA source) 2401 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.