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

Static analysis result for SHA-256 6b08c2df61f78ec6…

MALICIOUS

Office (OOXML) / .XLSM

17.6 KB Created: 2015-06-05 18:19:34 UTC Authoring application: Microsoft Excel 16.0300
MD5: a711e246618b18bcc80e210014827ed4 SHA-1: ccefa86ca4ad19da33b6a27c817152e753816034 SHA-256: 6b08c2df61f78ec6d59f2ea334fed35202e1c1e8a796f9709544bda5d30bc87f
222 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution T1105 Ingress Tool Transfer

The VBA macros within this XLSM file contain a critical 'Shell()' call and reference 'cmd.exe', indicating execution of system commands. Specifically, the script uses 'certutil' to download 'putty.exe' from the provided URL to the user's AppData directory and then executes it. This suggests the document is a downloader for a secondary payload, likely a backdoor or RAT, disguised as a legitimate Excel file.

Heuristics 6

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
  • 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.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL https://the.earth.li/~sgtatham/putty/latest/w32/putty.exe

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
3249a77532d76a45f5c1263933a42c75b3a7d187951a76d7e6ba335288896a26
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1383 bytes
vbaProject_00.bin
8d267b65678e8accf91aad4495b2c2e1c5945121b687f7b3d1c21cfde7e30859
vba-project OOXML VBA project: xl/vbaProject.bin 19968 bytes