This file is indexed.

/etc/prelude-lml/ruleset/cisco-ips-2.rules is in prelude-lml-rules 4.1.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
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
#FULLNAME: Cisco IPS 2
#VERSION: 1.0
#DESCRIPTION: Cisco Intrusion Prevention System (IPS) is an inline, deep-packet inspection feature that effectively mitigates a wide range of network attacks. These rules monitors Cisco IPS ver. 7.1.x
#DESCRIPTION: The rules included here were developed using a Cisco IPS module running on an ASA.
#DESCRIPTION: Special configuration is needed for this support:
#DESCRIPTION: * In your IDM interface, "SNMP" -> "Traps Configuration", "Enable SNMP Traps"
#DESCRIPTION:   box must be on.  "Enable detailed traps for alerts" can be on or off.
#DESCRIPTION: * In your IDM interface, "Signature Definition" -> "Signature Configuration",
#DESCRIPTION:   all of the ENABLED rules must be modified using the "Enabled" button, and
#DESCRIPTION:   select all de enabled signatures followed by the "Actions" button, and
#DESCRIPTION:   click the "Request SNMP Trap" box on.
#DESCRIPTION: * On your Prelude system, run snmptrapd using this command:
#DESCRIPTION:   "snmptrapd -Ls 20 -Osq"

#####
#
# Copyright (C) 2012 Seguridadx <operador@seguridadx.com>
# twitter: www.twitter.com/seguridad_x
# All Rights Reserved
#
# This file is part of the Prelude-LML program.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
#####

#DESCRIPTION:Cisco IPS event
#CATEGORY:Generic IDS/IPS
#LOG:Apr 17 13:42:01 localhost snmptrapd[1209]: 2012-04-17 13:42:01 ids.xx.xx [UDP: [xx.xx.xx.xx]:xx->[xx.xx.xx.xx]]:#012iso.3.6.1.2.1.1.3.0 0:0:00:02.30#011iso.3.6.1.6.3.1.1.4.1.0 iso.3.6.1.4.1.9.9.383.0.2#011iso.3.6.1.4.1.9.9.383.1.1.1 1334191109271607011#011iso.3.6.1.4.1.9.9.383.1.1.2 "07 DC 04 11 0D 2A 01 00 "#011iso.3.6.1.4.1.9.9.383.1.1.3 "07 DC 04 11 10 2A 01 00 "#011iso.3.6.1.4.1.9.9.383.1.1.4.0 "xxx"#011iso.3.6.1.4.1.9.9.383.1.3.1.0 "xxx"#011iso.3.6.1.4.1.9.9.383.1.3.2.0 14#011iso.3.6.1.4.1.9.9.383.1.3.3 "Unknown control transaction name#012Messages, like this one, in the category - ct to sensorApp timed out - were logged 1 times in the last 0 seconds."
regex=snmptrapd\[(\d+)]:+.+9.9.383.1.1.4.0 "(\S+)"+.+9.9.383.1.3.1.0 "(\S+)"+.+.9.9.383.1.3.2.0 "(\d+)"; \
 classification.text=$3; \
 classification.reference(0).origin=vendor-specific; \
 classification.reference(0).meaning=ips_id; \
 id=5006; \
 revision=0; \
 analyzer(0).name=IPS; \
 analyzer(0).manufacturer=Cisco; \
 analyzer(0).class=IDS; \
 analyzer(0).node.name=$2; \
 assessment.impact.severity=high; \
 assessment.impact.description=This event was generated by the Cisco IPS; \
 additional_data(0).type=string; \
 additional_data(0).meaning=$3:; \
 additional_data(0).data=$4; \
 last

