/etc/sagan-rules/cisco-malware.rules is in sagan-rules 1:20160923-0.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | # Sagan cisco-malware.rules
# Copyright (c) 2009-2016, Quadrant Information Security <www.quadrantsec.com>
# All rights reserved.
#
# Please submit any custom rules or ideas to sagan-submit@quadrantsec.com or the sagan-sigs mailing list
#
#*************************************************************
# 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.
#
#
# Added by Champ Clark -
# These rules trigger if you are dropping (denying) traffic to zeroaccess already.
alert udp $HOME_NET any -> $EXTERNAL_NET 16464 (msg: "[CISCO-MALWARE] ZeroAccess UDP port 16464 detected [denied] [5/5]"; program: %ASA*-4-106023|%PIX-4-106023; content: "/16464 by access-group"; content: "Deny udp src inside"; classtype: trojan-activity; reference: url, wiki.quadrantsec.com/bin/view/Main/5001724; parse_src_ip: 1; parse_dst_ip: 2; parse_port; threshold: type limit, track by_src, count 5, seconds 300; after: track by_src, count 5, seconds 300; sid: 5001724; rev: 6;)
alert udp $HOME_NET any -> $EXTERNAL_NET 16465 (msg: "[CISCO-MALWARE] ZeroAccess UDP port 16465 detected [denied] [5/5]"; program: %ASA*-4-106023|%PIX-4-106023; content: "/16465 by access-group"; content: "Deny udp src inside"; classtype: trojan-activity; reference: url, wiki.quadrantsec.com/bin/view/Main/5001725; parse_src_ip: 1; parse_dst_ip: 2; parse_port; threshold: type limit, track by_src, count 5, seconds 300; after: track by_src, count 5, seconds 300; sid: 5001725; rev: 6;)
alert udp $HOME_NET any -> $EXTERNAL_NET 16470 (msg: "[CISCO-MALWARE] ZeroAccess UDP port 16470 detected [denied] [5/5]"; program: %ASA*-4-106023|%PIX-4-106023; content: "/16470 by access-group"; content: "Deny udp src inside"; classtype: trojan-activity; reference: url, wiki.quadrantsec.com/bin/view/Main/5001726; parse_src_ip: 1; parse_dst_ip: 2; parse_port; threshold: type limit, track by_src, count 5, seconds 300; after: track by_src, count 5, seconds 300; sid: 5001726; rev: 6;)
alert udp $HOME_NET any -> $EXTERNAL_NET 16471 (msg: "[CISCO-MALWARE] ZeroAccess UDP port 16471 detected [denied] [5/5]"; program: %ASA*-4-106023|%PIX-4-106023; content: "/16471 by access-group"; content: "Deny udp src inside"; classtype: trojan-activity; reference: url, wiki.quadrantsec.com/bin/view/Main/5001727; parse_src_ip: 1; parse_dst_ip: 2; parse_port; threshold: type limit, track by_src, count 5, seconds 300; after: track by_src, count 5, seconds 300; sid: 5001727; rev: 6;)
# Older TCP port 13620 (pre-Q2 2012)
alert tcp $HOME_NET any -> $EXTERNAL_NET 13620 (msg: "[CISCO-MALWARE] ZeroAccess pre-2012 TCP port 13620 detected [denied] [5/5]"; program: %ASA*-4-106023|%PIX-4-106023; content: "/13620 by access-group"; content: "Deny tcp src inside"; classtype: trojan-activity; reference: url, wiki.quadrantsec.com/bin/view/Main/5001790; parse_src_ip: 1; parse_dst_ip: 2; parse_port; threshold: type limit, track by_src, count 5, seconds 300; after: track by_src, count 5, seconds 300; sid: 5001790; rev: 7;)
alert udp $HOME_NET any -> $EXTERNAL_NET 16464 (msg: "[CISCO-MALWARE] ZeroAccess UDP port 16464 detected [allowed] [5/5]"; program: %ASA*-6-302015|%PIX-6-302015; content: "/16464 "; content: "outbound UDP"; classtype: trojan-activity; reference: url, wiki.quadrantsec.com/bin/view/Main/5001858; parse_src_ip: 1; parse_dst_ip: 2; parse_port; threshold: type limit, track by_src, count 5, seconds 300; after: track by_src, count 5, seconds 300; sid: 5001858; rev: 3;)
alert udp $HOME_NET any -> $EXTERNAL_NET 16465 (msg: "[CISCO-MALWARE] ZeroAccess UDP port 16465 detected [allowed] [5/5]"; program: %ASA*-6-302015|%PIX-6-302015; content: "/16465 "; content: "outbound UDP"; classtype: trojan-activity; reference: url, wiki.quadrantsec.com/bin/view/Main/5001859; parse_src_ip: 1; parse_dst_ip: 2; parse_port; threshold: type limit, track by_src, count 5, seconds 300; after: track by_src, count 5, seconds 300; sid: 5001859; rev: 3;)
alert udp $HOME_NET any -> $EXTERNAL_NET 16470 (msg: "[CISCO-MALWARE] ZeroAccess UDP port 16470 detected [allowed] [5/5]"; program: %ASA*-6-302015|%PIX-6-302015; content: "/16470 "; content: "outbound UDP"; classtype: trojan-activity; reference: url, wiki.quadrantsec.com/bin/view/Main/5001860; parse_src_ip: 1; parse_dst_ip: 2; parse_port; threshold: type limit, track by_src, count 5, seconds 300; after: track by_src, count 5, seconds 300; sid: 5001860; rev: 3;)
alert udp $HOME_NET any -> $EXTERNAL_NET 16471 (msg: "[CISCO-MALWARE] ZeroAccess UDP port 16471 detected [allowed] [5/5]"; program: %ASA*-6-302015|%PIX-6-302015; content: "/16470 "; content: "outbound UDP"; classtype: trojan-activity; reference: url, wiki.quadrantsec.com/bin/view/Main/5001861; parse_src_ip: 1; parse_dst_ip: 2; parse_port; threshold: type limit, track by_src, count 5, seconds 300; after: track by_src, count 5, seconds 300; sid: 5001861; rev: 3;)
# Older TCP port 13620 (pre-Q2 2012)
alert tcp $HOME_NET any -> $EXTERNAL_NET 13620 (msg: "[CISCO-MALWARE] ZeroAccess TCP port 13620 detected [allowed] [5/5]"; program: %ASA*-6-302013|%PIX-6-302013; content: "/13620 "; content: "outbound TCP"; classtype: trojan-activity; reference: url, wiki.quadrantsec.com/bin/view/Main/5001862; parse_src_ip: 1; parse_dst_ip: 2; parse_port; threshold: type limit, track by_src, count 5, seconds 300; after: track by_src, count 5, seconds 300; sid: 5001862; rev: 3;)
# 10.20.1.7|local7|info|info|be|2014-02-19|20:25:11|344306| Feb 19 15:25:11.570: %SEC-6-IPACCESSLOGP: list control_outbound denied tcp 10.3.2.3(4343) -> 10.99.0.7(50122), 2 packets
alert udp $HOME_NET any -> $EXTERNAL_NET 16464 (msg: "[CISCO-MALWARE] ACE ZeroAccess UDP port 16464 detected [5/5]"; content: "%SEC-6-IPACCESSLOGP:"; content: "|28|16464|29|"; content: " udp "; classtype: trojan-activity; reference: url, wiki.quadrantsec.com/bin/view/Main/5001965; parse_src_ip: 1; parse_dst_ip: 2; parse_port; threshold: type limit, track by_src, count 5, seconds 300; after: track by_src, count 5, seconds 300; sid: 5001965; rev: 3;)
alert udp $HOME_NET any -> $EXTERNAL_NET 16464 (msg: "[CISCO-MALWARE] ACE ZeroAccess UDP port 16465 detected [5/5]"; content: "%SEC-6-IPACCESSLOGP:"; content: "|28|16465|29|"; content: " udp "; classtype: trojan-activity; reference: url, wiki.quadrantsec.com/bin/view/Main/5001966; parse_src_ip: 1; parse_dst_ip: 2; parse_port; threshold: type limit, track by_src, count 5, seconds 300; after: track by_src, count 5, seconds 300; sid: 5001966; rev: 3;)
alert udp $HOME_NET any -> $EXTERNAL_NET 16464 (msg: "[CISCO-MALWARE] ACE ZeroAccess UDP port 16470 detected [5/5]"; content: "%SEC-6-IPACCESSLOGP:"; content: "|28|16470|29|"; content: " udp "; classtype: trojan-activity; reference: url, wiki.quadrantsec.com/bin/view/Main/5001967; parse_src_ip: 1; parse_dst_ip: 2; parse_port; threshold: type limit, track by_src, count 5, seconds 300; after: track by_src, count 5, seconds 300; sid: 5001967; rev: 3;)
alert udp $HOME_NET any -> $EXTERNAL_NET 16464 (msg: "[CISCO-MALWARE] ACE ZeroAccess UDP port 16471 detected [5/5]"; content: "%SEC-6-IPACCESSLOGP:"; content: "|28|16471|29|"; content: " udp "; classtype: trojan-activity; reference: url, wiki.quadrantsec.com/bin/view/Main/5001968; parse_src_ip: 1; parse_dst_ip: 2; parse_port; threshold: type limit, track by_src, count 5, seconds 300; after: track by_src, count 5, seconds 300; sid: 5001968; rev: 3;)
alert udp $HOME_NET any -> $EXTERNAL_NET 16464 (msg: "[CISCO-MALWARE] ACE ZeroAccess pre-2012 TCP port 13620 [5/5]"; content: "%SEC-6-IPACCESSLOGP:"; content: "|28|13620|29|"; content: " tcp "; classtype: trojan-activity; reference: url, wiki.quadrantsec.com/bin/view/Main/5001969; parse_src_ip: 1; parse_dst_ip: 2; parse_port; threshold: type limit, track by_src, count 5, seconds 300; after: track by_src, count 5, seconds 300; sid: 5001969; rev: 3;)
|