LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 03-22-2001, 08:14 AM   #1
paugros
LQ Newbie
 
Registered: Mar 2001
Posts: 3

Rep: Reputation: 0
Angry


i'm relatively new to linux (redhat 7), and i'm very disappointed that i cannot find a keystroke logger. i would have expected there to be hundreds of perl scripts and/or packages available for download somewhere that monitors local keyboard signals and logs them to a plain text file. that's all i'm looking to do. although i've never used them, there are about 12 programs for windows that do this. i've searched google for hours, scoured freshmeat and slashdot for references, and come up with nothing similar for linux. can anyone help? has anyone heard or or written something like this? thanks.

paul
 
Old 03-22-2001, 10:33 PM   #2
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
Angry

I just found a utility that enables you to replace the login call from getty and call another program that will let a user watch the activity on the tty. I thought about it for a second and thought what type of big brother crap is this.

I'll let someone else tell you how to do this.
 
Old 03-23-2001, 10:17 AM   #3
paugros
LQ Newbie
 
Registered: Mar 2001
Posts: 3

Original Poster
Rep: Reputation: 0
keystroke logger???

hey, i am trying it implement this on my own personal local machine, which no one uses but me. i have no inclination to spy on anybody. my reason for wanting this is because i think it would be like bash history logging on steriods, and would be very helpful just to grep such a log in order to recall things that i've done in the past and had forgotten. just to set the record straight.
 
Old 03-23-2001, 08:18 PM   #4
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
Take a look up ttysnoop at the following site:

http://packetstorm.securify.com/UNIX/IDS/indexdl.shtml

It's not exactily what you are looking for, but it's a start. It could most likely be modified to log to a file. Also try searching google for "tty logger"
 
Old 03-23-2001, 09:05 PM   #5
paugros
LQ Newbie
 
Registered: Mar 2001
Posts: 3

Original Poster
Rep: Reputation: 0
thanks man.
 
Old 07-23-2004, 04:01 PM   #6
elmess
LQ Newbie
 
Registered: Jul 2004
Location: Milwaukee Area
Distribution: Mandrake 10
Posts: 1

Rep: Reputation: 0
Looking for similar-more of a internet monitor

I,too, am looking for a keystroke logger and also an internet monitor on my personal box. I've asked on other forums and really been flamed. I've scoured google and emailed software companies without any luck.

I really do want to convert my box to total linux but I want to be able to monitor(not block) where my kids are going. I'm running Mandrake 10.

Any ideas for a linux newb?
 
Old 02-13-2005, 02:23 PM   #7
trigggl
Member
 
Registered: Dec 2004
Location: Jacksonville, AR
Distribution: Debian Etch, AIX, Slackware
Posts: 117

Rep: Reputation: 15
I hear you

I'm looking for a good linux keystroke logger. I have a daughter who is getting out of control and I want to make sure she's not doing anything illegal. I may have found one, but am not sure I trust it. Why is everyone afraid to talk about it?
 
Old 02-16-2005, 01:47 AM   #8
Aura_Bleu
LQ Newbie
 
Registered: Jan 2005
Location: Brockville, ON, Canada
Distribution: Slackware 10.2
Posts: 11

Rep: Reputation: 0
I can't speak for all, but I find the mere idea of a keystroke logger an invasion of privacy... not to mention the feeling of not being trusted in the least...

I just personally find the concept unsettling, and I really don't see the point, or the need to monitor EVERY keystroke made by any user
 
Old 02-16-2005, 05:23 AM   #9
trigggl
Member
 
Registered: Dec 2004
Location: Jacksonville, AR
Distribution: Debian Etch, AIX, Slackware
Posts: 117

Rep: Reputation: 15
Quote:
Originally posted by Aura_Bleu
I can't speak for all, but I find the mere idea of a keystroke logger an invasion of privacy... not to mention the feeling of not being trusted in the least...
Well, when it comes to a daughter who has already been told that she's lost our trust, we've tried everything but invading the privacy. In fact, she may never get to borrow the car again unless I can be sure she isn't planning to do anything stupid. When she's 18 and moved out, she can have all the privacy she wants.

If you don't see the reason for it, you've never had roomates like I have. I had a roomate that hacked my passwords in windows before I switched to Linux. After he moved out, I cleaned up my computer and found a couple of hacking programs and a few videos of little girls undressing.

