The Analysis and Realization of ROOTKIT Based on LINUX Kernel

Author
LiuChuan
Advisor
XueZhi
School
Shanghai Jiaotong University
Major
Communication and Information System
Classification
TP316.81
Degree
Master's thesis
Year
2007
Downloads
446
Citations
2

Request the full text

Abstract

With the rapid development of information technology , the Internet and information sharing to become the main trend of the information society , more and more information systems depends on the current Internet , information security has become an unavoidable topic gradually put in front of us . The remote control technology to become one of the hot spots in the network security research , kernel Rootki (t that is used to save and hide root privileges ) and its related technologies as an effective tool for a long-term covert control computer system , remote control technology research important part. Based on a Linux system environment remote attackers control platform , focused first on the Linux kernel architecture , system boot process , process management , scheduling and dynamic loadable module , on this basis , to summarize based system to replace the calls to the kernel Rootkit and to evade detection improvements ; summarized fix pointer replacement method based on kernel exception kernel Rootkit technology ; proposed and completed a virtual file system based on Linux kernel Rootkit handle pointer replacement technology . The lower level of the replacement of the virtual file system processing pointer in the Linux system , it is difficult to be found , and through a variety of ways to achieve a hidden file hidden processes , network connections hidden , log filtering , privilege escalation and other functional modules . Achieve some of this article focuses on the hidden and availability , and in kernel space application system to replace the calls hidden module module injection party

Table of contents

Abstract 5-7 ABSTRACT 7-12 first chapter 12-15 1.1 source research background 12 -13 1.1.1 Rootkit basic concepts 12 1.1.2 topic background 12-13 1.2 Rootkit development history and current status 13 - 14 1.2.1 History 13 1.2.2 Rootkit research status 13-14 1.3 content of this study and the main work 14 -15 Chapter in-depth analysis and understanding of the Linux kernel 15-29 2.1 Linux operating system kernel development 15-16 2.2 Linux operating system architecture 16-18 2.2.1 Linux kernel composition 16-17 2.2.2 dependencies 17-18 2.3 system startup process 18-21 2.3.1 system startup Overview 18 2.3.2 bootloader 18-19 2.3.3 System Initialization preparation phase 19-20 2.3.4 System Initialization 20-21 2.4 process management and scheduling mechanisms 21-27 2.4.1 important data structures and Macro 22-24 2.4.2 Process management and status 24-26 2.4.3 process scheduling strategy 26-27 2.5 dynamically Load module mechanism 27-28 2.5.1 Basic Concepts 27 2.5.2 LKM implementations 27-28 2.5.3 LKM the impact on the security 28 2.6 Chapter Summary 28-29 replace Chapter III of the kernel system calls based Rootkit Analysis and Implementation 29-41 3.1 Linux system calls work 29-32 3.1.1 system calls the basic concepts 29 3.1.2 aspects of system calls and associated data structures 29-30 3.1.3 system called process 30-32 3.2 system call replaces the requirements 32-33 3.3 alternative methods of system calls 33-35 3.3.1 kernel direct export symbols sys_call_table, use lkm module replacement 33-34 3.3.2 use System.map and vmLinux get sys_call_table address 34 3.3.3 exploit dev / kmem get sys_call_table address 34-35 3.4-based kernel system call hijacking Rootkit achieve 35-38 3.4. 1 file hidden 35-36 3.4.2 Process hidden 36-37 3.4.3 Fi hidden 37 3.4. 4 module itself hidden 37-38 3.5 system call hijacking detection 38-39 3.6 can evade detection improved method 39-40 <br / > 3.6.1 for kernel memory 39 3.6.2 insert the code in the system call 39-40 3.7 Chapter Summary 40-41 Chapter IV of the kernel-based exception handling Rootkit Analysis and Implementation 41-51 4.1 Linux exception handling 41-42 4.1.1 Overview 41 4.1.2 anomalies associated data structures 41-42 4.2 exception handling process 42-46 4.3 kernel exception handling programming methods 46-47 4.4 abnormal triggering 47 4.5 Exception Handling pointer replacement 47-49 4.6 use exceptions to achieve Rootkit 49-50 4.6.1 Loading and lack of load modules 49 4.6.2 myfunction function definition 49-50 4.7 Chapter Summary 50-51 first chapters based on LINUX VFS Kernel Rootkit overall design and implementation 51-66 5.1 Overview 51-53 5.1.1 system design objectives and requirements 51 5.1.2 system functions 51-52 5.1.3 Overall system structure design 52-53 5.2 System design basis 53 - 58 5.2.1 Virtual File System Overview 53 5.2.2 VFS architecture 53-54 5.2.3 special file system proc 54 5.2.4 ext2 and ext3 file systems 54-55 5.2.5 important data structure 55-58 5.3 System Implementation 58-64 5.3.1 elevated 58-59 5.3.2 documents hidden 59 5.3.3 hidden process 59 <br / > 5.3.4-Fi hidden 59-60 5.3.5 log filter 60-61 5.3.6 Module hide and restart the loading 61 - 62 5.3.7 kernel space launch user-space programs 62-64 5.4 VFS-based kernel defects and Rootkit detection methods 64-65 5.4.1 Portability is not strong 64 5.4.2 application for a certain limited 64 5.4.3 Detection Method 64-65 5.5 Summary 65-66 Chapter VI Full Summary 66-68 6.1 summarizes research 66-67 6.2 Next Steps 67-68 References 68-70 Thanks 70-71 papers published during the study for a degree 71

