-
Notifications
You must be signed in to change notification settings - Fork 13
udishamir/Domain-Analyzer
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Domain Analyzer tries to detect malicious domains using the following methods: 1. Check the constantly updated Black ASN (Autonomous system numbers) 2. Try to connect to the domain address and examine the HTTP body response, blacklisting default web-server pages (can be customized by changing the ACL file) 3. Check the domain against Alexa's monthly updated top 1M known (good) domains 4. Detection of Fast-FLUX domains using Maxmind's GeoIP library 5. Can be configured as service ------------- E X A M P L E ------------- FLUX Domain Detection: ./domainanalyzer rushsjhdhfjsldif.su domain not detected in white list.. -- Asn:AS9371 SAKURA Country:JP ASN not detected as black.. -- Flux INFO 219.94.194.138:::JP 41.168.5.140:::ZA Might be flux domain ...... * 61.187.191.16:::CN Might be flux domain ...... * 62.85.27.129:::LV Might be flux domain ...... * 78.83.233.242:::BG Might be flux domain ...... * 83.238.208.55:::PL Might be flux domain ...... * 125.19.103.198:::IN Might be flux domain ...... * 199.71.214.180:::US Might be flux domain ...... * 200.169.13.84:::BR Might be flux domain ...... * 202.143.147.35:::TH Might be flux domain ...... * 202.149.85.37:::ID Might be flux domain ...... * 210.56.23.100:::PK Might be flux domain ...... * 210.56.24.226:::PK Might be flux domain ...... * 210.109.108.210:::KR Might be flux domain ...... * 211.44.250.173:::KR Might be flux domain ...... * -- Server Content-Length:3397 Server Content-Type->text/html Server response->200 connection status: No error not in our body list ------------------------------ Detecting Redirection: ./domainanalyzer www4.uji.es -- domain not detected in white list.. -- Asn:AS766 RedIRIS Country:ES ASN not detected as black.. -- Flux INFO 150.128.98.29:::ES 84.124.83.29:::ES Might be flux domain ...... * -- Server Content-Length:301 Server Content-Type->text/html; charset=iso-8859-1 Server response->302 Server send redirect->:http://www.si.uji.es/servidors/anubis.thtml -------------------------------- Black Domain ./domainanalyzer khvt.com -- domain not detected in white list.. -- Asn:AS15244 Lunar Country:US * ASN in black list ... * -------------------------------- Building (Linux / OSX / BSD) ---------------------------- requirments: 1. libpcre (ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.30.tar.bz2) 2. max mind geoip (http://www.maxmind.com/app/c) 3. swig for python bindings (at the moment even if you don't need them, or just edit the simple Makefile) for OSX, better use homebrew for installation On Debian machines: sudo apt-get install swig libgeoip-dev libpcre3-dev libcurl4-openssl-dev Compile: make Installation ------------ 1. run: sudo cp _libdoma.so /usr/lib/libdoma.so (notice the name change!) 2. run: sudo ldconfig 3. uncompress wlist.gz: gzip -d wlist.gz 4. mv wlist. wlist.conf good to go Windows ------- a 32-bit precompiled version is available. this is an old version, ill port new one soon. New Features Coming: 1. Update fetaure that will fetch the latest ASN and Benign lists - Done. use -u flag 2. distance measuring detecting bot generated domains (please refer to dganalyzer: https://github.com/udishamir/dganalyzer) 3. Light web server allowing easy query for research labs Contact: [email protected]
About
Detect malicious domain, Blablablablabla
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published