Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 f5ce7b2aaf9eef16…

MALICIOUS

Office (OLE)

62.0 KB Created: 2021-07-06 09:48:00 Authoring application: Microsoft Office Word
MD5: 41f9313ea03c2cbbd5f5fdc566a8acaf SHA-1: 4392d9a81ca7e6e25a044469896967d64b2eb4d8 SHA-256: f5ce7b2aaf9eef16686770de396a444ca76348e50af64e18b4f034e22ba2a8e3
202 Risk Score

Malware Insights

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

The sample contains obfuscated VBA macros, including an AutoOpen function, which is a common technique for executing malicious code upon opening the document. The script utilizes CreateObject and a custom decoder function to construct and execute commands, strongly indicating its purpose is to download and run a second-stage payload. The specific commands and objects constructed are heavily obfuscated, making precise identification of the final payload difficult.

Heuristics 6

  • 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.
  • 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
  • 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
    • http://schemas.openxmlformats.org/officeDocument/2006/bibliography
    • http://schemas.openxmlformats.org/officeDocument/2006/customXml

Extracted artifacts 1

Files carved from inside the sample during analysis.

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