Created
August 21, 2024 17:48
-
-
Save jrelo/93514c4cc4ed8011d0b3e84c0334ffc6 to your computer and use it in GitHub Desktop.
dns tcpdumps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DNS error responses: | |
sudo tcpdump -vv -i any port 53 and '(udp[10] & 0x80 != 0) and (udp[11] & 0x0F > 0)' | |
SPecific query types: | |
sudo tcpdump -vv -i any port 53 and 'udp[12:2] = 0x0100' | |
Long response times: | |
sudo tcpdump -vv -i any port 53 and greater 500 | |
Malicious UDP traffic | |
sudo tcpdump -vv -i any not port 53 and 'udp[12:2] = 0x0100' | |
Specific domains: | |
sudo tcpdump -vv -i any port 53 and host example.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment