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

Static analysis result for SHA-256 ba1df91ada331a63…

MALICIOUS

Office (OLE) / .XLS

711.5 KB Created: 2020-06-22 10:41:03 Authoring application: Microsoft Excel
MD5: d0e351ae221137aa1632a76ee4524987 SHA-1: a32538da3438492f23a36f79a1c65a1535ea441a SHA-256: ba1df91ada331a6337eed1adec1eb684b4fe9e57cad90559f9b472e4184a0399
560 Risk Score

Malware Insights

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

The sample is an Excel file with a Workbook_Open macro that utilizes Shell() and CallByName functions. This macro is designed to execute an embedded PE executable, identified as 'embedded_office_00006269.exe'. The presence of VirtualAlloc, LoadLibrary, and GetProcAddress API calls within the macro code suggests dynamic loading of malicious code. ClamAV detections further confirm the malicious nature of the file and its extracted artifact.

Heuristics 14

  • 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
  • CallByName call high OLE_VBA_CALLBYNAME
    CallByName 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.
  • 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
1121a592b357233ed7a2609a6be25b5da9bfa9c2646aa0db3df530711150f4c0
vba-macro oletools.olevba.extract_macros (decoded VBA source) 31061 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.
embedded_office_00006269.exe
464d36dd359885a836704f9054765be31b53edc042e10e7ed779d8bba123ba62
embedded-pe Office MZ+PE at offset 0x6269 703383 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
944aceb7d2a50f7a601219f1973a25149cee90f4fc8af55611c66ae08e3a038d
ole-package OLE Ole10Native stream: MBD007A19C2/Ole10Native 610483 bytes