File: clamav.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 (64 lines) | stat: -rw-r--r-- 2,424 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
#FULLNAME: ClamAV
#VERSION: 1.0
#DESCRIPTION: Clam AntiVirus (ClamAV) is an antivirus software tool-kit able to detect many types of malicious software, including viruses. The rules included here were developed using Clam AV 0.70-1.

#####
#
# Copyright (C) 2004 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:Virus found
#CATEGORY:Malware
#LOG:May 10 15:19:28 mail clamd[14292]: /usr/share/doc/clamav-0.70/test/test2.badext: ClamAV-Test-Signature FOUND
regex=(\S+): (\S+) FOUND; \
 classification.text=Virus found: $2; \
 id=3200; \
 revision=2; \
 analyzer(0).name=Clam Antivirus; \
 analyzer(0).manufacturer=www.clamav.net; \
 analyzer(0).class=Antivirus; \
 assessment.impact.severity=high; \
 assessment.impact.type=file; \
 assessment.impact.completion=succeeded; \
 assessment.impact.description=A virus has been identified by ClamAV; \
 additional_data(0).type=string; \
 additional_data(0).meaning=File location; \
 additional_data(0).data=$1; \
 additional_data(1).type=string; \
 additional_data(1).meaning=Malware name; \
 additional_data(1).data=$1; \
 last

#DESCRIPTION:Virus definition update
#CATEGORY:Update
#LOG:May 10 15:18:56 mail clamd[14292]: Database correctly reloaded (21517 viruses)
regex=Database correctly reloaded \(\d+ viruses\); \
 classification.text=Virus definition update; \
 id=3201; \
 revision=2; \
 analyzer(0).name=Clam Antivirus; \
 analyzer(0).manufacturer=www.clamav.net; \
 analyzer(0).class=Antivirus; \
 assessment.impact.severity=info; \
 assessment.impact.type=other; \
 assessment.impact.completion=succeeded; \
 assessment.impact.description=Clam AV definitions have been updated; \
 last