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

Static analysis result for SHA-256 581e4996f8307c18…

MALICIOUS

Office (OLE) / .XLS

32.0 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel First seen: 2022-07-14
MD5: 7cc82d6f7aa19a1bf6cb6a8e46e8ca53 SHA-1: ac881a3eb0645a79c21c72c73f1bd566cd37f84a SHA-256: 581e4996f8307c18bd566bb3696d9ed586b9d5556d63667d22d049d8a0058e5d
200 Risk Score

Malware Insights

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

The critical heuristic OLE_VBA_CELL_GETOBJECT_EXEC indicates that the VBA macros instantiate and execute content from worksheet cells. The Workbook_Change event triggers the execution of a function that constructs a batch file named 'tBvhN.bat' in the user's profile directory. This batch file is then opened using GetObject, suggesting it will be executed, likely to download and run a secondary payload. The script also uses CreateObject("WScript.Network") and GetObject calls, further supporting the execution of external commands.

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