in reply to Completely removing a perl function.
For example, suppose you replace /usr/bin/perl with a wrapper that disables the function in the perl command options. So your hacker needs only to find out where you put the original program and shebang that instead. So then you are at stage 2 of the battle and have to make the original program no-execute and make your wrapper call setruid before running the original interpreter with your enforced options. Hacker counters by making a copy of your wrapper and editing it with the right I/O options to preserve its sticky bit on close. So at stage 3 you rewrite in C to counter again. Hacker is still not prevented - he writes his own wrapper to patch yours in memory - and so on ad infinitum. It's called 'core wars' by some of those who do it for fun.
-M
Free your mind
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Completely removing a perl function.
by Anonymous Monk on Jun 28, 2006 at 14:18 UTC | |
by Moron (Curate) on Jun 28, 2006 at 14:37 UTC | |
by Anonymous Monk on Jun 28, 2006 at 18:08 UTC | |
by Anonymous Monk on Jun 28, 2006 at 18:29 UTC | |
by Anonymous Monk on Jun 29, 2006 at 16:04 UTC | |
| |
by Moron (Curate) on Jun 29, 2006 at 09:01 UTC | |
by Anonymous Monk on Jun 29, 2006 at 16:01 UTC | |
|