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

Static analysis result for SHA-256 0880578c9a50a428…

MALICIOUS

Office (OLE) / .DOC

32.0 KB Created: 2022-07-30 14:28:00 Authoring application: Microsoft Office Word First seen: 2022-08-03
MD5: 2b09d96ee74a2568645b2cdbc06e953d SHA-1: 382b583cb47e6bbccc62df6fdb7018c10fc4cb22 SHA-256: 0880578c9a50a428faa3591aac7128b5a1c70818bd9b77502a76ff8ecdce84c2
562 Risk Score

Malware Insights

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

The sample leverages the AutoOpen macro to exploit CVE-2007-3899, a memory corruption vulnerability in Microsoft Word. The VBA script within the document uses WScript.Shell to download a file named 'beacon.exe' from 'http://78.85.17.88:8443/beacon.exe' and saves it to the Startup folder as 'test.exe', indicating a downloader functionality.

Heuristics 13

  • 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.
  • 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.
  • ClamAV: Doc.Macro.Downloader-6360614-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Macro.Downloader-6360614-0
  • Reference to CreateProcess API high SC_STR_CREATEPROCESS
    Reference to CreateProcess API
  • Reference to ShellExecute API high SC_STR_SHELLEXEC
    Reference to ShellExecute API
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen 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.
  • 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/beacon.exe�
    • http://78.85.17.88:8443/beacon.exe
    • http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
05adf27cbf468bc6b5282c1e1a3de7a670f54cfcbedabf34200d7e39d50fe169
vba-macro oletools.olevba.extract_macros (decoded VBA source) 685 bytes