Help With File Integrity Monitoring on cPanel

SJR

Active Member
Jan 2, 2017
38
8
8
USA
cPanel Access Level
Website Owner
To protect against formjacking and other security risks I would like to monitor certain folders / files on my cPanel server.
Is there any preferred software that can do this, or can CSF / LFD be configured to monitor specified directories and / or files?
After a cPanel version update I see the email message "System Integrity has detected modified file(s)".
How can I set up specific folders or files to be included in this file monitoring service?
Any help or feedback would be greatly appreciated.
 

quietFinn

Well-Known Member
Feb 4, 2006
1,276
114
193
Finland
cPanel Access Level
Root Administrator
In CSF configuration in Directory Watching & Integrity -> LF_DIRWATCH_FILE :
Code:
This option allows you to have lfd watch a particular file or directory for
changes and should they change and email alert using watchalert.txt is sent

To enable this feature set the following to the checking interval in seconds
(a value of 60 would seem sensible) and add your entries to csf.dirwatch
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,266
313
Houston