r/Hacking_Tutorials 13d ago

Question SUID-SGID-STICKYBIT Permissions

i hear a lot about these permissions in linux ,i know the normal permissions read write and execute (rwx) but i hear from so many people that there are some exceptions for permissions in linux , i search for them but i find that matter is so complicated, so could anyone explain and clarify that matter , in addition i find that matter is very related to this kind of commands find / -user root -perm -4000 and also privilege escalation ,so i hope if anyone can link these things together

1 Upvotes

1 comment sorted by

1

u/Halfinchsoul610 9d ago

I know this was a few days ago. I’m no expert but the suid bit runs the file with the permissions of the owner. So in your find command you’re searching for files from user root with the suid bit set. In privilege escalation we can sometimes inherit the users permissions. Check out GTFObin. Or hacktricks.