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

Static analysis result for SHA-256 52c2ea9f0c445687…

MALICIOUS

Office (OLE) / .DOCX

164.3 KB Created: 2020-10-20 08:13:00 Authoring application: Microsoft Office Word
MD5: 5b542d8fdf006cef01dbfe1568e01e2e SHA-1: ab269cacf33fec73c4222e11f31bbfbae8b7c2f1 SHA-256: 52c2ea9f0c4456872b85725899fd0c9fbabe6b2e07c4a8db19edcd797603c46f
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 automatically executes upon opening the document, as indicated by the Document_Open and OLE_VBA_PCODE_AUTOEXEC_EXEC heuristics. This macro utilizes CreateObject, a common technique for launching malicious payloads. The ClamAV detection further confirms its malicious nature. The primary IOC is the extracted VBA macro file, 'macros.bas', which is responsible for the execution.

Heuristics 7

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