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

Static analysis result for SHA-256 df7e4b16f900d23e…

MALICIOUS

Office (OOXML) / .XLSM

331.9 KB Created: 2019-06-17 17:48:55 UTC Authoring application: Microsoft Excel 12.0000
MD5: b7cf2052ee1681f71c9eeea22d44e3e5 SHA-1: 48e3aa45c9929926e31a0ef938da61345ea1b922 SHA-256: df7e4b16f900d23eb532fbf32df859b7bb554ebf738efc81da09642d873e523a
168 Risk Score

Malware Insights

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

The sample is an XLSM file containing a Workbook_Open macro. This macro utilizes the Shell() function to execute a dynamically constructed command. The command appears to be built from environment variables and hardcoded strings, suggesting it aims to download and execute a second-stage payload. The use of Environ() and Shell() calls are strong indicators of malicious intent.

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
e440b7ec96a37ddd6b2fbe2c6ad0ce603d039da00c6290a8d5113aeebe40aef8
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1080 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
8514408a81a7d757531cbf7dfd700294e3b32160d920f0b81be71d58b23513af
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.