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

Static analysis result for SHA-256 619834708c823655…

MALICIOUS

Office (OLE) / .XLS

44.5 KB Created: 2022-04-18 09:37:27 Authoring application: Microsoft Excel First seen: 2022-04-29
MD5: e26a531fc331deefc14a0d0ed551ad02 SHA-1: f5a97d9840e08ee5b4f595187050d3de9a8ec9a6 SHA-256: 619834708c823655706de814652326d8dd0e2bc5a6027be6b787fb54036f0dff
270 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 Workbook_Open macro executes cmd.exe to run a command that appears to be intended to download and execute a VBScript payload. The script is constructed from concatenated strings, including a hardcoded path to cmd.exe and a filename 'ipconfig.vbs' which is written to the temporary directory. The macro also attempts to write to a registry Run key, indicating persistence.

Heuristics 9

  • Reference to ShellExecute API high SC_STR_SHELLEXEC
    Reference to ShellExecute API
  • 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
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • 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.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
  • Suspicious extracted artifact info 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.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
06be45c36cc2c8ca506364cd80e72195b4ec9aa5ae4b71aa33b9fd4772582d23
vba-macro oletools.olevba.extract_macros (decoded VBA source) 4119 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 4 long base64-like blob(s).