/etc/prelude-lml/ruleset/unsupported/ipso.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 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 | #####
#
# Copyright (C) 2003 Vincent Glaume
# All Rights Reserved
# This ruleset is currently unmaintained. Contact the Prelude
# development team if you would like to maintain it.
#
# 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.
#
#####
#############################################################################
#
# This ruleset aims at analyzing the system logs of a Nokia appliance, as
# what can be found in simple.rules doesn't really fit this system.
#
#############################################################################
###
# I. Priority: alert
###
# 1. PAM alerts: often an authentification issue; high severity to comply with simple.rules
#LOG:Jan 10 22:24:39 deacon [LOG_ALERT] PAM_unix[3116]: check pass; user unknown
regex= (\w+) \[LOG_ALERT\] PAM_unix\[(\d+)\]: (.*); \
classification.text=Firewall: PAM alert; \
id=900; \
revision=1; \
analyzer(0).name=IPSO; \
analyzer(0).manufacturer=Checkpoint; \
analyzer(0).class=Firewall; \
assessment.impact.severity=high; \
assessment.impact.type=user; \
assessment.impact.description=PAM: $3; \
target(0).node.name=$1; \
target(0).process.pid=$2; \
last
# 2. Misc ALERT logs
#LOG:Jan 10 22:24:39 deacon [LOG_ALERT] PAM_unix[3116]: check pass; user unknown
regex=regex= (\w+) \[LOG_ALERT\]; \
classification.text=Firewall: Misc. ALERT logs; \
id=901; \
revision=1; \
analyzer(0).name=IPSO; \
analyzer(0).manufacturer=Checkpoint; \
analyzer(0).class=Firewall; \
assessment.impact.severity=medium; \
assessment.impact.type=other; \
assessment.impact.description=ALERT log from $1; \
target(0).node.name=$1; \
last
###
# II. Priority: crit
###
# 1. Rebooting or halting the system: severity should depend on the machine ?
# LOG:Jan 16 14:12:42 spcssl [LOG_CRIT] reboot: rebooted by admin
regex= (\w+) \[LOG_CRIT\] reboot: rebooted by (\w+); \
classification.text=Firewall: Reboot; \
id=902; \
revision=1; \
analyzer(0).name=IPSO; \
analyzer(0).manufacturer=Checkpoint; \
analyzer(0).class=Firewall; \
assessment.impact.severity=medium; \
assessment.impact.completion=succeeded; \
assessment.impact.type=dos; \
assessment.impact.description=$1 was rebooted; \
source(0).user.user_id(0).type=current-user; \
source(0).user.user_id(0).name=$2; \
last
#LOG:Nov 19 16:51:14 myfirewall [LOG_CRIT] reboot: Attempt to reboot by root
regex= (\w+) \[LOG_CRIT\] reboot: Attempt to reboot by (\w+); \
classification.text=Firewall: Reboot attempt; \
id=903; \
revision=1; \
analyzer(0).name=IPSO; \
analyzer(0).manufacturer=Checkpoint; \
analyzer(0).class=Firewall; \
assessment.impact.severity=medium; \
assessment.impact.completion=succeeded; \
assessment.impact.type=dos; \
assessment.impact.description=$2 attempted to reboot $1; \
source(0).user.user_id(0).type=current-user; \
source(0).user.user_id(0).name=$2; \
last
#LOG:Dec 23 19:20:29 sb6 [LOG_CRIT] halt: halted by admin
regex= (\w+) \[LOG_CRIT\] halt: halted by (\w+); \
classification.text=Firewall: Stopping system; \
id=904; \
revision=1; \
analyzer(0).name=IPSO; \
analyzer(0).manufacturer=Checkpoint; \
analyzer(0).class=Firewall; \
assessment.impact.severity=high; \
assessment.impact.completion=succeeded; \
assessment.impact.type=dos; \
assessment.impact.description=$2 halted $1; \
source(0).user.user_id(0).type=current-user; \
source(0).user.user_id(0).name=$2; \
last
# No log sample; please submit
regex= (\w+) \[LOG_CRIT\] halt: System reboots approximately in (.*); \
classification.text=Firewall: Reboot announce; \
id=905; \
revision=1; \
analyzer(0).name=IPSO; \
analyzer(0).manufacturer=Checkpoint; \
analyzer(0).class=Firewall; \
assessment.impact.severity=low; \
assessment.impact.completion=succeeded; \
assessment.impact.type=dos; \
assessment.impact.description=$1 is about to reboot, in $2; \
last
# 2. Installation failure
# No log sample; please submit
regex= (\w+) \[LOG_CRIT\] PKG_INSTALL: \**INSTALL/UPGRADE PROCESS FAILED\**; \
classification.text=Firewall: Install/upgrade failure; \
id=906; \
revision=1; \
analyzer(0).name=IPSO; \
analyzer(0).manufacturer=Checkpoint; \
analyzer(0).class=Firewall; \
assessment.impact.severity=high; \
assessment.impact.completion=succeeded; \
assessment.impact.type=other; \
assessment.impact.description=$1 installation failure; \
last
# 3. Misc CRIT logs
#LOG:Dec 23 19:20:29 sb6 [LOG_CRIT] halt: halted by admin
regex=regex= (\w+) \[LOG_CRIT\]; \
classification.text=Firewall: Misc. CRIT logs; \
id=907; \
revision=1; \
analyzer(0).name=IPSO; \
analyzer(0).manufacturer=Checkpoint; \
analyzer(0).class=Firewall; \
assessment.impact.severity=medium; \
assessment.impact.type=other; \
assessment.impact.description=CRIT log from $1; \
target(0).node.name=$1; \
last
###
# III. Priority: err
###
# 1. SMTP: mail rejection
# No log sample; please submit
regex= (\w+) \[LOG_ERR\] sSMTP mail\[(\d+)\]: smtp server didn't accept MAIL; \
classification.text=Firewall: Unauthorized SMTP use; \
id=908; \
revision=1; \
analyzer(0).name=IPSO; \
analyzer(0).manufacturer=Checkpoint; \
analyzer(0).class=Firewall; \
assessment.impact.severity=medium; \
assessment.impact.completion=failed; \
assessment.impact.type=other; \
assessment.impact.description=A mail was refused by the SMTP server of $1; \
target(0).node.name=$1; \
target(0).process.pid=$2; \
target(0).process.name=mail; \
last
# 2. SMTP: can't open port 25
# No log sample; please submit
regex= (\w+) \[LOG_ERR\] sSMTP mail\[(\d+)\]: can't open the smtp port \((\d+)\) on ([\d\.]+); \
classification.text=Firewall: SMTP port failure; \
id=909; \
revision=1; \
analyzer(0).name=IPSO; \
analyzer(0).manufacturer=Checkpoint; \
analyzer(0).class=Firewall; \
assessment.impact.type=dos; \
assessment.impact.severity=low; \
assessment.impact.description=SMTP port #$3 could not be opened on $1; \
target(0).node.name=$1; \
target(0).process.pid=$2; \
target(0).process.name=mail; \
last
# 3. SMTP: can't connect service SMTP
# no log sample; please submit
regex= (\w+) \[LOG_ERR\] sSMTP mail\[(\d+)\]: unable to connect to "([\d\.]+)" port (\d+); \
classification.text=Firewall: SMTP unreachable; \
id=910; \
revision=1; \
analyzer(0).name=IPSO; \
analyzer(0).manufacturer=Checkpoint; \
analyzer(0).class=Firewall; \
assessment.impact.type=dos; \
assessment.impact.severity=low; \
assessment.impact.description=$1 could not connect to the SMTP server $3:$4; \
target(0).node.address(0).category=ipv4-addr; \
target(0).node.address(0).address=$3; \
target(0).service.port=$4; \
last
# 4. Misc ERR logs
#LOG:Jan 31 12:17:19 IP650 [LOG_ERR] snmpd: Cannot find module (CheckPoint-MIB) : At line 1 in (none)
regex=regex= (\w+) \[LOG_ERR\]; \
classification.text=Firewall: Misc. ERR logs; \
id=911; \
revision=1; \
analyzer(0).name=IPSO; \
analyzer(0).manufacturer=Checkpoint; \
analyzer(0).class=Firewall; \
assessment.impact.severity=medium; \
assessment.impact.type=other; \
assessment.impact.description=ERR log from $1; \
target(0).node.name=$1; \
last
|