This file is indexed.

/etc/prelude-lml/ruleset/cisco-css.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
#FULLNAME: Cisco CSS
#VERSION: 1.0
#DESCRIPTION: The Cisco CSS (Content Services Switch) is a high-performance, high-availability modular architecture for Web infrastructures. The rules included here were developed using BIG-IP Kernel 4.5PTF-06 Build25.

#####
#
# Copyright (C) 2006 G Ramon Gomez <gene at gomezbrothers dot com>
# 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:Generic LINK DOWN
#CATEGORY:Monitoring
#LOG:AUG 14 08:31:13 smf-custlog-02 1/1 88 NETMAN-2: Generic:LINK DOWN for e3
regex=NETMAN-\d: Generic:LINK DOWN for (\S+); \
 classification.text=Interface down; \
 classification.reference(0).origin=vendor-specific; \
 classification.reference(0).meaning=css_subsystem; \
 classification.reference(0).name=NETMAN; \
 id=4700; \
 revision=2; \
 analyzer(0).name=CSS; \
 analyzer(0).manufacturer=Cisco; \
 analyzer(0).class=Load Balancer; \
 assessment.impact.completion=succeeded; \
 assessment.impact.type=dos; \
 assessment.impact.severity=medium; \
 assessment.impact.description=Interface $1 status changed to down; \
 target(0).interface=$1; \
 additional_data(0).type=string; \
 additional_data(0).meaning=New state; \
 additional_data(0).data=down; \
 last

#DESCRIPTION:Cisco command - Write memory
#CATEGORY:Monitoring
#LOG:AUG 16 06:45:00 smf-custlog-02 1/1 1022 NETMAN-6: CLMcmd: wr mem,neteng@12.34.56.78
#LOG:AUG 16 00:12:35 smf-custlog-02 1/1 49169 NETMAN-6: CLMcmd: wr memory ,neteng@90.12.34.56
regex=NETMAN-\d: CLMcmd: wr (\S+)\s*,(\S+)@([\d\.]+); \
 classification.text=Configuration written to $1; \
 classification.reference(0).origin=vendor-specific; \
 classification.reference(0).meaning=css_subsystem; \
 classification.reference(0).name=NETMAN; \
 id=4701; \
 revision=2; \
 analyzer(0).name=CSS; \
 analyzer(0).manufacturer=Cisco; \
 analyzer(0).class=Load Balancer; \
 assessment.impact.severity=low; \
 assessment.impact.type=admin; \
 assessment.impact.completion=succeeded; \
 assessment.impact.description=Configuration was stored on $1; \
 source(0).node.address(0).category=ipv4-addr; \
 source(0).node.address(0).address=$3; \
 source(0).user.category=os-device; \
 source(0).user.user_id(0).type=current-user; \
 source(0).user.user_id(0).name=$2; \
 additional_data(0).type=string; \
 additional_data(0).meaning=Destination device; \
 additional_data(0).data=$1; \
 last

#DESCRIPTION:Cisco command - Exit
#CATEGORY:Command Execution
#LOG:AUG 16 07:31:45 smf-custlog-02 1/1 1065 NETMAN-6: CLMcmd: exit,neteng@12.34.56.78
regex=NETMAN-\d: CLMcmd: (.+)\s*,(\S+)@([\d\.]+); \
 classification.text=Command audit; \
 classification.reference(0).origin=vendor-specific; \
 classification.reference(0).meaning=css_subsystem; \
 classification.reference(0).name=NETMAN; \
 id=4702; \
 revision=2; \
 analyzer(0).name=CSS; \
 analyzer(0).manufacturer=Cisco; \
 analyzer(0).class=Load Balancer; \
 assessment.impact.severity=low; \
 assessment.impact.completion=succeeded; \
 assessment.impact.type=admin; \
 assessment.impact.description=The command $1 was executed; \
 source(0).node.address(0).category=ipv4-addr; \
 source(0).node.address(0).address=$3; \
 source(0).user.category=os-device; \
 source(0).user.user_id(0).type=current-user; \
 source(0).user.user_id(0).name=$2; \
 additional_data(0).type=string; \
 additional_data(0).meaning=Command; \
 additional_data(0).data=$1; \
 last

