connected from 🇮🇳 Surat, India · SSH-2.0-OpenSSH_10.5
root@in-bom-gcp-1: offered a key (ssh-ed25519) · refused
root@in-bom-gcp-1's password: Logged in as root
root@in-bom-gcp-1:~# l-bash: l: command not found
root@in-bom-gcp-1:~# lsroot@in-bom-gcp-1:~# cdroot@in-bom-gcp-1:~# pwd/root
root@in-bom-gcp-1:~# free -htotal used free shared buff/cache available Mem: 3.9Gi 706Mi 3.0Gi 7.1Mi 556Mi 3.2Gi Swap: 0B 0B 0B
root@in-bom-gcp-1:~# df -fdf: invalid option -- 'f' Try 'df --help' for more information.
root@in-bom-gcp-1:~# df -hFilesystem Size Used Avail Use% Mounted on udev 2.0G 0 2.0G 0% /dev tmpfs 398M 632K 397M 1% /run /dev/nvme0n1p1 39G 14G 23G 38% / tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 123M 12M 111M 10% /boot/efi
root@in-bom-gcp-1:~# lscpuArchitecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 46 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Vendor ID: GenuineIntel
Model name: Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
CPU family: 6
Model: 85
Thread(s) per core: 2
Core(s) per socket: 1
Socket(s): 1
Stepping: 7
BogoMIPS: 5000.00
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall
nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopolog
y nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmul
qdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcn
t tsc_deadline_timer aes xsave avx f16c rdrand hyperviso
r lahf_lm abm 3dnowprefetch invpcid_single fsgsbase tsc_
adjust bmi1 avx2 smep bmi2 erms invpcid mpx avx512f avx5
12dq rdseed adx smap clflushopt clwb avx512cd avx512bw a
vx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospk
e avx512_vnni md_clear flush_l1d arch_capabilities
Virtualization features:
Hypervisor vendor: KVM
Virtualization type: fullroot@in-bom-gcp-1:~# whoim-bash: whoim: command not found
root@in-bom-gcp-1:~# whomi-bash: whomi: command not found
root@in-bom-gcp-1:~# whoamiroot
root@in-bom-gcp-1:~# htop-bash: htop: command not found
root@in-bom-gcp-1:~# top=(Btop - 05:41:05 up 18 days, 4:39, 1 user, load average: 0.08, 0.09, 0.10(B(B
Tasks:(B 74 (Btotal,(B 1 (Brunning,(B 73 (Bsleeping,(B 0 (Bstopped,(B 0 (Bzombie(B(B
%Cpu(s):(B 2.2 (Bus,(B 0.8 (Bsy,(B 0.0 (Bni,(B 96.6 (Bid,(B 0.0 (Bwa,(B 0.0 (Bhi,(B 0.1 (Bsi,(B 0.3 (Bst(B(B (B(B
MiB Mem :(B 3973.1 (Btotal,(B 3073.5 (Bfree,(B 711.4 (Bused,(B 560.8 (Bbuff/cache(B(B (B(B (B(B
MiB Swap:(B 0.0 (Btotal,(B 0.0 (Bfree,(B 0.0 (Bused.(B 3261.7 (Bavail Mem (B(B
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND (B
(B 1107 www-data 20 0 274841 47222 29061 S 5.3 1.2 130:59.24 apache2 (B
(B 110587 root 20 0 11084 4600 2760 R 0.7 0.1 0:00.00 top (B
(B 712 mysql 20 0 1363148 219543 130621 S 0.3 5.4 157:11.09 mariadbd (B
(B 1 root 20 0 167936 12987 7802 S 0.0 0.3 2:37.02 systemd (B
(B 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd (B
(B 3 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_gp (B
(B 4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_par_+ (B
(B 5 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 slub_flu+ (B
(B 6 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 netns (B
(B 7 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/+ (B
(B 8 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 mm_percp+ (B
(B 9 root 20 0 0 0 0 I 0.0 0.0 0:00.00 rcu_task+ (B
(B 10 root 20 0 0 0 0 I 0.0 0.0 0:00.00 rcu_task+ (B
(B 11 root 20 0 0 0 0 I 0.0 0.0 0:00.00 rcu_task+ (B
(B 12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksoftirq+ (B
(B 13 root 20 0 0 0 0 I 0.0 0.0 0:00.00 rcu_pree+ (B
(B 14 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migratio+ (B
(B 15 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/0 (B
(B 16 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/1 (B
(B 17 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migratio+ (B
(B 18 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksoftirq+ (B
(B 19 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/+ (B
(B 20 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs (B
(B 21 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 inet_fra+ (B
(B 22 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kauditd (B
(B 23 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khungtas+ (B
(B 24 root 20 0 0 0 0 S 0.0 0.0 0:00.00 oom_reap+ (B
(B 25 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 writeback (B
(B 26 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kcompact+ (B
(B 27 root 25 5 0 0 0 S 0.0 0.0 0:00.00 ksmd (B
(B 28 root 39 19 0 0 0 S 0.0 0.0 0:00.00 khugepag+ (B
(B 29 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kintegri+ (B>root@in-bom-gcp-1:~# uptime05:41:10 up 18 days, 4:39, 1 user, load average: 0.08, 0.09, 0.10
root@in-bom-gcp-1:~# ip addr1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 0a:3f:5c:5a:84:c4 brd ff:ff:ff:ff:ff:ff
altname enp0s5
inet 172.31.27.140/20 metric 100 brd 172.31.31.255 scope global dynamic ens5
valid_lft forever preferred_lft forever
inet6 fe80::83f:5cff:fe5a:84c4/64 scope link
valid_lft forever preferred_lft foreverroot@in-bom-gcp-1:~# dpkg --get-selections | head -50root@in-bom-gcp-1:~# ps aux --sort=-%mem | head -15USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND mysql 712 0.6 5.4 1363148 219619 ? Ssl Oct22 157:11 /usr/sbin/mariadbd www-data 1104 0.6 1.3 274841 52553 ? S Oct22 144:05 /usr/sbin/apache2 -k start www-data 1107 0.5 1.2 274841 47170 ? S Oct22 130:59 /usr/sbin/apache2 -k start www-data 1112 0.4 1.1 274841 45399 ? S Oct22 104:47 /usr/sbin/apache2 -k start www-data 1388 0.4 1.0 274841 42694 ? S Nov06 14:17 /usr/sbin/apache2 -k start www-data 1391 0.3 1.0 274841 40121 ? S Nov06 10:43 /usr/sbin/apache2 -k start root 905 0.0 0.7 268390 29423 ? Ss Oct22 0:00 /usr/sbin/apache2 -k start root 289 0.0 0.4 48128 15489 ? Ss Oct22 0:31 /lib/systemd/systemd-journald root 1 0.0 0.3 167936 12989 ? Ss Oct22 2:37 /sbin/init root 110558 0.0 0.3 18932 10524 ? Ss 05:37 0:00 /lib/systemd/systemd --user root 110525 0.0 0.3 17536 11024 ? Ss 05:37 0:00 sshd: root [priv] root 318 0.0 0.2 26316 6728 ? Ss Oct22 0:00 /lib/systemd/systemd-udevd systemd+ 402 0.0 0.2 18022 8514 ? Ss Oct22 0:00 /lib/systemd/systemd-networkd root 534 0.0 0.2 17203 7840 ? Ss Oct22 0:00 /lib/systemd/systemd-logind
root@in-bom-gcp-1:~# ss -tulpnNetid State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
udp UNCONN 0 0 172.31.27.140%ens5:68 0.0.0.0:* users:(("systemd-network",pid=402,fd=5))
udp UNCONN 0 0 127.0.0.1:323 0.0.0.0:* users:(("chronyd",pid=566,fd=5),("chronyd",pid=561,fd=5))
udp UNCONN 0 0 [::1]:323 [::]:* users:(("chronyd",pid=566,fd=5),("chronyd",pid=561,fd=5))
tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=598,fd=3))
tcp LISTEN 0 80 127.0.0.1:3306 0.0.0.0:* users:(("mariadbd",pid=712,fd=3))
tcp LISTEN 0 511 0.0.0.0:80 0.0.0.0:* users:(("apache2",pid=1391,fd=3),("apache2",pid=1388,fd=3),("apache2",pid=1112,fd=3),("apache2",pid=1107,fd=3),("apache2",pid=1104,fd=3),("apache2",pid=905,fd=3))
tcp LISTEN 0 511 0.0.0.0:443 0.0.0.0:* users:(("apache2",pid=1391,fd=5),("apache2",pid=1388,fd=5),("apache2",pid=1112,fd=5),("apache2",pid=1107,fd=5),("apache2",pid=1104,fd=5),("apache2",pid=905,fd=5))
tcp LISTEN 0 128 [::]:22 [::]:* users:(("sshd",pid=598,fd=4))
tcp LISTEN 0 511 [::]:80 [::]:* users:(("apache2",pid=1391,fd=4),("apache2",pid=1388,fd=4),("apache2",pid=1112,fd=4),("apache2",pid=1107,fd=4),("apache2",pid=1104,fd=4),("apache2",pid=905,fd=4))
tcp LISTEN 0 511 [::]:443 [::]:* users:(("apache2",pid=1391,fd=6),("apache2",pid=1388,fd=6),("apache2",pid=1112,fd=6),("apache2",pid=1107,fd=6),("apache2",pid=1104,fd=6),("apache2",pid=905,fd=6))Connection to in-bom-gcp-1 closed by remote host.
Idle for 5 minutes, the decoy closed the connection · 10m 29s inside
10:29 / 10:29
What they found: A web agency's WordPress serverA small web agency's cloud server that hosts a handful of client websites built on WordPress, with their databases on the same machine.