2 - Telnetd rules for OSSEC.
4 - License: http://www.ossec.net/en/licensing.html
8 <group name="syslog,telnetd">
9 <rule id="5600" level="0" noalert="1">
10 <match>telnetd</match>
11 <description>Grouping for the telnetd rules</description>
14 <rule id="5601" level="5">
16 <match>refused connect from </match>
17 <description>Connection refused by TCP Wrappers.</description>
20 <rule id="5602" level="3">
22 <match>: connect from </match>
23 <description>Remote host established a telnet connection.</description>
26 <rule id="5603" level="5" timeframe="1">
27 <match>ttloop: peer died:|ttloop: read:</match>
28 <if_matched_sid>5602</if_matched_sid>
29 <description>Remote host invalid connection.</description>
32 <rule id="5604" level="5">
33 <match>warning: can't verify hostname:</match>
34 <description>Reverse lookup error (bad hostname config).</description>
37 <rule id="5631" level="10" frequency="6" timeframe="120">
38 <if_matched_sid>5602</if_matched_sid>
40 <description>Multiple connection attempts from same source </description>
41 <description>(possible scan).</description>
44 </group> <!-- SYSLOG,TELNETD -->