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

Static analysis result for SHA-256 5b32ebc958c1fafc…

MALICIOUS

Office (OLE) / .DOC

165.3 KB Created: 2021-01-05 10:15:00 Authoring application: Microsoft Office Word
MD5: f3a0bea4d9325e0989ee5315058fd7cd SHA-1: 0208f6ccffd21f25d0afe2b6dcbf14893b665b24 SHA-256: 5b32ebc958c1fafc023849b695a3fc0d2cf525385b919baec510141e666a5bc0
262 Risk Score

Malware Insights

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

The file contains a heavily obfuscated VBA macro with an auto-execute function (Document_Open). This macro utilizes `CreateObject` to instantiate a `Scripting.FileSystemObject` and writes arbitrary strings to two distinct file paths: 'OMySJHB:\AyVGlHzV\jPNIAFF.VJueCC' and 'YJYLAnEDp:\qjyoGCI\dkSAD.MSPmBF'. This behavior strongly suggests the macro's purpose is to download and execute a secondary payload, a common tactic for malware like Emotet.

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
8c4d881ce710c5bdc93f3892d458c04d696e3b291027b95b98b9ccba700a5f56
vba-macro oletools.olevba.extract_macros (decoded VBA source) 10716 bytes