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

Static analysis result for SHA-256 fd822b567721a7fa…

MALICIOUS

Office (OLE) / .DOC

45.5 KB Created: 2022-05-17 14:25:00 Authoring application: Microsoft Office Word First seen: 2022-07-16
MD5: 3547b8a2958de05790c784f6aa00470c SHA-1: 67143f6bd18cf4306385b9faf4bcafd5bb66389a SHA-256: fd822b567721a7fa2467a4b1712b650cc365b1a814cb9e75f86ed68194a17dbf
502 Risk Score

Malware Insights

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

The sample is a malicious Word document that uses a "document is encrypted" lure to convince the user to enable macros. The AutoOpen and Document_Open VBA macros then execute a Wscript.Shell object to run mshta.exe with a URL, which is highly indicative of downloading and executing a second-stage payload. The URL https://file.securedatahosting.net/Access is the primary IOC.

Heuristics 13

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Reference to mshta.exe high SC_STR_MSHTA
    Reference to mshta.exe
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • 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
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • 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 https://file.securedatahosting.net/Access
    • http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

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