From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Ajay Garg <ajaygargnsit@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: How to hack syscall-table, in kernel 2.6+ ?
Date: Tue, 14 Aug 2012 13:40:20 +0100 [thread overview]
Message-ID: <20120814134020.367361b5@pyramind.ukuu.org.uk> (raw)
In-Reply-To: <CAHP4M8WV64UMor_oU4UNgGx7P0Zet_M3yJrAZaCR+yYQmmeEYw@mail.gmail.com>
> I have already tried extracting the address of the "sys_call_table"
> from "System.Map"; however, I am still not able to replace the
> function-pointers with mine.
Correct.
> Trying to do gives me page-faults, apparently meaning that the
> syscall-table memory area is read-only.
Correct.
The kernel is specifically designed to stop such uses by rootkits and
trojans and other malware.
If you are trying to patch the system call table you are doing something
wrong. What are you actually trying to achieve ?
next prev parent reply other threads:[~2012-08-14 12:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-14 11:31 Ajay Garg
2012-08-14 11:32 ` Felipe Balbi
2012-08-14 11:35 ` richard -rw- weinberger
2012-08-14 12:40 ` Alan Cox [this message]
2012-08-14 16:13 ` Ajay Garg
2012-08-14 16:33 ` richard -rw- weinberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120814134020.367361b5@pyramind.ukuu.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=ajaygargnsit@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®