|
|
|
|
Now suppose you want to scan your friend's ports. This is the best way to scan, as you won't have to worry about your friend getting you kicked off your ISP for suspicion of trying to break into computers. How do you know what your friend's IP address is? Ask him or her to run the command (from the DOS prompt) 'netstat -r'. This shows something like this: C:\WINDOWS>netstat -r Route Table Active Routes: Network Address Netmask Gateway
Address Interface Metric Active Connections Proto Local Address Foreign Address State That 'gateway address' and 'interface' both give the current IP address of your computer. If you are on a LAN, the gateway should be different from your own computer's IP address. If you or your friend are on a LAN, however, you should think twice before port scanning each other, or the LAN's sysadmin may notice your activity. Warning, sysadmins have quite an arsenal of larts to use on suspicious-acting users. ************************************************************
What are some of the vulnerabilities to win95 and NT, you ask? Check previous GTMHHs for this information. Perhaps the most important thing to remember about Windows is equal to root in Unix), can run a program that uses any port it wants, even a well-known port. This vulnerability is demonstrated by a program from Weld Pond of L0pht fame called 'netcat'. The program can be obtained from: http://www.l0pht.com/~weld/netcat Read the documentation that ships with the program, or the Guides on (a) win95 and telnet from: http://www.happyhacker.org/gtmhh.html or (b) NT security from: http://www.infowar.com/hacker/hacker.html-ssi ...for information on uses of netcat. |
|
|
|