#DESCRIPTION:Cisco IPS event - Enable detailed traps for alerts
#CATEGORY:Generic IDS/IPS
#LOG:Apr 16 17:26:02 localhost snmptrapd[1209]: 2012-04-16 17:26:02 ids.xxx.xxx.com [UDP: [xx.xx.xx.xx]:xxxx->[xx.xx.xx.xx]:#012iso.3.6.1.2.1.1.3.0 4:23:47:30.17#011iso.3.6.1.6.3.1.1.4.1.0 iso.3.6.1.4.1.9.9.383.0.1#011iso.3.6.1.4.1.9.9.383.1.1.1 1334176696938219122#011iso.3.6.1.4.1.9.9.383.1.1.2 "07 DC 04 10 11 1A 02 00 "#011iso.3.6.1.4.1.9.9.383.1.1.3 "07 DC 04 10 14 1A 02 00 "#011iso.3.6.1.4.1.9.9.383.1.1.4.0 "ids-xxx"#011iso.3.6.1.4.1.9.9.383.1.2.1 "informational"#011iso.3.6.1.4.1.9.9.383.1.2.2 2147483648#011iso.3.6.1.4.1.9.9.383.1.2.3 "This Signature Is A Metacomponent"#011iso.3.6.1.4.1.9.9.383.1.2.4 "Windows Image Color Management System RCE"#011iso.3.6.1.4.1.9.9.383.1.2.5 6984#011iso.3.6.1.4.1.9.9.383.1.2.6 2#011iso.3.6.1.4.1.9.9.383.1.2.7 "S351"#011iso.3.6.1.4.1.9.9.383.1.2.12 0#011iso.3.6.1.4.1.9.9.383.1.2.13 80#011iso.3.6.1.4.1.9.9.383.1.2.14 "d3cucmFkaW9zaW50ZXJuZXQuY29tDQpWaWE6IDEuMSBzMTk2Y2I2NC5iYW5j#012by5icm91LmNvbS51eTo4MDgwIChJV1NTKSwgMS4xIHByb3h5LmRuc2ludC5i#012cm91LmNvbS51eSAoc3F1aWQpLCAxLjAgczE5NmNhNjE6ODAwOCAoSVdTUykN#012ClN1cnJvZ2F0ZS1DYXBhYmlsaXR5OiB1bnNldC1pZD0iU3Vycm9nYXRlLzEu#012MCBFU0kvMS4wIg0KWC1Gb3J3YXJkZWQtRm9yOiAxNzIuMjAuNDAuMjMNCkNh#012Y2hlLUNvbnRyb2w6IG1heC1hZ2U9MjU5MjAwDQoNCg=="#011iso.3.6.1.4.1.9.9.383.1.2.15 "EAASAAAAAAAAAGUAAAAAAACQRwAAQBIAAAAAAACI//8AAAAAAFD7/wBw/v8A#012AAAAALQAAAAAAAAAYOv/ADD7/wC4AAAAAAEA/y0AAAAAAQAAAAAAAAAAAAAM#012AAAAAAAAgAMAAAAHAAD6WV4AI5T+/yHj+/8AAAEAfZIAAKXkAADFxwEAAAAB#012AL6XAQCgrQEAAAABAOCbAQApAAAA/wAAAH0AAAD/AAAA/wAAAP8AAAD/AAAA#012/wAAAP8AAAD/AAAAkQAAABoAAAAZAAAAtQAAAN0AAACpAAAAEgAAACkAAAD/#012AAAAPQAAAAIAAAAQAAAAEgAAAAAAAAAAAGUAAAAAAA=="#011iso.3.6.1.4.1.9.9.383.1.2.16 "xx.xx.xx.xx:xx"#011iso.3.6.1.4.1.9.9.383.1.2.17 "osIdSource=\"unknown\" osRelevance=\"unknown\" osType=\"unknown\" xx.xx.xx.xx:xxx"#011iso.3.6.1.4.1.9.9.383.1.2.25 0#011iso.3.6.1.4.1.9.9.383.1.2.26 0#011iso.3.6.1.4.1.9.9.383.1.2.27 6#011iso.3.6.1.4.1.9.9.383.1.2.42 0
regex=snmptrapd\[(\d+)]:+.+9.9.383.1.1.4.0 "(\S+)"+.+.9.9.383.1.2.4.0 "([\S ]+)"+.+.9.9.383.1.2.5.0 (\d+)+.+9.9.383.1.2.6.0 (\d+)+.+9.9.383.1.2.16.0 "([\d\.]+):(\d+)"+.+9.9.383.1.2.17.0 "osIdSource=\\"([\S ]+)\\" osRelevance=\\"([\S ]+)\\" osType=\\"([\S ]+)\\" ([\d\.]+)"+.+9.9.383.1.3.1.0 "informational"; \
 classification.text=$3; \
 classification.reference(0).origin=vendor-specific; \
 classification.reference(0).meaning=ips_id; \
 classification.reference(0).name=$4.$5; \
 classification.reference(0).url=http://tools.cisco.com/security/center/viewIpsSignature.x?signatureId=$4&signatureSubId=$5; \
 id=5001; \
 revision=2; \
 analyzer(0).name=IPS; \
 analyzer(0).manufacturer=Cisco; \
 analyzer(0).class=IDS; \
 analyzer(0).node.name=$2; \
 assessment.impact.severity=info; \
 assessment.impact.description=This event was generated by the Cisco IPS; \
 source(0).node.address(0).category=ipv4-addr; \
 source(0).node.address(0).address=$6; \
 source(0).service.port=$7; \
 target(0).node.address(0).category=ipv4-addr; \
 target(0).node.address(0).address=$11; \
