nmap experiment

14
Nmap Experiment

Upload: marina

Post on 25-Feb-2016

92 views

Category:

Documents


4 download

DESCRIPTION

Nmap Experiment. Outline. Introduction NMAP - NMAP advantages - NMAP capability of support NMAP Install - Install of under Windows - Install of under Linux NMAP Experiment - Use NMAP - Parameter : - sT - Parameter : - sS Conclusions. Introduction. A Port Scanner software on unix - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Nmap Experiment

Nmap Experiment

Page 2: Nmap Experiment

2

Outline• Introduction• NMAP

- NMAP advantages- NMAP capability of support

• NMAP Install- Install of under Windows- Install of under Linux

• NMAP Experiment- Use NMAP- Parameter: -sT- Parameter: -sS

• Conclusions

Page 3: Nmap Experiment

3

Introduction

• A Port Scanner software on unix

• By NMAP scan- Quickly know remote host executive services- Guess remote host’s Operation System & Version- Subnet scanning =>To detect the subnet on which hosts and each of detection of its services

Page 4: Nmap Experiment

4

Nmap pros & function

• Nmap advantages

- Support scanning of variety protocols- Support most of existing system- Operate interface simply- Simple instructions , powerful functions- Free software

• Nmap function

- TCP SYN scanning- TCP ftp proxy scanning- ICMP scanning- TCP ping scanning

Page 5: Nmap Experiment

5

TCP Flag Definition

FlagSYN The beginning of a connection

ACK Acknowledge receipt of a previous packet or transmission

FIN Close a TCP connection

RST Abort a TCP connection

Page 6: Nmap Experiment

6

Three-way handshake

Client Server

SYN

SYN/ACK

ACK

Connection Established

Client Server

FIN

ACK/FIN

ACK

Connection Closed

Connect Disconnect

Page 7: Nmap Experiment

Nmap Install

Page 8: Nmap Experiment

8

Windows

• http://insecure.org

Page 9: Nmap Experiment

9

Linux

• Fedora : (Root Permission) yum install Nmap or wget http://~~/nmap-5.00-1.i386.rpm• Ubuntu : sudo apt-get install Nmap

Page 10: Nmap Experiment

10

• Instruction : nmap –sT Target host

Scanning for TCP Ports

Page 11: Nmap Experiment

11

SYN Scan

Nmap sends to Host Port

Nmap receives from Host Port

Nmap Assumes

SYN SYN/ACK Port is openHost is up

SYN RST Port is closedHost is up

SYN Nothing Port is blocked by firewallOr Host is down

Instruction : nmap –sS Target host

Page 12: Nmap Experiment

12

• Instruction : namp –p [1-1024] Target host

Scanning Host Port

Page 13: Nmap Experiment

13

• Instruction : nmap –O Target host

OS detection

Page 14: Nmap Experiment

14

Conclusions

• Nmap is a useful and free security detective tool

• Through Nmap provide detailed information thatcan understand host deeply and also avoid unexpectedsecurity vulnerabilities

• Other scanning tools - Netscantools- Superscan- IPEYE- WUPS