Basicamente a instalação é simples
$ sudo apt-get install geoip-bin
Com a ferramenta instalada, sugiro que atualizem a database de ASN e Países para ter melhores resultados
Atualizar países
$ wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
$ gunzip GeoIP.dat.gz
$ sudo cp GeoIP.dat /usr/share/GeoIP/
Atualizar ASN
$ wget http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
$ gunzip GeoIPASNum.dat.gz
$ sudo cp GeoIPASNum.dat /usr/share/GeoIP/
Feito isso, só usar a ferramenta:
$ geoiplookup 43.229.52.28
GeoIP Country Edition: HK, Hong Kong
GeoIP ASNum Edition: AS63857 HOT NET LIMITED
No caso dos testes dos honeypots, alguns dados extraídos, em breve pretendo compartilhar mais.
TO10 Países
466847 GeoIP Country Edition: HK, Hong Kong
133844 GeoIP Country Edition: CN, China
14341 GeoIP Country Edition: FR, France
10093 GeoIP Country Edition: US, United States
5781 GeoIP Country Edition: GB, United Kingdom
4618 GeoIP Country Edition: KR, Korea, Republic of
3585 GeoIP Country Edition: RU, Russian Federation
3569 GeoIP Country Edition: DE, Germany
2899 GeoIP Country Edition: IN, India
2321 GeoIP Country Edition: TW, Taiwan
TOP10 ASN
465302 GeoIP ASNum Edition: AS63857 HOT NET LIMITED
96216 GeoIP ASNum Edition: AS23650 AS Number for CHINANET jiangsu province backbone
12120 GeoIP ASNum Edition: AS4134 Chinanet
8376 GeoIP ASNum Edition: AS21502 NC Numericable S.A.
6191 GeoIP ASNum Edition: AS4837 CNCGROUP China169 Backbone
5510 GeoIP ASNum Edition: AS202109 Digital Ocean, Inc.
4292 GeoIP ASNum Edition: AS24445 Henan Mobile Communications Co.,Ltd
4135 GeoIP ASNum Edition: AS12876 ONLINE S.A.S.
2711 GeoIP ASNum Edition: AS9808 Guangdong Mobile Communication Co.Ltd.
2431 GeoIP ASNum Edition: AS9318 Hanaro Telecom Inc.
Happy Detection!
Rodrigo "Sp0oKeR" Montoro