File: openhostapd.rules

package info (click to toggle)
prelude-lml-rules 5.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 1,032 kB
  • sloc: perl: 27; makefile: 2
file content (127 lines) | stat: -rw-r--r-- 4,724 bytes parent folder | download | duplicates (2)
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
#FULLNAME: hostapd
#VERSION: 1.0
#DESCRIPTION: hostapd is a user space daemon for wireless access point and authentication servers.

#####
#
# Copyright (C) 2005 Reyk Floeter <reyk@vantronix.net>
# 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:IEEE 802.11 $7 flooding
#CATEGORY:Wireless Network
#LOG:ath0: (rate: 100/3 sec) 00:02:dc:ed:3d:3f > 00:05:4e:45:d3:b8, bssid 00:05:4e:45:d3:b8: authentication request, <radiotap v0, chan 1, 11g, txpower 30dBm>
regex=([a-z0-9]+):\s\(rate:\s(\d+)\/(\d+)\ssec\)\s([a-f\d\:]+)\s\>\s([a-f\d\:]+)\,\sbssid\s([a-f\d\:]+)\:\s([^\,]+); \
 classification.text=IEEE 802.11 $7 flooding; \
 id=2500; \
 revision=1; \
 analyzer(0).name=openhostapd; \
 analyzer(0).manufacturer=http://www.openbsd.org; \
 analyzer(0).class=Router; \
 assessment.impact.type=dos; \
 assessment.impact.severity=high; \
 assessment.impact.description=IEEE 802.11 $7 flooding from $4 to $5 on BSSID $6; \
 source(0).interface=$1; \
 target(0).node.address(0).category=mac; \
 target(0).node.address(0).address=$5; \
 target(0).node.address(1).category=mac; \
 target(0).node.address(1).address=$6; \
 additional_data(0).type=string; \
 additional_data(0).meaning=Event detection rate; \
 additional_data(0).data=$2/$3 sec; \
 last

#DESCRIPTION:IEEE 802.11 flooding
#CATEGORY:Wireless Network
#LOG:Nov 23 19:05:49 ath0: (rate: 100/3 sec)
regex=([a-z0-9]+):\s\(rate:\s(\d+)\/(\d+)\ssec\); \
 classification.text=IEEE 802.11 flooding; \
 id=2501; \
 revision=1; \
 analyzer(0).name=openhostapd; \
 analyzer(0).manufacturer=http://www.openbsd.org; \
 analyzer(0).class=Router; \
 assessment.impact.type=dos; \
 assessment.impact.severity=high; \
 assessment.impact.description=IEEE 802.11 flooding on interface $1; \
 source(0).interface=$1; \
 additional_data(0).type=string; \
 additional_data(0).meaning=Event detection rate; \
 additional_data(0).data=$2/$3 sec; \
 last

#DESCRIPTION:Removed IEEE 802.11 node
#CATEGORY:Wireless Network
#LOG:ath0: removed node 00:05:4e:45:d3:b8
regex=([a-z0-9]+):\sremoved\snode\s([a-f\d\:]+); \
 classification.text=Removed IEEE 802.11 node; \
 id=2502; \
 revision=1; \
 analyzer(0).name=openhostapd; \
 analyzer(0).manufacturer=http://www.openbsd.org; \
 analyzer(0).class=Router; \
 assessment.impact.type=other; \
 assessment.impact.severity=low; \
 assessment.impact.description=Removed node $2 on interface $1; \
 assessment.impact.completion=succeeded; \
 source(0).interface=$1; \
 target(0).node.address(0).category=mac; \
 target(0).node.address(0).address=$2; \
 last

#DESCRIPTION:Added IEEE 802.11 node
#CATEGORY:Wireless Network
#LOG:ath0/sis0: sent ADD notification for 00:05:4e:45:d3:b8
regex=([a-z0-9]+)\/([a-z0-9]+):\ssent\sADD\snotification\sfor\s([a-f\d\:]+); \
 classification.text=Added IEEE 802.11 node; \
 id=2503; \
 revision=1; \
 analyzer(0).name=openhostapd; \
 analyzer(0).manufacturer=http://www.openbsd.org; \
 analyzer(0).class=Router; \
 assessment.impact.type=other; \
 assessment.impact.severity=low; \
 assessment.impact.description=Added node $3 on interface $1; \
 assessment.impact.completion=succeeded; \
 source(0).interface=$1; \
 target(0).interface=$2; \
 target(0).node.address(0).category=mac; \
 target(0).node.address(0).address=$3; \
 last

#DESCRIPTION:Attached IEEE 802.11 Host AP
#CATEGORY:Wireless Network
#LOG:ath0/sis0: attached Host AP interface with BSSID 00:05:4e:45:d3:b8
regex=([a-z0-9]+)\/([a-z0-9]+):\sattached\sHost\sAP\sinterface\swith\sBSSID\s([a-f\d\:]+); \
 classification.text=Attached IEEE 802.11 Host AP; \
 id=2504; \
 revision=1; \
 analyzer(0).name=openhostapd; \
 analyzer(0).manufacturer=http://www.openbsd.org; \
 analyzer(0).class=Router; \
 assessment.impact.type=other; \
 assessment.impact.severity=low; \
 assessment.impact.description=Attached Host AP $3 on interface $1; \
 assessment.impact.completion=succeeded; \
 source(0).interface=$1; \
 target(0).node.address(0).category=mac; \
 target(0).node.address(0).address=$3; \
 target(0).interface=$2; \
 last