Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

We have a hacker occasionally attempting to hack a site, and so far unsuccessful, but I would like a way to determine if the site has been compromised (i.e., files edited). The type of attacks are LFI and attempting to inject iFrames in some source files. What can I install on my Debian server to alert me via an e-mail if certain files or directories are modified?

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

You can install Tripwire and introduce a set of dicrectory to Tripwire, When a file has been changed, Tripwire notifies sysadmin.

share|improve this answer
    
Thank you @MohsenPahlevanzadeh. I will ask my sys admin to install. –  Kobus Myburgh Feb 27 at 12:02
    
does TripWire require root access? According to my sysadmin they will not install software on the server that require root access? –  Kobus Myburgh Feb 27 at 12:06
    
for installation yes, –  Mohsen Pahlevanzadeh Feb 27 at 12:07
    
However i don't try to compile tell him/her to try compile it. –  Mohsen Pahlevanzadeh Feb 27 at 12:08
    
Thanks, Mohsen. Much appreciated. –  Kobus Myburgh Feb 27 at 12:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.