forked from udishamir/Domain-Analyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
154 lines (113 loc) · 3.25 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
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
3. Light web server allowing easy query for research labs
Contact:
Udi Shamir, Nir Izraeli, Assaf Segal
Binalzye Research Group (c) 2013