Since some of us know how to get in, I'm sure some of us know how to stop others from getting in.
Alk3
Posted 04 January 2007 - 03:33 PM
Posted 05 January 2007 - 12:12 AM
Posted 05 January 2007 - 01:02 AM
Posted 05 January 2007 - 11:24 AM
Edited by Dirk Chestnut, 10 January 2007 - 11:36 PM.
Posted 05 January 2007 - 04:23 PM
Posted 05 January 2007 - 08:31 PM
I didn't want to go first because whoever did would have to write a really long post.I'm surprised no one posted on this yet...
Posted 07 January 2007 - 03:10 AM
Yeah, those O'Reilly books are king. They have texts on just about anything you can think of.Another thing you should do is write some scripts(doesnt matter in what) to parse your logs from everything to incorrect logins to failed ssh attemps and so on. You can then set them up as cron jobs so you dont have to go through massive ammounts of data to see what is happening on your machine. O'Reilly has some good bocks on this topic(as they have good books on almost anything you can think of) There some good online guides for this too, yet I cant remember them at this time... If they come to me I'll post them up for you.
While on the subject of parsing logs I should also suggest using a intrusion detection system such as Snort. I have even seem some people(not sure how well it worked for them) set up TCPSpy and configure it just to log 'suppicious' activity.
Hope that helps a tad.
How would I go about setting this up? I have the mail server set up. Would I just have the recipient be username@hostname.com?There will always be some time between a successful compromise and a fully rooted system. That is the time that I have the system start sending me continuous emails which contain bash_history and the system logs. You are root so bash_history shouldn't be changing unless you are logged in.
Posted 10 January 2007 - 01:33 AM
Posted 10 January 2007 - 05:46 AM
Posted 10 January 2007 - 07:05 PM
Posted 19 January 2007 - 05:48 PM
Posted 22 January 2007 - 02:28 PM
Posted 10 February 2007 - 03:09 AM
Posted 13 February 2007 - 05:11 PM
I think you guys have covered most of it very well. I have one thing I'd like to add that may be a bit helpful.
If you go to http://www.cisecurity.org/ you can download a "scoring utility" for various OSes. This scoring utility will present you with a list of recomended changes to make to your system to enhance security.
Basically when you run the application you are given a log of what the scoring utility found, alongside a number. This number corresponds to a section of the included .pdf file. In each section of the .pdf you will find small shell scripts that will actually fix the problem. Some of the stuff the scanner checks is not really required, like warning banners, but all-in-all it's a nice little utility.
If you don't feel like running the scoring utility, the included .pdf is a very good information resource. I haven't looked at the newer releases yet, but the .pdf used to include actual information about why the scoring utility is asking you to change certain things. It's actually a good read
Posted 05 March 2007 - 07:01 PM
Great info! Is there anything like this available in source code? I'd like to compile my own package for later use. Or is there something like this for .deb base Linux distribuitions?
Posted 14 April 2007 - 09:41 PM
Posted 14 April 2007 - 10:14 PM
Posted 14 April 2007 - 10:21 PM
And how is APF any different than Iptables?
Posted 09 May 2007 - 12:20 AM
Since running a dedicated server on the net, I've found some tools that come in handy.
APF, which is a policy based firewall using iptables. You can find it here: http://rfxnetworks.com/apf.php
BFD, which is brute force detection. You can set it to email you when people are trying to brute force your user accounts. http://rfxnetworks.com/bfd.php
R-Fx Networks has some really cool stuff, http://rfxnetworks.com/proj.php
Also, I would install http://www.chkrootkit.org/ for checking for rootkits.
If those two tools you don't like, check out CSF here http://configserver.com/cp/csf.html
I hear people say they like that one better, I'll probably be testing it out later this week.
Posted 10 May 2007 - 02:35 PM
BinRev is hosted by the great people at Lunarpages!