Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/totekuh/bruteforce-sleuth

Linux tool that allowing you to track geolocation of IP addresses from the SSH access.log
https://github.com/totekuh/bruteforce-sleuth

Last synced: 1 day ago
JSON representation

Linux tool that allowing you to track geolocation of IP addresses from the SSH access.log

Awesome Lists containing this project

README

        

# bruteforce-sleuth

A Linux tool that can be used to analyze and locate failed preauth attempts found in system logs, thus potentially identifying security threats.
Use this tool to track your attackers until their Internet Service Provider.


bruteforce-sleuth is fully capable with ssh-bruteforcing trails. Use /var/log/auth.log (or you can provide any log file that you want)


Requirements: Python 3.7.*; pip, pip requests folium; any web-server to share the results page.



Extract a system log with IP addresses (e.g. it can be your ssh-server log: /var/log/auth.log)

Run start.sh as root to get the longitude and latitude of all disconnected IPs from the log.



You will see the list of coordinates with map.html generated:



Run any web server (i.e. apache2) and open the interactive map at http://0.0.0.0/map.html.



Track with details every failed attemp to bruteforce your server.



Generated results will be placed at /var/www/html/map.html and /var/www/html/map-clustered.html



If you are not interested in details and you just want to know which regions are more annoying than others - then you can use Clustered map.