← All sessions
Ended · replayGot in

Got in and went looking for secret keys

on Mumbai, Indialofty-capybara-46i from Nashik (Damodar Nagar), IndiaSSH-2.0-Go

root@in-bom-gcp-1 · 🇮🇳 Mumbai
connected from 🇮🇳 Nashik (Damodar Nagar), India · SSH-2.0-Go
root@in-bom-gcp-1's password: 
Logged in as root
root@in-bom-gcp-1:~# hostname
in-bom-gcp-1
root@in-bom-gcp-1:~# pwd
/root
root@in-bom-gcp-1:~# ssh -V
OpenSSH_9.2p1 Debian-2+deb12u10, OpenSSL 3.0.22 25 Aug 2026
root@in-bom-gcp-1:~# uptime
 05:57:40 up 24 days,  5:53,  0 user,  load average: 0.07, 0.10, 0.09
root@in-bom-gcp-1:~# mount | head -5
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=4068472k,nr_inodes=1017118,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=813696k,mode=755,inode64)
root@in-bom-gcp-1:~# env | head -10
HOME=/root
USER=root
LOGNAME=root
SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD=/root
LANG=C.UTF-8
SSH_CLIENT=[attacker] 40990 22
SSH_CONNECTION=[attacker] 40990 10.0.0.4 22
XDG_SESSION_ID=2
root@in-bom-gcp-1:~# uname -a
Linux in-bom-gcp-1 6.1.0-54-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.190-1 (2026-10-16) x86_64 GNU/Linux
root@in-bom-gcp-1:~# whoami
root
root@in-bom-gcp-1:~# ls -la /
total 68
drwxr-xr-x 18 root root  4096 Oct 22 16:16 .
drwxr-xr-x 18 root root  4096 Oct 22 16:16 ..
lrwxrwxrwx  1 root root     7 Oct 22 16:09 bin -> usr/bin
drwxr-xr-x  4 root root  4096 Oct 22 16:20 boot
drwxr-xr-x  6 root root   560 Oct  1 00:04 dev
drwxr-xr-x 69 root root  4096 Oct 22 18:25 etc
drwxr-xr-x  5 root root  4096 Oct 22 16:20 home
lrwxrwxrwx  1 root root    30 Oct 22 16:16 initrd.img -> boot/initrd.img-6.1.0-54-amd64
lrwxrwxrwx  1 root root    29 Oct 22 16:10 initrd.img.old -> boot/initrd.img-6.1.0-9-amd64
lrwxrwxrwx  1 root root     7 Oct 22 16:09 lib -> usr/lib
lrwxrwxrwx  1 root root     9 Oct 22 16:09 lib64 -> usr/lib64
drwx------  2 root root 16384 Oct 22 16:09 lost+found
drwxr-xr-x  3 root root  4096 Oct 22 16:09 media
drwxr-xr-x  2 root root  4096 Oct 22 16:09 mnt
drwxr-xr-x  2 root root  4096 Oct 22 16:09 opt
dr-xr-xr-x 79 root root     0 Oct 22 18:25 proc
drwx------  5 root root  4096 Oct 22 16:30 root
drwxr-xr-x  8 root root   180 Oct  1 00:04 run
lrwxrwxrwx  1 root root     8 Oct 22 16:09 sbin -> usr/sbin
drwxr-xr-x  2 root root  4096 Oct 22 16:09 srv
dr-xr-xr-x  3 root root     0 Oct 22 18:25 sys
drwxrwxrwt  8 root root  4096 Oct 22 18:25 tmp
drwxr-xr-x 12 root root  4096 Oct 22 16:16 usr
drwxr-xr-x 12 root root  4096 Oct 22 18:25 var
lrwxrwxrwx  1 root root    27 Oct 22 16:16 vmlinuz -> boot/vmlinuz-6.1.0-54-amd64
lrwxrwxrwx  1 root root    26 Oct 22 16:10 vmlinuz.old -> boot/vmlinuz-6.1.0-9-amd64
root@in-bom-gcp-1:~# ps aux | head -10
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root           1  0.0  0.2 167936 12662 ?        Ss   Oct01   3:29 /sbin/init
root           2  0.0  0.0      0     0 ?        S    Oct01   0:00 [kthreadd]
root           3  0.0  0.0      0     0 ?        I<   Oct01   0:00 [rcu_gp]
root           4  0.0  0.0      0     0 ?        I<   Oct01   0:00 [rcu_par_gp]
root           5  0.0  0.0      0     0 ?        I<   Oct01   0:00 [slub_flushwq]
root           6  0.0  0.0      0     0 ?        I<   Oct01   0:00 [netns]
root           7  0.0  0.0      0     0 ?        I<   Oct01   0:00 [kworker/0:0H-events_highpri]
root           8  0.0  0.0      0     0 ?        I<   Oct01   0:00 [mm_percpu_wq]
root           9  0.0  0.0      0     0 ?        I    Oct01   0:00 [rcu_tasks_kthread]
root@in-bom-gcp-1:~# netstat -tulpn | head -10
bash: line 1: netstat: command not found
root@in-bom-gcp-1:~# history | tail -5
root@in-bom-gcp-1:~# netstat -tulpn 2>/dev/null | grep LISTEN | head -20
root@in-bom-gcp-1:~# ls -la /etc/network/interfaces /etc/sysconfig/network-scripts/ /etc/netplan/ 2>/dev/null | head -5
-rw-r--r-- 1 root root 313 Oct 22 16:10 /etc/network/interfaces
root@in-bom-gcp-1:~# ip addr show 2>/dev/null | grep -E '^[0-9]+:' | head -5
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
root@in-bom-gcp-1:~# ip route show 2>/dev/null | head -3
default via 10.0.0.1 dev eth0 proto dhcp src 10.0.0.4 metric 100 
10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.4 metric 100 
10.0.0.1 dev eth0 proto dhcp scope link src 10.0.0.4 metric 100 
root@in-bom-gcp-1:~# echo 'test' > /tmp/test_1792907863
root@in-bom-gcp-1:~# rm -f /tmp/test_1792907863
root@in-bom-gcp-1:~# cat /etc/passwd 2>/dev/null | head -1
root:x:0:0:root:/root:/bin/bash
root@in-bom-gcp-1:~# cat /etc/shadow 2>/dev/null | head -1
root:$6$VsAjP.hYPzFEQ184$2pxlDWhwgy4MwW09c5Jz/QCDysgJO7H8S1XGALGfS0rrBE/2QEOq9oAk3OyjTBIvNL2W/aJXiLp363rUYyaft2:20748:0:99999:7:::
root@in-bom-gcp-1:~# cat /proc/version 2>/dev/null | head -1
Linux version 6.1.0-54-amd64 ([email protected]) (gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian 6.1.190-1 (2026-10-16)
root@in-bom-gcp-1:~# id
uid=0(root) gid=0(root) groups=0(root)
root@in-bom-gcp-1:~# whoami
root
root@in-bom-gcp-1:~# pwd
/root
root@in-bom-gcp-1:~# cat /proc/cpuinfo | grep 'model name' | head -1
model name	: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
root@in-bom-gcp-1:~# uname -r
6.1.0-54-amd64
root@in-bom-gcp-1:~# which apt
/usr/bin/apt
root@in-bom-gcp-1:~# which yum
root@in-bom-gcp-1:~# which pacman
root@in-bom-gcp-1:~# which zypper
root@in-bom-gcp-1:~# systemctl list-units --type=service --state=running 2>/dev/null | head -10
  UNIT                       LOAD   ACTIVE SUB     DESCRIPTION
  chrony.service             loaded active running chrony, an NTP client/server
  cron.service               loaded active running Regular background program processing daemon
  dbus.service               loaded active running D-Bus System Message Bus
  [email protected]         loaded active running Getty on tty1
  nginx.service              loaded active running A high performance web server and a reverse proxy server
  pm2-deploy.service         loaded active running PM2 process manager
  [email protected] loaded active running Serial Getty on ttyS0
  ssh.service                loaded active running OpenBSD Secure Shell server
  systemd-journald.service   loaded active running Journal Service
root@in-bom-gcp-1:~# ping -c 1 8.8.8.8 2>/dev/null | grep '1 packets transmitted'
1 packets transmitted, 0 received, 100% packet loss, time 0ms
root@in-bom-gcp-1:~# time dd if=/dev/zero of=/tmp/test bs=1M count=10 2>&1
10+0 records in
10+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0.00911059 s, 1.2 GB/s

real	0m0.042s
user	0m0.004s
sys	0m0.002s
root@in-bom-gcp-1:~# rm -f /tmp/test
root@in-bom-gcp-1:~# ss -tuln 2>/dev/null | wc -l
9

Disconnected · 15s inside

0:15 / 0:15
What they found: A startup's API serverA small company's cloud VM running a Node.js API.

Live updates paused

Reconnecting…

Trying again in seconds.

The connection is gone. Reload the page to see the latest.

Paused to save the server’s work while you were away.

Couldn’t resume. Reload the page to see the latest.