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

Static analysis result for SHA-256 139cdde70d9bc49c…

MALICIOUS

Office (OLE) / .DOC

34.0 KB Created: 2022-07-31 18:43:00 Authoring application: Microsoft Office Word First seen: 2022-08-03
MD5: d5ed48f523684f70ab3ba695d2a9adf1 SHA-1: 901c9e99c6c18ffe10bf581d0c24b51bbcca45b0 SHA-256: 139cdde70d9bc49cf49f8ba2e44b4eba74b3e3f8f20968c025720d1918ccc0e2
342 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.005 Visual Basic T1105 Ingress Tool Transfer T1071.001 Web Protocols

The VBA macro contains an AutoClose subroutine that executes a shell command to download a PowerShell script from 'http://78.85.17.88:8443/reverse.ps1' using curl, saving it as 'C:\Windows\Tasks\reva.ps1'. It then executes this downloaded script using PowerShell. This indicates a clear intent to download and run a second-stage payload, likely for remote access or further infection.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Auto_Close macro high OLE_VBA_AUTOCLOSE
    Auto_Close 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.
  • 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://78.85.17.88:8443/reverse.ps1
    • http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
89688a273e91472e0702bcc0bba935fc87bd84c38db0b0e030afe3704399bd52
vba-macro oletools.olevba.extract_macros (decoded VBA source) 531 bytes