Malicious Office (OOXML) / .XLSM — malware analysis report

Static analysis result for SHA-256 79eda1161b7e09c3…

MALICIOUS

Office (OOXML) / .XLSM

39.1 KB Created: 2022-04-14 16:56:05 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2022-04-20
MD5: 10f1e40e1306d1d0715914caa7d05ec6 SHA-1: ee8c293a52dc0b3a3b9e318e044f23ecbcdd1ba3 SHA-256: 79eda1161b7e09c3769fef4c1efbb4c7c3b9af204d05e396a4131e6a45bf6978
408 Risk Score

Malware Insights

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

The sample is an XLSM file containing an Auto_Open VBA macro that uses WScript.Shell and CreateObject to download a second-stage payload via URLDownloadToFile. The document body contains a lure instructing the user to enable content, which is a common tactic for macro-based malware.

Heuristics 10

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • URLDownloadToFile in VBA critical OLE_VBA_DOWNLOAD
    URLDownloadToFile in VBA
  • 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.
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_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 project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
c1bb43ee6a569c6c0134b9724ff1c0424c50cdf4795d8b4fa76e975d0eafbe08
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 4160 bytes
vbaProject_00.bin
6dd02f1580a7ceaa5f70fc699dd745639d34ef61995c4aebbb1e5b12353dd878
vba-project OOXML VBA project: xl/vbaProject.bin 28672 bytes