[Bro] Using Bro's file extraction script
sconzo at visiblerisk.com
Tue Sep 2 14:00:01 PDT 2014
You can pretty much do whatever you'd like w/the extraction stuff.
Here's something I wrote that uses curl to check the virustotal API
There's no reason you can't reference the extracted file and curl it
We actually did something similar, we just wrote an external script to call
(instead of just curl) to keep track of hashes and then do the submit,
etc... it works nicely. The biggest challenge was getting something to keep
track of the hashes to check for duplicates.
On Tue, Sep 2, 2014 at 3:41 PM, Hille, Samson <SHille at heartland.com> wrote:
> I am using Bro in Doug Burke’s Security Onion Suite.
> I was wondering if there is a way to have the Bro script that extracts
> executables to also send the executables to my firewall’s API?
> Example of the API command that might be included into the Bro script:
> curl -i -k -vv -F apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -F
> Taking this one step further:
> Make the script verify the executables’ file hashes before sending them
> into the API (to prevent checking the exact same exe twice).
> Any feedback would be greatly appreciated!
> *Samson Hille*
> IT Security Analyst
> Privacy Notice: This electronic mail message, and any attachments, are
> confidential and are intended for
> the exclusive use of the addressee(s) and may contain information that is
> proprietary and that may be
> Individually Identifiable or Protected Health Information under HIPAA. If
> you are not the intended
> recipient, please immediately contact the sender by telephone, or by
> email, and destroy all copies of this
> message. If you are a regular recipient of our electronic mail, please
> notify us promptly if you change
> your email address.
> Bro mailing list
> bro at bro-ids.org
cat ~/.bash_history > documentation.txt
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Bro