NmapNetworkSecurityScanner

上传人:无*** 文档编号:141258373 上传时间:2022-08-24 格式:DOC 页数:39 大小:201.50KB
收藏 版权申诉 举报 下载
NmapNetworkSecurityScanner_第1页
第1页 / 共39页
NmapNetworkSecurityScanner_第2页
第2页 / 共39页
NmapNetworkSecurityScanner_第3页
第3页 / 共39页
资源描述:

《NmapNetworkSecurityScanner》由会员分享,可在线阅读,更多相关《NmapNetworkSecurityScanner(39页珍藏版)》请在装配图网上搜索。

1、Nmap - Network Security Scanner0360592 Project 2Ahsaan ArefeenSrabanti DeyMingyue YuInstructor: Dr. A. AggarwalContentsI. Introduction 2II. Option Observation.4 II.1 Scan type.4-sT.4-sS.6-sF.8 sX9 -sN.11-sP16-sO-sA-sW II.2 General option-PT-PS-PI-O-I-v-h-p-F-MIII. ConclusionI. IntroductionNmap is a

2、network exploration tool and security scanner. It is designed to allow system administrators and curious individuals to scan large networks to determine which hosts are up and what services they are offering. Nmap supports a large number of scanning techniques such as: UDP, TCP connect(), TCP SYN (h

3、alf open), ftp proxy (bounce attack), Reverse-ident, ICMP (ping sweep), FIN,ACK sweep, Xmas Tree, SYN sweep, IP Protocol, and Null scan. nmap also offers a number of advanced features such as remote OS detection via TCP/IP fingerprinting, stealth scanning, dynamic delay and retransmission calculatio

4、ns, parallel scanning, detection of down hosts via parallel pings, decoy scanning, port filtering detection, direct (non-portmapper) RPC scanning, fragmentation scanning, and flexible target and port specification.The result of running nmap is usually a list of ports on the machine being scanned. Nm

5、ap always gives the ports well known service name, number, state, and protocol. The state is either open, filtered, or unfiltered. Open means that the target machine will accept() connections on that port. Filtered means that a firewall, filter, or other network obstacle is covering the port and pre

6、venting nmap from determining whether the port is open. Unfiltered means that the port is known by nmap to be closed and no fire wall/filter seems to be interfering with nmaps attempts to determine this. Unfiltered ports are the common case and are only shown when most of the scanned ports are in th

7、e filtered state.Depending on options used, nmap may also report the following characteristics of the remote host: OS in use, TCP sequence ability, usernames running the programs which have bound to each port, the DNS name, whether the host is a smurf address, and a few others.Nmap has the following

8、 features: Flexible: Supports dozens of advanced techniques for mapping out networks filled with IP filters, firewalls, routers, and other obstacles. This includes many port scanning mechanisms (both TCP & UDP), OS detection, pings sweeps, and more. Powerful: Nmap has been used to scan huge networks

9、 of literally hundreds of thousands of machines. Portable: Most operating systems are supported, including Linux, Open/Free/Net BSD, Solaris, IRIX, Mac OS X, HP-UX, Sun OS, and more. Windows support is in beta and we are not distributing binaries yet. Easy: Both traditional command line and graphica

10、l (GUI) versions are available to suit preference. Binaries are available for those who do not wish to compile Nmap from source. Free: The primary goals of the Nmap Project is to help make the Internet a little more secure and to provide administrators/auditors/hackers with an advanced tool for expl

11、oring their networks. Nmap is available for free, and also comes with full source code that you may modify and redistribute under the terms of the GNU General Public License (GPL). Well Documented: Significant effort has been put into comprehensive and up-to-date man pages, whitepapers, and tutorial

