Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


Closed Thread
  Search this Thread
Old 08-26-2008, 07:03 AM   #1
Registered: Aug 2008
Posts: 52

Rep: Reputation: 15
Question Kernel Scripting-Hide a process

Hi friends,

I want (a C++ code) to hide a process in kernel 2.6, I don't want monitoring even in /proc.
please help me.

Old 08-26-2008, 07:12 AM   #2
Registered: Apr 2005
Location: UK
Distribution: Slackware 13.0
Posts: 241

Rep: Reputation: 34
I doubt you'll find any help at all, because there are very, very few legitimate uses of such a facility and it's against forum rules to ask about the "illegitimate" uses.

Plus, it's probably almost impossible without being root and/or editing the kernel source code itself.
Old 08-26-2008, 07:44 AM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 13,628

Rep: Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393
Only two posts - both the same. Registered just to ask this question ...
Old 08-26-2008, 08:19 AM   #4
LQ Newbie
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
I think hiding a process in Linux is not easy. But you can "hide" using thread. You can write a program that call the true expected program through threads.Because thread's name is the same as parent process's, so you can "hide" a process by that way. I hope this useful.
Old 08-26-2008, 12:32 PM   #5
Registered: Aug 2008
Posts: 52

Original Poster
Rep: Reputation: 15
Syg00 please help, I do apologize for 2 same posts,
Thanks my friends, but it is not against rules because I it is my university project so it is some how academic question. Ledow I want it in the condition that being root and so I want to edit the Kernel source if it be necessary, Roseman thanks a lot in return for your good reply, just please explain more for me if it is possible, I ask other friends helping me.
Thanks a lot,
Old 08-26-2008, 01:02 PM   #6
Registered: May 2001
Posts: 28,886
Blog Entries: 55

Rep: Reputation: 3356Reputation: 3356Reputation: 3356Reputation: 3356Reputation: 3356Reputation: 3356Reputation: 3356Reputation: 3356Reputation: 3356Reputation: 3356Reputation: 3356
Originally Posted by Eilya View Post
I want (a C++ code) to hide a process in kernel 2.6
"Hiding" processes is not a commonly used or regularly deemed legitimate procedure. The only exception would be the kind of "privilege separation" say the GRSecurity kernel patch would give you (as in unprivileged vs privileged user processes).

This thread is closed for moderation purposes (violation of the LQ Rules).
You are invited to use this opportunity to contact me by e-mail and explain in detail.

Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i hide a process OR encrypt and then decrypt a string? helptonewbie Linux - Newbie 2 02-06-2008 05:31 PM
How hide Startup Log during the Booting Process RMLinux Linux - Newbie 2 08-26-2006 01:31 AM
hide running process jim656 Linux - Security 1 02-15-2006 09:37 AM
Bash scripting (hide sterr messages) Quantum0726 Programming 2 06-07-2005 09:05 PM
Bash Scripting - child process affecting parent process mthaddon Linux - General 1 05-02-2004 02:19 PM

All times are GMT -5. The time now is 03:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration