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

Static analysis result for SHA-256 67cabee2a3dcf8a5…

MALICIOUS

Office (OLE) / .DOCX

167.6 KB Created: 2021-01-05 17:50:00 Authoring application: Microsoft Office Word
MD5: f0a2f93fd113a4e64e600f54324bc885 SHA-1: fdb6dd380f17a2d991fbc3b5f0451ca1db1ddefa SHA-256: 67cabee2a3dcf8a53b1ea9310c6028996c8811e1e2c7f2411ed79f99e60a1341
262 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer

The sample contains a heavily obfuscated VBA macro that executes upon opening the document. This macro utilizes CreateObject to interact with the file system, creating files with seemingly random names in arbitrary directories. The script's intent is to download and execute a second-stage payload, as indicated by the use of CreateObject("Scripting.FileSystemObject") and the writing of arbitrary content to files. The ClamAV detection name 'Doc.Downloader.EmotetRed02224-9938637-0' further supports the downloader functionality.

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
4ad47f06387c2fe26b40af7c5c3febabd490580f16728c81acf291150b2fb0bb
vba-macro oletools.olevba.extract_macros (decoded VBA source) 10757 bytes