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

Static analysis result for SHA-256 ab46ca1c7d41b9f8…

MALICIOUS

Office (OLE) / .XLS

32.0 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel First seen: 2022-07-14
MD5: 3afd276cbdc1f594a10af709194b1090 SHA-1: cd16c6d48085547a2ac2dcd6839806b3c14f7c7e SHA-256: ab46ca1c7d41b9f8de60fd17683818a28c880ee879f06da775f172777bf07228
200 Risk Score

Malware Insights

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

The sample contains VBA macros that leverage `GetObject` and `CreateObject` to instantiate Windows Script Host and execute commands. Specifically, it constructs a batch file named 'eUOKm.bat' in the user's profile directory. The content of this batch file is assembled from worksheet cells, including a Base64 encoded string that decodes to 'Windows Style Sheet hidden XEI Text:System.Text.Encoding::FromBase64String(46SgnirtS)' and a command to start this script. This indicates a downloader or initial execution stage for a more complex attack.

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
dbe842917e3187a3520123540c41f291f817f6badf4f4a15bb6cf341802bc084
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1680 bytes