intercity-next icon indicating copy to clipboard operation
intercity-next copied to clipboard

Add Tripwire system

Open jvanbaarsen opened this issue 7 years ago • 8 comments

In order to improve security, we want to monitor the state of our servers. This includes adding a tripwire system that keeps monitoring certain files to see if they get modified. A possible system for this can be Tripwire.

jvanbaarsen avatar Jan 27 '17 11:01 jvanbaarsen

I think that a tool like "rkhunter" includes both service/port scanning, file scanning and known exploit scanning. So with running something like rkhunter, you have all tools in one.

michiels avatar Jan 27 '17 12:01 michiels

I believe there is a subtle difference in rkhunter and Tripwire. Tripwire acts as an Intrusion detection system, RKHunter mainly checks for rootkits. I have to dive deeper into this matter. I'll report back here when I have more info.

jvanbaarsen avatar Jan 27 '17 12:01 jvanbaarsen

@michiels I think it makes sense to run both.

jvanbaarsen avatar Jan 27 '17 12:01 jvanbaarsen

@jvanbaarsen Allright. I've already done some research towards this, so if you have anything that you think Tripwire does on top of RKHunter, then I'm happy to hear!

michiels avatar Jan 27 '17 12:01 michiels

@michiels Tripwire checks a full set of files and checks if they have been modified. What I've seen so far is that RKHunter checks against a known list of rootkits, and only checks for those instances.

jvanbaarsen avatar Jan 27 '17 12:01 jvanbaarsen

Downside of Tripwire is that it takes a lot of configuration work.

jvanbaarsen avatar Jan 27 '17 12:01 jvanbaarsen

@jvanbaarsen Ok, my experience is that rkhunter checks for all system files that have been installed when you "snapshotted" your system, and you can exclude paths that you know are going to change (because of deployments for example). But, we can test them both as part of this issue!

michiels avatar Jan 27 '17 12:01 michiels

@michiels Yeah, I have now configured Tripwire on a new server, will also install RKHunter besides it. We can then see which gives the best result.

jvanbaarsen avatar Jan 27 '17 12:01 jvanbaarsen