Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

White Hat Hardening Scripts (BEGINNER FRIENDLY!!!)

I got some good white hat techniques if anyone wants them! PM me or Donate!!!
I've come across some emulators and botnets. ALL using remote desktop services.
I do not use remote desktop services to be honest. Never have. Come to find out I found some browser emulators using basic CPU analysis.

Add-Type @"
using System;
using System.Runtime.InteropServices;
using System.Text;

public class HiddenWindows {
[DllImport("user32.dll")]
public static extern int EnumWindows(EnumWindowsProc proc, int lParam);

public delegate bool EnumWindowsProc(IntPtr hWnd, int lParam);

[DllImport("user32.dll")]
public static extern bool IsWindowVisible(IntPtr hWnd);

[DllImport("user32.dll")]
public static extern int GetWindowText(IntPtr hWnd, StringBuilder lpString, int nMaxCount);

[DllImport("user32.dll")]
public static extern uint GetWindowThreadProcessId(IntPtr hWnd, out uint processId);

public static void ListHiddenWindows() {
EnumWindows((hWnd, lParam) => {
if (!IsWindowVisible(hWnd)) {
var title = new StringBuilder(256);
GetWindowText(hWnd, title, 256);
if (title.Length > 0) {
uint pid;
GetWindowThreadProcessId(hWnd, out pid);
Console.WriteLine($"Hidden Window: {title} | PID: {pid}");
}
}
return true;
}, 0);
}
}
"@

[HiddenWindows]::ListHiddenWindows()

# Get file paths for PIDs
Get-Process | ForEach-Object {
$processPath = $_.Path
if ($processPath) {
Write-Output "PID: $($_.Id) | Executable Path: $processPath"
}
}

For hidden windows!
dwm.exe a virus using a user service to emulate. It's complicated using four .exe's and a cert.
This was the beginning.
thank you for this thread. I finally know where to start for my learning.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by BastilleJul 27, 2026 12:35 AM 222 18,451 Jul 27, 2026 12:35 AM
Last Post: Bastille
by Sirko007Aug 26, 2025 02:17 AM 2 281 Aug 26, 2025 02:17 AM
Last Post: Bshol
by PοιsonlεafJun 10, 2025 03:37 AM 3 534 Jun 10, 2025 03:37 AM
Last Post: Rose_KALI