// HackTricks · Network Services

7/TCP/UDP - Pentesting Echo Service

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

☧ CPTS · ordered posts

Locked

Unlock with your Main_Key through local GPG.

Start the local GPG helper

In your cheatsheet checkout, run:

npm run unlock:helper

Open the link it prints, or paste its pairing code below. Keep the terminal open until GPG finishes.

Import an index you already decrypted

Download the encrypted index, then decrypt with GPG:

gpg --output report-index.json --decrypt report-index.gpg

Your private key stays in GPG. The decrypted index is saved in this browser so you can reopen it after navigation, refreshes and restarts. Lock this browser or clear this site's browser data to remove the saved index. Nothing is uploaded.