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

Static analysis result for SHA-256 672a907427a33e44…

MALICIOUS

Office (OLE) / .XLS

47.0 KB Created: 2022-04-18 09:37:27 Authoring application: Microsoft Excel First seen: 2022-04-29
MD5: 16621efd1fcb469c4dd2cf3b08c99359 SHA-1: b11bc398b50bc3a6ab0571a8f30777d86f65c47c SHA-256: 672a907427a33e44ed76b2c260ef0420c09654c73ceba350b23690089365441e
270 Risk Score

Malware Insights

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

The sample is a malicious Excel file containing a Workbook_Open VBA macro. This macro uses CreateObject to execute cmd.exe with the '/c' flag, attempting to run a dynamically created VBScript payload named 'ipconfig.vbs' in the user's temporary directory. The VBScript itself is constructed from concatenated hexadecimal strings, indicating obfuscation to evade detection.

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
c4c463e1bacc05f0bc5beeec92fbabe9fcea52d3d4b01153cba2ab26a579660a
vba-macro oletools.olevba.extract_macros (decoded VBA source) 5866 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 4 long base64-like blob(s).