I have a right to know what's being done on my computer, especially from a minor that we are responsible for.

Trust must be earned. Fortunately for my daughter, I don't trust the writer of the program I found either. I'm studying package management by package_name:install_group permissions. I don't want this program doing anything beyond my control. For all I know, I could be installing someone's rootkit.
 
Old 02-28-2005, 01:43 PM   #10
hertfordnc
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
OK. same here, I have a daughter who can not be completely trusted. She is 12. She has been known to chat with 28 year old men. I'm about to install mandrake 10.

I hate windows, the aforementioned daughter is a spam/spybot/adware magnet so we must get away from windows.

Let me just start the flamewar myself: People who put their niave idealistic dillusions about privacy ahead of the safety of children ought not waste their time telling me i'm doing something wrong.

The folks in the other camp (responsble parents) can email me privately with whatever solutions they have found

bigbrother@davesilva.com

Thanks
 
Old 03-20-2005, 07:14 PM   #11
m8yL
LQ Newbie
 
Registered: Mar 2005
Distribution: xandros
Posts: 1

Rep: Reputation: 0
i'm not a great friend of the idea of controlling somebody else's keyboard entries, but I sure undestand the problem that triggl and hertfordnc have.

I would recommend a fake_windows emulator and a normal windows keystroke logger. I'm not completely satisfied with the result and I'm still working on it, but I don't see a different, safe option.

m8y
 
Old 03-20-2005, 08:42 PM   #12
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
//Moderator note: if this thread degenerates into a flamewar or if any topic verges on illegal or improper use of a keylogger/sniffer then I will close this thread immediately. Let's keep it on topic and free of each others personal philosophies.
Thanks.
 
Old 03-21-2005, 05:12 AM   #13
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 53
If they use a shell you could have a look at "man script". I've used it myself sometimes for making a howto for a friend as it also saves the output of the commands.
 
Old 03-21-2005, 12:40 PM   #14
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 114Reputation: 114
Quote:
OK. same here, I have a daughter who can not be completely trusted. She is 12. She has been known to chat with 28 year old men. I'm about to install mandrake 10.
Speaking as a 48 year old man who periodically chats with teenage girls who I know personally and have mentored, I have to say that this is not *necessarily* a problem, though I certainly understand your concern.

Quote:
I hate windows, the aforementioned daughter is a spam/spybot/adware magnet so we must get away from windows.
To completely solve this problem while still using Windows (though I would never try to talk you out of switching), just use Win2K or XP, and establish a "limited" account for your daughter. As an administrator, run spywareblaster. Install and use Spybot S&D and Ad-Aware. Keep your antivirus software up to date. Install a hardware firewall between the computer and the internet. Install a software firewall (I recommend Zone Alarm, not the Windows firewall) on the computer.

Stop using Internet Exploder. Stop using Outlook Express. Replace them with Mozilla and its client or Firefox and some other email client.

When your daughter has only a user ("limited") account and you do these other things to secure the system, you will find that you won't have problems with spyware, adware, trojans, etc.
 
Old 03-22-2005, 02:43 AM   #15
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
As a parent who has been through the cycle and come out the other with pretty responsible adult children I can offer some advice (although I don't think they were as bad as a few of you are intimating here). I carefully monitored the sites they had been visiting (through browser history) and tried to have "open" conversations with them about high risk enviroments.
Here is a trick that you may not be aware of and is applicable in the M$ environment as well as the nix environment. In nix there is a file /etc/hosts and if you don't want people visiting a given domain then tell the host to resolve that address to localhost then the user will not be able to visit it. For example I hate all the ads that occur so I have a list of ad servers that are all blocked. Basically the entry looks like this;

0.0.0.0 download.abetterinternet.com #[Adware.StopPopupAdsNow]

if you want to read more about using this then go to;

http://pgl.yoyo.org/adservers/#how

Basically you can block any address you want to.

Last edited by TigerOC; 03-22-2005 at 02:54 AM.
 
  


Reply


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
keystroke logging to file? musicman_ace Linux - Software 3 12-12-2004 06:49 AM
new worm KEYSTROKE LOGGER witeshark General 36 02-02-2004 12:44 PM
keystroke macros squip Programming 1 10-09-2003 12:46 PM
looking for program or way to get keystroke macros squip Linux - Software 0 10-07-2003 08:25 PM
emacs keystroke kev82 Programming 9 07-16-2003 10:15 AM


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