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

Static analysis result for SHA-256 01e0a3e4d6e4f243…

MALICIOUS

Office (OLE) / .DOCX

170.3 KB Created: 2021-01-05 12:07:00 Authoring application: Microsoft Office Word
MD5: 7d6aee5f7fa5cfcb3843b20c26d7a101 SHA-1: 4d2fac201bb3a35a8f2f4202552af8dab724539c SHA-256: 01e0a3e4d6e4f243c9d4ebaec1a00a85b5ee8cf86d4a50abf3b60a38e27ceae3
262 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample contains a Document_Open VBA macro that is heavily obfuscated and uses CreateObject to instantiate a FileSystemObject. This object is then used to write arbitrary strings to two different file paths, 'yiJvEjHD:\sLKcJhJbB\oYmKn.fjbxt' and 'irUGJCeXa:\zvKOlh\wQjECuG.KvyWqY'. The obfuscation and file system writes suggest the macro is part of a downloader or initial stage of a multi-stage attack.

Heuristics 7

  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
  • ClamAV: Doc.Downloader.EmotetRed02224-9938637-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.EmotetRed02224-9938637-0
  • 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.
  • 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
5fd199a84582bf2c4248191e49df05fe3a9d17ab4a6f639ead9a581ea6be129f
vba-macro oletools.olevba.extract_macros (decoded VBA source) 10799 bytes