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

Static analysis result for SHA-256 90903999baa70b09…

MALICIOUS

Office (OLE) / .XLS

532.5 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel
MD5: 06fa5d4e42e4cf24163b74f83760d64b SHA-1: a001f9da510503389f5c251ef9648c7917c40d82 SHA-256: 90903999baa70b0965698675e67612c0d16ef890394fa822cc11b8b7af8f7ee5
408 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1105 Ingress Tool Transfer

The file contains VBA macros, including a Workbook_Open event, which is a common technique for automatic execution. The script utilizes WScript.Shell to execute commands, specifically downloading a payload using a reconstructed URL. The reconstructed URL is 'fyf/nppghynkcodnkgeihgetigjpu', and the downloaded file is saved to the user's profile as 'USERPROFILE\fyfgjhgjdh/dddhshnn'. This indicates the macro's intent is to download and execute a second-stage payload.

Heuristics 10

  • 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
  • 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
886e01c4ceea3ebecaf280d363b3a4f4b36dab19d4123aee94c74dd1abf4d9bc
vba-macro oletools.olevba.extract_macros (decoded VBA source) 57781 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s). Carved artifact contains 120 long base64-like blob(s). Carved macro source contains an auto-exec entry point and execution/download terms.