Skip to main navigation menu Skip to main content Skip to site footer

Rootkits and Malicious Code Injection

Abstract

Rootkits are considered by many to be one of the most stealthy computer malware (malicious software) and pose significant threats. Hiding their presence and activities impose hijacking the control flow by altering data structures, or by using hooks in the kernel. As this can be achieved by loadable kernel code sections, this paper tries to explain common entry points into a Linux kernel and how to keep a persistent access to a compromised machine.

Keywords

GNU/Linux, rootkits, shellcode, stack overflow, buffer overrun, vulnerability

PDF

Author Biography

Marius Vlad

IT&C Security Master at Cybernetics, Statistics and Economic Informatics Faculty


References

  1. [1] G. Hoglund, A *real* nt rootkit, patching the nt kernel.
  2. [2] Wikipedia, Rootkit.
  3. [3] J. Kong, Designing BSD Rootkits, An Introduction to Kernel Hacking. No Starch Press, 2007.
  4. [4] J. Bartlett, Programming from Ground Up. Jonathan Bartlett, 2003.
  5. [5] Intel Corporation, Intel 64 and IA-32 Architectures Software Developer Manual, 2010. Volume 1: Basic Architecture.
  6. [6] M. Vlad, Subverting the Linux Kernel, Rootkit Development and Deployment. 2010.
  7. [7] Tool Interface Standard Commitee, Executable and Linking Format (ELF), 1995. Version 1.2.
  8. [8] A. One, Smashing the stack for fun and prot.
  9. [9] J. Ericson, Hacking: The Art of Exploitation. Addison-Wesley, 2nd ed., 2008.
  10. [10] Z. Wang, X. Jiang, W. Chi, and P. Ning, Countering kernel rootkits with lightweight hook protection, CSS ACM,Chicago, Illionios, 2009.
  11. [11] Intel Corporation, Intel 64 and IA-32 Architectures Software Developer Manual, 2010. Volume 3A: System Programming Guide, Part 1.
  12. [12] D. P. Bovet and M. Cesati, Understanding the Linux Kernel. O’Reilly, 3nd ed., 2005.
  13. [13] W. Mauerer, Professional Linux Kernel Architecture. Wiley Publishing, Inc., 2008.
  14. [14] A. Lineberry, Malicious code injection via /dev/mem, Black Hat Europe, 2009.