# target(0).service.port=$12; \
 additional_data(0).type=string; \
 additional_data(0).meaning=osIdSource:; \
 additional_data(0).data=$8; \
 additional_data(1).type=string; \
 additional_data(1).meaning=osRelevance:; \
 additional_data(1).data=$9; \
 additional_data(2).type=string; \
 additional_data(2).meaning=osType:; \
 additional_data(2).data=$10; \
 additional_data(3).type=string; \
 additional_data(3).meaning=Cisco Signature Template:; \
 additional_data(3).data=http://tools.cisco.com/security/center/viewIpsSignature.x?signatureId=$4&signatureSubId=$5; \
 last

#DESCRIPTION:Cisco IPS event
#CATEGORY:Generic IDS/IPS
regex=snmptrapd\[(\d+)]:+.+9.9.383.1.1.4.0 "(\S+)"+.+.9.9.383.1.2.4.0 "([\S ]+)"+.+.9.9.383.1.2.5.0 (\d+)+.+9.9.383.1.2.6.0 (\d+)+.+9.9.383.1.2.16.0 "([\d\.]+):(\d+)"+.+9.9.383.1.2.17.0 "osIdSource=\\"([\S ]+)\\" osRelevance=\\"([\S ]+)\\" osType=\\"([\S ]+)\\" ([\d\.]+):(\d+)"+.+9.9.383.1.3.1.0 "informational"; \
 classification.text=$3; \
 classification.reference(0).origin=vendor-specific; \
 classification.reference(0).meaning=ips_id; \
 classification.reference(0).name=$4.$5; \
 classification.reference(0).url=http://tools.cisco.com/security/center/viewIpsSignature.x?signatureId=$4&signatureSubId=$5; \
 id=5002; \
 revision=2; \
 analyzer(0).name=IPS; \
 analyzer(0).manufacturer=Cisco; \
 analyzer(0).class=IDS; \
 analyzer(0).node.name=$2; \
 assessment.impact.severity=info; \
 assessment.impact.description=This event was generated by the Cisco IPS; \
 source(0).node.address(0).category=ipv4-addr; \
 source(0).node.address(0).address=$6; \
 source(0).service.port=$7; \
 target(0).node.address(0).category=ipv4-addr; \
 target(0).node.address(0).address=$11; \
 target(0).service.port=$12; \
 additional_data(0).type=string; \
 additional_data(0).meaning=osIdSource:; \
 additional_data(0).data=$8; \
 additional_data(1).type=string; \
 additional_data(1).meaning=osRelevance:; \
 additional_data(1).data=$9; \
 additional_data(2).type=string; \
 additional_data(2).meaning=osType:; \
 additional_data(2).data=$10; \
 additional_data(3).type=string; \
 additional_data(3).meaning=Cisco Signature Template:; \
 additional_data(3).data=http://tools.cisco.com/security/center/viewIpsSignature.x?signatureId=$4&signatureSubId=$5; \
 last

