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

Static analysis result for SHA-256 a98536cb74fa83a5…

MALICIOUS

Office (OLE) / .XLS

172.0 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel First seen: 2022-03-03
MD5: 6bfb1a3e73e5af07ca20d725e7742e9d SHA-1: 9a41f738c49e507caf58a402d1070ee1d5665457 SHA-256: a98536cb74fa83a55cfc9355b8a861084bb6f59091b3e99ccd49324b179a9e33
340 Risk Score

Malware Insights

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

The sample contains a Workbook_Open VBA macro that utilizes WScript.Shell to execute commands. Specifically, it appears to be designed to download and execute a second-stage payload from a location determined by the SpecialFolders("Templates") path. The macro's auto-execution upon opening the workbook, combined with the use of WScript.Shell and CreateObject, strongly indicates a malicious intent to compromise the system.

Heuristics 8

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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.
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • 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
0e929849fa94e63d61cb19e70deebb8c75a28bc026ac60d0e8860681d8ef7053
vba-macro oletools.olevba.extract_macros (decoded VBA source) 12691 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s). Carved artifact contains 2 long base64-like blob(s). Carved macro source contains an auto-exec entry point and execution/download terms.