Giter VIP home page Giter VIP logo

iocscanner's Introduction

IOCScanner

IOCScanner is an efficient multi-threading script that utilizes the AbuseIPDB and VirusTotal APIs to retrieve crucial information from a vast number of IP addresses. the script will quickly generate an excel file with a table of the IP addresses and their corresponding information from both websites.

Security analysts regularly review and analyze a large number of IP addresses to identify potential security threats. It is crucial for them to identify the level of maliciousness, the geographic location, domain name, and other relevant information associated with the IP addresses. By having this information readily available, analysts can expedite the analysis process and identify potential threats more efficiently.

Installation

IOCScanner requires the usage of python3. Furthermore, there are libraries are required to be installed prior using the script.

python3 -m pip install -r requirements.txt

Requirement

IOCScanner needs at least a valid API key for either AbuseIPDB or VirusTotal to run successfully. The API keys has to be within a text file and follows the format found api keys.txt file. Each Website and API in a separate line.

VirusTotal api_key 
AbuseIPDB api_key

Usage

The script offers multiple options, which can be viewed by supplying the '-h' flag to see the available options.

  • -f: The path to the input file containing IP addresses.
  • -api: API keys text file with the same format of api keys.txt.
  • -l: a path to save the generated excel file. [optional]
  • -a: Use AbuseIPDB only to scan IP addresses. [optional]
  • -v: Use VirusTotal only to scan IP addresses.[optional]

usage: python3 IOCScanner.py [-f] IP_File -api API_Key_File | optional -l -a -v

Accepts: -f or --file for csv, xlsx or txt files only. Additionally, accepts a text file containing API keys.

options: -h, --help show this help message and exit -f FILE, --file FILE The path to the input file containing IP addresses. -l LOCATION, --location LOCATION Location to save the generated excel file. By default it will be created at the same directory -a, --AbuseIPDB Use AbuseIPDB only to scan IP addresses. If neither -a nor -v is specified, both AbuseIPDB and VirusTotal will be used. -v, --VirusTotal Use VirusTotal only to scan IP addresses. If neither -a nor -v is specified, both AbuseIPDB and VirusTotal will be used. -api API, --api API Path to API key text file.

IP requirement: The list of IP addresses can be provided as: - A single IP address (e.g., 8.8.8.8) - Multiple IP addresses separated by space (e.g., 8.8.8.8 8.8.4.4) - Sanitized IP address (e.g., 8[.]8[.]8[.]8)


iocscanner's People

Contributors

0x4hm3d avatar

Stargazers

txw.w avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.