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

Static analysis result for SHA-256 07ec31270252b02d…

MALICIOUS

Office (OLE) / .XLS

772.5 KB Created: 2020-06-22 10:41:03 Authoring application: Microsoft Excel
MD5: f615f7d0a7982f6c7242b4c536c7807e SHA-1: fb56fd2df1a2adbfe8835a644a26dfcd65733ea2 SHA-256: 07ec31270252b02de498c0bf5ff98ce570004c34cd5d439323d2408524e6b019
522 Risk Score

Malware Insights

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

The sample is an Excel file containing VBA macros, including a Workbook_Open event that calls the Shell() function. This indicates an attempt to execute arbitrary code. The file also contains an embedded PE executable, which is likely the payload. The Workbook_Open macro is designed to trigger the execution of this embedded executable upon opening the document, likely after the user is prompted to 'enable content'.

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
fcff4f50ea14c1d8fabc0a22abb3e21488e64d68180902c6335ac52d63d04d20
vba-macro oletools.olevba.extract_macros (decoded VBA source) 10578 bytes
embedded_office_00006265.exe
8fc1c672ab6644552a5b526dfc2cfc856c440a3b1dbbc673ee45662c37d41d76
embedded-pe Office MZ+PE at offset 0x6265 765851 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
6a7ddfbd62d7b14acf0191ff71596164ed9e322382a63f3f68d56cb2c2a68d56
ole-package OLE Ole10Native stream: MBD00AAB60E/Ole10Native 612007 bytes