-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenumaration
221 lines (176 loc) · 3.36 KB
/
enumaration
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
enumaration::
looking at traget expose
routing table
auditing
applications
dns and snmp info
username
groups
machine names
n/w resource
service name
tech of enumarations::
email/businness cards
DNS zone transfer
brute force active directory
default password
snmp
know your port and services:::
dns zone transter
tcp 53
smtp
tcp 25
microsoft rpc endpoin
tcp 135
global catalog serverces
tcp/udp 3368
net bios naming service
tcp 137
LDAP
tcp /udp 389
smb(server message block) over netbios
tcp 139
SNMP(simple n/w mgt protocl)
upd 161
smb over tcp
port tcp 445
default is your biggest secc issues::
what is netbios:::
n/w basic input o/p system
using build in commands
using ping,nbtstat and net
check connectivity and routing
` pull computer names
view shares
services
command help
like >net /?
pulling sid and user account::
commands:::
cls(list of accounts)
user2sid (commands)
dsget group
netbios enumapration
tools superscan(tools)
enumarting via snmp::
what is snmp(simple n/w mgt protocol):::
vesion 1
vesion 2
vesion 3
public public
private private
vesion 4
restrict to user access
data encryption in transient
more complex to configure
common issue disable v1/v2
MIB(mgt information base)
is a virtualize database contains offical exmplanation of all n/w objects
mib hirarchi ::each mang object in mib is address via oid
used by snmp to conver oid(object identify number) number to simple plain text
solarwinds(tools)
pull ups ips,
network device,server name /os
enumaration g via LDAP::
NTP(n/w time protocol)
synchronize time on all n/w system
ports:
udp (123)
what can we do with ntp::
list of hosts
ip address
system names
operating system
using ntp commands
ntptrace (commands)
ntpdc (commands)
ntpq (commands)
enumatration via smtp server::
simple mail transfer protocol
netscantoolpro(tools)
protocol delivering email
dns uses mx records via dns
uses MTA for routing
behind smtp::
port 25
587 submission
commands::
MAIL FROM
RCPT TO
DATA
VRFY
EXPN
NetScanTOolPro(tools)
smtp_user_enum(command)
cenus.gov(website)
nslookup(commands)
enumaration via dns:::
(domain name system)
NSlookup(tools)
DNSRecon(tools)
record lookup
cache snooping
google lookup
reverse lookup
zone walking
zone transfer
behind dns::
ports::
udp 53
tcp 53
records::
A
AAAA
CName
MX
NS(name server)
SOA(start of authority)
PTR(pointer lookup)
SRV(service records)
using nslookup and dnsRecon::
discover records
zone transfer
reverse lookup
domain brute force
zone walk
cache snooping
Bind(tools dns utiltiy)
pentest-tools.com(website)
Enum4linux(commands)
linux RST -B(malware)
FreeBSD's os
Grinch(bug in linux)
enumarating linux::
user
home dir,logon times,and more
environmental information
groups
os info
counter measures:::
default & netbios
snmp
ldap
ntp
smtp
dns
default & netbios::
turn off smb
block port 161 on tcp/udp
IPSec filtering
limit access to null session
counter mesures for ldap:::
separta email address and logon names
use ssl to encrypt ldap
encrytp drives that stores ldap databases
countermesures for ntp:::
watch u'r ports
understand what s/w are installed
check ur ntp master
countermesures smtp::
disable openrelays
drop unknown recipients
never inculde email server info in ur email and ports
coutnermesures for dns::
configure dns zone transfer to explicit server
check both interanl and extenral dns server
HINFO records do not appeare in dns zones files