Advanced

Exploiting the Linux Kernel

Posted by Sander_Marechal on · 3 comments
fophillips
Mail this story
Print this story

In Linux you run processes in two different modes of execution. There is userspace (aka user mode) which you run your everyday applications, like Firefox, Pidgin, irssi. From the kernel’s point of view, this is unprivileged mode, meaning user space applications don’t have access to hardware, or bits of the system critical to its function. The next mode is kernelspace, in this mode a process runs in privileged mode, giving it access to hardware and low-level system processes. In this article I show how to write a kernel module.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Kernel, Linux

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (3)

Oh wow, so it is possible, for someone with root shell access on a linux system with development tools, to modify the kernel in various ways.

hmm, but then again, if an attacker has somehow gotten root on your system in the first place, you're already pwned.

> an attacker has ... root on your system..., you're already pwned.

That would seem the very definition of "pwned".

The idea behind it is probably that you build it on one computer, then (try to) execute it at another.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post