Skip to content

Python script to enrich Domain and IP Address IOCs with data from RiskIQ, VirusTotal & Symantec's sitereview.

License

Notifications You must be signed in to change notification settings

krlplm/enrichIOC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enrich IOC

This python script is useful to enrich the Domain and IP Address IOCs with Passive Total aka RiskIQ & VirusTotal API.

With limitations on scraping the Symantec's sitereview site, this script now uses selenium to scrape the categorization details.

Pre-requisites:

Package Dependencies:

  • Install Selenium by running as below,
    pip install selenium

Most other package dependencies are by default available with the python installation.

How-To execute the script:

  • Run the script by passing a list of Domains/IPs new-line separated by running as below,
    python enrich.py -l <list of IPs/Domains>

  • Run the script as below for enriching a single IP or a domain,
    python enrich.py -c <IP or Domain>

Gotchas:

  • In the event, the Site Review page prompts the captcha window, open up a new tab and enter the capctha manually.
  • Due to time crunch, I haven't handled Capctha in my code but definitely on the feature list

Benchmarking:

  • Currently, I've tested like 200 domains in a list which are handled by the site review with out any issues. However, most of my runs have seen the captcha prompt in between 200-220.
  • Following the above hack may be of help but may impact 3-5 IOCs while you perform this.

About

Python script to enrich Domain and IP Address IOCs with data from RiskIQ, VirusTotal & Symantec's sitereview.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages