Design and implementation of multi-threaded port scanning software
- Author
- LiangJianFei
- Advisor
- ZhuFeng , ShenFengChi
- School
- University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 101
- Citations
- 1
Abstract
Developed in the network today , the importance of computer network is increasingly apparent, the rapid growth of application , and provides a great convenience for people 's daily life and work . Use of increasingly frequent in the network at the same time , computer network security issues more seriously. Each host in the network security has been deprived of a good guarantee frequent hacking and other issues . Port scanning software 's function is to enumerate the port will open in a host service program , in order to take advantage of security vulnerabilities after implementation of the intrusion on the network host . Port scanning tool is a software that is used to find the open ports of network hosts to use it properly , can play a role in preventing port attack . Administrators can use it to perform a port scan test . A host port scanning means that a variety of listening port scan on the target host . Port scan a variety of ways , each have their own characteristics , but the basic principles are by sending specific data to the target host target host 's response to judge , in order to know the target host open port . Port scanning is not only hacking host the first step should be done , but also to ensure host security , an important means of prevention .
Table of contents
Summary 4-5
Abstract 5-9
first chapter 9-17
1.1 software development background and significance 9-14
1.1.1 today's network information security status quo analysis 9-10
1.1.2 strengthen network security 10-12
1.1.3 port scanning significance in network security 12-14
1.2 port scanning software current development status and future trends 14-15
1.3 paper is organized 15 -17
Chapter II development environment and tools 17-23
2.1 the JAVA technology introduced 17-19
the 2.1.1 Java technology originated 17
2.1.2 Features of the Java language 17-19
2.2 JDK and JAVA programming environment introduced the version classified 19-21
2.2.1 Java2SDK, 19
2.2.2 JDK obtain environment configuration 19-20
2.2.3 source compile and run 20-21
2.3 ECLIPSE development environment 21-22
2.3.1 the Eclipse architecture 21
2.3.2 of Eclipse features 21-22
2.4 Chapter Summary 22-23
Chapter network datagram transmission principle the 23-36 3.1 Principles of network data transmission TCP / IP protocol
23-31
3.1.1 TCP nbsp 24-25
3.1.3 TCP / IP in the protocol / IP network architecture concept the 23-24
3.1.2 TCP / IP protocol four hierarchical ; 25-30
3.1.4 detailed in the TCP / IP protocol work process 30
3.1.5 TCP / IP protocol communication model 30-31
3.2 IP datagrams and TCP datagram format the 31-35 the 3.2.1 IP datagrams format
and field functionality 31-33
3.2.2 TCP datagram format and function of the field 33-35
3.3 Chapter Summary 35-36
Chapter port scan analysis 36-46
4.1 port scanning Technical Analysis 36
4.2 port scanning technologies Jane Tan the 36-42 4.2.1 TCP-SYN scan mode
36-37
4.2. 2 TCP connect () scan 37
4.2.3 the IP segments Scan 37
4.2.4 TCP-Fin scan mode 37-38
4.2 .5 TCP reverse ident scanning 38
4.2.6 FTP return attack 38-39
4.2.7 UDP recvfrom () and write () scanning 39-40
4.2.8 un arrival UDP ICMP port scan mode 40
agreement 4.2.9 ICMP echo scan 40-41
4.2.10 senior ICMP scanning technology means the 41-42
4.3 port scan of the basic principles 42-44
4.4 Functional description are found; 44-45
4.5 Chapter Summary 45-46
Chapter port scanning software design 46-66
5.1 port scanner needs analysis and design 46-60
5.1 .1 port scanner type determine 46-48
5.1.2 TCP / IP to establish contact, three-way handshake principle 48-49
5.1.3 TCP / IP off the associated handshake principle 49-52
5.1.4 TCP scanner operating principle 52-54
5.1.5 scan mode 54-57 <br / > 5.1.6 multithreading basic principle of 57-60
5.2 port scan the 60-61
5.2.1 basic principles 60
5.2 .2 core code based on JAVA language 60-61
5.3 port scanner view the 61-63
5.3.1 working window 61-62
5.3.2 exception window 62
5.3.3 the window the core code 62-63
5.4 multi-threaded quick scan 63-65
5.4 .1 multi-thread mechanism 63
5.4.2 multi-threaded core code the 63-65 5.5 Chapter Summary
65-66
Chapter port scanning software to achieve the 66-79
6.1 TCP CONNECT scan mode realize the 66-68
6.1.1 TCP connect scan implementation 66-67
the 6.1.2 port functions judgment 67
6.1.3 multi-threading capabilities to achieve 67
6.1.4 file save functions to achieve 67-68
6.2 TCP SYN scan mode realize the 68-74
6.2.1 SYN scan function Glance the 68-70
6.2.2 address resolution function to achieve 70-71 < br /> 6.2.3 datagram generation capabilities the 71-72
6.2.4 the datagram dismantling function to achieve 72-73
6.2.5 multi-threading capabilities to achieve 73-74
6.3 users use the 74-75 6.3.1 page description
74
6.3.2 by host name scan 74
6.3.3 IP address scan the 74-75
6.4 commonly used port 75-76
6.5 anomaly detection 76-78 <br / 6.6 Chapter Summary 78-79
conclusion 79-80
Acknowledgements the
References 80-81 81-84
Related dissertations
- Design and Implementation of A Network Access Monitoring System for User
- Security Module Based on Command Code for Resource Constrained Wireless Sensor Networks
- Design and Application of Higher Vocational Colleges and Universities Campus Network
- Campus intelligent network construction
- Study of Fujian Business School Campus Network Based on Engineering Design
- Research and Design of University Network Construction
- The Design of Fiber Ethernet Intelligent Splitter Based on FPGA
- Research and Implemention of IP Packet Reinstall System Based on VPN
- Research on Intrusion Detection Based on Clustering Algorithm
- Study the Technology of Extraction Situation Factor for Network Security Situation Awareness
- The Electronic Reading Room ARP Virus Detection and Localization System Research
- Study and Deployment on Communication Security and Optimizations for VPN Networks
- Research on Key Technologies of Network Traffic Analysis and System Implementation
- A Network Security Risk Computation Approach Based on Attack Graphs
- University Network Security Problems and Countermeasures
- Research and Application of Network Monitor
- The Network Inside and Outside Isolation of Guizhou ATC System Design and Implementation
- Honeypot Technology in Network Security Design and Application
- Based on the Firewall and Intrusion Detection Linkage System Research and Implementation
- Research and Application of the ARP Defense System in the Industrial Ethernet Ring Network