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

Static analysis result for SHA-256 40b5ae97c036d450…

MALICIOUS

Office (OOXML) / .XLSM

72.9 KB Created: 2020-09-24 18:36:44 UTC Authoring application: Microsoft Excel 12.0000
MD5: 50269b5e8f60e3847888544e68368f3c SHA-1: 3b8d2e2087d1936a6dd08013ef1c8a344dbc3515 SHA-256: 40b5ae97c036d45073b6edfcabbd4f5fe1a577d2e21f57282c09ebe2d32b7492
188 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File

This XLSM file contains a Workbook_Open macro that is designed to execute a payload. The macro constructs a string using character codes and environment variables, writes it to a temporary file, and then executes that file using the Shell() function. This indicates a downloader or dropper functionality. The presence of a Workbook_Open macro and the use of Shell() are strong indicators of malicious intent.

Heuristics 6

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains vbaProject.bin — 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
283eb44a7ea3e79781a4d83b7c7f3388143184e26a33a097ccbfb28666343f74
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1039 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
8d66bbcf998fc0408f7868616910282bbf401668e67fdf77ae32fe8629e5e4d9
vba-project OOXML VBA project: xl/vbaProject.bin 9216 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.