简体   繁体   中英

C++ make an exe unkillble by taskkill /F or taskmanger endprocess

I'm new to C++ and can somebody please provide me a full code to hide a certain exe? I know there's something to do with editing the ACL in windows but I'm not sure about the details.

THANKS!

You can't, at least not from user mode. You can hide your executable in other ways ranging from obfuscation to process hollowing, but you can't prevent it from being killed. The reason is because any other process, even in user mode, has access to open a handle to any other process at or lower than its permission level. What it sounds like you want is ObRegisterCallbacks from a kernel driver.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM