Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-22-2001, 08:14 AM
|
#1
|
LQ Newbie
Registered: Mar 2001
Posts: 3
Rep:
|
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
|
|
|
03-22-2001, 10:33 PM
|
#2
|
Senior Member
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821
Rep: 
|
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.
|
|
|
03-23-2001, 10:17 AM
|
#3
|
LQ Newbie
Registered: Mar 2001
Posts: 3
Original Poster
Rep:
|
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.
|
|
|
03-23-2001, 08:18 PM
|
#4
|
Senior Member
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821
Rep: 
|
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"
|
|
|
03-23-2001, 09:05 PM
|
#5
|
LQ Newbie
Registered: Mar 2001
Posts: 3
Original Poster
Rep:
|
thanks man.
|
|
|
07-23-2004, 04:01 PM
|
#6
|
LQ Newbie
Registered: Jul 2004
Location: Milwaukee Area
Distribution: Mandrake 10
Posts: 1
Rep:
|
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?
|
|
|
02-13-2005, 02:23 PM
|
#7
|
Member
Registered: Dec 2004
Location: Jacksonville, AR
Distribution: Debian Etch, AIX, Slackware
Posts: 117
Rep:
|
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?
|
|
|
02-16-2005, 01:47 AM
|
#8
|
LQ Newbie
Registered: Jan 2005
Location: Brockville, ON, Canada
Distribution: Slackware 10.2
Posts: 11
Rep:
|
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 
|
|
|
02-16-2005, 05:23 AM
|
#9
|
Member
Registered: Dec 2004
Location: Jacksonville, AR
Distribution: Debian Etch, AIX, Slackware
Posts: 117
Rep:
|
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.
|
|
|
02-28-2005, 01:43 PM
|
#10
|
LQ Newbie
Registered: Feb 2005
Posts: 1
Rep:
|
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
|
|
|
03-20-2005, 07:14 PM
|
#11
|
LQ Newbie
Registered: Mar 2005
Distribution: xandros
Posts: 1
Rep:
|
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
|
|
|
03-20-2005, 08:42 PM
|
#12
|
Senior Member
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658
Rep:
|
//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.
|
|
|
03-21-2005, 05:12 AM
|
#13
|
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107
Rep:
|
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.
|
|
|
03-21-2005, 12:40 PM
|
#14
|
Senior Member
Registered: Sep 2003
Posts: 3,171
Rep: 
|
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.
|
|
|
03-22-2005, 02:43 AM
|
#15
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:45 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|