LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Closed Thread
 
LinkBack Search this Thread
Old 08-26-2008, 06:03 AM   #1
Eilya
Member
 
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.

Regards,
Eilya
 
Old 08-26-2008, 06:12 AM   #2
ledow
Member
 
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, 06:44 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,792

Rep: Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923
Only two posts - both the same. Registered just to ask this question ...
Reported.
 
Old 08-26-2008, 07:19 AM   #4
roseman
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, 11:32 AM   #5
Eilya
Member
 
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,
Eilya
 
Old 08-26-2008, 12:02 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,518
Blog Entries: 51

Rep: Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598
Quote:
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

Tags
scripting


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 04:31 PM
How hide Startup Log during the Booting Process RMLinux Linux - Newbie 2 08-26-2006 12:31 AM
hide running process jim656 Linux - Security 1 02-15-2006 08:37 AM
Bash scripting (hide sterr messages) Quantum0726 Programming 2 06-07-2005 08:05 PM
Bash Scripting - child process affecting parent process mthaddon Linux - General 1 05-02-2004 01:19 PM


All times are GMT -5. The time now is 05:36 AM.

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