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

Static analysis result for SHA-256 c6ec076b4821de40…

MALICIOUS

Office (OOXML) / .XLSM

334.8 KB Created: 2019-06-17 17:48:55 UTC Authoring application: Microsoft Excel 12.0000
MD5: 84dfcbf8006b609714e14ae85d94baa4 SHA-1: 3cbd6c0a05e587d0ebcb46c125bcb9a31814865c SHA-256: c6ec076b4821de409d2fa1416b8419635421b732960a62e62bac6161040ab342
168 Risk Score

Malware Insights

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

The critical heuristic 'OLE_VBA_SHELL' and the presence of a 'Workbook_Open' macro indicate that this XLSM file is designed to execute arbitrary code upon opening. The VBA script within 'macros.bas' attempts to construct a command using environment variables and then execute it via the Shell() function, strongly suggesting it downloads and executes a second-stage payload. The obfuscated nature of the script and the use of environment variables for constructing the execution path are common techniques for malware delivery.

Heuristics 5

  • 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
  • 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
e3355529d5af5edf5e5b4e5529d244c15381074f3671107b0a947a2b68cabde6
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1072 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
0426f42ddcb7874bb47a4e45c988250ddcb437999caa523e5a41e65df9a08c50
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.