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

Static analysis result for SHA-256 a1f309adfabcda9c…

MALICIOUS

Office (OLE) / .XLS

109.0 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel
MD5: 271ba3d36cd7425438355af48c600e20 SHA-1: 4a7f399ac4e8420b73a8274003eac6a1ffc31fb0 SHA-256: a1f309adfabcda9c7f1badc025f7756f7dd8ff9da3529dee09044df6e7d177df
400 Risk Score

Malware Insights

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

The Excel file contains a Workbook_Open VBA macro that utilizes WScript.Shell to display a popup and access special folder paths. The macro's intent is to download and execute a second-stage payload, as indicated by the use of Shell() and CreateObject("WScript.Shell"). The specific payload and download URL are not fully reconstructed due to truncation, but the overall pattern suggests a downloader.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • ClamAV: Xls.Malware.Valyria-10032137-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Malware.Valyria-10032137-0
  • 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
430f15766d438c402110a593b8a271af84ea1fe9fa28ac52f5ff4cf26467e966
vba-macro oletools.olevba.extract_macros (decoded VBA source) 16536 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s). Carved artifact contains 75 long base64-like blob(s). Carved macro source contains an auto-exec entry point and execution/download terms.