#DESCRIPTION:Access attempt
#CATEGORY:Network Security
#LOG:AUG 16 00:13:46 smf-custlog-02 1/1 49172 SSHD-4: Access attempted by  from 12.34.56.78 port 1106
#LOG:AUG 16 07:31:52 smf-custlog-02 1/1 1067 SSHD-4: Access attempted by neteng from 12.34.56.78 port 1121
regex=SSHD-\d: Access attempted by (.*) from ([\d\.]+) port (\d+); \
 classification.text=User login; \
 classification.reference(0).origin=vendor-specific; \
 classification.reference(0).meaning=css_subsystem; \
 classification.reference(0).name=SSHD; \
 id=4703; \
 revision=3; \
 analyzer(0).name=CSS; \
 analyzer(0).manufacturer=Cisco; \
 analyzer(0).class=Load Balancer; \
 assessment.impact.severity=medium; \
 assessment.impact.type=admin; \
 assessment.impact.completion=failed; \
 assessment.impact.description=User $1 failed login; \
 source(0).node.address(0).category=ipv4-addr; \
 source(0).node.address(0).address=$2; \
 source(0).service.port=$3; \
 target(0).service.port=22; \
 target(0).user.category=os-device; \
 target(0).user.user_id(0).type=target-user; \
 target(0).user.user_id(0).name=$1; \
 last

#DESCRIPTION:Cisco - Login
#CATEGORY:Authentication
#LOG:AUG 16 07:31:57 smf-custlog-02 1/1 1069 NETMAN-6: CLM: Login neteng@12.34.56.78
regex=NETMAN-\d: CLM: Login (\S+)@([\d\.]+); \
 classification.text=User login; \
 classification.reference(0).origin=vendor-specific; \
 classification.reference(0).meaning=css_subsystem; \
 classification.reference(0).name=NETMAN; \
 id=4704; \
 revision=3; \
 analyzer(0).name=CSS; \
 analyzer(0).manufacturer=Cisco; \
 analyzer(0).class=Load Balancer; \
 assessment.impact.severity=low; \
 assessment.impact.type=admin; \
 assessment.impact.completion=succeeded; \
 assessment.impact.description=This message appears when a user is authenticated successfully and a management session starts.; \
 source(0).node.address(0).category=ipv4-addr; \
 source(0).node.address(0).address=$2; \
 target(0).user.category=os-device; \
 target(0).user.user_id(0).type=target-user; \
 target(0).user.user_id(0).name=$1; \
 last

#DESCRIPTION:Duplicate IP address detection
#CATEGORY:Monitoring
#LOG:AUG 18 05:44:35 smf-custlog-02 1/1 3201 IPV4-4: Duplicate IP address detected: 12.34.56.78 00-0a-b8-68-2d-8c
regex=IPV4-\d: Duplicate IP address detected: ([\d\.]+) ([a-f\d\-]+); \
 classification.text=Duplicate IP; \
 classification.reference(0).origin=vendor-specific; \
 classification.reference(0).meaning=css_subsystem; \
 classification.reference(0).name=IPV4; \
 id=4705; \
 revision=2; \
 analyzer(0).name=CSS; \
 analyzer(0).manufacturer=Cisco; \
 analyzer(0).class=Load Balancer; \
 assessment.impact.severity=high; \
 assessment.impact.completion=succeeded; \
 assessment.impact.type=other; \
 assessment.impact.description=An IP currently in use by the CSS has been detected as in use by another device on the network.; \
 source(0).node.address(0).category=ipv4-addr; \
 source(0).node.address(0).address=$1; \
 source(0).node.address(1).category=mac; \
 source(0).node.address(1).address=$2; \
 target(0).node.address(0).category=ipv4-addr; \
 target(0).node.address(0).address=$1; \
 last

#DESCRIPTION:Enterprise Service Transition
#CATEGORY:Service Management
#LOG:AUG 16 06:46:56 smf-custlog-02 1/1 49124 NETMAN-2: Enterprise:Service Transition:web1-rw -> suspended
regex=NETMAN-\d: Enterprise:Service Transition:(\S+) -> (\S+); \
 classification.text=Service $2; \
 classification.reference(0).origin=vendor-specific; \
 classification.reference(0).meaning=css_subsystem; \
 classification.reference(0).name=NETMAN; \
 id=4706; \
 revision=2; \
 analyzer(0).name=CSS; \
 analyzer(0).manufacturer=Cisco; \
 analyzer(0).class=Load Balancer; \
 assessment.impact.severity=medium; \
 assessment.impact.type=dos; \
 assessment.impact.description=Service $1 is $2; \
 additional_data(0).type=string; \
 additional_data(0).meaning=Service name; \
 additional_data(0).data=$1; \
 last