Design and Implementation of Anti Worm Framework
- Author
- ZhangZuYuan
- Advisor
- ZhangZongSheng
- School
- Jilin University
- Major
- Software Engineering
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 25
- Citations
- 0
Abstract
Worm is always served as one of the most serious threaten of the Network, andresearch on how to detect and clear them from computers and networks is a hot areain the field of network security. Researchers all over the world have proposed lots ofapproaches to detect and clear the worms, and all of these methods have achievedgood results. The proposed benign-worm-anti-worm methods have taken a new pathfor detecting and clearing the worms. Better Results have been achieved by using it tocompete with the worms in the network.This paper designs and implements an industrial universal anti-worm frameworkwith producing benign-worm based on the idea of benign-worm. In order to acceleratethe propagation of the benign worms inside the network, a multi-threaddivide-and-conquer strategy is adopted. In order to improve the transmission speed,the generated benign worms without anti-worm programs are downloaded from theserver in a C/S structure. The frameset is implemented with Python language and runson Linux platform. This frameset can support for detecting and clearing both knownworms and unknown worms. Lastly, we make some tests for the proposed framesetand the benign-worm generated by the frameset. Experimental results show that theproposed frameset is correct, and its generated benign-worm can spread fast in thenetwork and detect and clear worms efficiently.There are mainly three aspects of the proposed frameset for detecting andclearing worms:(1) For known worms, we store the killing program in the killing database, sothat uses only need to choose to kill any kind of worms.(2) For unknown worms, we firstly determine the way the worm stores and runsin the system. Then, users can choose the corresponding killing sub-item inthe frameset. After determining the type of loophole utilized by the worm, the corresponding vulnerability scanning program and vulnerability exploitationprogram are chosen in the vulnerability database.(3) As a frameset, it is extensible. So that users can add the database of itsvulnerability scanning, vulnerability exploitation, vulnerability fixes, wormskilling and killing sub-item.The proposed framework could efficiently detect and clear worms withoutclient-side. It possesses some application value, however, the usage is still complex,and should be improved to be user-friendly.
Table of contents
Summary 4-5
Abstract 5-11
Chapter 1 Introduction 11-15
1.1 Introduction 11
1.2 significance domestic and foreign research status quo 1.3 11-12
12-13
1.4 This article contents 13
1.5 herein organizational structure 13-14
1.6 section 14-15
Chapter 2 introduces the relevant technologies 15-23
spread of divide and conquer strategy nbsp 2.1 multi-process ; 15-16
2.2 Linux system Programming 16-17
2.2.1 socket programming 16-17
2.2.2 multi-process programming 17
2.2.3 process synchronization 17
2.3 buffer overflow exploits 17-18
2.3.1 FTP protocol 18
2.3. 2 Wu-ftp buffer overflow vulnerability 18
2.3.3 Exploit 18
2.4 Shellcode write 18-21
2.4.1 AT T compilation 20
disassemble nbsp 2.4.2 Linux under ; 20
2.4.3 to avoid ' \\ 0 ' character 20-21
2.5 Python to write UI 21-22
2.5.1 Shell 21
2.5.2 autocompletion and history 21
2.5.3 Python using MySQL database 21-22
2.5.4 Python call C functions 22
2.6 patches download 22
2.7 Summary 22-23
Chapter 3 system Analysis 23-28
3.1 Requirements Overview 23
3.2 system architecture analysis 23-26
3.2.1 system architecture 23-24
3.2.2 system modules and functions 24-26
3.2.3 system communication protocol 26
3.3 development environment feasibility Analysis 26
3.4 system 26-27
3.5 Summary 27-28
Chapter 4 system Design 28-35 <br / > 4.1 frame design 28-29
4.2 benign worm design 29
4.3 benign worms process design 29-30
4.4 database design 30-32
4.5 UI design 32-33
4.6 communication protocol design 33-34
4.7 Summary 34-35 <br / > Chapter 5 system implementation 35-49
5.1 framework to achieve 35-40
5.1.1 command realized 35-39
5.1. achieve 1.1 show command achieve 35-36
5.1.1.2 host command achieve 36-37
5.1.1.3 set command 37
achieve 5.1.1.4 search command achieve 37
5.1.1.5 servicestart command achieve 37-38
5.1.1.6 servicestop command 38
achieve 5.1.1.7 generate command achieve 38
5.1.1.8 help command achieve 38
5.1.1.9 add commands 38-39
5.1.2 The history and auto-complete realization 39
5.1.3 connect to the database 39
5.1.4 connection c language dynamic link library 39-40
5.2 worm achieve 40-45
5.2.1 vulnerability Scanning 40-41
5.2.2 exploit 41
5.2.3 Shellcode 41-42
5.2.4 worm upload 42-43
5.2.5 IP list 43
5.2.6 shared memory and semaphores 43-44
5.2.7 IP list into 44-45
5.2.8 multi-process control 45
5.3 benign worm achieve 45-46
5.3.1 worms part 45-46
5.3.2 worm detection 46
5.3.3 from the server to download patches and killing procedures 46
5.4 download patches and killing to achieve 46-47
5.4.1 service starts 46-47
5.4.2 service stops 47
5.4.3 log achieve 47
5.5 benign worm generation module 47-48
5.6 Summary 48-49 <br / > Chapter 6 system Test 49-54
6.1 framework for functional test 49-51
6.1.1 testing program 49-50
6.1. 2 test results 50-51
6.2 performance test procedures designed to kill 51-53
6.2.1 testing program 52
6.2.2 test Results 52-53
6.3 killing and patch server function test 53
6.3.1 testing program 53
6.3.2 test Results 53
6.4 Summary 53-54
Chapter 7 conclusions 54-55
Thanks 55-56
references 56-57
Related dissertations
- Research of IPv4-IPv6Dual-stack Benign Worm Propagation Model
- Research on MP2P Resource Index Diffusion Methods
- Divide-and-Rule-Hybrid-Benign Worms Confrontation Strategy Based on Time-delay
- Research on Mechanism and Defense of Malicious Code
- Research of P2P Worm Behavior Model and Its Quarantining Metheds