by ddevault · 9y ago · 0 comments
Take the data you can recover offline and then reinstall from scratch. Don't try to fix it, just recover what you can and throw the rest away.
It's worth noting that if you are really serious about doing forensics and investigating the attack, then shutting down can be pretty destructive.
> what data is recoverable.
Another point I'd make is that try to recover as little as possible from the infected system and prefer using clean backups instead.
I agree on the overall sentiment though, attempting to recover a infected system is unnecessarily risky. Nuke it from the orbit, it is the only way to be sure.
The reality is that decoders for complex file formats often have buffer overrun and code execution flaws. If such mechanisms were used in the original attack or if the malware has worm-like abilities to extend the attack from your compromised machine, then wouldn't it me likely that more such corrupted data is also being staged to your machine?
Also, a very real risk would be the huge number of little scripts and configuration files which offer embedded scripting syntaxes. A naive victim might think they can install a new OS and just "recover their custom configuration files", but they are really recovering the attacker's configuration which can include the actual malware activation or other fail-safe reinfection mechanisms.
So you shouldn’t trust that this doesn’t happen again.
not saying your idea is bad advice but you need the full picture to counter ransomware attacks
Really?
>> Best thing to do when dealing with this kind of stuff is disconnect the network, cold reboot off a livecd and and go from there.
>> That means that they got root. You can't clean that up, its a reinstall. [...] If you want to do forensics, make a disc image of the install and work on that. You need the filesystem free space too, as that's where the interesting stuff will be.
My real concern would be them grabbing secrets, not losing any data.