#DESCRIPTION:Cisco IPS event
#CATEGORY:Generic IDS/IPS
#LOG:Jan 25 12:41:14 localhost snmptrapd[15882]: 2012-01-25 12:41:14 ids.xxx.xxx.xxx [UDP: [xx.xx.xx.xx]:xxx->[xx.xx.xx.xx]]:#012iso.3.6.1.2.1.1.3.0 13:3:16:47.87#011iso.3.6.1.6.3.1.1.4.1.0 iso.3.6.1.4.1.9.9.383.0.1#011iso.3.6.1.4.1.9.9.383.1.1.1 1269399301253822810#011iso.3.6.1.4.1.9.9.383.1.1.2 "07 DC 01 19 0C 2A 27 00 "#011iso.3.6.1.4.1.9.9.383.1.1.3 "07 DC 01 19 0E 2A 27 00 "#011iso.3.6.1.4.1.9.9.383.1.1.4.0 "ids-xx"#011iso.3.6.1.4.1.9.9.383.1.2.1 "low"#011iso.3.6.1.4.1.9.9.383.1.2.2 2147483648#011iso.3.6.1.4.1.9.9.383.1.2.4 "TCP Option Other"#011iso.3.6.1.4.1.9.9.383.1.2.5 1306#011iso.3.6.1.4.1.9.9.383.1.2.6 0#011iso.3.6.1.4.1.9.9.383.1.2.16 "xx.xx.xx.xx:xxx"#011iso.3.6.1.4.1.9.9.383.1.2.17 "xx.xx.xx.xx:xx"
regex=snmptrapd\[(\d+)]:+.+9.9.383.1.1.4.0 "(\S+)"+.+.9.9.383.1.2.4.0 "([\S ]+)"+.+.9.9.383.1.2.5.0 (\d+)+.+9.9.383.1.2.6.0 (\d+)+.+9.9.383.1.2.16.0 "([\d\.]+):(\d+)"+.+9.9.383.1.2.17.0 "+.+([\d\.]+)"+.+9.9.383.1.3.1.0 "informational"; \
 classification.text=$3; \
 classification.reference(0).origin=vendor-specific; \
 classification.reference(0).meaning=ips_id; \
 classification.reference(0).name=$4.$5; \
 classification.reference(0).url=http://tools.cisco.com/security/center/viewIpsSignature.x?signatureId=$4&signatureSubId=$5; \
 id=5003; \
 revision=2; \
 analyzer(0).name=IPS; \
 analyzer(0).manufacturer=Cisco; \
 analyzer(0).class=IDS; \
 analyzer(0).node.name=$2; \
 assessment.impact.severity=info; \
 assessment.impact.description=This event was generated by the Cisco IPS; \
 source(0).node.address(0).category=ipv4-addr; \
 source(0).node.address(0).address=$6; \
 source(0).service.port=$7; \
 target(0).node.address(0).category=ipv4-addr; \
 target(0).node.address(0).address=$8; \
 target(0).service.port=$9; \
 additional_data(0).type=string; \
 additional_data(0).meaning=Cisco Signature Template:; \
 additional_data(0).data=http://tools.cisco.com/security/center/viewIpsSignature.x?signatureId=$4&signatureSubId=$5; \
 last

#DESCRIPTION:Cisco IPS event
#CATEGORY:Generic IDS/IPS
regex=snmptrapd\[(\d+)]:+.+9.9.383.1.1.4.0 "(\S+)"+.+.9.9.383.1.2.4.0 "([\S ]+)"+.+.9.9.383.1.2.5.0 (\d+)+.+9.9.383.1.2.6.0 (\d+)+.+9.9.383.1.2.16.0 "([\d\.]+):(\d+)"+.+9.9.383.1.2.17.0 "+.+([\d\.]+):(\d+)"+.+9.9.383.1.3.1.0 "informational"; \
 classification.text=$3; \
 classification.reference(0).origin=vendor-specific; \
 classification.reference(0).meaning=ips_id; \
 classification.reference(0).name=$4.$5; \
 classification.reference(0).url=http://tools.cisco.com/security/center/viewIpsSignature.x?signatureId=$4&signatureSubId=$5; \
 id=5004; \
 revision=2; \
 analyzer(0).name=IPS; \
 analyzer(0).manufacturer=Cisco; \
 analyzer(0).class=IDS; \
 analyzer(0).node.name=$2; \
 assessment.impact.severity=info; \
 assessment.impact.description=This event was generated by the Cisco IPS; \
 source(0).node.address(0).category=ipv4-addr; \
 source(0).node.address(0).address=$6; \
 source(0).service.port=$7; \
 target(0).node.address(0).category=ipv4-addr; \
 target(0).node.address(0).address=$8; \
 target(0).service.port=$9; \
 additional_data(0).type=string; \
 additional_data(0).meaning=Cisco Signature Template:; \
 additional_data(0).data=http://tools.cisco.com/security/center/viewIpsSignature.x?signatureId=$4&signatureSubId=$5; \
 last

