A set of Registry values (Windows only).
These are XML attributes of the tag itself, as opposed to the attributes of the Entity monitored by Integrity Monitoring Rules.
| Attribute | Description | Required | Default Value | Allowed Values |
| base | Sets the base key of the RegistryValueSet. Everything else in the tag is relative to this key. The base must begin with one of the registry branch names: HKEY_CLASSES_ROOT (or HKCR), HKEY_LOCAL_MACHINE (or HKLM), HKEY_USERS (or HKU), HKEY_CURRENT_CONFIG (or HKCC) |
Yes | N/A | String values resolving to syntactically valid registry key |
These are the attributes of the Entity that can be monitored by Integrity Monitoring Rules:
Registry Values are name/value pairs stored under a key in the registry. The key under which they are stored may in turn be stored under another key, very much like files and directories on a file system. For the purpose of this language the "key path" to a value is considered to look like the path to a file. For example, the "key path" to the InstallationFolder value of the Agent would be:
HKEY_LOCAL_MACHINE\SOFTWARE\Trend Micro\Vulnerability ProtectionDeep Security Agent\InstallationFolder
The "key" value for includes/excludes for the RegistryValueSet is matched against the key path. This is a hierarchical pattern, with sections of the pattern separated by "/" matched against sections of the key path separated by "\"
Each registry key has an unnamed or default value.
This is present for legacy support: http://blogs.msdn.com/oldnewthing/archive/2008/01/18/7145021.aspx
This value can be explicitly specified for inclusion/exclusion by using a trailing "/" in patterns. For example, "**/" will match all subordinate unnamed values, and "*Agent/**/" will match all unnamed values below a key matching "*Agent".
The Agent deals with this in Entity key names by using backslash as an escape character, but only backslashes themselves are escaped. It does this so that it can tell the difference between a value name containing a backslash and a backslash that occurs as part of the registry path. This means that value names which end with a backslash character will match rules designed to match the default/unnamed value.
See the table below for example registry value names and the resulting Entity key.
| Value | Escaped Form | Example |
| Hello | Hello | HKLM\Software\Sample\Hello |
| "Quotes" | "Quotes" | HKLM\Software\Sample\"Quotes" |
| back\slash | back\\slash | HKLM\Software\Sample\back\\slash |
| trailing\ | trailing\\ | HKLM\Software\Sample\trailing\\ |
| HKLM\Software\Sample\ | ||
| @ | @ | HKLM\Software\Sample\@ |
See the general description of include/exclude for their allowed attributes and sub elements.