Short Name |
DNS:OVERFLOW:BIN |
|---|---|
Severity |
Critical |
Recommended |
Yes |
Recommended Action |
Drop |
Category |
DNS |
Keywords |
dns bin |
Release Date |
2006/01/24 |
Update Number |
1213 |
Supported Platforms |
di-5.3+ |
This signature detects DNS packets containing executable file paths. This almost always indicates that an exploit attempt is being made to spawn a command-line; thus allowing attackers to execute commands on the DNS server.
BIND is a server program that implements the domain name service protocol. It is in extremely wide use on the Internet, in use by most of the DNS servers. Version 8 of BIND contains a overflow that may be exploitable to remote attackers. Due to a bug that is present when handling invalid transaction signatures, it is possible to overwrite some memory locations with a known value. If the request came in via the UDP transport then the area partially overwriten is a stack frame in named. If the request came in via the TCP transport then the area partically overwriten is in the heap and overwrites malloc's internal variables. This can be exploited to execute shellcode with the privileges of named (typically root).