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

Static analysis result for SHA-256 0b7133f473461f72…

MALICIOUS

Office (OLE) / .DOC

58.5 KB Created: 2021-10-30 04:52:00 Authoring application: Microsoft Office Word First seen: 2021-11-07
MD5: a96622f0f307aefc0bbf023b5793f497 SHA-1: 24f1bcb349d99fb74b959ef4c2859cea2f82da31 SHA-256: 0b7133f473461f72580a20fff7439a51cd5e1c8ec8ee81ac94090656046ed668
290 Risk Score

Malware Insights

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

The sample contains VBA macros that are automatically executed upon opening the document. The macro 'rabbit' constructs a URL to download a file from 'raw.githubusercontent.com/bamimi6693/1/main/s', saves it as an XML file in the temporary directory, and then uses WMI to execute it via wscript.exe. This indicates a downloader pattern aiming to fetch and execute a second-stage payload.

Heuristics 9

  • VBA WMI Win32_Process launcher critical OLE_VBA_WMI_PROCESS_CREATE
    VBA macro builds or references a WMI moniker for Win32_Process and invokes .Create to start a command. This is a high-confidence macro execution chain that often hides the WMI class name through string concatenation or helper functions.
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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
  • 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
    • http://schemas.openxmlformats.org/officeDocument/2006/bibliography
    • http://schemas.openxmlformats.org/officeDocument/2006/customXml

Extracted artifacts 1

Files carved from inside the sample during analysis.

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