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

Static analysis result for SHA-256 cdc866753e7d7865…

MALICIOUS

Office (OOXML) / .XLSM

328.4 KB Created: 2021-07-26 11:42:26 UTC Authoring application: Microsoft Excel 12.0000
MD5: 4dfc77e45068635df70a32fd5bcdeb01 SHA-1: 01e6f96db1fc9adfb6ef49beed0abaf6a12eab3a SHA-256: cdc866753e7d7865e67e31047a60468f6c7eb80290df4c4e16d3697eb8db12b6
168 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1059.003 Windows Command Shell

The sample is an XLSM file containing a Workbook_Open macro. This macro is designed to construct a path using environment variables and a hardcoded string, then write obfuscated data to this path. Finally, it uses the Shell() function to execute the constructed path, likely downloading and running a second-stage payload. The obfuscation within the macro makes it difficult to determine the exact nature of the payload or its destination without further dynamic analysis.

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
f4cc2a024552290e7be4d18b28fd45c7a35909edbbdc6e74193592874c5137ea
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1052 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
0325d9d5e0c15a9d70b23d160317df3721f625cbee013734ccf7c4a4697b8602
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.