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

Static analysis result for SHA-256 bed51d77137e95c0…

MALICIOUS

Office (OOXML) / .XLSM

440.6 KB Created: 2021-07-28 10:37:27 UTC Authoring application: Microsoft Excel 12.0000
MD5: d2225ac45341233df885fc5c286880a4 SHA-1: 6838b7b8fcb9f2c32c127b26122dbe15c186a606 SHA-256: bed51d77137e95c05c20f87add13dcf2f891149d4cbf8895a2922e7a32fc948b
148 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, indicating an attempt to automatically execute code upon opening. The macro uses `CreateObject` to execute a command that appears to download and save a file to 'C:\Users\Public\getStack7699.exe', likely a second-stage payload. The `Environ` call and string concatenation within the script suggest obfuscation, but the core functionality of downloading and executing a file is clear. The `OLE_VBA_WBOPEN` and `OLE_VBA_CREATEOBJ` heuristics further support this analysis.

Heuristics 5

  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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
2793705cda5738f3f61c817d708eab9476af5bf0fd10b4ba7463a522236c93e3
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1100 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
970da2fe91a4a0b9a3e8af7d89affdb9e5c7468b506aa759ff3b3dd295f1e751
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.