-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Labels
Type: QuestionA query or seeking clarification on parts of the spec. Probably doesn't need the attention of all.A query or seeking clarification on parts of the spec. Probably doesn't need the attention of all.
Description
Currently, the default state for HTTPX/Naabu/Nuclei is to use a set of default resolvers for DNS as defined in the DefaultResolvers variable within options.go in fastdialer.
// DefaultResolvers trusted
var DefaultResolvers = []string{
"1.1.1.1:53",
"1.0.0.1:53",
"8.8.8.8:53",
"8.8.4.4:53",
}
This is a deviation from the expected behavior, which is to use the host systems DNS configuration as a default. This is, for example, the way curl works.
There are a few significant drawbacks to doing this.
- When doing an internal scan, some organizations block outgoing DNS requests that aren't going to their own DNS servers.
- When conducting an internal red team style engagement where stealth is a factor, seeing a large number of DNS requests to 8.8.8.8, 1.1.1.1, .etc, may be a red flag for network defenders in an environment where DNS servers are explicitly set.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: QuestionA query or seeking clarification on parts of the spec. Probably doesn't need the attention of all.A query or seeking clarification on parts of the spec. Probably doesn't need the attention of all.