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 file creation in a network path

Prev Next

This example rule prevents cmd.exe from creating files in a network path.

Note

Exploit Prevention is not supported in the ARM architecture.

Rule {
	Process {
		Include OBJECT_NAME { -v cmd.exe  }
	}
	Target {
		Match FILE {
			Include OBJECT_NAME { -v ** }
   Include -file_properties "FILE_NETWORK"
   Include -access "CREATE"
		}
	}
}

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