The new docs.trellix.com offers a modernized UI and AI-powered features like conversational searches. Content is currently available only in English. Other languages will be available in mid-October 2026. We hope you enjoy the new experience.

Prevent changing registry value

Prev Next

This Expert rule prevents changing the registry value available in the hive HKLMS\test through the Registry Editor.

Note

Exploit Prevention is not supported in the ARM architecture.

Important

Make sure to validate this rule in a client test system before enforcing it wider.

Rule {
	Process {
		Include OBJECT_NAME {
			-v regedit.exe
		}
	}
Target {
	Match KEY {
		Include OBJECT_NAME {
			-v "HKLMS\\test**"
		}
		Include -access "CREATE WRITE DELETE REPLACE_KEY RESTORE_KEY"
		}
	}
}

For more Expert Rules examples, visit the Trellix Github repository.