How to detect and block possible DNS PTR scanning activity
547
Created On 10/25/22 21:05 PM - Last Modified 08/18/25 21:48 PM
Objective
Showing how to create a custom threat signature so we can detect and possibly block DNS requests of PTR type based on the desired threshold.
Environment
- Palo Alto Firewalls
- Supported PAN-OS
- DNS Pointer (PTR)
- Custom Threat Signature
Procedure
- Create a custom threat signature as per documentation or use KB article How to create a custom threat signature for more visual guidance on the general steps.
-
- Note that operator should be configured as "equal to" and context dns-req-record-type value to 12
- Create brute force signature from the parent custom threat signature from above.
- Create the time attribute based on the threshold desired. In the above case its 100 requests per second.