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

Static analysis result for SHA-256 cea1fec0b7c4253f…

MALICIOUS

Office (OLE) / .XLS

44.5 KB Created: 2022-04-18 09:37:27 Authoring application: Microsoft Excel First seen: 2022-04-29
MD5: 82c87395c448b9f0b4c5c36ca3b5c582 SHA-1: 045ecca3b998253bcebb1250639d74f835b53ca0 SHA-256: cea1fec0b7c4253f7de02dc82d675da8514f12834ffa59fc80e8604af1a34a7e
308 Risk Score

Malware Insights

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

The Workbook_Open VBA macro is configured to execute cmd.exe with the arguments '/c cd %TEMP% & TIMEOUT /T 10 & ipconfig'. This command is intended to create a VBScript file named 'ipconfig.vbs' in the temporary directory. The script then writes the content of the first shape on the second worksheet into this VBScript file. The macro's intent is to download and execute a second-stage payload via the created VBScript.

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.
  • 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
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)

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 2 shell/COM execution token(s). Carved artifact contains 4 long base64-like blob(s). Carved macro source contains an auto-exec entry point and execution/download terms.