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

Static analysis result for SHA-256 2a9a1d0c0fff5c86…

MALICIOUS

Office (OLE) / .DOC

68.5 KB First seen: 2022-08-03
MD5: 2e2c1d6ad0382323610eb34e4e07497e SHA-1: d757289ec35656bfb343bc00c74b4b3d892ff521 SHA-256: 2a9a1d0c0fff5c866b9e3615737f69f73e14212db2e4d86ddf635b200aa824a7
570 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 Malicious File T1059.001 PowerShell T1055.012 Process Injection T1105 Ingress Tool Transfer

The sample is a malicious Microsoft Word document exploiting CVE-2007-3899, a memory corruption vulnerability. It contains VBA macros that utilize WinAPI calls such as CreateRemoteThread, VirtualAlloc, and WriteProcessMemory, indicating an attempt to inject code into another process. The presence of PowerShell-related heuristics and the AutoOpen macro suggests the document is designed to download and execute a second-stage payload upon opening.

Heuristics 15

  • CVE-2007-3899 — Microsoft Word malformed string memory corruption critical CVE likely CVE_2007_3899
    Word OLE document has the MS07-060 malformed-string exploit shape: a Word 97-family FIB points to a malformed DOP/string-table region with an abnormal INT_MAX run, inflated text counters, and exploit payload or Mdropper.Z campaign evidence.
  • Reference to WriteProcessMemory API critical SC_STR_WRITEPROCESSMEMORY
    Reference to WriteProcessMemory API
  • Reference to CreateRemoteThread API critical SC_STR_CREATEREMOTETHREAD
    Reference to CreateRemoteThread API
  • ClamAV: Doc.Macro.Injection-6355574-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Macro.Injection-6355574-0
  • Reference to CreateProcess API high SC_STR_CREATEPROCESS
    Reference to CreateProcess API
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • 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.
  • 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.
  • Reference to VirtualAlloc API medium SC_STR_VIRTUALALLOC
    Reference to VirtualAlloc API
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
  • 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
3d7d8c0a9dbd8c8758cdeb37250b71edae0bc4187a11fb2af2ef8b4e2ae277f3
vba-macro oletools.olevba.extract_macros (decoded VBA source) 7908 bytes