Sunday, 5 September 2010
SImple Malware Scanner (Offline & Online)
Do you like this story?
Earlier I wrote about how to scan a file using multiple antiviruses online, however, alternatively you can check the md5 hash of the file & compare it to the valid one in an offline database..or can validate it at an online one like VirusTotal. The specified action is done by a program known as "Simple Malware Check Tool" developed by Mert Sarica. The program has http proxy support & update feature.
You can easily check the hash by running -
python malware_check.py online malware.exe
and then shows the result. To check Offline, you need to run -
python malware_check.py offline malware.exeThis command takes the md5 hash of the specified file (ex: malware.exe) and searches it in its current hash set (hashset.txt)
and then shows the result.
python malware_check.py updateThis command updates its current hash set (hashset.txt) by crawling threat information from http://www.avira.ro &
To add proxy support simply edit the .py script and add in the relevant proxy details.
proxy_info = {
'user' : 'username', # proxy username
'pass' : 'password', # proxy password
'host' : "proxy host", # proxy host
'port' : 8080 # proxy port
}
You can download the Malware Check Tool here:
Download Malware Check Tool
Like This post ? You can buy me a Beer :)
Posted by XERO. ALL RIGHTS RESERVED.
This post was written by: Rishabh Dangwal
Rishabh Dangwal is a no-nonsense network geek who likes to play retro games and emulators in free time. Follow him on Twitter
0 Responses to “SImple Malware Scanner (Offline & Online)”
Post a Comment