Re: Shadow Shell?

This is a discussion on Re: Shadow Shell? within the Linux Security forums, part of the System Security and Security Related category; Ron Crash wrote: > Ken, > > Pretty smart. Never thought about doing it that way. > > Thanks Another ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-03-2003
Chris Cox
 
Posts: n/a
Default Re: Shadow Shell?

Ron Crash wrote:
> Ken,
>
> Pretty smart. Never thought about doing it that way.
>
> Thanks


Another approach is to remote shell (ssh shell... whatever)
and do an sh -i (bash -i/ksh -i). You won't have a full
tty, but you'll have a command by command line shell.

e.g.

ssh user@target-host "ksh -i"

>
>
>
> "Kenneth A Kauffman" <kkauffman@nospam.headfog.com> wrote in message
> news:p%%Ha.5251$Ri.1144@news2.east.cox.net...
>
>>"Ron Crash" <crash@metro.lexus.com> wrote in message
>>news:vejsqtgl37iscc@corp.supernews.com...
>>
>>>Is there a way to be logged into a shell without being seen by "who" or

>>
>>"w"?
>>
>>>I don't want to rootkit, I want to see what other users are doing on my

>>
>>box
>>
>>>at work without them knowing I'm logged on.
>>>
>>>Ron
>>>
>>>

>>
>>if it is always the same username, then you can do the following:
>>
>>move /usr/bin/w and /usr/bin/who to their own location not in the path.
>>
>>create a script by the same name for each in /usr/bin as follows:
>>
>>/<newpath>/who | grep -v <username> (save as /usr/bin/who)
>>/<newpath>/w | grep -v <username> (save as /usr/bin/w)
>>
>>After saving the files, chmod the scripts to 755
>>
>>What happens is that each script will execute the binary and remove your
>>username from the output via grep -v.
>>
>>ken k
>>
>>

>
>
>


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:42 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0