Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c307a41474269ae0…

MALICIOUS

Office (OLE)

153.2 KB Created: 2020-09-14 22:09:00 Authoring application: Microsoft Office Word
MD5: 526c823ea8bf31125276927f6de787e1 SHA-1: e5c2003fb86cc2a33a834e05cf55c211554ccd90 SHA-256: c307a41474269ae0b2b8ef107def0069342bf85eb73c27d4a9aa93a1d074f9ac
240 Risk Score

Malware Insights

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

The sample is an Office document containing a critical ClamAV detection and multiple high-severity heuristics indicating the presence of VBA macros. Specifically, the 'Document_Open' macro and 'CreateObject' call, combined with 'VBA p-code auto-exec with execution tokens', strongly suggest that the macros are designed to execute arbitrary code upon opening the document. The extracted 'macros.bas' file is the source of this malicious behavior. The script appears to construct a command string, likely for downloading and executing a second-stage payload, evidenced by the reconstructed string 'W' + '_' + '1' + '' + 'y' + 'e' + 'g' + 'Q' + 'k' + 's' + '1' + '' + 't' + 'l' + 's' + '1' which resolves to 'W_1_yegQks1_tls1'. This behavior aligns with a common malware delivery pattern.

Heuristics 7

  • ClamAV: Doc.Malware.Generic-9760527-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Generic-9760527-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
  • 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
bf2dc6e4793502154f28a14458af4f5198ccc48932a5641a4c34f7f1fcdc0c82
vba-macro oletools.olevba.extract_macros (decoded VBA source) 18582 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.