News for hackers. Stuff that matters.
Re:Malware Detection in Executables Using Neural Networks by throwaway613834 on Monday December 04, 2017 @03:21PM (#15847086)
Could someone explain something to me? The difference between malware and useful-ware can be just 1 negation instruction. e.g. you list all files in a folder recursively and delete the ones that end with ".tmp", or you delete the ones that DON'T end with that. How can anyone expect an antivirus to distinguish these?
Re:Malware Detection in Executables Using Neural Networks by EdwardRaff on Monday December 04, 2017 @11:02PM (#15849620)
Really, the benign-vs-malicious question is an oversimplification. But thats what we have data for, and what most people focus on.

The reality is there is a big gray area between the two classes. Some cases are really hard to determine, and would be something that would lead to errors in production. Some examples:

What if it is of malicious intent, but the author messed it up and so it doesn't do anything. Is it still malware?

What if it's a program used for encryption for security, but used by malware to create ransomware? Is it malicious now?

What if its a benign program, but a bug causes it to destroy files. Is it malicious?

Some programs are maybe not malicious, but just annoying (like browser toolbar installers). What do we call it? Some systems have a "Potentially Unwanted Software" category for these guys.

Ultimately, it's not easy. Thankfully most binaries are fairly cut-and-dry in terms of which side of the fence do they belong. The hope is that with enough labeled data, we can do a good job for the majority of cases. We don't expect it to ever be perfect. Hitting the hard to distinguish samples is definitely something dig into in the future.

Re:Malware Detection in Executables Using Neural Networks by taneq on Monday December 04, 2017 @08:00PM (#15848977)
It's almost like an inversion of the usual image classification problems, where you want to identify the broad strokes of the image while reducing sensitivity to the value of individual pixels. Instead, here, you want to ignore the overall shape of the program (which is likely to be benign) and focus on tiny details to pick up sneaky hostile behaviour.
Re:Malware Detection in Executables Using Neural Networks by convery on Monday December 04, 2017 @04:34PM (#15847732)
You'd probably have a weight of some sort so if the program wants to modify N files, it gets 0.23N 'suspicious-points'. To get how many files the code wants to modify, you have standard symbolic execution without actually performing the syscalls/WINAPI. Same with checking if the deletion is in the main code path vs behind some event trigger. There's no silver bullets but you can certainly factor 'normal' behavior into your analysis.
Re:Malware Detection in Executables Using Neural Networks by che_shirecat on Monday December 04, 2017 @04:43PM (#15847814)
sandbox and analyze the end result (file actions, system-level actions) of running the software - the actual results of use don't lie. until they do, where you have context-sensitive viruses that detect VM's and are generally designed to not trigger when analyzed.
Re:Malware Detection in Executables Using Neural Networks by cortesoft on Monday December 04, 2017 @04:51PM (#15847880)
Right, and that kind of malware is going to have a lot more code than just a negation.
Re:Malware Detection in Executables Using Neural Networks by luxuryballs on Monday December 04, 2017 @05:49PM (#15848289)
yeah but how does it determine the results are not what the user intended?
Re:Malware Detection in Executables Using Neural Networks by cortesoft on Monday December 04, 2017 @04:52PM (#15847890)
Malware that just does that is not going to be very useful to a blackhat, who generally has some purpose in mind besides just wanton destruction. They are going to want to control the computer, ransom the data, or spread to other machines.
Re:Malware Detection in Executables Using Neural Networks by throwaway613834 on Monday December 04, 2017 @06:44PM (#15848607)
My point wasn't that file deletion is the goal, my point was a single bit could change the entire meaning.