Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 b7adb5981026eb41…

MALICIOUS

Office (OLE)

134.0 KB Created: 2015-02-07 04:57:59 Authoring application: Microsoft Excel First seen: 2020-07-24
MD5: 2bb9e35b430631835278ca34e87f14fa SHA-1: 850a20aecdf3dc9d91ac794eb318924247c87b6e SHA-256: b7adb5981026eb41686a449d0f648298081561d15209c0962093eb3cb4896818
140 Risk Score

Malware Insights

MITRE ATT&CK
T1566.001 Spearphishing Attachment T1059.005 Visual Basic

The sample is an Excel 4.0 (XLM) macro-enabled workbook. Heuristics indicate the presence of an Auto_Open macro, which is a common technique for executing malicious code upon opening the document. The document body contains a lure to 'Enable Editing' and 'Enable Content', suggesting a social engineering attempt to bypass security warnings and execute the embedded XLM macro. The macro itself is likely designed to download and execute a second-stage payload.

Heuristics 3

  • 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.
  • Excel 4.0 (XLM) macro sheet present medium OLE_XLM_AUTOOPEN
    Workbook contains an Excel 4.0 macro sheet sub-stream — XLM is rarely seen in modern legitimate workbooks and was a major Office malware vector during 2020-2022.

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) 76479 bytes
SHA-256: 07b6b1014d432a2790208863a66f2583579984415dc11d7ba7f58d2b99d9d4c7
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     26 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  MKGTyUJy0TP7fnkSW
' 0018     20 LABEL : Cell Value, String Constant - AaJGB len=0 
' 0018     20 LABEL : Cell Value, String Constant - ABanL len=0 
' 0018     19 LABEL : Cell Value, String Constant - ajdI len=0 
' 0018     18 LABEL : Cell Value, String Constant - aKq len=0 
' 0018     20 LABEL : Cell Value, String Constant - AnCae len=0 
' 0018     21 LABEL : Cell Value, String Constant - AnwOdv len=0 
' 0018     20 LABEL : Cell Value, String Constant - arsbN len=0 
' 0018     20 LABEL : Cell Value, String Constant - AtzPC len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open hidden len=7 ptgRef3d  Sheet!DB15301 
' 0018     19 LABEL : Cell Value, String Constant - BDsT len=0 
' 0018     18 LABEL : Cell Value, String Constant - bFY len=0 
' 0018     19 LABEL : Cell Value, String Constant - bGQb len=0 
' 0018     18 LABEL : Cell Value, String Constant - BJg len=0 
' 0018     20 LABEL : Cell Value, String Constant - bLuGz len=0 
' 0018     18 LABEL : Cell Value, String Constant - BqN len=0 
' 0018     20 LABEL : Cell Value, String Constant - bRdIr len=0 
' 0018     18 LABEL : Cell Value, String Constant - bRI len=0 
' 0018     19 LABEL : Cell Value, String Constant - butE len=0 
' 0018     20 LABEL : Cell Value, String Constant - BXTjN len=0 
' 0018     21 LABEL : Cell Value, String Constant - ByJVhI len=0 
' 0018     20 LABEL : Cell Value, String Constant - ccYRS len=0 
' 0018     20 LABEL : Cell Value, String Constant - ceLfM len=0 
' 0018     18 LABEL : Cell Value, String Constant - Cpe len=0 
' 0018     19 LABEL : Cell Value, String Constant - cRHx len=0 
' 0018     20 LABEL : Cell Value, String Constant - crZuy len=0 
' 0018     19 LABEL : Cell Value, String Constant - ctMP len=0 
' 0018     20 LABEL : Cell Value, String Constant - cUGGm len=0 
' 0018     19 LABEL : Cell Value, String Constant - cxsg len=0 
' 0018     18 LABEL : Cell Value, String Constant - CZh len=0 
' 0018     20 LABEL : Cell Value, String Constant - DCqGE len=0 
' 0018     20 LABEL : Cell Value, String Constant - DeJmT len=0 
' 0018     31 LABEL : Cell Value, String Constant -       hidden len=11 ptgArea3d  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x00\x00\xeb\xdf\x16\xe0\x03\x00\x03\x00'
' 0018     19 LABEL : Cell Value, String Constant - DRsD len=0 
' 0018     21 LABEL : Cell Value, String Constant - dWxdmy len=0 
' 0018     21 LABEL : Cell Value, String Constant - DXGqiz len=0 
' 0018     19 LABEL : Cell Value, String Constant - eAHj len=0 
' 0018     18 LABEL : Cell Value, String Constant - eLI len=0 
' 0018     20 LABEL : Cell Value, String Constant - epjtC len=0 
' 0018     20 LABEL : Cell Value, String Constant - EqHec len=0 
' 0018     19 LABEL : Cell Value, String Constant - ETXk len=0 
' 0018     20 LABEL : Cell Value, String Constant - evFcH len=0 
' 0018     20 LABEL : Cell Value, String Constant - EYpnP len=0 
' 0018     19 LABEL : Cell Value, String Constant - FcPv len=0 
' 0018     28 LABEL : Cell Value, String Constant - fFxBBN hidden len=7 ptgRef3d  Sheet!DB15301 
' 0018     19 LABEL : Cell Value, String Constant - FIYQ len=0 
' 0018     20 LABEL : Cell Value, String Constant - fJQqI len=0 
' 0018     20 LABEL : Cell Value, String Constant - fmiLT len=0 
' 0018     19 LABEL : Cell Value, String Constant - Fmrk len=0 
' 0018     21 LABEL : Cell Value, String Constant - foOJUF len=0 
' 0018     18 LABEL : Cell Value, String Constant - gaM len=0 
' 0018     18 LABEL : Cell Value, String Constant - Gja len=0 
' 0018     20 LABEL : Cell Value, String Constant - gmBLD len=0 
' 0018     18 LABEL : Cell Value, String Constant - Gtc len=0 
' 0018     21 LABEL : Cell Value, String Constant - gXTvtd len=0 
' 0018     19 LABEL : Cell Value, String Constant - Gyqb len=0 
' 0018     19 LABEL : Cell Value, String Constant - GzsM len=0 
' 0018     19 LABEL : Cell Value, String Constant - hAKp len=0 
' 0018     18 LABEL : Cell 
... (truncated)