Font Size: a A A

Mechanism Based On Muti-threaded Port Scanner Design And Implementation

Posted on:2011-07-25Degree:MasterType:Thesis
Country:ChinaCandidate:H H LiFull Text:PDF
GTID:2178360305471698Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the rapid development of science and technology, computer technology and network technology, have been deep into all areas of human society. However, the development of network technology has brought us convenience in the same time also brought great security risks, in particular the Internet's openness, and a wide range of access networks Jin Rong field, making more and more systems have been invaded Gong Ji's threat. However, whether the intruder is attacked from outside or from within a network, attacks opportunities are digging through the operating system and application service program weaknesses or deficiencies to achieve. The security situation on the current system, the system there are some loopholes and, therefore, there is a potential security threat. If we can according to the specific application environment, as early as possible through the network scanning to find these vulnerabilities and take appropriate measures in time to repair, you can effectively prevent the occurrence of the invasion. Therefore, the network scanning is very important and necessary.Java is a U.S. Sun Microsystem, Inc. Developed an object-oriented language, it has been widely used Internet, in order to complete some of the functions of HTML can not be completed. Java has a simple, stable, safe, friendly, several major features of the interface and the UNIX, Macintosh or PC, can use, especially for developing Internet applications。As the Java program has nothing to do with the hardware, and platform-independent, high reliability, security, stability and support for multi-threaded and so, in today's computers and networks occupy an important position.In this paper, Java-based design of a port scanner, which can use multiple threads in the specified IP address and vulnerability scanning, provides a graphical interface mode of operation. Scan include: standard port state scanning, port scanning to run the service, IP address and version number and types of local host name of the query, as well as access to the target computer's MAC address.This scanner is designed from the human point of view, to provide a user interface, enabling users to, if not computer professionals can also be easily achieved by clicking the button on the port scan. To facilitate access, easy to see the results, and provide the interface at any time to stop the scan button, you can run at any time terminate the program. Application of multi-threading technology to improve scanning speed is the main feature of this program. The so-called multi-threading that is also in the local system to open multiple socket connections, at the same time scanning multiple servers, the benefits of doing so is to increase the scanning speed, time and resource allocation according to the system level, thread numbers can be set up on their own set (set too high, likely to cause system crashes). When doing port scanning, scan and can scan and scan configuration host range of custom scanning threads open, open multiple threads simultaneously detect the target host port; also add a program to scan ports and check what service is running on this host, can further test these services, find vulnerabilities. Test found that in single-threaded cases, a port scan an average of 1.5s, 25 threads in the opening of a port scan an average of only 50ms, scan rate increased about 30 times.
Keywords/Search Tags:vulnerability scanner, plug, port, port scanning
PDF Full Text Request
Related items