Follow us on Twitter!
I'd prefer to die standing, than to live on my knees - Che Guevara
Thursday, April 24, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 28
Guests Online: 22
Members Online: 6

Registered Members: 82895
Newest Member: kevy90
Latest Articles
View Thread

HellBound Hackers | Computer General | General Computer Problems

Author

permissions question


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 09-03-08 01:56
Hi all

Just a quick question, if I write a program thats deliberately vulnerable to buffer overflows, set the suid bit (so it runs with root permissions) and tar -p it up to preserve permissions, when I transfer it to another computer (running as an unprivileged user) and exploit it, will that give me root?

I think it will but it seems all too easy. I have telnet access to the box im trying to own (this is for a uni project btw, nothing illegal :ninjaSmile. Its gonna be something real simple like once the suid bit is set u need to be root to run it isnt it? Come on guys point out the obvious flaw its starting to annoy me.

Thanks in advance,
jon