Perhaps I should also tell the story of when one of the servers involved in #PuT...
Simon Tatham @simontatham@hachyderm.io
Perhaps I should also tell the story of when one of the servers involved in #PuTTY was actually broken into.
How the attackers got in wasn't interesting. Came from another already-compromised machine via an authorised SSH key, used the kernel vulnerability of the day to get root, installed a rootkit. The usual.
The machine's administrator shut it down, rebooted from trusted media, and painstakingly re-secured it by finding and checking all the files that differed from a pre-compromise backup. Eliminated the rootkit, and found the hidden directory they'd used as a base while they set it up.
In that directory was a file called 'putty.tgz', which the admin passed on to me to analyse. My blood ran cold. I expected it to be a set of carefully doctored PuTTY binaries, that they'd intended to substitute for the real versions, and pwn everyone who downloaded PuTTY.
But it wasn't.
putty.tgz turned out to be a copy of ~/src/putty from my own home directory on that machine. I could tell it was from there, because I hardly ever do any actual development there, and the revision I happened to have checked out was about a year old. And that revision was exactly what was in the tarball.
These attackers had broken in to a machine involved in PuTTY development … and _stolen the source code_.
And not even a preview of anything unreleased; they got an older version than they could have got straight out of source control.
I really hope it was several days before anyone pointed out their mistake. If there's any justice, they would have been bragging to _everyone_ about this achievement, so that by the time they realised it was completely pointless, it was far too late to pretend it had never happened!