Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I made my own firewall using Fedora and Shorewall. I use SSH to login and administer the firewall, as needed.
Of course when looking in the /var/log folder, I see numerious attempts to log into root, and other accounts, using what has to be a dictonary of names.
Now here is my question. Not only do I want to see that user names were used to try and login, I would like to see what passwords were used for each attempt. This does not seem to be happening now. Is there a way to have this information logged?
Instead of trying to capture passwords (which would be difficult with ssh, and set you to fighting with the password security of your own system at best) why not set up to ensure that all attempts will fail from any IP address initiating such activity? (for a 24 hours perhaps, after a certain number of failures)
Thus more secure, and what passwords they try are irrelevant (unless they guess the right one very quickly).
I really like the thought of the bad-guys zombies spinning their wheels for days at a time on a lost cause, which ties them up and gives them less time to attack vulnerable targets.
@Weinie, there are many projects and studies on the 'net that analyze commonly attempted passwords. You might try a few searches and see what you can come up with.
I don't know of a way to make sshd(8) report passwords, even with the highest debug level turned on. And that's a very good thing. There may be honeypot utilities you can install to glean this info on a (phony) system / service.
In any case, I recommend that you do some research on existing data rather than reinventing the wheel.