svespalec/OutsideIn
关于
PoC for OutsideIn, an undocumented Windows 11 anti-tamper feature to lock admins out of a process without a driver
安全与隐私实测星标增长
- 24小时
- +19
- 7天
- 正在收集历史
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文OutsideIn
This is the proof of concept for my post: Windows 11 Quietly Added a Way to Lock Admins Out of Your Process, and I Broke It.
OutsideIn is an undocumented Windows 11 feature that lets an ordinary process lock other usermode software out of its memory, including anything running as admin. It needs no driver, no admin rights and no code signing, only one extra attribute at process creation. It also blocks window messages and simulated input from other processes.
I also found a way around it (and a fix). A PROCESS_SUSPEND_RESUME handle is enough to attach to a protected process as a debugger, and the kernel then gives you a new handle with full memory access (none of which needs admin). attach does this for you, and run --harden closes the bypass with a DACL.
Demo
https://github.com/user-attachments/assets/f65ba220-f219-49ec-bb6a-c9c1ecd31ef0
Usage
OutsideIn run <program> [arguments...] start a program tamper-protected (no admin needed)
OutsideIn probe <pid> show a process's protection and what you may open
OutsideIn attach <pid> get in anyway by attaching as a debugger
OutsideIn ifeo on|off <image.exe> protect every launch of an image name (needs admin)
run probes the new process right after starting it, so you can see what the kernel refuses. --no-probe skips the probe. --harden also removes PROCESS_SUSPEND_RESUME from the new process's DACL, so attach stops working on it. Every command has its own --help.
Requirements
Windows 11 24H2 or newer, updated to September 2026 or later.
Most of what it uses isn't in the Windows SDK, and the rest only since September 2026, so the definitions are all in Native.hpp. The values are from ntoskrnl 10.0.26100.9974.
Building
Open the folder in Visual Studio 2026 and build, or from a developer prompt:
cmake -B out
cmake --build out --config Release
Disclaimer
This is personal research done on my own time. It has nothing to do with my employer and doesn't represent them.
It's here for research and for the people defending against it. I don't condone using it for malware, cheats or anything else malicious, and what you do with it is on you.
Credit
If you use this code or the technique anywhere, please credit svespalec and link back to this repo or the write-up.
License
探索相关项目
加载中…