txt.
The contents of users.txt is displayed. Because this is in comma-delimited
format this file may be imported into a spreadsheet such as Microsoft Excel.
102 Practical Hacking Techniques and Countermeasures
Lab 15: Host/Domain Enumeration
Enumerate Hosts and Domains of LAN: Net Commands
Prerequisites: Access to UDP 137, IPX, or NetBEUI
Countermeasures: Host-based firewalls
Description: The net commands are used to enumerate information from
the Local Area Network (LAN). Information that can be obtained is the
other hosts and domains within the LAN. Once a NULL session has
been established, then any shares these hosts may have will be displayed
as well.
Procedure: Net commands may be executed against a target without a NULL
session; however, for optimum results a NULL session is recommended.
The syntax is:
net
From a DOS prompt, type the following with the syntax of:
net view
Target Enumeration
103
In this example, the hosts within your LAN or current domain are identified.
This technique
only
works on the LAN and not through the Internet by typing:
net view /domain
In this example, the domains on the LAN are identified. To identify the
hosts within each domain, the syntax would be:
net view /domain:domain name
104 Practical Hacking Techniques and Countermeasures
Access rights must be available in order to view the hosts on another domain.
To view the nonhidden specific shares available to a target:
net view \\Target IP Address
In this example, the target is sharing two folders: Human Resources and
Payroll.
Pages:
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