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

Static analysis result for SHA-256 4fafaff51a52e3a9…

MALICIOUS

Office (OLE) / .DOC

47.5 KB Created: 2015-05-18 05:51:00 Authoring application: Microsoft Office Word First seen: 2022-11-25
MD5: 2de2bc2eb2f9be9037b17c4719ba56ab SHA-1: 7130bf262a1689635d8a414d48753770e0f1bb60 SHA-256: 4fafaff51a52e3a9bb2cdc9d241b2b014e1cc70df77badf3fc1c0df4d4121b22
320 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer T1059.003 Windows Command Shell

The sample contains obfuscated VBA macros, including an AutoOpen subroutine, which is a common technique for malicious documents. Critical heuristics indicate that the VBA code downloads and executes a file from an HTTP URL, likely serving as a downloader for a second-stage payload. The obfuscated nature and the use of CreateObject to execute downloaded content point towards a malicious intent.

Heuristics 7

  • VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXEC
    VBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.
  • 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.Macro.ObfuscatedHeuristic-5931994-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Macro.ObfuscatedHeuristic-5931994-0
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen 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

Extracted artifacts 1

Files carved from inside the sample during analysis.

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