Search:     Advanced search
server monitoring

Quote of the day

Article ID: 10198
Last updated: 27 Jan, 2009
Views: 375
Posted: 22 Jan, 2009
by: Tech Pubs S.
Updated: 27 Jan, 2009
by: Tech Pubs S.

Quote of the day

This script is Copyright (C) 1999 Mathieu Perrin

FamilyUseless services
Plugin ID10198
Bugtraq ID
CVE IDCVE-1999-0103

Description:

Synopsis :

The quote service (qotd) is running on this host.

Description :

A server listens for TCP connections on TCP port 17. Once a connection
is established a short message is sent out the connection (and any
data received is thrown away). The service closes the connection
after sending the quote.

Another quote of the day service is defined as a datagram based
application on UDP. A server listens for UDP datagrams on UDP port 17.
When a datagram is received, an answering datagram is sent containing
a quote (the data in the received datagram is ignored).

An easy attack is pingpong which IP spoofs a packet between two machines
running qotd. This will cause them to spew characters at each other,
slowing the machines down and saturating the network.

Solution :

- Under Unix systems, comment out the qotd line in /etc/inetd.conf
and restart the inetd process

- Under Windows systems, set the following registry keys to 0 :
HKLMSystemCurrentControlSetServicesSimpTCPParametersEnableTcpQotd
HKLMSystemCurrentControlSetServicesSimpTCPParametersEnableUdpQotd

Then launch cmd.exe and type :

net stop simptcp
net start simptcp

To restart the service.

Risk factor :

None
This article was:   Helpful | Not Helpful
Prev   Next
IRC Bouncer Detection     Daytime Service Detection