12、s. Acclaimed: Nmap has won numerous awards, including Information Security Product of the Year by both Info World and Codetalker Digest. It has been featured in hundreds of magazine articles. Popular: Thousands of people download Nmap every day, and it is included with many operating systems (Redhat

13、 Linux, Debian Linux, FreeBSD, OpenBSD, etc). It is among the top ten (out of 15,000) downloads at the Freshmeat repository. This is important because it lends Nmap its vibrant development and user support communities. II. Option ObservationNmap has two kinds of options, one is to define the scan ty

14、pe and using that type option to scan the ports, and the other is general option.II.1. Scan type-sTTCP connect() scan: the most basic form of TCP scanning. It is based on the method of establishing a connection in the TCP protocol, known as a three way handshake.1. The server must be ready to receiv

15、e a connection (usually using the socket, bind and listen functions)2. The client starts an active connection - a call to connect (). This sends a SYN segment to the server to inform about the initial sequence number of the data that client will send during connection. The SYN usually contains an IP

16、 Header - a TCP Header and maybe some TCP option.3. The server should acknowledge the SYN sending with an ACK and a SYN with its sequence number (within the same TCP package).4. The client should acknowledge the server SYN with an ACKThis way of scanning has two advantages: it is fast (nmap even has

17、 options that we will not analyze to make it faster on slow connections) special privileges are not needed on the machine that launches the scanning but it has a big disadvantage. It is very simple to detect and easy to filter.The follow is the output of nmap sT davinci.newcs.uindsor.ca saturn.cspc1

18、.uwindsor.ca# nmap -sT davinci.newcs.uwindsor.caStarting nmap V. 2.54BETA28 ( www.insecure.org/nmap/ )Interesting ports on davinci.newcs.uwindsor.ca (137.207.76.3):(The 1489 ports scanned but not shown below are in state: closed)Port State Service21/tcp open ftp 22/tcp open ssh 23/tcp open telnet 25

19、/tcp open smtp 37/tcp open time 42/tcp open nameserver 53/tcp open domain 80/tcp open http 111/tcp open sunrpc 135/tcp open loc-srv 139/tcp open netbios-ssn 143/tcp open imap2 389/tcp open ldap 491/tcp open go-login 514/tcp open shell 515/tcp open printer 587/tcp open submission 900/tcp open unknown

20、 993/tcp open imaps 1112/tcp open msql 1357/tcp open pegboard 1358/tcp open connlcli 2040/tcp open lam 2049/tcp open nfs 2766/tcp open listen 3000/tcp open ppp 3001/tcp open nessusd 4045/tcp open lockd 6000/tcp open X11 6002/tcp open X11:2 6003/tcp open X11:3 6004/tcp open X11:4 6005/tcp open X11:5

21、6006/tcp open X11:6 6007/tcp open X11:7 6008/tcp open X11:8 6009/tcp open X11:9 6050/tcp open arcserve 6112/tcp open dtspc 6666/tcp open irc-serv 6667/tcp open irc 7001/tcp open afs3-callback 7002/tcp open afs3-prserver 7007/tcp open afs3-bos 7008/tcp open afs3-update 7009/tcp open afs3-rmtsys 7010/

22、tcp open ups-onlinet 7100/tcp open font-service 8080/tcp open http-proxy 8081/tcp open blackice-icecap 8888/tcp open sun-answerbook 32771/tcp open sometimes-rpc5 32772/tcp open sometimes-rpc7 32773/tcp open sometimes-rpc9 32774/tcp open sometimes-rpc11 32775/tcp open sometimes-rpc13 32776/tcp open s

23、ometimes-rpc15 32777/tcp open sometimes-rpc17 32778/tcp open sometimes-rpc19 Nmap run completed - 1 IP address (1 host up) scanned in 4 seconds-sS TCP SYN scan: This technique is often referred to as half-open scanning, because you dont open a full TCP connection. You send a SYN packet, as if you ar

24、e going to open a real connection and you wait for a response. A SYN|ACK indicates the port is listening. If we receive an RST instead of an ACK, then the scanned port is not active. This scanning procedure has the drawback that root privileges are needed to execute it. But it has the advantage that

