Preface: DNS NXT record overflowLogo -Internet Security Systems

DNS NXT record overflow

advICE :Intrusions : 2000415
 FAQ
Oh my gosh, I'm being HACKED!!!
How do I report the hacker to my ISP?
I'm seeing lots of attacks, is this normal?
Summary

This is an attempt to exploit the NXT record vulnerability that afflicts many DNS servers. If successful, this gives the attack complete control over the machine.

Details

This attack has become a wide spread plague during the first part of the year 2000. The popularity is due to the fact that the most popular Linux package (RedHat 6.1) is vulnerable to this exploit. BIND versions 8.2 and 8.2.1 are the only ones susceptible to this exploit.

Exploit Details

The way the exploit works is that the hacker sends a DNS query to the victim's DNS server. In order to satisfy the query, the victim connects back to the hacker's DNS server. This DNS server has been specially constructed to reply with a NXT record roughly 6500 characters long. This overflows the victim's DNS server, breaking into it.

The most common exploit for this vulnerability is from ADM. The scripts adm-nxt.c and t666.c are floating around that exploit this hole.

Colloquially, this is known as the ADMROCKS bug, because these scripts create a subdirectory called ADMROCKS. This directory will be placed in the default location where BIND (named) is running. On a default RedHat 6.1 installation, this will be located in /var/named. A directory listing will look something like:

total 10
drwxr-xr-x    3 root     root         1024 Apr  1 11:26 .
drwxr-xr-x   23 root     root         1024 Jan 17 01:55 ..
drwxr-xr-x    2 root     root         1024 Apr  1 11:26 ADMROCKS
-rw-r--r--    1 root     root         2769 May 12  1999 named.ca
-rw-r--r--    1 root     root          422 May 12  1999 named.local
-rw-r--r--    1 root     root         2075 Apr  1 11:13 named_dump.db    

Systems vulnerable

All versions of BIND 8.2 through 8.2.3PL2 are vulnerable. Some popular packages that include vulnerable versions are:

 more information
BugtraqID: 788   Multiple Vendor BIND (NXT Overflow & Denial of Service) Vulnerabilities
 
CERT: CA-99-14-bind   CERTŪ Advisory CA-99-14 Multiple Vulnerabilities in BIND
 
CVE-1999-0833   Buffer overflow in BIND 8.2 via NXT records.
 
E-Mind's NXT-Howto  
 
DNS port probe  
During the first part of the year 2000, we are seeing a large number of port scans for DNS as hackers try to exploit the bug in RedHat 6.1.  
DNS  
More about the DNS service.  

 parametric information
rdlengthThe length of the NXT record

 
Version appeared: 2.0 

Privacy Policy |  Copyright Info