Folks:

I was reading an analysis of recent ransomware spams at SANS and the mention of the SHA256 hash of the payload and VirusTotal got me thinking...

Would it be a good idea to have a plugin that generates VirusTotal-compatible SHA256 hashes of attachments and queries the VirusTotal API to see if they hit?

*potentially* we as Apache may have enough oomph to get VirusTotal to expose the SHA256 values via DNS vs. via http, to further improve performance and leverage existing code...

This does duplicate local A/V, but it may still be attractive in that VirusTotal aggregates the results of many A/V tools and thus potentially has better coverage than any one locally-installed A/V scanner.

VirusTotal already publishes a (reference to a) script for MailScanner, so they appear to be open to this use of their services...

https://www.darksh3ll.gr/index.php/49-perl-script-check-with-mailscanner-and-generic-wrapeer-sha256-signatures-against-virustotal

(Sadly, CloudFlare says "piss off!" for that link.)

or:

http://perlgems.blogspot.com.es/2012/05/using-virustotal-api-v20.html

It would apparently require a (free?) user account at VirusTotal for API access.

Hmmm. This might be a deal-killer, even with a local cache of hash hits to reduce query load:

  The Public API is limited to 4 requests per minute.

...however, if we *could* get them to publish via DNS that limit might be increased.


Thoughts?


--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 [email protected]    FALaholic #11174     pgpk -a [email protected]
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Our government should bear in mind the fact that the American
  Revolution was touched off by the then-current government
  attempting to confiscate firearms from the people.
-----------------------------------------------------------------------
 2 days until the 243rd anniversary of The Shot Heard 'Round The World

Reply via email to