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

Static analysis result for SHA-256 3cd2459f1d568d4a…

MALICIOUS

Office (OLE) / .XLS

32.0 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel First seen: 2022-08-05
MD5: d6b1e5a67d3c55b47096c958646db5b8 SHA-1: 29ca3e0db93d99395a893d20ab05185e105ce012 SHA-256: 3cd2459f1d568d4aaaf422c284892810f7cb60dc69af99adb060f84a1c94ece6
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1204.002 Malicious File T1105 Ingress Tool Transfer

The sample is an Excel file containing obfuscated VBA macros. The critical heuristic 'OLE_VBA_CELL_GETOBJECT_EXEC' indicates that the macros instantiate and execute content from worksheet cells. The script constructs a batch file path 'C:\Users\<username>\fOMzZ.bat' and writes obfuscated content to it, then uses GetObject to open and execute this batch file. This strongly suggests the macro's purpose is to download and execute a second-stage payload.

Heuristics 5

  • VBA instantiates/executes content from worksheet cells critical OLE_VBA_CELL_GETOBJECT_EXEC
    VBA passes a worksheet cell/comment reference to GetObject and drives an Exec/Open/Run sink. Malware hides the COM moniker and command in cell data so the macro source carries no literal indicators.
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
3e9a34f822e477453bd9a32449802989b8eb000f5d2e4e4cbc46c6bfecdb1a5f
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1680 bytes