Automated Response
How Automated Response Works in
Table | Additional Arguments Passed to Response Programs for Race | ||||
|
| Condition Template Alerts |
| ||
|
|
|
|
|
|
| Response |
| Alert Data | Alert |
|
| Program | Alert Field | Value/For | Description | |
| Type | ||||
| Argument |
| mat |
| |
|
|
|
| ||
|
|
|
|
|
|
| argv[33] | Attacked | String | <full | Full pathname of program under attack |
|
| Program |
| pathname> |
|
|
| Pathname |
|
|
|
|
|
|
|
|
|
| argv[34] | Attacked | Integer | <type> | File type of program under attack. |
|
| Program |
|
| Corresponds to an enum vtype value defined |
|
| File Type |
|
| in vnode.h |
|
|
|
|
|
|
| argv[35] | Attacked | Integer | <mode> | Mode of program under attack |
|
| Program |
| (decimal) |
|
|
| Mode |
|
|
|
|
|
|
|
|
|
| argv[36] | Attacked | Integer | <uid> | Owner of program under attack (uid) |
|
| Program |
|
|
|
|
| Owner |
|
|
|
|
|
|
|
|
|
| argv[37] | Attacked | Integer | <gid> | Group of program under attack (gid) |
|
| Program |
|
|
|
|
| Group |
|
|
|
|
|
|
|
|
|
| argv[38] | Attacked | Integer | <inode> | Inode number of program under attack |
|
| Program |
|
|
|
|
| Inode |
|
|
|
|
|
|
|
|
|
| argv[39] | Attacked | Integer | <device> | Device number of program under attack |
|
| Program |
|
|
|
|
| Device |
|
|
|
|
|
|
|
|
|
| argv[40] | Attacked | Integer | <argc> | Number of arguments passed to program |
|
| Program |
|
| under attack (e.g., argc). |
|
| Number of |
|
|
|
|
| Arguments |
|
|
|
|
|
|
|
|
|
| argv[41] | Attacked | Integer | <argv[0]> | Program arguments of program under attack |
|
| Program |
| <argv[1]> | (first 1024 characters) |
|
| Arguments |
| .... |
|
|
|
|
|
|
|
Table | Environment Variables Set for Response Programs | ||
|
|
|
|
| Name | Value | Description |
|
|
|
|
| HOME | /opt/ids | Home directory |
|
|
|
|
| IDS_BASE | /opt/ids | Default installation location |
|
|
|
|
| IDS_ETC | /etc/opt/ids | Configuration file directory |
|
|
|
|
| IDS_VAR | /var/opt/ids | Temporary file location |
|
|
|
|
| IFS | \t\n | Tab, newline: separator string |
|
|
|
|
188 | Appendix B |