![]() |
|
Bypassing Windows 11 (fully patched) - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4) +---- Thread: Bypassing Windows 11 (fully patched) (/showthread.php?tid=6316030) |
Bypassing Windows 11 (fully patched) - jfK0699 - Dec 17, 2025 OK so I have written a very simple and basic C program (console app) that makes use of strcpy routine and want to exploit it by feeding it more data by way of the command line. Here is the program below and what I want is for it to execute a payload that opens a hello world message box or better opens up calc.exe. Unfortunately I've tried passing more 1000 bytes of input characters at the command line but the program just gracefully shuts down no errors no messages no nothing. I'm using Visual Studio 2019 Community as my compiler. I understand Windows 11 makes use of several security techniques such as DEP, ASLR, Stack Canaries and etc. I want to be able to bypass these measures and execute my payload. The payload works as I've tested it that is the message box and calc.exe both open and display inside a separate C program but do not open via a stack overflow. Any pointers would be greatly appreciated. Code int main(int argc, char** argv)RE: Bypassing Windows 11 (fully patched) - Terry A. Davis - Dec 17, 2025 Well because that's not quite how this works. You are on the right path for sure thinking that a stack overflow is the way you want to go, but you're going to need a way to bypass all the things that make code execution upon a stack overflow impossible, which.... I honestly think don't readily exist without a huge pay cheque coming you way, though happy to be shown wrong, I just don't think that's quite how this works in Windows these days. RE: Bypassing Windows 11 (fully patched) - jfK0699 - Dec 17, 2025 Thank for the reply post. I think also that I'm on the right track. Perhaps a 0 day exploit might be a possible solution. Now if I can find one that does not cost an arm and a leg. I also do know of some forums on the dark web that might be helpful. There has to be readily available 0 day exploits that will do the trick for my needs. Thanks again. RE: Bypassing Windows 11 (fully patched) - jfK0699 - Jan 12, 2026 OK so I've decided to take a fresh new approach and disable all security measures namely DEP, ASLR and Stack Canaries when compiling. So now I've run into an insolvable problem that I've spent over 1 week on. That is the encoding of the shell code for bytes such as 0x81 does not have a defined mapping under Windows-1252 or UTF-8 encoding schemes. Any ideas on how to get around this hurdle ? RE: Bypassing Windows 11 (fully patched) - jfK0699 - Jan 14, 2026 (Jan 12, 2026 09:47 AM)jfK0699 Wrote: OK so I've decided to take a fresh new approach and disable all security measures namely DEP, ASLR and Stack Canaries when compiling. So now I've run into an insolvable problem that I've spent over 1 week on. That is the encoding of the shell code for bytes such as 0x81 does not have a defined mapping under Windows-1252 or UTF-8 encoding schemes. Any ideas on how to get around this hurdle ? OK for anyone interested it involves encoding the undefined bytes using another character map other than Window-1252 where this byte is undefined. So I used latin1 code page |