Skip to content

vertigo-z/perseus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

botnet-tracker

a javascript cli tool for injesting and decoding nginx logs for bots checking in to your ip address. this tool was created because i noticed in my website logs that there seemed to be raw (non-http) requests coming in on port 443 that contained information about hacked machines. by parsing the format and decoding the base64 strings i was able to create a cli tool which allows you to easily record and view check-ins from bots, using GeoIP ASN/Country/City data to provide geo-location.


botnet tracker ui


dependencies:

maxmind^5.0.6
sqlite^6.0.1

geo-ip:

you can find geo-ip .mmdb files from this github repo: https://github.com/P3TERX/GeoLite.mmdb. place both country and ASN files into the capture.js working directory.

usage:

capture data from file:

node capture.js /path/to/log/file

open shell and view data:

node capture.js --shell

About

a javascript cli tool for injesting and decoding nginx logs for bots checking in to your ip address.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors