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

Static analysis result for SHA-256 298855399689be4f…

MALICIOUS

Office (OLE) / .DOC

34.0 KB Created: 2022-07-29 19:55:00 Authoring application: Microsoft Office Word First seen: 2022-08-03
MD5: 326af9d79b8683c3de40c5e6233364b5 SHA-1: 6f13c9c0ce4cc9bc54c57c1e5dc8f2337d60a658 SHA-256: 298855399689be4ff0d418295f5f4a0b4cc671f8556c7fd36ab79d4d10d7868e
382 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.002 Malicious File T1059.003 Windows Command Shell T1105 Ingress Tool Transfer

The VBA macro contains AutoOpen and Document_Open functions that call a function named 'quietmoth'. This function constructs and executes a command to download a PowerShell script from 'http://78.85.17.88:8443/reverse.ps1' to the temporary directory and then executes it. The script is intended to establish a reverse shell connection to the specified IP address and port.

Heuristics 10

  • 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
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • 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/
    • http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
ad070af1c3a9c1f36b7f145ddb96df67cb3e1334f52742898f194a106c21879b
vba-macro oletools.olevba.extract_macros (decoded VBA source) 933 bytes