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

Static analysis result for SHA-256 0ff53c1db0358ec9…

MALICIOUS

Office (OLE) / .XLS

680.5 KB Created: 2020-06-22 10:41:03 Authoring application: Microsoft Excel
MD5: 7b1f3560e1a46d87cdcecf186a5e05f8 SHA-1: 42ee22ecaf151d329bb19c405f5973549289bc68 SHA-256: 0ff53c1db0358ec98a0d914de1208c2c30f45824746deba2194ea481ae0b3098
522 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1105 Ingress Tool Transfer

The sample is an Excel file containing a Workbook_Open VBA macro that calls the Shell() function. This macro is designed to execute embedded code, as indicated by the critical OLE_EMBEDDED_EXE heuristic and the ClamAV detection of Win.Dropper.Hideproc-6663113-0. The embedded executable is likely a second-stage payload, and the macro's primary purpose is to download and execute it.

Heuristics 13

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Embedded PE executable critical OLE_EMBEDDED_EXE
    MZ/PE header found inside document — possible embedded executable
  • ClamAV: Win.Dropper.Hideproc-6663113-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Dropper.Hideproc-6663113-0
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Reference to LoadLibrary API high SC_STR_LOADLIBRARY
    Reference to LoadLibrary API
  • Reference to GetProcAddress API high SC_STR_GETPROCADDRESS
    Reference to GetProcAddress API
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • 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.
  • Reference to VirtualAlloc API medium SC_STR_VIRTUALALLOC
    Reference to VirtualAlloc API
  • 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 — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://www.w3.org/2000/svg
    • http://www.w3.org/1999/xlink

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
58cd04fb4d5773725e573807cc1dcf460d66b812d50a925c11f3dfa6a657c028
vba-macro oletools.olevba.extract_macros (decoded VBA source) 10584 bytes
embedded_office_00005c65.exe
a0d87a812e200e566ad3aff8b2d9c0fad7f205593ee13ba16e1e7dc2b8cb3c8d
embedded-pe Office MZ+PE at offset 0x5C65 673179 bytes
Detection
ClamAV: Win.Dropper.Hideproc-6663113-0
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.
ole10native_00.bin
968ce039cd0aa31e7cad6058649c91cc72868753f2bc4127f7eba88f075eb20f
ole-package OLE Ole10Native stream: MBD0048EDF4/Ole10Native 575143 bytes