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

Static analysis result for SHA-256 2fe83ac16c761530…

MALICIOUS

Office (OLE) / .XLS

222.0 KB Created: 2021-07-24 09:17:42 Authoring application: Microsoft Excel First seen: 2021-09-25
MD5: fbd397939d2d7f80c0cb95e2bdb4156d SHA-1: 4f8a7345cf798a65a5edc4aff26320157820f950 SHA-256: 2fe83ac16c76153058e597777a8160b225a5ede4f6297ad9ed9f7bb990b4923a
348 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1059.003 Windows Command and Shell

The sample contains VBA macros, including a Workbook_Open event, which is a common technique for automatic execution. The script utilizes WScript.Shell and CreateObject to download and execute a second-stage payload, reconstructing the path 'USERPROFILE\fyf/ddnn'. The presence of WScript.Shell and Shell() calls strongly indicates malicious intent.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • 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
e07b5e0e3dfc08ac1d237f61af90ddc3e7634a23c44c8dc0f37965237e34ee2e
vba-macro oletools.olevba.extract_macros (decoded VBA source) 76428 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.