4 ms·
Binaries... by binaries you mean pdfs and zip files? Because these are probably the most probable vector of attack rather than exes.
by heavenlyblue 6y ago
Binaries... by binaries you mean pdfs and zip files? Because these are probably the most probable vector of attack rather than exes.
- tgsovlerkhgsel 6y agoIn the end, most malware runs an executable. If it's a ZIP file, it probably contains a binary. If it's a PDF, yes, it could contain an exploit, but nowadays, it's much more likely that it contains a link for the user to click and download malware from. And if it does contain an exploit, there's a decent chance that the exploit will be used to download and install an executable. It feels like most malware is going backwards from the elaborate schemes of the past to "hey user, please run my malware". Of course, state sponsored malware _can_ be the exception, although it often uses the same patterns, because they apparently work well enough against most targets.
- heavenlyblue 6y agoI don’t think you got the idea of what I am saying. You can’t limit people to opening only PDFs which you approved. Therefore if a PDF reader has an exploit (be it ability to write to it’s code locations via PDF payload, a scripting language embedded writhin PDF), then you are pwned. EXE files are far from the only files that allow you to embed code today. Heck, you can embed JS in an SVG image and if you’re unlucky to display that with some not-so-smart image previewed then you’re done. Fingerprinting is useless for that kind of stuff because it takes away the only good use of computers: sharing of new, unique information.
- tgsovlerkhgsel 6y agoAs I said, exploits are out of scope for binary (i.e. executable) whitelisting and a malicious document could be opened even with binary whitelisting in place and would bypass it - but they're rare in practice. It raises the bar for the attacker from "trick the user into running your malware" to "have a zero-day for your PDF reader + an escape for whatever sandbox the reader may be put into + fileless malware to actually do something useful after they gained initial execution on the target machine". Again, not claiming it's unbreakable, but it stops the vast majority of attacks (allowing you to spend time defending against the rest instead of reimaging machines infected with commodity malware).