-
Notifications
You must be signed in to change notification settings - Fork 28
/
cisco-correlated.rules
62 lines (51 loc) · 9.99 KB
/
cisco-correlated.rules
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
57
58
59
60
61
# Sagan cisco-correlated.rules
# Copyright (c) 2009-2023. Quadrant Information Security <www.quadrantsec.com>
# All rights reserved.
#
# Please submit any custom rules or ideas to [email protected] 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.
#
#Cisco Anyconnect
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] Console login after recon activity"; program: %SEC_LOGIN-5-LOGIN_SUCCESS; classtype: correlated-attack; xbits: isset,recon,track ip_src; parse_src_ip: 1; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003210; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] Console login after honeypot activity"; program: %SEC_LOGIN-5-LOGIN_SUCCESS; classtype: correlated-attack; xbits: isset,honeypot,track ip_src; parse_src_ip: 1; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003211; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] Console login after exploit attempt"; program: %SEC_LOGIN-5-LOGIN_SUCCESS; classtype: correlated-attack; xbits: isset,exploit_attempt,track ip_src; parse_src_ip: 1; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003212; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] Console login after brute force activity"; program: %SEC_LOGIN-5-LOGIN_SUCCESS; classtype: correlated-attack; xbits: isset,brute_force,track ip_src; parse_src_ip: 1; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003232; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] Login permitted after recon activity"; program: %*-6-605005; classtype: correlated-attack; xbits: isset,recon,track ip_src; parse_src_ip: 1; parse_dst_ip: 2; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003213; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] Login permitted after honeypot activity"; program: %*-6-605005; classtype: correlated-attack; xbits: isset,honeypot,track ip_src; parse_src_ip: 1; parse_dst_ip: 2; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003214; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] Login permitted after exploit attempt"; program: %*-6-605005; classtype: correlated-attack; xbits: isset,exploit_attempt,track ip_src; parse_src_ip: 1; parse_dst_ip: 2; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003215; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] Login permitted after brute force activity"; program: %*-6-605005; classtype: correlated-attack; xbits: isset,brute_force,track ip_src; parse_src_ip: 1; parse_dst_ip: 2; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003233; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] VPN login after recon activity"; program: %*-6-716001|%*-6-716038|%*-6-734001|%*-6-722022|%*-6-722023; default_proto: tcp; default_dst_port: $HTTPS_PORT; classtype: correlated-attack; xbits: isset,recon,track ip_src; parse_src_ip: 1; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003216; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] VPN login after honey activity"; program: %*-6-716001|%*-6-716038|%*-6-734001|%*-6-722022|%*-6-722023; default_proto: tcp; default_dst_port: $HTTPS_PORT; classtype: correlated-attack; xbits: isset,honeypot,track ip_src; parse_src_ip: 1; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003217; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] VPN login after exploit attempt"; program: %*-6-716001|%*-6-716038|%*-6-734001|%*-6-722022|%*-6-722023; default_proto: tcp; default_dst_port: $HTTPS_PORT; classtype: correlated-attack; xbits: isset,exploit_attempt,track ip_src; parse_src_ip: 1; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003218; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] VPN login after brute force activity"; program: %*-6-716001|%*-6-716038|%*-6-734001|%*-6-722022|%*-6-722023; default_proto: tcp; default_dst_port: $HTTPS_PORT; classtype: correlated-attack; xbits: isset,brute_force,track ip_src; parse_src_ip: 1; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003234; rev:3;)
# These can be pretty noisy if a VPN client is misconfigured. This will cause a lot of xbit lookups.
#alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] VPN disconnect after recon activity"; program: %*-4-113019|%*-6-716002|%*-6-721018; default_proto: tcp; default_dst_port: $HTTPS_PORT; classtype: correlated-attack; xbits: isset,recon,track ip_src; parse_src_ip: 1; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003219; rev:3;)
#alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] VPN disconnect after honeypot activity"; program: %*-4-113019|%*-6-716002|%*-6-721018; default_proto: tcp; default_dst_port: $HTTPS_PORT; classtype: correlated-attack; xbits: isset,honeypot,track ip_src; parse_src_ip: 1; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003220; rev:3;)
#alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] VPN disconnect after exploit attempt"; program: %*-4-113019|%*-6-716002|%*-6-721018; default_proto: tcp; default_dst_port: $HTTPS_PORT; classtype: correlated-attack; xbits: isset,exploit_attempt,track ip_src; parse_src_ip: 1; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003221; rev:3;)
#alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] VPN disconnect after brute force activity"; program: %*-4-113019|%*-6-716002|%*-6-721018; default_proto: tcp; default_dst_port: $HTTPS_PORT; classtype: correlated-attack; xbits: isset,brute_force,track ip_src; parse_src_ip: 1; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003235; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] ACS Login success after recon activity"; program: CisACS_01_PassedAuth; classtype: correlated-attack; xbits: isset,recon,track ip_src; parse_src_ip: 2; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003222; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] ACS Login success after honeypot activity"; program: CisACS_01_PassedAuth; classtype: correlated-attack; xbits: isset,honeypot,track ip_src; parse_src_ip: 2; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003223; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] ACS Login success after exploit attempt"; program: CisACS_01_PassedAuth; classtype: correlated-attack; xbits: isset,exploit_attempt,track ip_src; parse_src_ip: 2; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003224; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] ACS Login success brute force activity"; program: CisACS_01_PassedAuth; classtype: correlated-attack; xbits: isset,brute_force,track ip_src; parse_src_ip: 2; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003236; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] FTP file transfer after recon activity"; program: %*-6-303002|%*-6-303002; default_proto: tcp; default_dst_port: $FTP_PORT; classtype: correlated-attack; xbits: isset,recon,track ip_src; normalize; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003225; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] FTP file transfer after honeypot activity"; program: %*-6-303002|%*-6-303002; default_proto: tcp; default_dst_port: $FTP_PORT; classtype: correlated-attack; xbits: isset,honeypot,track ip_src; normalize; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003226; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] FTP file transfer after exploit attempt"; program: %*-6-303002|%*-6-303002; default_proto: tcp; default_dst_port: $FTP_PORT; classtype: correlated-attack; xbits: isset,exploit_attempt,track ip_src; normalize; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003227; rev:3;)
alert any $HOME_NET any -> $EXTERNAL_NET any (msg: "[CISCO-CORRELATED] FTP file transfer after brute force activity"; program: %*-6-303002|%*-6-303002; default_proto: tcp; default_dst_port: $FTP_PORT; classtype: correlated-attack; xbits: isset,brute_force,track ip_src; normalize; threshold: type suppress, track by_src, count 5, seconds 3600; sid:5003237; rev:3;)