enumeration cs391 computer & network security. what is enumeration? enumeration techniques

11
enumeration enumeration CS391 CS391 Computer & Network Computer & Network Security Security

Upload: grant-flynn

Post on 16-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Enumeration CS391 Computer & Network Security.  What is enumeration?  Enumeration Techniques

enumerationenumeration

CS391CS391

Computer & Network SecurityComputer & Network Security

Page 2: Enumeration CS391 Computer & Network Security.  What is enumeration?  Enumeration Techniques

What is enumeration?What is enumeration? Enumeration Techniques.Enumeration Techniques.

Page 3: Enumeration CS391 Computer & Network Security.  What is enumeration?  Enumeration Techniques

What is Enumeration?What is Enumeration?

Having identified live hosts and running Having identified live hosts and running services, enumeration is the task of probing the services, enumeration is the task of probing the identified services for known weaknesses.identified services for known weaknesses.

The main difference between enumeration and The main difference between enumeration and the previous techniques is the level of the previous techniques is the level of intrusiveness.intrusiveness.

Enumeration involves active connections to Enumeration involves active connections to systems and directed queries, and accordingly systems and directed queries, and accordingly will be logged by target systems.will be logged by target systems.

Page 4: Enumeration CS391 Computer & Network Security.  What is enumeration?  Enumeration Techniques

Banner GrabbingBanner Grabbing

We have seen examples of banner We have seen examples of banner grabbing in the previous lecture.grabbing in the previous lecture.

In addition, telenet and netcat may be In addition, telenet and netcat may be used.used.

Page 5: Enumeration CS391 Computer & Network Security.  What is enumeration?  Enumeration Techniques

Banner GrabbingBanner Grabbing

telnet exampletelnet example

Page 6: Enumeration CS391 Computer & Network Security.  What is enumeration?  Enumeration Techniques

Smtp enumerationSmtp enumeration

Tcp port 25Tcp port 25 Two commands: vrfy and expnTwo commands: vrfy and expn Use telenetUse telenet

Page 7: Enumeration CS391 Computer & Network Security.  What is enumeration?  Enumeration Techniques

Zone transfersZone transfers

Dns server port 53Dns server port 53 NslookupNslookup Ls –d server nameLs –d server name

Page 8: Enumeration CS391 Computer & Network Security.  What is enumeration?  Enumeration Techniques

Null session enumerationNull session enumeration

Server Message Block (SMB) Protocol.Server Message Block (SMB) Protocol. Forms the basis for file and printer Forms the basis for file and printer

sharing.sharing. First step: connect to the protocol using First step: connect to the protocol using

the null session command:the null session command:

Net use Net use \\IP address\IPC$ “” /u:” address\IPC$ “” /u:” Enumaerate file shares on a hostEnumaerate file shares on a host Net view \\hostNet view \\host

Page 9: Enumeration CS391 Computer & Network Security.  What is enumeration?  Enumeration Techniques

Use DumpSecUse DumpSec

One can use Dumpsec tool to enumerate One can use Dumpsec tool to enumerate file shares.file shares.

Another tool is legionAnother tool is legion Another attack is to dump the Windows Another attack is to dump the Windows

registry.registry. A number of tools can be used, e.g. A number of tools can be used, e.g.

regdmpregdmp

Page 10: Enumeration CS391 Computer & Network Security.  What is enumeration?  Enumeration Techniques

Trusted DomainsTrusted Domains

Enumerating trusted domains:Enumerating trusted domains: Once a null session is established, nltest Once a null session is established, nltest

and /server:server_name and and /server:server_name and /trusted_domains may be used to learn /trusted_domains may be used to learn about further domains related to the about further domains related to the current domianscurrent domians

Page 11: Enumeration CS391 Computer & Network Security.  What is enumeration?  Enumeration Techniques

UsersUsers

Enumerating users:Enumerating users: Use dumpsecUse dumpsec