6675e9e8b3d34af2e86a7a3992985b4aab331b08
[ossec-hids.git] / debian / ossec-hids / var / ossec / rules / openbsd_rules.xml
1   <!-- Copyright 2010 Dan Parriott (ddpbsd@gmail.com)
2   -  This program is a free software; you can redistribute it
3   -  and/or modify it under the terms of the GNU General Public
4   -  License (version 2) as published by the FSF - Free Software
5   -  Foundation.
6   -
7   -  License details: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
8   -->
9
10
11
12   <!-- Modify it at your will. -->
13
14 <group name="local,syslog,openbsd">
15
16   <rule id="51500" level="0" noalert="1">
17     <decoded_as>bsd_kernel</decoded_as>
18     <description>Grouping of bsd_kernel alerts</description>
19   </rule>
20
21   <rule id="51501" level="1">
22     <if_sid>51500</if_sid>
23     <match>ichiic0: abort failed, status 0x40</match> 
24     <description>A timeout occurred waiting for a transfer.</description>
25   </rule>
26
27   <rule id="51502" level="0">
28     <if_sid>51500</if_sid>
29     <match>Check Condition (error 0x70) on opcode 0x0</match>
30     <description>Check media in optical drive.</description>
31   </rule>
32
33   <rule id="51503" level="1"> 
34     <if_sid>51500</if_sid>
35     <match>BBB bulk-in clear stall failed</match> 
36     <description>A disk has timed out.</description>
37   </rule>
38
39   <rule id="51504" level="1">
40     <if_sid>51500</if_sid>
41     <match>arp info overwritten for</match>
42     <description>arp info has been overwritten for a host</description>
43   </rule>
44
45   <rule id="51505" level="5">
46     <if_sid>51500</if_sid>
47     <match>was not properly unmounted</match>
48     <description>A filesystem was not properly unmounted, likely system crash</description>
49   </rule>
50
51   <rule id="51506" level="1">
52     <if_sid>51500</if_sid>
53     <match>UKC> quit</match>
54     <description>UKC was used, possibly modifying a kernel at boot time.</description>
55   </rule>
56
57   <rule id="51507" level="1">
58     <if_sid>51500</if_sid>
59     <match>Michael MIC failure</match>
60     <description>Michael MIC failure: Checksum failure in the tkip protocol.</description>
61   </rule>
62
63   <rule id="51508" level="2">
64     <if_sid>51500</if_sid>
65     <match>soft error (corrected)</match>
66     <description>A soft error has been corrected on a hard drive, </description>
67     <description>this is a possible early sign of failure.</description>
68   </rule>
69
70   <rule id="51509" level="1">
71     <if_sid>51500</if_sid>
72     <regex>acpithinkpad\d:</regex>
73     <match>unknown event</match>
74     <description>Unknown acpithinkpad event</description>
75   </rule>
76
77   <rule id="51510" level="5">
78     <if_sid>51500</if_sid>
79     <match>Critical temperature, shutting down</match>
80     <description>System shutdown due to temperature</description>
81   </rule>
82
83   <rule id="51511" level="1">
84     <if_sid>51500</if_sid>
85     <match>_AL0[0] _PR0 failed</match>
86     <description>Unknown ACPI event (bug 6299 in OpenBSD bug tracking system).</description>
87   </rule>
88
89   <rule id="51512" level="1">
90     <if_sid>51500</if_sid>
91     <match>ehci_freex: xfer=0xffff8000003ef800 not busy, 0x4f4e5155</match>
92     <description>USB diagnostic message.</description>
93   </rule>
94
95   <rule id="51513" level="1">
96     <if_sid>51500</if_sid>
97     <match>ichiic0: abort failed, status 0x0</match>
98     <description>Possible APM or ACPI event.</description>
99   </rule>
100
101   <rule id="51514" level="3">
102     <if_sid>51500</if_sid>
103     <match>Filesystem is not clean - run fsck</match>
104     <description>Unclean filesystem, run fsck.</description>
105   </rule>
106   
107   <rule id="51515" level="0">
108     <if_sid>51500</if_sid>
109     <match>atascsi_passthru_done, timeout</match>
110     <description>Timeout in atascsi_passthru_done.</description>
111   </rule>
112
113   <rule id="51516" level="0">
114     <if_sid>51500</if_sid>
115     <regex>RTC BIOS diagnostic error 80\pclock_battery\p</regex>
116     <description>Clock battery error 80</description>
117   </rule>
118
119   <rule id="51518" level="3">
120     <if_sid>51500</if_sid>
121     <match>i/o error on block</match>
122     <description>I/O error on a storage device</description>
123   </rule>
124
125   <rule id="51519" level="1">
126     <if_sid>51500</if_sid>
127     <match>kbc: cmd word write error</match>
128     <description>kbc error.</description>
129   </rule>
130
131   <rule id="51520" level="1">
132     <if_sid>51500</if_sid>
133     <match>BBB reset failed, IOERROR</match>
134     <description>USB reset failed, IOERROR.</description>
135   </rule>
136
137   <rule id="51521" level="0" noalert="1">
138     <decoded_as>groupdel</decoded_as>
139     <description>Grouping for groupdel rules.</description>
140     <group>groupdel,</group>
141   </rule>
142
143   <rule id="51522" level="2">
144     <if_sid>51521</if_sid>
145     <match>group deleted</match>
146     <description>Group deleted.</description>
147     <group>groupdel,</group>
148   </rule>
149
150   <rule id="51523" level="0">
151     <program_name>savecore</program_name>
152     <match>no core dump</match>
153     <description>No core dumps.</description>
154   </rule>
155
156   <rule id="51524" level="4">
157     <program_name>reboot</program_name>
158     <match>rebooted by</match>
159     <description>System was rebooted.</description>
160   </rule>
161
162   <rule id="51525" level="0">
163     <program_name>^ftp-proxy</program_name>
164     <match>proxy cannot connect to server</match>
165     <description>ftp-proxy cannot connect to a server.</description>
166   </rule>
167
168   <rule id="51526" level="0">
169     <decoded_as>bsd_kernel</decoded_as>
170     <match>uncorrectable data error reading fsbn</match>
171     <description>Hard drive is dying.</description>
172   </rule>
173
174   <rule id="51527" level="0">
175     <decoded_as>bsd_kernel</decoded_as>
176     <match>^carp</match>
177     <action>state transition</action>
178     <status>MASTER -> BACKUP</status>
179     <description>CARP master to backup.</description>
180   </rule>
181
182   <rule id="51528" level="0">
183     <decoded_as>bsd_kernel</decoded_as>
184     <match>duplicate IP6 address</match>
185     <description>Duplicate IPv6 address.</description>
186   </rule>
187
188   <rule id="51529" level="0">
189     <decoded_as>bsd_kernel</decoded_as>
190     <match>failed loadfirmware of file</match>
191     <description>Could not load a firmware.</description>
192   </rule>
193
194   <rule id="51530" level="0">
195     <program_name>^hotplugd</program_name>
196     <match>Permission denied$</match>
197     <description>hotplugd could not open a file.</description>
198   </rule>
199
200   <rule id="51531" level="3">
201     <decoded_as>open-userdel</decoded_as>
202     <match>user removed: name=</match>
203     <description>User account deleted.</description>
204     <group>account_changed,</group>
205   </rule>
206
207   <rule id="51532" level="0">
208     <decoded_as>ntpd</decoded_as>
209     <match>bad peer from </match>
210     <description>Bad ntp peer.</description>
211   </rule>
212
213   <rule id="51533" level="1">
214     <program_name>^dhclient$</program_name>
215     <if_sid>1002</if_sid>
216     <match>receive_packet failed on </match>
217     <description>dhclient receive_packet failed.</description>
218   </rule>
219
220   <rule id="51534" level="1">
221     <if_sid>51533</if_sid>
222     <match>Input/output error$</match>
223     <description>dhclient receive_packet failed due to I/O error.</description>
224   </rule>
225
226   <rule id="51535" level="1">
227     <program_name>^dhclient$</program_name>
228     <if_sid>1002</if_sid>
229     <match>SIOCDIFADDR failed </match>
230     <description>SIOCDIFADDR failed</description>
231   </rule>
232
233   <rule id="51536" level="1">
234     <if_sid>51535</if_sid>
235     <match> Device not configured$</match>
236     <description>dhclient: device not configured.</description>
237   </rule>
238
239 </group>
240
241 <group name="local,syslog,openbsd,doas">
242
243   <rule id="51550" level="0">
244     <decoded_as>doas</decoded_as>
245     <description>doas grouping</description>
246   </rule>
247
248   <rule id="51551" level="1">
249     <if_sid>51550</if_sid>
250     <match>cannot stat</match>
251     <description>doas cannot stat a file.</description>
252   </rule>
253
254   <rule id="51552" level="2">
255     <if_sid>51551</if_sid>
256     <match>: Permission denied$</match>
257     <description>doas cannot stat a file due to permissions.</description>
258   </rule>
259
260   <rule id="51553" level="5">
261     <if_sid>51550</if_sid>
262     <match>path not secure$</match>
263     <description>A critical path for doas does not have secure permissions.</description>
264   </rule>
265
266   <rule id="51554" level="5">
267     <if_sid>51550</if_sid>
268     <match>failed command for </match>
269     <description>Failed doas command.</description>
270   </rule>
271
272   <rule id="51555" level="1">
273     <if_sid>51550</if_sid>
274     <match>ran command</match>
275     <description>A command was run using doas.</description>
276   </rule>
277
278   <rule id="51556" level="2">
279     <if_sid>51555</if_sid>
280     <match> as root </match>
281     <description>A doas command was run as root.</description>
282   </rule>
283
284   <rule id="51557" level="5">
285     <if_sid>51550</if_sid>
286     <match>failed auth for</match>
287     <description>doas authentication failed.</description>
288   </rule>
289
290   <rule id="51558" level="4">
291     <program_name>sendsyslog</program_name>
292     <match>^dropped </match>
293     <description>sendsyslog dropped log messages.</description>
294   </rule>
295
296 </group> <!-- SYSLOG,LOCAL -->
297
298
299   <!-- EOF -->