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

Static analysis result for SHA-256 eab0e9f38a113071…

MALICIOUS

Office (OOXML) / .XLSM

442.7 KB Created: 2000-04-13 21:48:14 UTC Authoring application: Microsoft Excel 12.0000
MD5: 4d0e4799cf175b759436f3411d1ea958 SHA-1: 135553c193ebe80b2898d6b30067dfff30b5485e SHA-256: eab0e9f38a113071c2852f0ed75a3ac4003cda0654b8eb8ba61b9f4f79dc0610
148 Risk Score

Malware Insights

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

The XLSM file contains a Workbook_Open macro that is triggered automatically when the document is opened. This macro reconstructs a command string by concatenating environment variables and cell values, then writes this command to a temporary file (likely 'temp.exe' based on the execution command). Finally, it executes this temporary file using 'cmd.exe'. The reconstructed command is 'cmd.exe /c "C:\Users\Public\Documents\temp.exe"', indicating the macro's intent to download and execute a second-stage payload.

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
a1f2b161cc679505b8dab59ef947b6a12358673e6e8d541ebfcce18782642509
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1120 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
d862f7159fb5264d403c7154688a74d0087e3a80318b3c9a5358a4665d90e380
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.