Malicious Office (OLE) / .XLS — malware analysis report

Static analysis result for SHA-256 97b7d12c4a348d96…

MALICIOUS

Office (OLE) / .XLS

44.0 KB Created: 2022-04-18 09:37:27 Authoring application: Microsoft Excel First seen: 2022-04-29
MD5: 736447d268ff1c0d5d10b732b5661989 SHA-1: 422d4fc9b3ef36497007183e6d429df8b869524c SHA-256: 97b7d12c4a348d966358ac4e7df14627fd327ec6aaee994a9100e83331f412be
308 Risk Score

Malware Insights

MITRE ATT&CK
T1059.003 Windows Command Shell T1059.001 PowerShell T1204.002 Malicious File T1566.001 Spearphishing Attachment T1059.005 Visual Basic

The Workbook_Open macro is configured to execute cmd.exe with elevated privileges using the 'runas' verb. It also constructs and writes an 'ipconfig.vbs' file to the temporary directory. The script attempts to establish persistence by writing to the registry key HKCU\Software\Microsoft\Windows\CurrentVersion\Run\IAccessible2Proxy. The obfuscated string '67794C4672496C7679744A6A50776B58527A4A774A5753694B454D6B4C76446C68777A49614E4C5049746A7267754965425A455142576B6B4644554E56614B6351786374574258654E544E704D42627157494A4C524E4B6B6C706378535955494A684149726F685A63416348695578654245516D72596C644E52684879416C505A66464661745949424B49714B6363725259566F6948724B56785641674141436F6E49636F53646947694C477156734C50515041455847734F564A44797842626A676278755A63' is likely a payload or configuration data. The overall intent appears to be downloading and executing a second-stage payload.

Heuristics 9

  • Reference to ShellExecute API high SC_STR_SHELLEXEC
    Reference to ShellExecute API
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • 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 macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
1af17490d211cc640924ac63969a29c6d2101bb29dbefa2c52010474bfce2b1c
vba-macro oletools.olevba.extract_macros (decoded VBA source) 4467 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s). Carved artifact contains 4 long base64-like blob(s). Carved macro source contains an auto-exec entry point and execution/download terms.