Giter Club home page Giter Club logo

network-threat-intel-checker's Introduction

Network Threat Intelligence Checker

This is an application package library that gathers network connection information and checks the unique public IPs against a threat intelligence platform (AbuseIPDB) to identify potentially malicious IPs.

Features

  • Retrieves active network connections using psutil
  • Retrieves past network connections from the systemd journal (Linux only)
  • Extracts unique public IPs from the collected network connections
  • Checks the unique public IPs against the AbuseIPDB threat intelligence platform
  • Provides a summary of the results, including the number of potentially malicious IPs found

Requirements

  • Python 3.x
  • psutil library
  • requests library

Installation

  1. Clone the repo
git clone https://github.com/spazbg/network-threat-intel-checker.git
  1. Install the required dependencies
pip install -r requirements.txt

Usage

To run the application, execute the following command:

python -m network_intel.app

The application will gather network connection information, check the unique public IPs against AbuseIPDB, and provide a summary of the results.

Configuration

  • The application uses the AbuseIPDB API for threat intelligence. Make sure to replace the API_KEY variable in the threat_intel.py file with your own AbuseIPDB API key.
  • To run this application properly, user must have read access to the systemd journal logs. If you encounter permission issues, add your user to the systemd-journal group using sudo usermod -aG systemd-journal $USER, then log out and log back in for the changes to take effect, or use newgrp systemd-journal to switch to the group in the current shell session.

Video PoC

https://youtu.be/_yfbTMBRu6o

network-threat-intel-checker's People

Contributors

spazbg 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.