Cyber security

Abuse INSIGHTS – Harnessing Python To Decode Brute Force Usernames From Compromised Hosts

Abuse INSIGHTS is a python script created to extract the usernames brute forced by a compromised host. This data is extracted by regex from Abuse IP DB’s reporter comments.

Installing

Prerequisites

  • Python 2.7

Dependencies

  • Abuse IP DB API Key.

Installation

$ git clone https://github.com/west-wind/abuse-insights.git
$ cd abuse-insights
$ python abuse-insights.py

Intended Use

The intention of this script is to obtain insights about the sort of usernames that are attempted in a brute force from a compromised host.

This can be an RDP, SSH etc brute force. Assuming your host was compromised and was used for brute-forcing SSH nodes, and folks started reporting your IP to AbuseIPDB.

When folks report, they sometimes share the raw log, and this log has information related to the username it was attempting to login with.

Generating a list of the usernmaes used can provide insight into the sort of adversary that compromised your host.

It is the end user’s responsibility to obey all applicable local, state and federal laws.

Developer assume no liability and are not responsible for any misuse or damage caused by this program.

Getting Started

This script requires the user to input the AbuseIPDB API key into the configuration file – abuseIPDB_API.conf.

To begin

$ cd abuse-insights
$ python abuse-insights.py

Enter target IP address.

IF the IP address has been reported to Abuse IP DB in the past 90 days, & username data was avaialble, then output will be saved to a csv file – abuseIPDB_Username_Intel.csv.

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

Cybersecurity – Tools And Their Function

Cybersecurity tools play a critical role in safeguarding digital assets, systems, and networks from malicious…

7 hours ago

MODeflattener – Miasm’s OLLVM Deflattener

MODeflattener is a specialized tool designed to reverse OLLVM's control flow flattening obfuscation through static…

7 hours ago

My Awesome List : Tools And Their Functions

"My Awesome List" is a curated collection of tools, libraries, and resources spanning various domains…

7 hours ago

Chrome Browser Exploitation, Part 3 : Analyzing And Exploiting CVE-2018-17463

CVE-2018-17463, a type confusion vulnerability in Chrome’s V8 JavaScript engine, allowed attackers to execute arbitrary…

7 hours ago

Chrome Browser Exploitation, Part 1 : Introduction To V8 And JavaScript Internals

The blog post "Chrome Browser Exploitation, Part 1: Introduction to V8 and JavaScript Internals" provides…

8 hours ago

Chrome Browser Exploitation, Part 3: Analyzing and Exploiting CVE-2018-17463

The exploitation of CVE-2018-17463, a type confusion vulnerability in Chrome’s V8 JavaScript engine, relies on…

10 hours ago