25、 is difficult to detect in the scanned machine.Lets see a similar analysis of the actions done by nmap with this optionsaturn.cspc1.uwindsor.ca# nmap -sS davinci.newcs.uwindsor.caStarting nmap V. 2.54BETA28 ( www.insecure.org/nmap/ )Interesting ports on davinci.newcs.uwindsor.ca (137.207.76.3):(The

26、1489 ports scanned but not shown below are in state: closed)Port State Service21/tcp open ftp 22/tcp open ssh 23/tcp open telnet 25/tcp open smtp 37/tcp open time 42/tcp open nameserver 53/tcp open domain 80/tcp open http 111/tcp open sunrpc 135/tcp open loc-srv 139/tcp open netbios-ssn 143/tcp open

27、 imap2 389/tcp open ldap 491/tcp open go-login 514/tcp open shell 515/tcp open printer 587/tcp open submission 900/tcp open unknown 993/tcp open imaps 1112/tcp open msql 1357/tcp open pegboard 1358/tcp open connlcli 2040/tcp open lam 2049/tcp open nfs 2766/tcp open listen 3000/tcp open ppp 3001/tcp

28、open nessusd 4045/tcp open lockd 6000/tcp open X11 6002/tcp open X11:2 6003/tcp open X11:3 6004/tcp open X11:4 6005/tcp open X11:5 6006/tcp open X11:6 6007/tcp open X11:7 6008/tcp open X11:8 6009/tcp open X11:9 6050/tcp open arcserve 6112/tcp open dtspc 6666/tcp open irc-serv 6667/tcp open irc 7001/

29、tcp open afs3-callback 7002/tcp open afs3-prserver 7007/tcp open afs3-bos 7008/tcp open afs3-update 7009/tcp open afs3-rmtsys 7010/tcp open ups-onlinet 7100/tcp open font-service 8080/tcp open http-proxy 8081/tcp open blackice-icecap 8888/tcp open sun-answerbook 32771/tcp open sometimes-rpc5 32772/t

30、cp open sometimes-rpc7 32773/tcp open sometimes-rpc9 32774/tcp open sometimes-rpc11 32775/tcp open sometimes-rpc13 32776/tcp open sometimes-rpc15 32777/tcp open sometimes-rpc17 32778/tcp open sometimes-rpc19 Nmap run completed - 1 IP address (1 host up) scanned in 26 seconds-sF -sX -sNStealth FIN, X

31、mas Tree, or Null scan modes: This scanning is based on the fact that inactive ports on the target machine respond to a FIN package with a RST package. On the other hand, active ports simply ignore those packets. Therefore the list of interesting active ports is obtained by observing which are those

32、 that have not answered. Hosts running Microsoft operating systems can not be scanned with this method since they have a non standards-conforming implementation of the TCP protocol. sF, -sX, -sN are three types of this scan mode, and we will test all these three options as following:-sFsaturn.cspc1.

33、uwindsor.ca# nmap -sF davinci.newcs.uwindsor.caStarting nmap V. 2.54BETA28 ( www.insecure.org/nmap/ )Interesting ports on davinci.newcs.uwindsor.ca (137.207.76.3):(The 1489 ports scanned but not shown below are in state: closed)Port State Service21/tcp open ftp 22/tcp open ssh 23/tcp open telnet 25/

34、tcp open smtp 37/tcp open time 53/tcp open domain 80/tcp open http 111/tcp open sunrpc 135/tcp open loc-srv 139/tcp open netbios-ssn 143/tcp open imap2 369/tcp filtered rpc2portmap 389/tcp open ldap 491/tcp open go-login 514/tcp open shell 515/tcp open printer 587/tcp open submission 900/tcp open un

