Lurker News
Anonymous person (under a nickname) sent screenshot as a proof that they managed to gain SSH access to our production server. The screenshot is legit, information displayed in it could not be faked without actual access.

Just a proof, not some ransom request or anything equal.
What would be a smart next step? Other than checking if there are any security updates for all the software in our stack.
We are a small company and don't have any security experts, etc.
Thanks!

Comments (231) 66 threads

Earlier comments
einrealist1 reply#
1) Isolate that server. Treat this server as your ground zero, but assume that other systems might be compromised (including servers and devices of employees etc).

2) Rotate / delete SSH keys on all other servers, that have the same keys installed as the compromised server. Private SSH keys may have been compromised in your company. Inform all employees who had a public key on that server that their access is revoked and that their private keys may have been compromised.
3) Log all (established) SSH connections on these servers. If there are unexpected connections, handle these servers the same as the compromised one. (better: inspect SSH connections through network devices). Interrupt these connections.
4) If you cannot trust that the isolated server is the only compromised one, you should isolate the network and start investigating for more breaches. The person coming forward may have dug deeper to prevent you from shutting him out.
If there are signs for more breaches, you probably should bring experts in. Or, if you can afford it, rebuild your infrastructure on a green field. The latter one is the safest one. If you don't have complex systems and use cloud services and automation tools, this should be doable.
I hope you survive this one.

einrealist#
One addition in regard to the perpetrator: Do not trust this person - these persons (always assume its more than one person). Don't commit to anything. Since they cannot be trusted, don't waste time and money on them.
disease2 replies#
Give the person a small reward for pointing out the vulnerability and offer another small reward for suggesting how to fix it.
edelans2 replies#
why small ? the reward should be in accordance with the criticity IMHO.
brianwawok#
So a startup with 100k total funding got messaged a major company crushing bug. What should they offer for such a big find, 50k? Half their runway?

It's not that rewards should be small for big finds, but if you are legit poor, you have limits on what you can do.

nstr10#
Rewards should always be in accordance with made-up words IMHO.
junke1 reply#
Maybe hire that person?
dimino3 replies#
Hire someone because they exploited a single vulnerability?
dozzie2 replies#
I've heard of much worse hiring practices than to base on a single display of competence.

Continue this thread — 2 replies

rimantas7 replies#
God forbid. No hire if they cannot reverse binary tree on the whiteboard using angular react e6.

Continue this thread — 7 replies

clort1 reply#
Maybe offering a reward is a good way to reduce the anonymity of the person, since rewards can be tracked.

Speaking only for myself.. If I were to go the trouble to anonymously tip somebody off about a security vulnerability, it would be because I cared that they were secure and that I did not wish to be identified. I would neither expect nor accept a reward.

Continue this thread — 1 reply

mboelen2 replies#
Step 1: Try to get in contact with the person and see if he/she is willing to help you share details on entering your systems. Thank this person and see if you can provide a reward.

Step 2: Next step is setting up new systems, and start from scratch. Install the systems, start with basic system hardening and up-to-date software packages. Use https://github.com/CISOfy/lynis to validate your configuration.
Do not have any interaction or data exchange with the old (compromised) systems.
Step 3: Save all running systems to learn from the event. See if you can find the main cause why this happened.
Step 4: Learn about security, hire someone on your team with security knowledge.
Step 5: Do regular (technical) audits.

ojilles#
"Thank this person and see if you can provide a reward"

This should be:
"Thank this person and provide a reward"
Looking at all the other steps you'll have to go through to remedy the situation, this is the least of your costs. (Provided they cooperate and are not malicious)

danesparza1 reply#
+1 for link to lynis. I had never heard of that before!
wila1 reply#
You are replying to the author of lynis, might as well thank him for writing it :)
mboelen#
You are welcome (even without thanking) :)
jwarren116#
In addition to all the really great advice already submitted, I really like using Lynis[0] for scanning my servers to get an idea of obvious vulnerabilities and a baseline for hardening ssh. It's absolutely not a substitute for a security expert, but in about 10 minutes of setup you can get an idea of what action items you need to add to the top of your queue.

[0] https://cisofy.com/lynis/

Load more comments