LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-11-2004, 01:17 PM   #1
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
Question Secret user


Is it possible for root to create an account that is invisible (processes, who, w, etc) to any regular user? With out having to result in modifying the system tools.


vexer
 
Old 08-11-2004, 01:43 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
This can be done with the grsecurity kernel patches. I am running the 'medium' security level on my server, and root's processes etc are invisible to normal users when running ps, top etc. In fact I don't think a normal user can run dmesg or read from the proc filesystem.

http://www.grsecurity.net/

Last edited by bulliver; 08-11-2004 at 01:46 PM.
 
Old 08-11-2004, 02:31 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
It's also good to note that this is a favorite trick of system crackers. They install a set of tools called a rootkit that effectively hides their presence from a casual inspection (a more detailed inspection of the /proc filesystem will turn up incongruities in most cases). These tools often insert a special module into the kernel and replace programs like w and ps with trojaned copies that hide the attacker's processes, although with the right patches to the kernel, you wouldn't need to touch the userspace stuff.

So yes, it is possible to do, The question is what are you trying to accomplish (hopefully not breaking into systems -- that's illegal)? Or to put it another way, what security or system problem do you want to solve by having hidden users and processes? I've never really played with this, so I'm curious what other people use this to accomplish.
 
Old 08-11-2004, 04:05 PM   #4
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Original Poster
Rep: Reputation: 30
I am aware of the rootkits and about the legal issues pretaining to the misuse of these programs. Although being a valid choice for my needs, it also blocks off root from noticing (which is not my intent). I'm looking to keep daemon versions completely private as well as keeping root's activities and other users to stay hidden to regular users with out also blinding root.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
secret lukeleia3 General 12 12-03-2004 07:16 PM
secret cookie? Chuck23 Linux - Security 6 09-06-2004 09:41 PM
A wonderful secret Misteree General 5 08-31-2003 11:12 AM
Okay, what's the secret? PlanetNEO Linux - Newbie 8 01-25-2003 01:44 PM
Share Secret ccarminati Linux - General 2 04-23-2002 08:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:59 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration