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

Static analysis result for SHA-256 1ec119e53f86134b…

MALICIOUS

Office (OLE) / .XLS

732.5 KB Created: 2020-06-22 10:41:03 Authoring application: Microsoft Excel
MD5: 7f0653f9d8522e91185b01060dafae80 SHA-1: a68217d80d88c794faf39d465dd27812862e8e19 SHA-256: 1ec119e53f86134b6552c4852656ba5c8bf048fd1b83f2f80e7cc63af6c4b7c9
400 Risk Score

Malware Insights

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

The sample is an XLS file containing VBA macros, including a Workbook_Open macro that uses the Shell() function. This macro is designed to execute an embedded PE executable, identified as 'embedded_office_00006265.exe'. The presence of VirtualAlloc, LoadLibrary, and GetProcAddress API calls within the VBA code suggests dynamic loading and execution of malicious code. The primary intent is to download and execute a second-stage payload from the embedded executable.

Heuristics 11

  • 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
  • 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
d1aa2a243c52b5f3cfb95ee4d01e16823458e708f72c84eb52dd2fe38f0bdef8
vba-macro oletools.olevba.extract_macros (decoded VBA source) 10578 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_00006265.exe
5c575707730458d440784be5f04a757e646f8100361d941235c4df33198c3d5d
embedded-pe Office MZ+PE at offset 0x6265 724891 bytes
Detection
ClamAV: No threats found
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