A
A
akelsey2019-11-11 18:09:31
linux
akelsey, 2019-11-11 18:09:31

Can you suggest a Linux folder auditing system?

There is a folder / var / www - where a bunch of sites are located, on completely different CMS.
Somehow it got infected - (through joomla I guess) - and the malicious redirect appeared on all sites.
Now everything has been cleaned up, it is still difficult to reorganize, a temporary crutch is needed, as in the days of DOS I remember there were antiviruses that checked the checksum of changed files at each boot.
The same thing is needed now under Linux, with a flexible system of exclusion folders. Some kind of script. ON.
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir, 2019-11-11
@akelsey

Usually such a problem is solved from two sides:
Security - in order to prevent all sites from being infected, you need to configure your web server so that each site is a separate user without access rights to files of other sites. to dig towards suphp suexec and similar solutions.
Version control - each site, except for folders with caches and content, is uploaded to the version control system, this will make it easy to figure out if something has changed.

S
Stanislav Bodrov, 2019-11-11
@jenki

Can you suggest a Linux folder auditing system?
Native auditctl.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question