pentesting-ntp

Tests NTP services for monlist amplification, query leakage, NTS-KE weaknesses, and known CVEs.

954|172|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/xalgord/xalgorix --skill pentesting-ntp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pentesting-ntp
Source: https://github.com/xalgord/xalgorix/tree/main/internal/tools/skills/data/network-services-pentesting/pentesting-ntp
Command: npx skills add https://github.com/xalgord/xalgorix --skill pentesting-ntp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Network Time Protocol services are frequently misconfigured, exposing DDoS amplification vectors, internal topology disclosure, and time-manipulation attack surfaces that standard scans overlook. This Skill provides a structured methodology to enumerate, verify, and document NTP vulnerabilities during authorized penetration tests.

Core Features & Use Cases

  • Amplification Detection: Confirms Mode-7 monlist exposure (up to 200x amplification) using ntpdc, nmap NSE scripts, and zgrab2 mass scanning.
  • Query & Control Leakage Testing: Checks remote ntpq/ntpdc/chronyc access that discloses peers, associations, and system variables when noquery restrictions are missing.
  • NTS-KE & CVE Assessment: Inspects TLS on port 4460 for weak certificates and ciphers, and maps daemon versions (ntpd, chrony, ntpd-rs) to known CVEs like CVE-2023-26551..26555 and CVE-2023-33192.
  • Use Case: During an external pentest, you discover 123/udp open on an edge server. Use this Skill to confirm monlist is enabled, document the amplification ratio, and produce a remediation-ready finding report.

Quick Start

Use the pentesting-ntp skill to enumerate and test the NTP service on target 192.168.1.10 for monlist amplification and query leakage.

Frequently Asked Questions about pentesting-ntp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if an NTP server is vulnerable to monlist amplification?

Run ntpdc -c monlist against the target IP; a populated host list confirms exposure. Alternatively use nmap -sU -p123 --script ntp-monlist or zgrab2 ntp --monlist for mass scanning with JSON output.

How to enumerate NTP servers with nmap?

Use nmap -sU -sV --script "ntp* and (discovery or vuln) and not (dos or brute)" -p 123 against the target. This identifies the daemon version and runs safe discovery and vulnerability scripts without triggering DoS or brute-force checks.

What is the difference between ntpq and ntpdc for NTP testing?

ntpq uses Mode-6 queries to read server variables, peers, and associations, while ntpdc uses legacy Mode-7 control commands including the abused monlist query. Mode-7 is often disabled in ntpd 4.2.8p9 and later.

Does NTS-KE on port 4460 have known vulnerabilities?

Yes. NTS-KE listeners may present self-signed or expired certificates and non-AEAD cipher suites. CVE-2023-33192 affects ntpd-rs versions before 0.3.3, where malformed NTS cookies crash the daemon even when NTS is disabled.

Why does ntpdc monlist return nothing on modern NTP servers?

ntpd versions 4.2.8p9 and later typically disable Mode-7 control commands by default, and the disable monitor directive explicitly kills monlist responses. An empty result or timeout indicates the amplification vector is mitigated.

What are the limitations of remote NTP security testing?

Remote testing cannot directly demonstrate time-shift MITM attacks, which require on-path packet manipulation in a lab setting with tools like BetterCap. Amplification findings should be documented but never weaponized against third parties.