计算机工程与应用 ›› 2007, Vol. 43 ›› Issue (3): 102-102.

• 产品、研发、测试 • 上一篇    下一篇

利用Perl实现Linux下隐藏进程的查找

袁源 戴冠中 罗红   

  1. 西北工业大学 西北工业大学
  • 收稿日期:2005-12-31 修回日期:1900-01-01 出版日期:2007-01-21 发布日期:2007-01-21
  • 通讯作者: 袁源

Using Perl to Find Hided Processes in Linux

woodhead yuan   

  • Received:2005-12-31 Revised:1900-01-01 Online:2007-01-21 Published:2007-01-21
  • Contact: woodhead yuan

摘要: 分析LKM后门实现隐藏进程的机理。针对后门设计存在的缺陷,结合/proc文件系统特点,提出一种按顺序遍历所有PID目录而找出全部进程的方法。再将结果与普通的进程查找输出作对比,可以发现隐藏的进程。最后给出采用Perl语言实现此查找功能的流程图。实验表明该方法能准确、有效地发现被LKM后门隐藏的进程。

关键词: Linux, LKM后门, 隐藏进程, PID, Perl

Abstract: This paper analyses the mechanism of LKM backdoor in hiding processes. According to the vulnerability in design and the characteristics of /proc file system, a new method for finding hided processes is proposed, that is, traversing all possible existing PID directories to find out all actually existing processes, then through contrasting with the ordinary output to discover the differences. At last the workflow in Perl has been provided. The experiments show that this method presented can efficiently find the processes hided by LKM backdoor.

Key words: Linux, LKM Backdoor, Hide processes, PID, Perl