Live data from Hacker News

HiddenWasp Malware Stings Targeted Linux Systems

intezer.com

41–42 of 42 posts

Re: HiddenWasp Malware Stings Targeted Linux Systems

#41

Earlier quoted context omitted.

> Even the common GUI platforms on Linux would require the user to manually save the file and explicitly marking the file as executable. If someone can find a way to drop a text file in my "~/.config/autostart" dir, next time I log in my Gnome desktop will happily execute the command present in the "Exec" line and it doesn't require the execute bit. I think something similar could be done using "~/.local/share/applic…

I think the point is -- do to that you would have to have the email client do it. While once it is out side the control of the email client -- as the quote suggest, it's up to the user -- not the email client to do the dirty work. The notion is that on windows, even a all knowing user who knew the email contained a virus after viewing it would be helpless as the email client already did the steps required to make the…

> The notion is that on windows, even a all knowing user who knew the email contained a virus after viewing it would be helpless as the email client already did the steps required to make the virus active. Where as on Linux, the user would still need to be the facilitator -- not the email client blindly destroying your system.

OK, I see your point, normal usage against exploits, and usually security goes against convenience.

I don't know if I'm overly paranoid, but in this specific case I've started long time ago to keep my autostart dir read only. At the same time I've dirs in my command path that are writable by my user (but those need the execute bit tho)...

Re: HiddenWasp Malware Stings Targeted Linux Systems

#42

Earlier quoted context omitted.

I think the point is -- do to that you would have to have the email client do it. While once it is out side the control of the email client -- as the quote suggest, it's up to the user -- not the email client to do the dirty work. The notion is that on windows, even a all knowing user who knew the email contained a virus after viewing it would be helpless as the email client already did the steps required to make the…

> The notion is that on windows, even a all knowing user who knew the email contained a virus after viewing it would be helpless as the email client already did the steps required to make the virus active. Where as on Linux, the user would still need to be the facilitator -- not the email client blindly destroying your system. OK, I see your point, normal usage against exploits, and usually security goes against conv…

Keeping your autostart directory read-only is a great idea.

After that, a ZIP symlink traversal could still drop a script in your command path directories that are writable by your user. The execute bit is not a hurdle, unzip utilities will typically preserve the execute bit on Unix systems.

ZIP directory traversals are as old as the hills, yet they are still a thing: https://snyk.io/research/zip-slip-vulnerability.

ZIP symlink traversals are even more powerful, yet they are hardly spoken of.

Ideally, you want your email provider to be blocking ZIP attachments with symlink traversals or execute bits (but I am not aware of any which do).

Post reply on HN