this post was submitted on 05 Aug 2023
1954 points (97.3% liked)
linuxmemes
21172 readers
932 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows.
- No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
Well, the difference is that you can eradicate the Malware for Wine by doing a quick sudo apt-get purge wine && apt-get install wine and be done with it.
That wouldn't remove the Wine prefix, i. e. the virtual C:\ drive where the virus most likely lives. Uninstalling Wine wouldn't do shit since it only removes files that your user (and thus wine) can't even write to, and if a virus manages to get around that you have bigger problems.
I don't use Wine so I'm really not sure if this would be prevented, but if Wine has read/write file access and the virus is ransomware and encrypts your files then re-installing it really wouldn't help you.
It is not prevented. In fact I saw a video where someone removed the Z:\ drive for wine (the path that gives windows apps access to the whole Linux rootfs) and then ran Wannacry, and it was somehow still able to encrypt all writable folders on the system.