2 ms·
I fear this might be too slow to stop an automated attack. Passing -f to poweroff, so that shutdown(8) is not called, might help a bit.
by jwilk 8y ago
I fear this might be too slow to stop an automated attack. Passing -f to poweroff, so that shutdown(8) is not called, might help a bit.
- brazzledazzle 8y agoYou could also just down your network interfaces.
- thisistomsacct 8y agoDon't forget about ransomware. Imagine the rogue package encrypted your files and demanded payment to get the decryption key. With public key encryption or a symmetric key that is securely deleted, there is no need for network access for the attack to succeed. A fast shutdown could protect most of your files. https://en.m.wikipedia.org/wiki/CryptoLocker https://en.m.wikipedia.org/wiki/CryptoLocker Although I think the best way to deal with ransomware is a strong backup policy, not a tripwire shutdown trick.
- jwilk 8y agoNon-mobile link: https://en.wikipedia.org/wiki/CryptoLocker https://en.wikipedia.org/wiki/CryptoLocker
- brazzledazzle 8y agoGood point. I haven’t thought about it much since I’m on macOS and Linux but it’s not like they’re immune. The idea of a node module encrypting my home directory (even with backups) makes me a tad nervous.
- geekamongus 8y ago"Are you sure you want to quit? iTerm2 is still open."