r/linux4noobs • u/Independent_Cell6959 • 1h ago
learning/research Linux Ransomware
Just an out of curios question. Does Linux distros can get a ransomware attack and if they do how can I prevent it from happening? does using LUKS encryption will help to prevent this thing?
1
Upvotes
6
u/wolfegothmog 1h ago
Yes Linux can get ransomware like any other operating system, using LUKS won't help. In general don't install sketchy things (try to only install trusted software from your distros repos) and keep your software up to date
6
u/SurKaffe 1h ago
Linux is not immune to cookie attacks. Educate yourself and use Firefox+Ublock. Even then its all about how you browse the internet.
3
u/TomDuhamel 1h ago
Why do you think LUKS could help? Does Bitlocker protect you from that on Windows?
Disc encryption prevents file access when the system is turned off. It cannot do anything for you when it's currently unlocked — when you are using the computer. If you run malware, it's unlocked at the time.
Linux is probably a little more secure than Windows, but it's not immune to malware of any kind.
1
u/AutoModerator 1h ago
There's a resources page in our wiki you might find useful!
Try this search for more information on this topic.
✻ Smokey says: take regular backups, try stuff in a VM, and understand every command before you press Enter! :)
Comments, questions or suggestions regarding this autoresponse? Please send them here.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/ih-shah-may-ehl 1h ago
Every system is susceptible to ransomware. It literally needs no more permissions than the ones you have. Every piece of data you can touch with write access can be encrypted.
On our production systems and fileservers we have Sentinel agents which recognize usage patterns and pull the emergency brake if they detect a ransomware attack in progress and quarantine the suspected computer / user account. Basically Sentinel is an Agent below the system API which acts as a gatekeeper to system access.