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

Static analysis result for SHA-256 0016ab621d330177…

MALICIOUS

Office (OLE) / .DOC

37.0 KB Created: 2023-05-29 21:27:00 Authoring application: Microsoft Office Word First seen: 2023-05-30
MD5: 1319f5b076dbd5b75d41c306a762b297 SHA-1: 1682a7ef1fcea059ebf4bb1458038d55f23af836 SHA-256: 0016ab621d330177ecb0764d435fd311978e35b9c45c1cac8be5b945c478480f
402 Risk Score

Malware Insights

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

The Document_Open VBA macro utilizes WScript.Shell and CreateObject to download a file from 'http://topvaluationfirms.com/jahah.png' using Microsoft.XMLHTTP and ADODB.Stream. The downloaded file, named 'jahah.png', is then saved to disk and executed via a Shell() call. This indicates a downloader pattern designed to fetch and run a second-stage payload.

Heuristics 10

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXEC
    VBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • 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.
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • 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://topvaluationfirms.com/jahah.png
    • http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
48f01e488c4f1017f732c4225792f2cb2670be6d75bf0f420a244bb57b222da9
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1255 bytes