Attacks & threats
8 min readUpdatedNTP amplification attacks: monlist, factor and fix
Quick answer
An NTP amplification attack is a reflection DDoS that abuses the old monlist command on public NTP servers (UDP port 123). An attacker sends a tiny request with the victim's address spoofed, and the server replies with a list of up to 600 recent clients, far larger than the request. US-CERT lists a bandwidth amplification factor of 556.9. The flaw is CVE-2013-5211, fixed in ntpd 4.2.7p26, which disabled monlist; adding noquery or running chrony or NTPsec also closes it.
01What is an NTP amplification attack?
It is a reflection and amplification attack that uses public NTP time servers as unwitting amplifiers. The attacker sends a small UDP request to a vulnerable NTP server but forges the source address so it reads as the victim's. The server's reply, much larger than the request, is sent to the victim. Repeated across thousands of servers, the replies add up to a flood the victim never asked for.
The abused feature is monlist, an old monitoring query (NTP mode 7) that returns a list of up to the last 600 addresses that contacted the server. One short request triggers a far larger answer, which is what makes it such an effective amplifier. The underlying weakness is tracked as CVE-2013-5211.
NTP amplification is one of a family of UDP reflection attacks. The same pattern appears with DNS, memcached, SSDP and others, all covered in the overview of amplification attacks. What they share is a connectionless protocol on UDP whose replies are larger than its requests and whose source address is never verified.
02How big is the amplification?
US-CERT's alert TA14-017A lists a bandwidth amplification factor of 556.9 for the NTP monlist command, meaning the reply can carry roughly 557 times as many payload bytes as the request. The figure depends on how full the list is: CERT/CC's note VU#348126 cites factors of up to 3,660 and 5,500 for the two monlist request types, while Cloudflare estimated a fully populated reply at about 206 times the request.
The real-world effect is dramatic. In February 2014 Cloudflare documented a roughly 400 Gbps NTP attack that used 4,529 NTP servers across 1,298 networks, each contributing about 87 Mbit/s. Working from its 206-times figure, Cloudflare noted that an attacker with a 1 Gbit/s connection could in theory generate more than 200 Gbit/s. That is the whole point of reflection: the attacker's own bandwidth is multiplied hundreds of times.
| Protocol | Bandwidth amplification factor | Abused request |
|---|---|---|
| NTP | 556.9 | monlist (mode 7), CVE-2013-5211 |
| DNS | 28 to 54 | ANY / large zone query to open resolver |
| Memcached | 10,000 to 51,000 | stats / get on exposed UDP 11211 |
03What does the traffic look like?
To the victim, NTP amplification arrives as a flood of UDP packets with a source port of 123 that it never solicited, many of them far larger than a normal time reply. There is no handshake and no matching outbound request. A packet capture filtered to UDP source port 123 shows the reflected replies; large replies in particular stand out.
On a server that is being used as a reflector, the sign is the opposite: a stream of small mode 7 requests from many spoofed addresses, each answered with a large monlist reply. The capture below reads traffic only and is safe to run on your own host. Never aim any of this at a server you do not control.
# inbound NTP replies you never requested (source port 123)
tcpdump -ni eth0 'udp src port 123'
# large NTP replies specifically: monlist answers dwarf a normal time reply
tcpdump -ni eth0 'udp src port 123 and greater 200'
# if your own box is being used as a reflector: mode-7 requests arriving
tcpdump -ni eth0 'udp dst port 123'04How do I check whether my server is an open NTP reflector?
Two things make a server abusable: an old ntpd that still answers monlist, and a configuration that answers status queries from anyone. Check both, and only against your own server. Querying third-party NTP servers with monlist is how the attack is staged and should never be done.
On a classic ntpd, the historical test is an ntpdc monlist query against localhost; if it returns a client list, monlist is live. Modern NTP software removes this: NTPsec removed ntpdc and merged its functions into ntpq, and chrony never spoke the ntpd mode 6 or 7 protocols at all, so ntpq and ntpdc cannot query it. The safest external check is the Nmap ntp-monlist script run against your own address.
# classic ntpd: does monlist still answer on localhost?
ntpdc -n -c monlist 127.0.0.1 # a client list means monlist is enabled
# external check against your own IP only, never a third party
nmap -sU -p 123 --script ntp-monlist YOUR.SERVER.IP
# ntp.conf: refuse status/monitor queries by default (US-CERT TA14-013A line)
# leave out 'limited' here: it switches the monitor facility back on
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict ::1
disable monitor # drops the ntpdc monlist feature specifically05How do I fix it?
The complete fix is to stop answering monlist. CVE-2013-5211 was resolved in ntpd 4.2.7p26 (April 2010), which disables the two monlist request types. That was a development release, and CERT/CC noted that the 4.2.6 production branch stayed vulnerable, so many servers were only fixed by later upgrades. In the current 4.2.8 series the traffic list is read with ntpq's mrulist command, and mode 7 requests are ignored unless enable mode7 is set. Any current ntpd, chrony or NTPsec build is past this point. Upgrading is the first and best step.
If you must run an older ntpd for a while, close the behaviour in configuration. Add noquery to the default restrict line so the daemon refuses status and monitoring queries from outside, and add disable monitor to drop the monlist feature specifically. Restart ntpd after editing ntp.conf. Most hosts do not need to be NTP servers at all: if the machine only needs the correct time, a client-only time daemon never opens the server port to the internet.
Modern daemons default to safe behaviour. Debian's ntpsec package ships a default restrict line that already carries noquery, and chrony does not act as a server at all unless an allow directive is added; its monitoring protocol is not the ntpd mode 6 or 7 protocol. Migrating to either removes the whole class of problem.
- Upgrade to a current ntpd release (the 4.2.8 series or later), or move to chrony or NTPsec, which close monlist by design
- On older ntpd, add noquery to the default restrict line and set disable monitor, then restart
- If the host is not meant to be a time server, run a client-only configuration so the server port is never open to the world
- Ask your network provider to apply source-address filtering (BCP 38) so spoofed packets cannot leave in the first place
pool 2.debian.pool.ntp.org iburst
# only answer NTP clients in your own network; default is client-only
allow 192.0.2.0/24
# rate-limit responses so the box is useless as an amplifier
ratelimit interval 1 burst 16
# no network command port at all (it listens on localhost by default);
# chronyc still works locally as root over chrony's Unix socket
cmdport 006What can a provider or firewall do, and what can it not?
For the victim, NTP amplification is a volumetric, bandwidth problem: by the time the reflected packets reach your link they have already consumed its capacity, so a local firewall that drops them changes nothing. The flood has to be absorbed upstream, on a network with far more capacity than the attack, which is the job of DDoS mitigation rather than an on-box rule. A host firewall cannot stop a flood that saturates the uplink.
For the operator of an NTP server, the firewall and configuration are exactly where to act: close monlist, rate-limit responses, and do not expose the server port unless the box is meant to serve time. The two roles are different. Being a victim is about upstream capacity; being a reflector is about not answering abusable queries. Fixing every reflector is what eventually drains the attack of its amplifiers.
| Measure | Helps the victim? | Helps stop reflection? |
|---|---|---|
| Upstream scrubbing with spare capacity | Yes | n/a |
| Local firewall dropping UDP 123 | No (link already full) | n/a |
| Upgrade NTP / noquery / disable monitor | n/a | Yes, removes the amplifier |
| Response rate limiting on the NTP server | n/a | Yes, caps its usefulness |
| BCP 38 source-address filtering | Indirectly | Yes, blocks spoofing at source |
07Timeline
| Date | Event |
|---|---|
| 24 Apr 2010 | ntpd 4.2.7p26 (development branch) disables the monlist requests; 4.2.6 stays vulnerable |
| Dec 2013 | monlist reflection exploited in the wild, per the NVD record |
| 2 Jan 2014 | NVD publishes CVE-2013-5211 (CVSS v2 5.0) |
| 13 Jan 2014 | US-CERT alert TA14-013A on NTP amplification using CVE-2013-5211 |
| 10 Feb 2014 | Cloudflare mitigates a ~400 Gbps NTP attack from 4,529 reflectors (write-up 13 Feb) |
Questions
Frequently asked questions
- 01What is the NTP monlist command?
- monlist is an old NTP monitoring query, part of the mode 7 protocol, that asks a server for a list of up to the last 600 addresses that contacted it. It was meant for diagnostics. Because one short request produces a far larger reply, it became the ideal amplifier for reflection attacks. ntpd 4.2.7p26 disabled it, and current releases read the same data with the ntpq mrulist command instead.
- 02What port does NTP amplification use?
- UDP port 123, the standard NTP port. The attacker sends requests to port 123 on public NTP servers with the victim's address spoofed as the source, and the servers send their larger replies to the victim, also from port 123. To the victim it looks like unsolicited UDP traffic with a source port of 123 and no matching outbound request.
- 03What is the NTP amplification factor?
- US-CERT's alert TA14-017A lists a bandwidth amplification factor of 556.9 for the NTP monlist command, so the reply carries roughly 557 times the payload bytes of the request. In practice that let attackers with modest bandwidth generate hundreds of gigabits per second, as in the roughly 400 Gbps NTP attack documented in February 2014. Factors vary with the server's data and configuration.
- 04How do I stop my server being used for NTP amplification?
- Upgrade to a current ntpd release, since 4.2.7p26 and later disable monlist, or run chrony or NTPsec, which do not expose the abusable queries. On an older ntpd, add noquery to the default restrict line and set disable monitor, then restart. If the host does not need to serve time to others, run a client-only configuration so the NTP server port is never open to the internet.
- 05Can a firewall stop an NTP amplification attack hitting me?
- Not if it runs on the target itself. By the time the reflected packets reach your link, they have already used up its bandwidth, so dropping them locally does not help. Volumetric reflection has to be absorbed upstream on a high-capacity network. A firewall is useful on the NTP server side, to stop your own server being used as a reflector.
Sources
Sources and verification
Checked on 13 November 2026 on Debian 12: the capture filters in “What does the traffic look like?” compile with tcpdump -d (tcpdump 4.99.3). Other configuration, commands, log lines and output on this page are examples: adapt them to your system and check them before use.
- 01Alert TA14-017A: UDP-Based Amplification Attacks (NTP factor 556.9) · CISA / US-CERT
- 02Alert TA14-013A: NTP Amplification Attacks Using CVE-2013-5211 · CISA / US-CERT
- 03NVD - CVE-2013-5211 · NVD
- 04NTP security notice: DRDoS / amplification using ntpdc monlist (bug 1532) · NTP Project
- 05Technical Details Behind a 400Gbps NTP Amplification DDoS Attack · Cloudflare
- 06RFC 2827 (BCP 38): Network Ingress Filtering · IETF
- 07VU#348126: NTP can be abused to amplify denial-of-service attack traffic · CERT/CC
- 08ntpd miscellaneous options (enable/disable mode7, monitor, limited) · NTP Project
- 09chrony FAQ (mode 6/7 compatibility, cmdport 0) · chrony
- 10NTPsec: differences from NTP Classic (ntpdc removed) · NTPsec
Last updated