Policies¶
Policies are patterns definitions facilitating proactive session monitoring. In case a defined pattern is detected, Fudo PAM can automatically pause or terminate given connection, block the user and send notification to Fudo PAM administrator.
Defining patterns
Note
Fudo PAM supports POSIX extended regular expression.
- Select > .
- Select Regular expressions tab.
- Click .
- Enter pattern name.
- Define the pattern itself.
Note
- Patterns can be defined as regular expressions.
- Fudo PAM does not recognize expressions which use backslash character, e.g.
\d
,\D
,\w
,\W
.
- Repeat steps 3-5 to define additional patterns.
- Click .
Note
Regular expressions examples
Command rm
(^|[^a-zA-Z])rm[[:space:]]
Command rm -rf
(also -fr
; -Rf
; -fR
)
(^|[^a-zA-Z])rm[[:space:]]+-([rR]f|f[rR])
Command rm file
(^|[^a-zA-Z])rm[[:space:]]+([^[:space:]]+[[:space:]]*)?/full/path/to/a/file([[:space:]]|\;|$)
(^|[^a-zA-Z])rm[[:space:]]+.*justafilename
Defining policies
- Select > .
- Click .
- Enter policy name.
- Select actions.
- - send email notification to system administrator.
- - pause connection.
- - terminate connection.
- - block user.
Note
- Sending email notifications requires configuring and enabling notification service as well as Session policy match notification enabled in safe configuration.
- Note that blocking the user automatically terminates the connection.
- Select monitored patterns.
- Select policy severity.
Note
Severity parameter value is included in the email notification message.
- Select the Match input only option to process input stream only.
Note
In RDP, VNC and MySQL protocols only input data is processed.
- Click .
Note
After defining a policy, you can assign it to a safe that is used to establish connections to servers.
Deleting patterns
- Select > .
- Select the Regular expressions tab.
- Find desired pattern definition and select the Delete option.
- Click .
Deleting policies
To delete policy definition, proceed as follows.
- Select > .
- Find desired policy definition and select corresponding Delete option.
- Click .
Related topics: