The decoy SSH key on app-03 was used to try to log in to db-02.
- timeline
02:09 SSH login to app-03 as deploy from 203.0.113.24, a source never seen for this account 02:11 exploration on app-03: id, uname -a, cat /etc/passwd, find / -name "*.env" 02:13 decoy file /srv/shop/.env.backup opened 02:14 login attempt on db-02 with the decoy key ~/.ssh/id_ed25519_old tripwire 02:14 incident raised, evidence captured on app-03
- why it rang
- A tripwire is a sure signal: it skips the weighing and goes straight to the measures you agreed. Attention on the
deployaccount had already risen at 02:09, when it came in through a door it had never used, and again at 02:11, when the visit started touching far more than usual. - what we know
- The session came from an address with no history for the
deployaccount. No deploy, merge request or maintenance window explains it. The commands match exploration, not routine work. - what we assume
- The
deploySSH key was stolen, most likely from a CI variable or a developer machine. - what we can’t tell yet
- How the key left your organisation, and whether the same key was used anywhere else before tonight.
- done under your plan
- 02:15 · step 1: session closed and the
deploykey revoked on all servers - 02:15 · step 3: app-03 outbound traffic blocked, except its usual destinations
- 02:16 · you and our on-call person notified by phone
- 02:15 · step 1: session closed and the
- we propose
- Rotate the credentials app-03 could reach: the shop database password and the registry token.
- Review where the
deploykey was stored and who could read it. - Isolate app-03 completely until the review is done: needs your approval.