Related dissertations

  1. The Design and Implementation of the Aeromodelling Remote Control System
    LiuDan ·Harbin Engineering University ·2013 ·Master's thesis
  2. Based on PLC Street-lamps Romote Monitoring System Research and Implementation
    JiangYang ·Dalian Polytechnic University ·2011 ·Master's thesis
  3. Smart Home Monitoring System Based on Ni Wireless Sensor Network
    LuZuoChao ·Zhejiang Normal University ·2013 ·Master's thesis
  4. Design of Greenhouse Environment Remote Control System Based on MMS
    BaoZhiMin ·Nanjing Agricultural College ·2013 ·Master's thesis
  5. Research on Smart Home System Based on Zigbee
  6. The Research and Design of Smart Home System Based on Zigbee Technology
    ZhangZhiDong ·Liaoning Normal University ·2013 ·Master's thesis
  7. Design and Implementation on Smart Home System and Rf/IR Converter Controller
    TangJinTian ·Hunan University ·2013 ·Master's thesis
  8. Research&Realization on Remoting Control of Embedded Camera Surveillance System in House
    ChenJun ·Hunan University ·2013 ·Master's thesis
  9. The Design and Implementation on Network-based Remote Control System of XY Table
    LinJianPing ·Anhui University of Engineering ·2013 ·Master's thesis
  10. Key Technology Research on Control and Manager of Greenhouse Irrigation
  11. Design and implementation of controller based on the Internet remote control
    LiangShuang ·Heilongjiang University ·2013 ·Master's thesis
  12. Design of Civil Defense Alarm Control System Terminal
  13. A Telemetry System for Brain Stimulation in Animal-robots Developed Based on Embedded Technology
  14. Remote Robot Control Technology Based on Android System
    LiuZuo ·Harbin Engineering University ·2013 ·Master's thesis
  15. Research on Mobile Robot Remote Control System Based on Speech Recognition
  16. Hardware Design and Implementation of Robot Tracking Controller
    XinZuo ·Dalian University of Technology ·2013 ·Master's thesis
  17. Design of Small Mobile Robot System Based on Android
    LiRui ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  18. Android-based Remote Control System for Mobile Robot
    YanFei ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  19. The Design of EOD Robot with Multi-Joint Mechanical Arm
    XuJiaZi ·Anhui University ·2014 ·Master's thesis
  20. The Design of Embedded Security Remote Monitoring System
    LiYing ·Tianjin University of Technology ·2013 ·Master's thesis