r/ExploitDev • u/Outrageous_Mix_8346 • 1d ago
Need some help with windows 10 bypass
Hey everyone. I'm currently taking part in a cyber security bootcamp and we are learning a few types of attack and how they work. We are using Kali Linux as the attacker and a Windows 10 as a target, both VMs
Right now, i opened a backdoor on the windows 10 machine using meterpreter and trying to privilege escalate. Tho, the teacher running the bootcamp is using a windows 7 machine, which i couldn't download the iso, so the vulnerabilities are different.
The exploit the teacher is using exploit/windows/local/bypassuac doesn't work on windows 10, just gets the answer "Windows 10 version 22H2 is not vulnerable".
What other exploit can i use that does the same thing as this one to follow through the classes?
(Dm me if u need other details, don't think it's a good idea to share this type of stuff publicly)
1
1
u/Signal_Brain9959 1d ago
UAC is like running your commands on Kali without sudo. It’s a low priv token so that if you’re running an account that has admin perms and it gets popped they don’t instantly have admin.
That’s essentially what the right click run as admin is doing, spawning a token with admin privs in windows
On your own computer run in cmd or powershell (with an account that has admin perms)
Whoami / priv
Then run powershell or cmd as administrator and then do the same test “whoami /priv”
You will see a lot more privileges allotted to you.
This is a very bastardized explanation, but I hope it helps.
3
u/Signal_Brain9959 1d ago
Also I would seriously do the htb cjca pathway and see if you can get a refund on this bootcamp. I’m not trying to be rude but if you paid for it and they aren’t teaching stuff like I stated above, you’re being scammed.
1
u/hopscotchchampion 22h ago
identify the exact version of windows running and see what new CVEs have been patched since the latest update. There's 1000s every month now. Sort those cve's by the ones that could give local priv escalation
Enumerate what is running on the machine. Use a script like lint peas: what are running processes, what starts as boot, what starts at login. If you identify a process that runs with privilege learn more about it? Where does it's config files live on disk, can they be modified, can you replace a file that it executes on network share? Etc
If it's on a windows network look up a tool called bloodhound
Have fun
Also try glm5.3 for your cyber offensive questions
8
u/Juzdeed 1d ago
Uac bypass isn't really privilege escalation, at least Microsoft doesn't consider it. Win7 and win10 are very different, Win7 is AFAIK end of life so it will have vulnerabilities that win10 won't
But privilege escalation for windows 10 isn't that easy since it gets patched and your only hope is misconfiguration, out-of-date windows or a unpatched n-day/zero-day.
Tldr nobody is gonna DM you a working exploit for windows 10