summaryrefslogtreecommitdiffstats
path: root/config-default/rules.json
blob: d2105b8ca5e5951e07ccf47d09c05a726cf2b613 (plain) (blame)
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
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
{
   "event" : {
      "advflood" : {
         "class" : "advsplitflood",
         "content" : "5:3",
         "reason" : "advanced distributed flooding",
         "risk" : "high",
         "type" : "public,part,caction"
      },
      "appleexploit" : {
         "class" : "re",
         "content" : "سمَـ",
         "reason" : "using the apple corefont exploit",
         "risk" : "high",
         "type" : "public,caction,part"
      },
      "asciiflood" : {
         "class" : "asciiflood",
         "content" : "20:3:3",
         "reason" : "ascii art algorithm",
         "risk" : "medium",
         "type" : "public"
      },
      "autoremove" : {
         "class" : "re",
         "content" : "^requested by ChanServ",
         "reason" : "on chanserv autoremove",
         "risk" : "info",
         "type" : "part"
      },
      "banevade" : {
         "class" : "banevade",
         "content" : "contentisuseless",
         "reason" : "appears to be ban evading",
         "risk" : "info",
         "type" : "join"
      },
      "blacklist2" : {
         "class" : "strblnew",
         "content" : "blah",
         "reason" : "blacklist $xresult",
         "risk" : "medium",
         "type" : "public,part,quit,caction"
      },
      "blacklistpcre" : {
         "class" : "strblpcre",
         "content" : "blah",
         "reason" : "pcre blacklist $xresult",
         "risk" : "medium",
         "type" : "public,part,quit,caction"
      },
      "botnickbl" : {
         "class" : "nickbl",
         "content" : "contentisuseless",
         "reason" : "matches against a possible bot nick",
         "risk" : "info",
         "type" : "join,nick"
      },
      "botpattern1" : {
         "class" : "nuhg",
         "content" : "DISABLED[A-Za-z]{4}\\d+!~[A-Za-z]{4}@.*![A-Za-z]{4}",
         "reason" : "matches probable botnet pattern",
         "risk" : "debug",
         "type" : "join"
      },
      "cloning" : {
         "class" : "cloning",
         "content" : "4",
         "reason" : "excessive clones detected ($xresult) !clonesdetected ",
         "risk" : "debug",
         "type" : "join"
      },
      "ctcp-dcc" : {
         "class" : "re",
         "content" : ".*",
         "reason" : "ctcp-dcc",
         "risk" : "high",
         "type" : "cdcc"
      },
      "ctcp-ping" : {
         "class" : "re",
         "content" : ".*",
         "reason" : "channel-wide CTCP PING",
         "risk" : "medium",
         "type" : "cping"
      },
      "ctcp-version" : {
         "class" : "re",
         "content" : ".*",
         "reason" : "channel-wide CTCP VERSION",
         "risk" : "medium",
         "type" : "cversion"
      },
      "cyclebotnet" : {
         "class" : "cyclebotnet",
         "content" : "4:4:30",
         "reason" : "botnet cyclespam",
         "risk" : "high",
         "type" : "part"
      },
      "dcc" : {
         "class" : "re",
         "content" : "^DCC (SEND|S?CHAT) |\\bDCC (SEND|S?CHAT) \"?[A-Za-z0-9]+\"? \\d+ \\d+ \\d+",
         "override" : "dcc-medium",
         "reason" : "using the DC.C SE.ND exploit",
         "risk" : "high",
         "type" : "public"
      },
      "dcc-medium" : {
         "class" : "re",
         "content" : "\\bDCC SEND ",
         "reason" : "using the DC.C SE.ND exploit",
         "risk" : "medium",
         "type" : "public"
      },
      "dcc-part" : {
         "class" : "re",
         "content" : "\\bDCC SEND ",
         "reason" : "using the DC.C SE.ND exploit in a part message",
         "risk" : "high",
         "type" : "part"
      },
      "dcc-topic" : {
         "class" : "re",
         "content" : "\\bDCC SEND ",
         "reason" : "setting a bad topic",
         "risk" : "medium",
         "type" : "topic"
      },
      "debugme" : {
         "class" : "re",
         "content" : "debugantispambotdebug",
         "reason" : "sending a string designed to trigger a debug test alert, disregard this",
         "risk" : "debug",
         "type" : "public"
      },
      "fakechristel" : {
         "class" : "nuhg",
         "content" : "(?i)chr[i1]ste[l1]_?!.*",
         "reason" : "christel's nick but not host",
         "risk" : "medium",
         "type" : "join"
      },
      "fakeglobal" : {
         "class" : "re",
         "content" : "(?i)\\[global notice\\]",
         "override" : "notice",
         "reason" : "fake global notice",
         "risk" : "high",
         "type" : "notice"
      },
      "floodqueue10-20" : {
         "class" : "floodqueue",
         "content" : "10:20",
         "reason" : "flooding (10 msgs in 20 seconds)",
         "risk" : "low",
         "type" : "public,caction"
      },
      "genspammer2" : {
         "class" : "nuhg",
         "content" : ".*!~hyd@.*!.*",
         "reason" : "suspicious NUHG, rule 3 (~hyd trolling 2012/12, 2013/03)",
         "risk" : "info",
         "type" : "join"
      },
      "gnaa-topic" : {
         "class" : "re",
         "content" : "(?i)\\bgnaa\\b",
         "reason" : "setting a GNAA topic",
         "risk" : "medium",
         "type" : "topic"
      },
      "gnaaquit" : {
         "class" : "re",
         "content" : "(?i)\\bgnaa\\b",
         "reason" : "quitting with a GNAA message",
         "risk" : "medium",
         "type" : "quit"
      },
      "invite" : {
         "class" : "invite",
         "content" : "blah",
         "reason" : "invited to a channel",
         "risk" : "debug",
         "type" : "invite"
      },
      "joinflood" : {
         "class" : "floodqueue",
         "content" : "5:20",
         "reason" : "join flood (5 joins in 20 seconds)",
         "risk" : "medium",
         "type" : "join"
      },
      "joinfloodquiet" : {
         "class" : "floodqueue2",
         "content" : "3:90",
         "reason" : "join flood (3 joins in 90 seconds) by quieted user",
         "risk" : "low",
         "type" : "join"
      },
      "joinmsgquit" : {
         "class" : "joinmsgquit",
         "content" : "3",
         "reason" : "joined, said something, parted/quit",
         "risk" : "info",
         "type" : "quit,part"
      },
      "keylogger" : {
         "class" : "re",
         "content" : "^startkeylogger$|^stopkeylogger$",
         "override" : "keylogger-medium",
         "reason" : "using the norton start-key-logger exploit",
         "risk" : "high",
         "type" : "public"
      },
      "keylogger-medium" : {
         "class" : "re",
         "content" : "\\bstartkeylogger\\b|\\bstopkeylogger\\b",
         "reason" : "using the norton start-key-logger exploit",
         "risk" : "medium",
         "type" : "public"
      },
      "last_measure_regex" : {
         "class" : "re",
         "content" : "(?i)(http://(\\S+\\.)?on\\.nimp\\.org|http://(\\S+\\.)?feenode.net|http://wikipaste\\.eu|http://(\\S+\\.)?bioghost\\.com|http://(\\S+\\.)?on\\.zoy\\.org|http://(lastmeasure|dirtysanchez|doom3|freeipods|halflife2|halo2|lastmeasure4|lastmeasureunified|softmeasure|traceroute)\\.zoy\\.org)",
         "reason" : "posting what appears to be a last measure link",
         "risk" : "high",
         "type" : "public"
      },
      "levenflood" : {
         "class" : "levenflood",
         "content" : "contentisuseless",
         "override" : "flood-5to3",
         "reason" : "levenshtein flood match",
         "risk" : "low",
         "type" : "public"
      },
      "malspreader1" : {
         "class" : "nuhg",
         "content" : ".*!~NUMONE@.*!REAL_NAME",
         "reason" : "suspicious NUHG, rule 1",
         "risk" : "low",
         "type" : "join"
      },
      "massflood" : {
         "class" : "splitflood",
         "content" : "4:4",
         "reason" : "distributed flooding",
         "risk" : "high",
         "type" : "public,caction"
      },
      "meepsheep1" : {
         "class" : "nuhg",
         "content" : "(?i).*..psh..p.*",
         "reason" : "common troll (meepsheep)",
         "risk" : "info",
         "type" : "join"
      },
      "nickbl" : {
         "class" : "nickfuzzy",
         "content" : "1:chanserv,nickserv,hostserv,operserv,memoserv",
         "reason" : "fuzzy matching against nick blacklist (services set)",
         "risk" : "low",
         "type" : "join,nick"
      },
      "nickbl2" : {
         "class" : "nickfuzzy",
         "content" : "1:incog,meepsheep,blackman,brthmthr,patroclus_rex",
         "reason" : "fuzzy matching against nick blacklist (set 2)",
         "risk" : "debug",
         "type" : "join,nick"
      },
      "nickbl_impersonate" : {
         "class" : "nickfuzzy",
         "content" : "2:botchlab,bremmyfag,ilbelkyr,bremsstrahlung,ishanyx",
         "reason" : "fuzzy matching against nick blacklist (impersonation set), see ;falsematch if in error",
         "risk" : "medium",
         "type" : "join,nick"
      },
      "nickspam" : {
         "class" : "nickspam",
         "content" : "60:10",
         "reason" : "nickspamming",
         "risk" : "high",
         "type" : "public"
      },
      "notice" : {
         "class" : "re",
         "content" : ".*",
         "reason" : "sending a notice to the channel",
         "risk" : "medium",
         "type" : "notice"
      },
      "phishing1" : {
         "class" : "re",
         "content" : "identify.*/msg .* identify <password>",
         "override" : "notice",
         "reason" : "trying to steal passwords (v1)",
         "risk" : "high",
         "type" : "notice"
      },
      "phishing2" : {
         "class" : "re",
         "content" : "^This nickname is registered",
         "override" : "notice",
         "reason" : "trying to steal passwords (v2)",
         "risk" : "high",
         "type" : "notice"
      },
      "proxylist" : {
         "class" : "proxy",
         "content" : "lolz",
         "reason" : "IP is blacklisted",
         "risk" : "info",
         "type" : "join"
      },
      "redarmyoflol" : {
         "class" : "re",
         "content" : "RED ARMY OF LOL",
         "reason" : "parting with 'red army of lol'",
         "risk" : "low",
         "type" : "part"
      },
      "sms_spam" : {
         "class" : "re",
         "content" : "\\.com/sms.exe",
         "reason" : "spam link / virus",
         "risk" : "low",
         "type" : "public"
      },
      "suckmynick" : {
         "class" : "re",
         "content" : "(suck.*dick)",
         "reason" : "using a potentially offensive nick",
         "risk" : "low",
         "type" : "join"
      },
      "urlcrunch" : {
         "class" : "urlcrunch",
         "content" : "^(https?:\\/\\/bitly.com\\/a\\/warning|https?://(?:i.)?imgur.com|https?://(?:www.)?hotxgirls.net)",
         "reason" : "URL that resolves to some place that is bad",
         "risk" : "medium",
         "type" : "public"
      },
      "wikifags2" : {
         "class" : "re",
         "content" : "(?i)^sure are a ?lot of .*fags? in here",
         "reason" : "saying 'sure are a lot of wikifag'...",
         "risk" : "low",
         "type" : "public"
      },
      "xchatbroad" : {
         "class" : "re",
         "content" : "THISHASBEENDISABLED[ð-÷][€-¿]{3}",
         "reason" : "using an x-chat for windows unicode exploit (broad detection version, may be error prone)",
         "risk" : "low",
         "type" : "public,part,quit,caction"
      },
      "xchatexploit" : {
         "class" : "re",
         "content" : "󠁟",
         "override" : "xchatbroad",
         "reason" : "using an x-chat for windows unicode exploit",
         "risk" : "high",
         "type" : "public,part,quit,caction"
      }
   }
}