exclude
Manage Windows Defender path exclusions. Adds specified paths to the Windows Defender exclusion list to prevent detection and deletion of R4t artifacts and payloads.
Platform: Windows only. This command modifies the Windows Registry at HKLM\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths.
Usage
Subcommands
exclude path
Add one or more paths to the Windows Defender exclusion list.
| Flag | Short | Description |
|---|---|---|
--paths | -p | Path(s) to exclude (repeatable) |
How It Works
R4t writes directly to the Windows Registry key:REG_DWORD value with value 0.
Requires elevated privileges. Run R4t as Administrator or with the SeLoadDriverPrivilege right to modify Defender settings.
Automatic Exclusion
When running on Windows, R4t can automatically exclude its artifacts directory on startup. Theexclude command provides the manual interface for adding additional paths as needed.
