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

Static analysis result for SHA-256 2581b3d109354c12…

MALICIOUS

Office (OLE) / .XLS

32.0 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel First seen: 2022-07-15
MD5: 649be07e6ebc074f1846cee6c1899e5d SHA-1: 733610b708ee18d2f822384725fa8def663a5caf SHA-256: 2581b3d109354c12192a5a273710270e403e906f9b5c996526a1801bd7bbd29b
200 Risk Score

Malware Insights

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

The sample is an Excel file containing VBA macros that are designed to execute a batch file. The `Worksheet_Change` event triggers the creation of a batch file named 'tBvhN.bat' in the user's profile directory. This batch file is then opened and executed using `GetObject` and `Open` methods, likely to download and run a secondary payload. The `Cells(2, 1).Value = 1` in `Workbook_Activate` and the obfuscated string in the document body suggest an attempt to evade detection or obfuscate the 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
216ec87e887b53424f0e74f34e7d6371b399bebbfce8a474218fd02013a28585
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1680 bytes