Skip to content

Python script for processing a list of domains and check their URI and IP reputation against Sophos' Intelix threat intelligence platform

Notifications You must be signed in to change notification settings

packetrat/python-intelix-reputation-checking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This project began as a simple script and supporting class file in Python 3 to run a batch query against Sophos' Intelix threat intelligence system for both URI and IP address classifications. That simple script is still here, as is a more complex script that traverses Intelix and whois data to grab a more complete picture of the hosting of sites that have been identified as potential indicators of compromise (IOCs).

The script intelixiocchecker.py is the original script. It consumes a text file with host names of potential IOCs, and performs an IP and URI reputation check on them. That's all.

The intelixclient.py file is a modified version of the pip-installable intelix library, which is currently being updated to include IP address reputation support.

The script and client class require the following additional pip3 components:

  • requests
  • json
  • base64
  • uuid
  • os.path
  • sys
  • socket

Added: domaincheck.py, which provides additional data including domain registrar, ASN number, host, and country code. This version requires the additional pip3 components:

  • whois
  • ipwhois
  • Todo: create a requirements.txt for pip3 installation

    In order for this script to work, you will need Intelix credentials.

    About

    Python script for processing a list of domains and check their URI and IP reputation against Sophos' Intelix threat intelligence platform

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages