repositories

daemon-sec-cheatsheet

The cheatsheet vault for operators: AD, enumeration, exploitation, priv-esc, web, DFIR

clonegit clone https://git.daemon-sec.xyz/daemon-sec-cheatsheet.git
7-tcp-udp-pentesting-echo.mdMarkdown46 lines1.5 KiBsource raw download

title: "7/TCP/UDP - Pentesting Echo Service" section: "Network Services" sectionSlug: "network-services-pentesting" sourcePath: "src/network-services-pentesting/7-tcp-udp-pentesting-echo.md" sourceUrl: "https://github.com/HackTricks-wiki/hacktricks/blob/188de82beb54e70956b2952367a0af91d26758b8/src/network-services-pentesting/7-tcp-udp-pentesting-echo.md" sha: "188de82beb54e70956b2952367a0af91d26758b8" isIndex: false modified: true license: "CC-BY-NC-4.0"#

7/TCP/UDP - Pentesting Echo Service#

Basic Information#

The Echo Protocol is a diagnostic service that returns received data to its sender. RFC 862 defines both a TCP service and a UDP service on port 7.[1]

Default ports: 7/TCP and 7/UDP

PORT  STATE SERVICE
7/udp open  echo
7/tcp open  echo

An exposed UDP echo service can participate in a denial-of-service loop if it is made to exchange traffic with another UDP character-generating service. CERT's advisory recommends disabling unnecessary UDP diagnostic services and filtering spoofed traffic.[2]

Contact the UDP Echo Service#

nc -uvn <IP> 7
Hello echo    # Sent by the client
Hello echo    # Returned by the server

Shodan#

port:7 echo

References#