r/linux4noobs • u/Independent_Cell6959 • 3d 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?
18
Upvotes
25
u/wolfegothmog 3d 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
10
u/SurKaffe 3d ago
Linux is not immune to cookie attacks. Educate yourself and use Firefox+Ublock. Even then its all about how you browse the internet.
4
u/ih-shah-may-ehl 3d 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.
3
u/Technical_Rich_3080 3d ago
Putting aside that Linux can technically be attacked by ransomware, are there much actual reports in the wild where Linux systems were successfully attacked with ransomware?
3
u/navr183 3d ago
Gets ransomed the same way other systems do. On personal devices its sketchy downloads, clickfix, phishing, etc. On servers its generally unpatched applications, zero days, or full blown breaches into lateral movement.
3
u/mrcaptncrunch 3d ago
Yes, it can. There’s currently an issue on Synology servers which is being exploited by ransomware.
How do you prevent it, same as other systems. Being careful about what one runs.
Having said that, no one and no system is infallible. Backups are important.
2
u/PagliacciTheBleak 3d ago
Encryption can sit at least at the physical/hardware level, the disk level, the filesystem level or the data level.
Businesses tend to use services such as immutable backups as a way back from ransomware.
3
u/TomDuhamel 3d 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 3d 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/rarsamx 6h ago
It can get ransomware.
Luks doesn't help because if you are on the computer, the partitions are unencrypted for the OS.
The thing is that there are several things to happen for ransomware to be successful. Most of them need your help.
https://www.crowdstrike.com/en-us/cybersecurity-101/ransomware/how-ransomware-spreads/
I'd say, don't help ransomware.
0
u/gainan 3d ago
yes: https://github.com/evilsocket/opensnitch/discussions/1290