This project involves collecting malicious IP addresses detected by the Criminal IP service, adding new IP addresses to a file, and automatically deleting old IP addresses.
In the ever-evolving landscape of cybersecurity, staying ahead of potential threats is crucial. Criminal IP offers a real-time threat hunting search engine that specializes in OSINT-based Cyber Threat Intelligence (CTI). By leveraging the Criminal IP service, this project aims to provide an efficient and automated way to manage malicious IP addresses, helping organizations enhance their security measures.
For more information or to request access to our complete dataset, please visit our Contact Us page.
- Fetch Malicious IP List: Retrieve the latest list of malicious IP addresses classified by the Criminal IP service.
- Add New IP: Add newly detected malicious IP addresses from Criminal IP to a CSV or JSON file.
- Delete Old IPs: Automatically delete IP addresses older than 7 days and generate a CSV or JSON file of the deleted IPs.
- Criminal IP API KEY: Log in to Criminal IP, copy your API_KEY, and use it.
Download the project files:
git clone https://github.com/criminalip/Malicious-ip-Handler.git
fire_config.py setting: Set the CRIMINALIP_API_KEY value
📦malicious_ip_management_project
┣ 📂core
┃ ┗ 📂api
┃ ┃ ┣ 📂input
┃ ┃ ┣ 📂output
┃ ┃ ┣ 📜cip_request_get_ip.py
┃ ┃ ┗ 📜managefiles.py
┣ 📂log
┣ 📜cip_c2_detect_query.json
┣ 📜config.py
┗ 📜main.py
python main.py
Example file format for newly added IPs / IPs to be deleted