Re: Gain root access on linux servers with physical access

From: Santiago Rocandio (srocandio@adinet.com.uy)
Date: Tue Dec 19 2006 - 11:43:40 EST


Hello,
        if boot loader are not password protected, that is enough.

For example: with lilo, a command like "lilo_prompt> init=/bin/sh" will
give you a shell with root access... becouse you are telling kernel that
/bin/bash is your init image.

Regards, Santiago.

spammailme@gmail.com wrote:
> All -
>
> I was wondering ideas on how to gain control of linux boxes with physical access to them in the hosting facility.
>
> The owner has code on them yet never bothered monitoring or gaining root access and her developers are blackmailing her. She has access the the hosting facility and the servers and backup staff yet needs to regain control of the servers.
>
> I asked what OS are they? She did not know. nmap cannot tell and p0f states:
> # p0f
> p0f - passive os fingerprinting utility, version 2.0.8
> (C) M. Zalewski <lcamtuf@dione.cc>, W. Stearns <wstearns@pobox.com>
> p0f: listening (SYN) on 'eth0', 262 sigs (14 generic, cksum 0F1F5CA2), rule: 'all'.
> x.x.122.x:54368 - Linux 2.6 (newer, 2) (up: 410 hrs)
> -> x.114.33.x:80 (distance 0, link: ethernet/modem)
>
> Any ideas how to get root with physical access? I remember in the past booting to a knoppix CD and messing with boot loader yet it has been a while.
>
> Also the only ports open are 80 & 443.
>
> Any ideas?
>
>
>
> ------------------------------------------------------------------------
> This List Sponsored by: Cenzic
>
> Need to secure your web apps?
> Cenzic Hailstorm finds vulnerabilities fast.
> Click the link to buy it, try it or download Hailstorm for FREE.
> http://www.cenzic.com/products_services/download_hailstorm.php?camp=701600000008bOW
> ------------------------------------------------------------------------
>
>



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:57:28 EDT