<?xml version="1.0"?>
<!--
#*************************************************************
#
#  Copyright (c) 2003-2007, Bleeding Edge Threats
#  All rights reserved.
#
#  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
#  following conditions are met:
#
#  * Redistributions of source code must retain the above copyright notice, this list of conditions and the following
#    disclaimer.
#  * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
#    following disclaimer in the documentation and/or other materials provided with the distribution.
#  * Neither the name of the nor the names of its contributors may be used to endorse or promote products derived
#    from this software without specific prior written permission.
#
#  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES,
#  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
#  DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
#  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
#  SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
#  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
#  USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
#
# For more information see http://www.bleedingthreats.net
# All convertable rules from Bleeding Sbort are available in this format.
#
#
-->
<NetworkSensorConfiguration daemonize="yes" debug="no" threaded="yes">
   <Device pcap="no" time-out-msec="500" name="DRAGON-DEFAULT">
      <Interface name="eth0"/>
   </Device>
   <SearchEngines search-groups="1" threads-per-group="1" mq-size="1024" buffer-mq="yes" pre-capture-buffer-size="0" pre-capture-all-events="no" adaptive="yes" disable="no"/>
   <PerformanceReport seconds="0" packets="0" sniffer-only="no" no-search="no" 
                packet-length="no" ports-stats="no"/>
   <Heartbeat rate="60" rollover="0"/>
   <SensorConfig name="DRAGON-DEFAULT" default="no">
      <Configuration>
         <ProtectedNetwork internal-same-as-from="no">
            <Network ip="0.0.0.0" mask="24"/>
         </ProtectedNetwork>
         <Logging ring-buffer="yes" alarmlog-file="no" alarmlog-display="no" 
                  local-db="no" swatch="no">
         </Logging>
		 <SNMPTrap disable="yes" object-id="1.3.6.1.4.1.4471"/>
         <ProbeDetection disable="no" verbose="yes" debug="no"
                         protocol-scan="3" protocol-ping="10" 
                         ports-per-host="5" hosts-per-port="5"
                         distributed-ports-per-host="5" distributed-hosts-per-port="5"
                         max-threshold="50000">
            <PortRange low="0" high="1023" direction="toward"/>
            <PortRange low="1032" high="1032" direction="toward"/>
            <PortRange low="1257" high="1257" direction="toward"/>
            <PortRange low="1520" high="1530" direction="toward"/>
            <PortRange low="2049" high="2049" direction="toward"/>
            <PortRange low="2301" high="2301" direction="toward"/>
            <PortRange low="2745" high="2745" direction="toward"/>
            <PortRange low="3127" high="3127" direction="toward"/>
            <PortRange low="3306" high="3306" direction="toward"/>
            <PortRange low="6000" high="6010" direction="toward"/>
            <PortRange low="6112" high="6112" direction="toward"/>
            <PortRange low="6129" high="6129" direction="toward"/>
            <PortRange low="8999" high="8999" direction="toward"/>
            <PortRange low="20168" high="20168" direction="toward"/>
            <PortRange low="32700" high="33430" direction="toward"/>
            <PortRange low="65506" high="65506" direction="toward"/>
         </ProbeDetection>
         <ActiveResponse disable="yes" interface="eth0" tcp-ecm="no"/>
         <Dynamic cushion="0" logging="yes"/>
         <NetworkLayer log-localhost-traffic="yes" same-address="yes" null-address="yes"
                       favor-old="yes" resv-bit="yes" tcp-frag-first-packet="yes"
                       tcp-frag-flags-overlay="yes" frag-small="32"
                       frag-large="yes" options-check="yes" drop-ttl="2" log-ttl="0"
                       max-mtu="1500" max-mtu-verbose="yes" frag-rebuild-hash="3301"
                       disable="no" verbose="no" debug="no" frag-rebuild="yes" frag-rebuild-size="low">
         </NetworkLayer>
         <TCPState max-sessions="50000" action="none" disable="no"/>
         <TransportLayer port-zero="no"
                         syn-data-max="10" syn-nonzero="yes" tcp-options-check="no"
                         syn-bomb-threshold="500" trust="no" disable="no" debug="no"
                         verbose="yes">
            <StreamRebuilding force-rebuild="yes" min-length="3" rebuild-to="yes" 
                              rebuild-from="yes" rebuild-all="yes" session-window="100"
                              disable="no" debug="no" verbose="no" session-window-size="high"
                              session-rebuild-size="high"/>
        <Flags flags="SF"/>
        <Flags flags="SR"/>
        <Flags flags="FSRPAU"/>
        <Flags flags="FSRPU"/>
        <Flags flags="N"/>
        <Flags flags="FUP"/>
        <Flags flags="FSR"/>
         </TransportLayer>
         <RPCAnalysis verbose="no" any-port="no" inbound-only="yes" disable="no" debug="no">
           <PortMacroName name="R"/>
         </RPCAnalysis>
         <TelnetAnalysis debug="no" verbose="no" disable="no" binary="yes" bad-cmd="yes">
           <Port port="23"/>
         </TelnetAnalysis>
         <FTPAnalysis verbose="no" debug="no" disable="no" port-request-check="yes">
            <Port port="21"/>
         </FTPAnalysis>
         <DNSAnalysis verbose="no" debug="no" disable="no">
            <Port port="53"/>
         </DNSAnalysis>
         <FingerAnalysis verbose="no" debug="no" disable="no">
            <Port port="79"/>
         </FingerAnalysis>
         <SNMPAnalysis verbose="no" debug="no" disable="no">
            <Port port="161"/>
         </SNMPAnalysis>
         <HTTPAnalysis verbose="no" unicode="yes" iis-unicode="yes" 
                      multi-method="yes" null-method="no" doc-root="no" fast-analyze="yes" debug="no" disable="no">
            <Port port="80" direction="toward"/>
            <Port port="8080" direction="toward"/>
            <Port port="3128" direction="toward"/>
         </HTTPAnalysis>
         <RIPAnalysis verbose="no" debug="no" disable="no"/>
         <H225Analysis verbose="no" debug="no" disable="no">
         <Port port="1720" />
         </H225Analysis>
         <SIPAnalysis verbose="no" debug="no" disable="no">
         <Port port="5060" />
         </SIPAnalysis>
         <SMBAnalysis log-netbios-session-failures="yes" log-remote-session-attempts="yes" 
                      log-admin-login-attempts="yes" log-null-login-attempts="yes"
                      debug="no" disable="no" verbose="no">
            <Port port="135"/>
            <Port port="445"/>
            <PortRange direction="any" low="137" high="139"/>
         </SMBAnalysis>
         <ICMPAnalysis large="1400" debug="no" disable="no" verbose="no">
         </ICMPAnalysis>
         <DoSCheck verbose="no" debug="no" disable="no"/>
         <CovertChannelAnalysis loki-check="yes" 
                                debug="no" disable="no" verbose="no"/>
        <PortMacro name="W">
                <Port direction="any" port="80" />
                <Port direction="any" port="8080" />
                <Port direction="any" port="3128" />
        </PortMacro>
        <PortMacro name="U">
                <Port direction="any" port="22" />
                <Port direction="any" port="53" />
                <Port direction="any" port="143" />
                <Port direction="any" port="443" />
                <Port direction="any" port="2049" />
        </PortMacro>
        <PortMacro name="N">
                <Port direction="any" port="23" />
                <Port direction="any" port="53" />
                <Port direction="any" port="80" />
                <Port direction="any" port="135" />
                <Port direction="any" port="139" />
        </PortMacro>
        <PortMacro name="X">
                <PortRange direction="any" low="6000" high="6070" />
        </PortMacro>
        <PortMacro name="H">
                <PortRange direction="any" low="1024" high="65535" />
        </PortMacro>
        <PortMacro name="L">
                <PortRange direction="any" low="0" high="1023" />
        </PortMacro>
        <PortMacro name="A">
                <PortRange direction="any" low="0" high="65535" />
        </PortMacro>
        <PortMacro name="M">
                <Port direction="any" port="161" />
                <Port direction="any" port="162" />
                <PortRange direction="any" low="32770" high="32800" />
        </PortMacro>
        <PortMacro name="S">
                <NotPort direction="any" port="22" />
        </PortMacro>
        <PortMacro name="B">
                <NotPort direction="any" port="80" />
        </PortMacro>
        <PortMacro name="P">
                <Port direction="any" port="21" />
                <Port direction="any" port="80" />
                <Port direction="any" port="119" />
        </PortMacro>
        <PortMacro name="Q">
                <PortRange direction="any" low="27900" high="27999" />
        </PortMacro>
        <PortMacro name="T">
                <Port direction="any" port="21" />
                <Port direction="any" port="23" />
        </PortMacro>
        <PortMacro name="R">
                <Port direction="any" port="111" />
                <PortRange direction="any" low="32768" high="32900" />
        </PortMacro>
      </Configuration>
      <NetworkSignatures>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="toward" dynamic-collection="0" port="21" match-neg-port="no" follow-on-sig="no" name="DC:2000499">
        <ExtendedLanguage src-port="any" dst-port="21">
        <Flow direction="target-server" state="established"/>
        <Match match-order="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="/2fcom1/2f"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>SUSPICIOUS</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE FTP inaccessible directory access COM1]]></Description>
        <Score>Medium</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="toward" dynamic-collection="0" port="21" match-neg-port="no" follow-on-sig="no" name="DC:2000500">
        <ExtendedLanguage src-port="any" dst-port="21">
        <Flow direction="target-server" state="established"/>
        <Match match-order="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="/2fcom2/2f"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>SUSPICIOUS</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE FTP inaccessible directory access COM2]]></Description>
        <Score>Medium</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="toward" dynamic-collection="0" port="21" match-neg-port="no" follow-on-sig="no" name="DC:2000501">
        <ExtendedLanguage src-port="any" dst-port="21">
        <Flow direction="target-server" state="established"/>
        <Match match-order="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="/2fcom3/2f"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>SUSPICIOUS</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE FTP inaccessible directory access COM3]]></Description>
        <Score>Medium</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="toward" dynamic-collection="0" port="21" match-neg-port="no" follow-on-sig="no" name="DC:2000502">
        <ExtendedLanguage src-port="any" dst-port="21">
        <Flow direction="target-server" state="established"/>
        <Match match-order="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="/2fcom4/2f"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>SUSPICIOUS</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE FTP inaccessible directory access COM4]]></Description>
        <Score>Medium</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="toward" dynamic-collection="0" port="21" match-neg-port="no" follow-on-sig="no" name="DC:2000503">
        <ExtendedLanguage src-port="any" dst-port="21">
        <Flow direction="target-server" state="established"/>
        <Match match-order="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="/2flpt1/2f"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>SUSPICIOUS</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE FTP inaccessible directory access LPT1]]></Description>
        <Score>Medium</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="toward" dynamic-collection="0" port="21" match-neg-port="no" follow-on-sig="no" name="DC:2000504">
        <ExtendedLanguage src-port="any" dst-port="21">
        <Flow direction="target-server" state="established"/>
        <Match match-order="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="/2flpt2/2f"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>SUSPICIOUS</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE FTP inaccessible directory access LPT2]]></Description>
        <Score>Medium</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="toward" dynamic-collection="0" port="21" match-neg-port="no" follow-on-sig="no" name="DC:2000505">
        <ExtendedLanguage src-port="any" dst-port="21">
        <Flow direction="target-server" state="established"/>
        <Match match-order="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="/2flpt3/2f"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>SUSPICIOUS</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE FTP inaccessible directory access LPT3]]></Description>
        <Score>Medium</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="toward" dynamic-collection="0" port="21" match-neg-port="no" follow-on-sig="no" name="DC:2000506">
        <ExtendedLanguage src-port="any" dst-port="21">
        <Flow direction="target-server" state="established"/>
        <Match match-order="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="/2flpt4/2f"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>SUSPICIOUS</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE FTP inaccessible directory access LPT4]]></Description>
        <Score>Medium</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="toward" dynamic-collection="0" port="21" match-neg-port="no" follow-on-sig="no" name="DC:2000507">
        <ExtendedLanguage src-port="any" dst-port="21">
        <Flow direction="target-server" state="established"/>
        <Match match-order="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="/2faux/2f"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>SUSPICIOUS</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE FTP inaccessible directory access AUX]]></Description>
        <Score>Medium</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="toward" dynamic-collection="0" port="21" match-neg-port="no" follow-on-sig="no" name="DC:2000508">
        <ExtendedLanguage src-port="any" dst-port="21">
        <Flow direction="target-server" state="established"/>
        <Match match-order="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="/2fnull/2f"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>SUSPICIOUS</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE FTP inaccessible directory access NULL]]></Description>
        <Score>Medium</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="source" traffic-direction="toward" dynamic-collection="0" port="21" match-neg-port="no" follow-on-sig="no" name="DC:2002809">
        <ExtendedLanguage src-port="21" dst-port="any">
        <Flow direction="source-server" state="established"/>
        <Match match-order="0" offset="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="220/20stnyftpd/200wns/20j0"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>TROJAN</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE Hostile FTP Server Banner (StnyFtpd)]]></Description>
        <Score>Critical</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="source" traffic-direction="toward" dynamic-collection="0" port="21" match-neg-port="no" follow-on-sig="no" name="DC:2002810">
        <ExtendedLanguage src-port="21" dst-port="any">
        <Flow direction="source-server" state="established"/>
        <Match match-order="0" offset="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="220/20reptile/20welcomes/20you"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>TROJAN</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE Hostile FTP Server Banner (Reptile)]]></Description>
        <Score>Critical</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="source" traffic-direction="toward" dynamic-collection="0" port="21" match-neg-port="no" follow-on-sig="no" name="DC:2002811">
        <ExtendedLanguage src-port="21" dst-port="any">
        <Flow direction="source-server" state="established"/>
        <Match match-order="0" offset="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="220/20bot/20server/20/28win32/29"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>COMPROMISE</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE Hostile FTP Server Banner (Bot Server)]]></Description>
        <Score>Critical</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="source" traffic-direction="toward" dynamic-collection="0" port="21" match-neg-port="no" follow-on-sig="no" name="DC:2003464">
        <ExtendedLanguage src-port="21" dst-port="any">
        <Flow direction="source-server" state="established"/>
        <Match match-order="0">
        <ExtendedPattern uri-decode="no" type="binary" pattern="220/20"/>
        </Match>
        <Match match-order="1" depth="40" distance="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="/2d/2dwarftpd/20"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>TROJAN</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE Unusual FTP Server Banner (warFTPd)]]></Description>
        <Reference name="URLREF"><![CDATA[http://www.warftp.org]]></Reference>
        <Score>Critical</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="source" traffic-direction="toward" dynamic-collection="0" port="21" match-neg-port="no" follow-on-sig="no" name="DC:2003465">
        <ExtendedLanguage src-port="21" dst-port="any">
        <Flow direction="source-server" state="established"/>
        <Match match-order="0">
        <ExtendedPattern uri-decode="no" type="binary" pattern="220/20"/>
        </Match>
        <Match match-order="1" depth="40" distance="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="/2d/2dfreeftpd/20"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>TROJAN</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE Unusual FTP Server Banner (freeFTPd)]]></Description>
        <Reference name="URLREF"><![CDATA[http://www.freeftp.com]]></Reference>
        <Score>Critical</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="from" dynamic-collection="0" port="6661" match-neg-port="yes" follow-on-sig="no" name="DC:2000345">
        <ExtendedLanguage>
        <Flow direction="target-server" state="established"/>
        <Match match-order="0" offset="0" depth="5">
        <ExtendedPattern uri-decode="no" type="string" pattern="nick/20"/>
        </Match>
        <PayloadSize min="0" max="64" match-zero="no"/>
        </ExtendedLanguage>
        <EventGroup>TROJAN</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE IRC - Nick change on non-std port]]></Description>
        <Score>Critical</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="source" traffic-direction="toward" dynamic-collection="0" port="6661" match-neg-port="yes" follow-on-sig="no" name="DC:2000346">
        <ExtendedLanguage>
        <Flow direction="target-client" state="established"/>
        <Match match-order="0" offset="0" depth="1">
        <ExtendedPattern uri-decode="no" type="binary" pattern="/3a"/>
        </Match>
        <Match match-order="1">
        <ExtendedPattern uri-decode="no" type="binary" pattern="/20302/20"/>
        </Match>
        <Match match-order="2">
        <ExtendedPattern uri-decode="no" type="binary" pattern="/3d/2b"/>
        </Match>
        <Match match-order="3">
        <ExtendedPattern uri-decode="no" type="binary" pattern="/40"/>
        </Match>
        <PayloadSize min="0" max="128" match-zero="no"/>
        </ExtendedLanguage>
        <EventGroup>TROJAN</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE IRC - Name response on non-std port]]></Description>
        <Score>Critical</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="from" dynamic-collection="0" port="6661" match-neg-port="yes" follow-on-sig="no" name="DC:2000347">
        <ExtendedLanguage>
        <Flow direction="target-server" state="established"/>
        <Match match-order="0" offset="0" depth="8">
        <ExtendedPattern uri-decode="no" type="string" pattern="privmsg/20"/>
        </Match>
        <PayloadSize min="0" max="128" match-zero="no"/>
        </ExtendedLanguage>
        <EventGroup>TROJAN</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE IRC - Private message on non-std port]]></Description>
        <Score>Critical</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="from" dynamic-collection="0" port="6661" match-neg-port="yes" follow-on-sig="no" name="DC:2000348">
        <ExtendedLanguage>
        <Flow direction="target-server" state="established"/>
        <Match match-order="0" offset="0" depth="5">
        <ExtendedPattern uri-decode="no" type="string" pattern="join/20"/>
        </Match>
        <Match match-order="1">
        <PCRE relative-to-previous="no" caseless="no" multi-line="no" single-line="no" extended="no" anchored="no" dollar-endonly="no" ungreedy="no"><![CDATA[&|#|\+|!]]></PCRE>
        </Match>
        <PayloadSize min="0" max="64" match-zero="no"/>
        </ExtendedLanguage>
        <EventGroup>TROJAN</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE IRC - Channel JOIN on non-std port]]></Description>
        <Score>Critical</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="from" dynamic-collection="0" port="6661" match-neg-port="yes" follow-on-sig="no" name="DC:2000349">
        <ExtendedLanguage>
        <Flow direction="target-server" state="established"/>
        <Match match-order="0" offset="0" depth="8">
        <ExtendedPattern uri-decode="no" type="string" pattern="privmsg/20"/>
        </Match>
        <Match match-order="1">
        <ExtendedPattern uri-decode="no" type="string" pattern="/20/3a/2edcc/20send"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>MISUSE</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE IRC - DCC file transfer request on non-std port]]></Description>
        <Score>Low</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="from" dynamic-collection="0" port="6661" match-neg-port="yes" follow-on-sig="no" name="DC:2000350">
        <ExtendedLanguage>
        <Flow direction="target-server" state="established"/>
        <Match match-order="0" offset="0" depth="8">
        <ExtendedPattern uri-decode="no" type="string" pattern="privmsg/20"/>
        </Match>
        <Match match-order="1">
        <ExtendedPattern uri-decode="no" type="string" pattern="/20/3a/2edcc/20chat/20chat"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>MISUSE</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE IRC - DCC chat request on non-std port]]></Description>
        <Score>Low</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="from" dynamic-collection="0" port="6661" match-neg-port="yes" follow-on-sig="no" name="DC:2000351">
        <ExtendedLanguage>
        <Flow direction="target-server" state="established"/>
        <Match match-order="0" offset="0" depth="8">
        <ExtendedPattern uri-decode="no" type="string" pattern="join/20/3a/20/23"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>MISUSE</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE IRC - channel join on non-std port]]></Description>
        <Score>Low</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="from" dynamic-collection="0" port="6661" match-neg-port="yes" follow-on-sig="no" name="DC:2000352">
        <ExtendedLanguage>
        <Flow direction="target-server" state="established"/>
        <Match match-order="0" offset="0" depth="9">
        <ExtendedPattern uri-decode="no" type="string" pattern="userhost/20"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>MISUSE</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE IRC - dns request on non-std port]]></Description>
        <Score>Low</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="from" dynamic-collection="0" port="6667" match-neg-port="no" follow-on-sig="no" name="DC:2001620">
        <ExtendedLanguage src-port="any" dst-port="6667">
        <Flow direction="target-server" state="established"/>
        <Match match-order="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="privmsg"/>
        </Match>
        <Match match-order="1">
        <PCRE relative-to-previous="no" caseless="yes" multi-line="no" single-line="no" extended="no" anchored="no" dollar-endonly="no" ungreedy="no"><![CDATA[(cheguei gazelas|meh que tao|Status|Tempo|Total pacotes|Total bytes|M?dia de envio|portas? aberta)]]></PCRE>
        </Match>
        <FlowTag action="test-defined" suppress-alert="no"><![CDATA[is_proto_irc]]></FlowTag>
        </ExtendedLanguage>
        <EventGroup>COMPROMISE</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE Likely Botnet Activity]]></Description>
        <Score>Critical</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="both" traffic-direction="from" dynamic-collection="0" port="A" match-neg-port="no" follow-on-sig="no" name="DC:2001628">
        <ExtendedLanguage src-port="any" dst-port="any">
        <Flow direction="target-server" state="established"/>
        <Match match-order="0" offset="0" depth="19">
        <ExtendedPattern uri-decode="no" type="string" pattern="from/3a/20anon/40anon/2ecom"/>
        </Match>
        <Match match-order="1">
        <ExtendedPattern uri-decode="no" type="string" pattern="user/2dagent/3a/20php"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>WEB-APPLICATION-ATTACK</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE Outbound PHP Connection]]></Description>
        <Score>High</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="source" traffic-direction="from" dynamic-collection="0" port="139" match-neg-port="no" follow-on-sig="no" name="DC:2006417">
        <ExtendedLanguage src-port="139" dst-port="any">
        <Flow direction="source-server" state="established"/>
        <Match match-order="0">
        <ExtendedPattern uri-decode="no" type="binary" pattern="/ff/53/4d/42"/>
        </Match>
        <Match match-order="1">
        <ExtendedPattern uri-decode="no" type="binary" pattern="/00/11/22/33/44/55/66/77/88"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>MISUSE</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE Weak Netbios Lanman Auth Challenge Detected]]></Description>
        <Score>Low</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="source" traffic-direction="from" dynamic-collection="0" port="W" match-neg-port="no" follow-on-sig="no" name="DC:2002034">
        <ExtendedLanguage>
        <Flow direction="source-server" state="established"/>
        <Match match-order="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="root/3ax/3a0/3a0/3aroot/3a/2froot/3a/2f"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>SUSPICIOUS</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE Possible /etc/passwd via HTTP (linux style)]]></Description>
        <Score>Medium</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="source" traffic-direction="from" dynamic-collection="0" port="W" match-neg-port="no" follow-on-sig="no" name="DC:2003071">
        <ExtendedLanguage>
        <Flow direction="source-server" state="established"/>
        <Match match-order="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="root/3a/2a/3a0/3a0/3a"/>
        </Match>
        <Match match-order="1">
        <ExtendedPattern uri-decode="no" type="string" pattern="/3a/2froot/3a/2fbin"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>SUSPICIOUS</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE Possible /etc/passwd via HTTP (BSD style)]]></Description>
        <Score>Medium</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="from" dynamic-collection="0" port="25" match-neg-port="no" follow-on-sig="no" name="DC:2003149">
        <ExtendedLanguage src-port="any" dst-port="25">
        <Flow direction="source-server" state="established"/>
        <Match match-order="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="root/3ax/3a0/3a0/3aroot/3a/2froot/3a/2f"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>SUSPICIOUS</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE Possible /etc/passwd via SMTP (linux style)]]></Description>
        <Score>Medium</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
    <Signature protocol="tcp" service-direction="destination" traffic-direction="from" dynamic-collection="0" port="25" match-neg-port="no" follow-on-sig="no" name="DC:2003150">
        <ExtendedLanguage src-port="any" dst-port="25">
        <Flow direction="source-server" state="established"/>
        <Match match-order="0">
        <ExtendedPattern uri-decode="no" type="string" pattern="root/3a/2a/3a0/3a0/3a"/>
        </Match>
        <Match match-order="1">
        <ExtendedPattern uri-decode="no" type="string" pattern="/3a/2froot/3a/2fbin"/>
        </Match>
        </ExtendedLanguage>
        <EventGroup>SUSPICIOUS</EventGroup>
        <Description><![CDATA[ ATTACK RESPONSE Possible /etc/passwd via SMTP (BSD style)]]></Description>
        <Score>Medium</Score>
        <DateAdded date="2005-01-24"/>
        <DateModified date="2007-12-18"/>
        <Enabled value="yes"/>
    </Signature>
      </NetworkSignatures>
   </SensorConfig>
</NetworkSensorConfiguration>
