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

Static analysis result for SHA-256 9f81b53040821627…

MALICIOUS

Office (OLE) / .XLS

701.5 KB Created: 2021-03-10 21:00:56 Authoring application: Microsoft Excel
MD5: a984000c3d335cf713fe56171f10daeb SHA-1: 43a83e644292c90454d4d4fc87369fae15d3324a SHA-256: 9f81b53040821627abfbf34ae2885afd89d9215ae3bce74c31958d3511e257f4
262 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.005 Visual Basic T1218.005 Client Execution

The sample is an Excel file containing a Workbook_Open VBA macro. This macro utilizes CreateObject and references Windows Script Host, indicating it's designed to execute external commands. The presence of a suspicious URL suggests the macro's purpose is to download and execute a second-stage payload. The macro's auto-execution and use of WScript are strong indicators of malicious intent.

Heuristics 8

  • 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.
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • 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
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — context-specific rules above attribute URLs they actually evaluated; this rule lists URLs that were present in the bytes but were not otherwise tied to a specific finding.
    URL http://afms.org.uk/js/mega.ex

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
63bf684dbb7a76e946eb31037f8089c96739e7336d9bbea7d0e87ecdc9c250a4
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1182 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.