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

Static analysis result for SHA-256 813c8b8b43be5a92…

MALICIOUS

Office (OLE) / .DOC

581.0 KB Created: 2021-04-14 15:55:00 Authoring application: Microsoft Office Word
MD5: 57b925efb16137d4b45bc60d22eed918 SHA-1: 1df69c254213765a9a455e9b1fa5a85659d4376b SHA-256: 813c8b8b43be5a928a5cd841bea08d7d5453ab8a1196e3c81abd7a144027247b
342 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059 Command and Scripting Interpreter T1204.002 Malicious File T1566.001 Spearphishing Attachment

The sample contains VBA macros with critical firings for Shell() and WScript.Shell usage, indicating an attempt to execute arbitrary code. The AutoOpen macro is present, suggesting automatic execution upon opening. The script attempts to construct a path to 'C:\Program Files\Common Files\Microsoft Shared\Office16\msos.exe' and write the document's footer text to it, likely to execute a second-stage payload. This points to a macro-based downloader attack.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_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.
  • 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://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

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