|
File security check |
|
|
Objective The aim of this tool is to offer you a complete coverage of file monitoring by allowing you to ensure that file security is respected. With a few clicks, you can monitor the access and rights of groups and users and define who should be alerted if the file content is changed or if security is breached. Create or edit a File security monitoring To create a new File Security monitoring, right-click the File monitoring icon in the PATROL Console and select KM Commands > New > File security check.... To edit an existing File Security monitoring, right-click the File security icon in the PATROL Console and select KM Commands > Edit. Step 1: Selecting the security parameters to monitor The first panel of the File Security wizard allows you to select different file security options.
File Security Check Wizard — Welcome Page
Check the options and click Next to proceed.
Step 2: File’s access rights This panel helps you select the type of alert to be triggered if the file’s access rights do not match the criteria entered. Depending on the operating system the PATROL agent is running on, you may get different options. On UNIX and Linux systems
Windows Service Monitoring Wizard — File Access Rights on UNIX/Linux Systems Choose type of alert: The first dropdown list enables you to choose the type of alert to trigger if the current file mode does not match the "expected" file mode. File access rights: These are the classic file access rights that can be looked up by executing an "ls –l" command. The mode consists of 10 characters, for example, -rwxr-xr-x. The first character indicates the entry type:
The next 9 characters are interpreted as three sets of three characters each which identify access and execution permissions for the owner, group, and others categories. The" – "indicates that permission is not granted. Various permission combinations are possible, except that the x, s, S, t, and T characters are mutually exclusive. The access right characters are interpreted as follows:
On Windows systems The file access rights depend on the Access Control List (ACL) on Windows systems. An ACL is a table that tells a computer operating system the access rights each user has to a particular system object, such as a file directory or individual file. Each object has a security attribute that identifies its access control list. The list has an entry for each system user with access privileges. The most common privileges include the ability to:
Windows Service Monitoring Wizard — File Access Rights on Windows Systems In Windows, an access control list is associated with each system object.
Generally, the system administrator or the object owner creates the access control list for an object. In this panel, you can:
Step 3: Ownership Monitoring Studio can check if the file’s owner is approved.
Windows Service Monitoring Wizard — File Ownership Page Select the type of alert: Do nothing; Trigger an ALARM; Trigger a WARNING; Trigger an INFORMATION Specify whether the file owner is or is not: Specify whether or not the file’s owner should or should not match the specified names. Step 4: File’s group Monitoring Studio checks if a group differs from the specified criteria.
Windows Service Monitoring Wizard — File Group Page Select the type of alert: Do nothing; Trigger an ALARM; Trigger a WARNING; Trigger an INFORMATION Specify whether the file’s group is or is not: Specify whether or not the file’s group matches the specified criteria. Step 5: File’s integrity In this panel, you are simply asked to select the type of alert to trigger when the file’s content is modified.
Windows Service Monitoring Wizard — File Integrity Page Select the type of alert: Do nothing; Trigger an ALARM; Trigger a WARNING; Trigger an INFORMATION Step 6: Monitoring Studio settings
Windows Service Monitoring Wizard — Settings Page PATROL Object Label: Label displayed in the PATROL Console. PATROL Object ID: PATROL internal identifier of this File security monitoring. Although modifiable, it is strongly recommended not to change the default ID. Poll every "x" minutes: Set the polling interval for this monitored object. The default polling interval is 2 minutes.
File security check objects are instances of the SW_FILE_SECURITY class. See Also File > Restart scan from start of file |