35、known 993/tcp open imaps 1112/tcp open msql 1357/tcp open pegboard 1358/tcp open connlcli 2040/tcp open lam 2049/tcp open nfs 2766/tcp open listen 3000/tcp open ppp 3001/tcp open nessusd 4045/tcp open lockd 6000/tcp open X11 6002/tcp open X11:2 6003/tcp open X11:3 6004/tcp open X11:4 6005/tcp open X

36、11:5 6006/tcp open X11:6 6007/tcp open X11:7 6008/tcp open X11:8 6009/tcp open X11:9 6050/tcp open arcserve 6112/tcp open dtspc 6666/tcp open irc-serv 6667/tcp open irc 7001/tcp open afs3-callback 7002/tcp open afs3-prserver 7007/tcp open afs3-bos 7008/tcp open afs3-update 7009/tcp open afs3-rmtsys

37、7010/tcp open ups-onlinet 7100/tcp open font-service 8080/tcp open http-proxy 8081/tcp open blackice-icecap 8888/tcp open sun-answerbook 32771/tcp open sometimes-rpc5 32772/tcp open sometimes-rpc7 32773/tcp open sometimes-rpc9 32774/tcp open sometimes-rpc11 32775/tcp open sometimes-rpc13 32776/tcp o

38、pen sometimes-rpc15 32777/tcp open sometimes-rpc17 32778/tcp open sometimes-rpc19Nmap run completed - 1 IP address (1 host up) scanned in 292 seconds-sXsaturn.cspc1.uwindsor.ca# nmap -sX -F davinci.newcs.uwindsor.ca Starting nmap V. 2.54BETA28 ( www.insecure.org/nmap/ )Interesting ports on davinci.n

39、ewcs.uwindsor.ca (137.207.76.3):(The 1036 ports scanned but not shown below are in state: closed)Port State Service21/tcp open ftp 22/tcp open ssh 23/tcp open telnet 25/tcp open smtp 37/tcp open time 53/tcp open domain 80/tcp open http 111/tcp open sunrpc 135/tcp open loc-srv 139/tcp open netbios-ss

40、n 143/tcp open imap2 389/tcp open ldap 491/tcp open go-login 514/tcp open shell 515/tcp open printer 587/tcp open submission 993/tcp open imaps 1112/tcp open msql 1357/tcp open pegboard 1358/tcp open connlcli 2040/tcp open lam 2049/tcp open nfs 2766/tcp open listen 3000/tcp open ppp 3001/tcp open ne

41、ssusd 4045/tcp open lockd 6000/tcp open X11 6002/tcp open X11:2 6003/tcp open X11:3 6004/tcp open X11:4 6005/tcp open X11:5 6006/tcp open X11:6 6007/tcp open X11:7 6008/tcp open X11:8 6009/tcp open X11:9 6050/tcp open arcserve 6112/tcp open dtspc 6666/tcp open irc-serv 6667/tcp open irc 7001/tcp ope

42、n afs3-callback 7002/tcp open afs3-prserver 7007/tcp open afs3-bos 7008/tcp open afs3-update 7009/tcp open afs3-rmtsys 7010/tcp open ups-onlinet 7100/tcp open font-service 8080/tcp open http-proxy 8081/tcp open blackice-icecap 8888/tcp open sun-answerbook 32771/tcp open sometimes-rpc5 32772/tcp open

43、 sometimes-rpc7 32773/tcp open sometimes-rpc9 32774/tcp open sometimes-rpc11 32775/tcp open sometimes-rpc13 32776/tcp open sometimes-rpc15 32777/tcp open sometimes-rpc17 32778/tcp open sometimes-rpc19 Nmap run completed - 1 IP address (1 host up) scanned in 39 secondsNotice: -sX option is combined with F option, which is a fast mode scan.-sNsaturn.cspc1.uwindsor.ca# nmap -sN davinci.newcs.uwindsor.caStarting nmap V. 2.54BETA28 ( www.insecure.org/nmap/ )Interesting ports on davinci.newcs.uwindsor.ca (137.207.76.3):(The 1323 ports scanned but not

展开阅读全文
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!