#DESCRIPTION:Cisco IPS event
#CATEGORY:Generic IDS/IPS
#LOG:Sep  7 18:41:43 prelude-siem snmptrapd[1595]: 2012-09-07 18:41:43 ids-Bunker [UDP: [192.168.161.57]:45187->[192.168.160.37]]:#012sysUpTimeInstance 0:1:03:53.53#011snmpTrapOID.0 enterprises.9.9.383.0.1#011enterprises.9.9.383.1.1.1.0 6823118324776#011enterprises.9.9.383.1.1.2.0 "07 DC 09 07 13 25 3A 00 "#011enterprises.9.9.383.1.1.3.0 "07 DC 09 07 15 25 3A 00 "#011enterprises.9.9.383.1.1.4.0 "ids-Bunker"#011enterprises.9.9.383.1.2.2.0 2147483648#011enterprises.9.9.383.1.2.3.0 "SELECT...FROM"#011enterprises.9.9.383.1.2.4.0 "SQL Query in HTTP Request"#011enterprises.9.9.383.1.2.5.0 5474#011enterprises.9.9.383.1.2.6.0 0#011enterprises.9.9.383.1.2.7.0 "S585"#011enterprises.9.9.383.1.2.13.0 0#011enterprises.9.9.383.1.2.15.0 "R0VUIGh0dHA6Ly91Y3MucXVlcnkueWFob28uY29tL3YxL2NvbnNvbGUveXFs#012P3E9c2VsZWN0JTIwaW1hZ2VVcmwlMjBmcm9tJTIwc29jaWFsLnByb2ZpbA=="#011enterprises.9.9.383.1.2.16.0 "10.199.43.146:2422"#011enterprises.9.9.383.1.2.17.0 "osIdSource=\"learned\" osRelevance=\"relevant\" osType=\"linux\" 172.20.40.22:8080"#011enterprises.9.9.383.1.2.25.0 47#011enterprises.9.9.383.1.2.26.0 0#011enterprises.9.9.383.1.2.27.0 6#011enterprises.9.9.383.1.2.42.0 47#011enterprises.9.9.383.1.2.49.0 "vs0"#011enterprises.9.9.383.1.3.1.0 "low"
regex=snmptrapd\[(\d+)]:+.+9.9.383.1.1.4.0 "(\S+)"+.+9.9.383.1.2.4.0 "([\S ]+)"+.+9.9.383.1.2.5.0 (\d+)+.+9.9.383.1.2.6.0 (\d+)+.+9.9.383.1.2.16.0 "([\d\.]+):(\d+)"+.+9.9.383.1.2.17.0 "+.+([\d\.]+):(\d+)"+.+9.9.383.1.3.1.0 "(\S+)"; \
 classification.text=$4; \
 classification.reference(0).origin=vendor-specific; \
 classification.reference(0).meaning=ips_id; \
 classification.reference(0).name=$4.$5; \
 classification.reference(0).url=http://tools.cisco.com/security/center/viewIpsSignature.x?signatureId=$4&signatureSubId=$5; \
 id=5005; \
 revision=1; \
 analyzer(0).name=IPS; \
 analyzer(0).manufacturer=Cisco; \
 analyzer(0).class=IDS; \
 analyzer(0).node.name=$2; \
 assessment.impact.severity=$10; \
 assessment.impact.description=This event was generated by the Cisco IPS; \
 source(0).node.address(0).category=ipv4-addr; \
 source(0).node.address(0).address=$6; \
 source(0).service.port=$7; \
 target(0).node.address(0).category=ipv4-addr; \
 target(0).node.address(0).address=$8; \
 target(0).service.port=$9; \
 additional_data(0).type=string; \
 additional_data(0).meaning=Cisco Signature Template:; \
 additional_data(0).data=http://tools.cisco.com/security/center/viewIpsSignature.x?signatureId=$4&signatureSubId=$5; \
 last