LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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


Reply
  Search this Thread
Old 02-15-2006, 07:26 AM   #1
jim656
LQ Newbie
 
Registered: Nov 2005
Posts: 9

Rep: Reputation: 0
hide running process


if we have one application for long time, how can we hide the process? avoid to be seen by 'ps aux '

In other words, how to discovery any potential hiding process in linux server?
 
Old 02-15-2006, 08:37 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
if we have one application for long time, how can we hide the process? avoid to be seen by 'ps aux '
Depends on what you can get access to. You could shred the binary while it's running (though that's not hiding, strictly speaking), you could hide it in plain sight changing argv[0] to read something already running like "httpd", or you could modify the syscall table or change system_call directly. Mind you, LQ is rather more "white hat" (if that still means anything to anyone) than "black hat". Strictly speaking any more "HOWTO" questions are not welcome. If you need more info you should do some research and go to another board for stuff like that.


how to discovery any potential hiding process in linux server?
Depends on how the box is hardened and what audit trails are in place/remain. Next to looking for "secondary evidence" from system and daemon logs, anomalies like setuid root binaries in accessable temp dirs you could have checking preloaded, compare syscall table, brute-force sigs, getdents comparison, execution analysis. I probably forgot some.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting PID of running process in C/C++ laikos Programming 16 10-30-2015 06:16 PM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
Running process sonu1082 Linux - Software 2 11-25-2004 05:32 AM
background running process elbriga Programming 2 09-21-2004 06:08 PM
Process not running LinuxRam Linux - Newbie 4 09-09-2004 12:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:06 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