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

Static analysis result for SHA-256 dbb9168502e81961…

MALICIOUS

Office (OLE) / .DOCX

790.5 KB Created: 2021-03-15 10:38:00 Authoring application: Microsoft Office Word
MD5: c7a3276763a5c1b13f93028aab5a6e73 SHA-1: c2844b69a36b3be37f8db97b0afc051f6bf36671 SHA-256: dbb9168502e819619e94d9dc211d5f4967d8083ac5f4f67742b926abb04e6676
308 Risk Score

Malware Insights

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

The sample is a malicious Office document containing a VBA macro. The 'Document_Open' macro is present and utilizes a Shell() call, indicating it's designed to execute arbitrary code. This is further supported by the 'VBA p-code auto-exec with execution tokens' heuristic. The macro likely downloads and executes a second-stage payload, as suggested by the ClamAV detection name 'Doc.Malware.Valyria-10016598-0'. No specific family could be identified, but the technique is common for initial access.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • ClamAV: Doc.Malware.Valyria-10016598-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Valyria-10016598-0
  • 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.
  • 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.
  • 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)
  • 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 http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

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