That's a common mistake of people that do not understand how AV's work and how virustotal work. From their own FAQ: At VirusTotal we are tired of repeating that the service was not designed as a tool to perform antivirus comparative analyses, but as a tool that checks suspicious samples with several antivirus solutions and helps antivirus labs by forwarding them the malware they fail to detect. Those who use VirusTot…
Bypassing Antivirus with Ten Lines of Code
71–80 of 100 posts
Re: Bypassing Antivirus with Ten Lines of Code
#72That's a common mistake of people that do not understand how AV's work and how virustotal work. From their own FAQ: At VirusTotal we are tired of repeating that the service was not designed as a tool to perform antivirus comparative analyses, but as a tool that checks suspicious samples with several antivirus solutions and helps antivirus labs by forwarding them the malware they fail to detect. Those who use VirusTot…
I do not understand how this is a response to the article, which doesn't make a comparison so much as claim that all AV suck.
Re: Bypassing Antivirus with Ten Lines of Code
#73I once wrote a kernel extension that intercepted any and all file open()'s on OS X. If the application in question was opening a file that it was not whitelisted to do so, it would bring up a modal dialog box asking whether or not this application should be allowed to open this file. It was basically a firewall on the kernel level. It worked splendidly, however, I was never able to gain any traction in marketing it.…
Re: Bypassing Antivirus with Ten Lines of Code
#74I once wrote a kernel extension that intercepted any and all file open()'s on OS X. If the application in question was opening a file that it was not whitelisted to do so, it would bring up a modal dialog box asking whether or not this application should be allowed to open this file. It was basically a firewall on the kernel level. It worked splendidly, however, I was never able to gain any traction in marketing it.…
That is an example of a mandatory access control (MAC) framework[1]. SELinux[1] is a MAC for linux systems and is very effective if the user doesn't disable it due to frustrations over false positives or due to true positives that are viewed by the user as false. OSX has discretionary access control, which can be configured to be a full MAC[3]. Starting in OS X v10.5, the kernel includes an implementation of the Trus…
Instead, Apple designed a KAUTH framework, which is way more limited than MAC, but can be used to implement some features that will be stable across kernels (it has ABI stability). There are already some AVs that are using KAUTH.
Re: Bypassing Antivirus with Ten Lines of Code
#75Re: Bypassing Antivirus with Ten Lines of Code
#76It's not executing any old binary: the 'shellcode' has to be position-independent and can't rely on any normal PE features; it has to do all it's library loading on it's own etc.
yes, very possible to create. but if your malware/tool you want to run is large, it will take a fair amount of time to convert.
Re: Bypassing Antivirus with Ten Lines of Code
#77Earlier quoted context omitted.
I do not understand how this is a response to the article, which doesn't make a comparison so much as claim that all AV suck.
It seems to say that just because something passes virustotal with 0/56 doesn't necessarily mean it would pass every AV in a real attack.
> perform antivirus comparative analyses
is not what is happening here.
Re: Bypassing Antivirus with Ten Lines of Code
#78I once wrote a kernel extension that intercepted any and all file open()'s on OS X. If the application in question was opening a file that it was not whitelisted to do so, it would bring up a modal dialog box asking whether or not this application should be allowed to open this file. It was basically a firewall on the kernel level. It worked splendidly, however, I was never able to gain any traction in marketing it.…
Re: Bypassing Antivirus with Ten Lines of Code
#79Earlier quoted context omitted.
Isn't it dangerous to assume all malicious programs will use scratch files before communicating across the network? Won't you miss programs that use purely in-memory structures?
Yes, it is. And that was just a simplified example. In practice if you were running something you were very distrustful of, you would block access to almost all of its file access. You also wouldn't leave it running for long enough to feed it enough keystrokes to get you into trouble. But even if you did, you would catch it with all the file opens (and network connection open's) before it could transmit your keystrok…
Re: Bypassing Antivirus with Ten Lines of Code
#80Earlier quoted context omitted.
Would you be interested in making a linux version of this?
Sure, that should be possible. Considering the failure of my OS X version I'd need to see some demand for it beforehand.
Out of curiosity, could you provide a link to the website advertising your kernel extension (if it still exists)? As an OS X user, I feel pretty bad that I wasn’t aware of its existence (I would’ve certainly recommended it to my friends).