Re: [clamav-users] [External] Re: Scan very slow

2019-04-06 Thread Maarten Broekman via clamav-users
Given that the PhishTank signatures, specifically, have been causing the performance issues, no. It's not unreasonable to want to pull them, and only them, out. Having them in a separate db file would be highly beneficial to those of us that don't want or need them at all. Barring that, having a

Re: [clamav-users] [External] Re: Scan very slow

2019-04-07 Thread Maarten Broekman via clamav-users
Having the Phishtank sigs as an additional optional database would be great and, from my perspective, well worth the effort since we don't use them. On Sun, Apr 7, 2019 at 9:44 AM Micah Snyder (micasnyd) via clamav-users < clamav-users@lists.clamav.net> wrote: > Tim, > > > > There are a couple

Re: [clamav-users] Problem with freshclam updating daily-25380.cdiff

2019-03-06 Thread Maarten Broekman via clamav-users
I'm not sure if the safebrowsing.cld is included in the daily cdiff, but the current safebrowsing.cld takes between 50 and 70 seconds to *load* into clamscan, where a copy from February loads in <5 seconds. safebrowsing data: Old (fast): ClamAV-VDB:13 Feb 2019 13-16

Re: [clamav-users] Problem with freshclam updating daily-25380.cdiff

2019-03-06 Thread Maarten Broekman via clamav-users
> Maarten, > > Thanks for reporting that. There is an ordering difference of the content > in the latest GDB file which is affecting the load time, and we will be > fixing that in the next safebrowsing CVD version. > > Dave R. > > On Wed, Mar 6, 2019 at 10:42 AM Maarten

[clamav-users] Problem with new safebrowsing file

2019-03-06 Thread Maarten Broekman via clamav-users
The new safebrowsing cvd (starting with version 48473) seems to be sorted in a way that increases the load time of that file by several orders of magnitude. I have a previous version from February where the entries in the gdb section are sorted like this:

Re: [clamav-users] Problem with new safebrowsing file

2019-03-06 Thread Maarten Broekman via clamav-users
: 70c61f41e52b5a2134ff7e272f5a6df1 > > SHA256 (safebrowsing.gdb) = > 7f6645b8d865de3992be1ad5de215afd848acee4c021eed4818fdb760f76b57e > > Something must be different. > > Dave R. > > On Wed, Mar 6, 2019 at 5:39 PM Maarten Broekman via clamav-users < > clamav-users@lists.clamav.net> wrote: > >> The new safebrowsin

Re: [clamav-users] Scan very slow

2019-03-18 Thread Maarten Broekman via clamav-users
We've noticed a marked increase in scan times over the last couple of weeks as well. From the look of it, there's something in the daily file that's causing it. Whether this is similar to the safebrowsing issue (where the ordering of entries in the file caused a 3000% increase in time) is unclear.

Re: [clamav-users] [External] Re: Scan very slow

2019-04-09 Thread Maarten Broekman via clamav-users
type 0, > whereas we’d split the Phishtank.Phishing signatures up by target type to > reduce scan times of files where the signatures won’t apply. It should > also speed things up quite a bit for other file types to split those up by > Target types. > > > > Further research

Re: [clamav-users] Problems scanning for PUAs

2019-05-30 Thread Maarten Broekman via clamav-users
I think the PUA version are just potentially unwanted things that exhibit trojan-like behavior but aren't confirmed trojans. As for the original question, it looks like it's only using the first part of that to determine the group of PUAs to ignore. These are the 'PUA' families (and associated

[clamav-users] Filetype determination

2019-04-26 Thread Maarten Broekman via clamav-users
One problem that we're running into is that we encounter web pages and cgi scripts that are "inconsistently" normalized. I put "inconsistently" in quotes because without fully knowing the way ClamAV normalizes files, it is sometimes difficult to understand why two similar files might be normalized

Re: [clamav-users] [External] Re: Scan very slow

2019-04-09 Thread Maarten Broekman via clamav-users
Clearly the latest daily.cvd is performing better, but the remaining "Phishtank" sigs are *not* a majority of the slowness. I unpacked the current (?) cvd (ClamAV-VDB:09 Apr 2019 03-53 -0400:25414:1548262:63:X:X:raynman:1554796413) and then ran a test scan with each part to see what the load

Re: [clamav-users] [External] Re: Scan very slow

2019-04-17 Thread Maarten Broekman via clamav-users
Are the "Phish" REPHISH signatures still in the daily or were they removed as well? Those were causing part of the issue. --Maarten On Wed, Apr 17, 2019 at 5:24 AM Al Varnell via clamav-users < clamav-users@lists.clamav.net> wrote: > An additional 3968 Phishtank.Phishing.PHISH_ID_???

Re: [clamav-users] [External] Re: Scan very slow

2019-04-17 Thread Maarten Broekman via clamav-users
Gotcha. Those were slowing the scans down more than the 3000-someodd PhishTank sigs the last time I tested (Apr 9th). daily_Phish.ldb Time: 1.612 sec (0 m 1 s) daily_Phishtank.ldb Time: 0.146 sec (0 m 0 s) 2515 daily_Phish.ldb 3516 daily_Phishtank.ldb On Wed, Apr 17, 2019 at

Re: [clamav-users] ClamAV: Local Private Mirror

2019-07-30 Thread Maarten Broekman via clamav-users
I'd have to agree. Bandwidth is the least of the concern. Control is paramount. On Tue, Jul 30, 2019 at 7:26 AM Henrik K wrote: > > Control. Is it really necessary to go over basic IT management practises > here? > > On Tue, Jul 30, 2019 at 05:13:50PM +, Joel Esler (jesler) via >

Re: [clamav-users] Use of clamav-daemon.socket? (0.102.0)

2019-11-14 Thread Maarten Broekman via clamav-users
For my install, I had multiple instances of clamd running (in order to have different databases loaded for different purposes) and the systemd sockets were throwing errors about other processes using them, which in turn caused the additional instances of clamd service units to fail. However, the

Re: [clamav-users] Html.Malware.Agent-7380889-0 false positive on Apache files?

2019-11-12 Thread Maarten Broekman via clamav-users
That's a hash signature. My guess is that there's 315 byte file inside the jar that was marked. The 2.4 version of fop has a 315 byte class file (PDFColorSpace.class) in it with a different MD5 hash. You might want to unpack the fop.jar and see if any of the files there match. Chances are some

Re: [clamav-users] Multiple Clam Daemons on a single system

2020-03-05 Thread Maarten Broekman via clamav-users
> On Mar 5, 2020, at 05:09, Ashish Poddar via clamav-users > wrote: > >  > Hi all, > > We have a situation where we run a clamav daemon to scan files on a system. > However, in the process, we only use about 10% CPU in the system. We would > naturally like to increase this number. We were

Re: [clamav-users] How to decode virus signature

2020-09-10 Thread Maarten Broekman via clamav-users
You can pipe that to sigtool --decode-sigs to see what it is. What I usually use is: $ sigtool --find-sigs BAD_RULE | awk '{ print $NF }' | sigtool --decode-sigs On Thu, Sep 10, 2020 at 9:55 PM Olivier via clamav-users < clamav-users@lists.clamav.net> wrote: > Hi, > > I have a virus signature

Re: [clamav-users] Php.Trojan.MSShellcode-81 FOUND on MS IIS log file?

2021-07-12 Thread Maarten Broekman via clamav-users
In all likelihood, it means that a GET or POST payload contained the signature. Whether or not the request containing the signature was successful in injecting it into your site is a question that only you will be able to answer. You can use sigtool to find the signature and again to decode the

Re: [clamav-users] Failed to update virus definitions

2021-04-02 Thread Maarten Broekman via clamav-users
Chances are you are using a version of ClamAV older than 0.100 and/or using wget/curl to get the updates rather than using the approved methods (freshclam / cvdupdate). https://www.clamav.net/documents/end-of-life-policy-eol https://www.clamav.net/documents/freshclam-faq Additionally, there are

Re: [clamav-users] LibClamAV Warning: PNG: Unexpected early end-of-file

2021-04-05 Thread Maarten Broekman via clamav-users
While verbose (-v) is helpful in some cases, you probably want to use the debug option to get the large volume of LibClamAV messages. I find debug is far more useful than verbose most times. Maarten Sent from a tiny keyboard > On Apr 5, 2021, at 04:17, Vivek Patil via clamav-users > wrote: >

Re: [clamav-users] Mac OS Big Sur on M1

2021-09-01 Thread Maarten Broekman via clamav-users
Use homebrew unless you absolutely need the release candidate version. I installed ClamAV 0.103.3 via homebrew on my M1 Mac and it runs pretty well. On Wed, Sep 1, 2021 at 3:33 PM Vaughn A. Hart wrote: > Hi Folks, > > So I figured out the issue. It looks like during the install/upgrade that >

Re: [clamav-users] Why does clamonacc says /var/www does not exist (among other things)?

2021-09-09 Thread Maarten Broekman via clamav-users
It depends on the OS, but if you have something like AppArmor or GrSecurity, you may need to grant the appropriate permissions there to allow access even for root. --Maarten On Thu, Sep 9, 2021 at 2:34 PM Micah Snyder (micasnyd) via clamav-users < clamav-users@lists.clamav.net> wrote: > Hi! > >

Re: [clamav-users] ClamAV is not respecting Phishing* settings.

2021-09-23 Thread Maarten Broekman via clamav-users
To further Ged's point, these signatures that are hitting are extended logical signatures. Phishing signatures have a very specific format that are either solely looking at hostnames, host prefixes, link destinations and alternate text, and displayed hostnames (

Re: [clamav-users] Netapp hidden files

2021-10-05 Thread Maarten Broekman via clamav-users
Hi Jeff, You would want to add those .snapshot paths to "ExcludePath" directives in your clamd.conf file for clamd / clamdscan or use the "--exclude-dir" option for clamscan. You'll probably want to write a wrapper script for clamscan to build up the list of .snapshot directories to ignore at

Re: [clamav-users] Nonsensical noreplies from ClamAV team

2021-11-18 Thread Maarten Broekman via clamav-users
"If you provided a description that suggests otherwise..." is a past tense conditional referring to the form submission. That phrase is the equivalent to this longer "If you put information in the description that suggests the sample is not clean..." On Thu, Nov 18, 2021 at 2:27 PM G.W. Haywood

Re: [clamav-users] [ext] ERROR: listdb: Error listing database /var/lib/clamav/daily.cvd

2021-11-24 Thread Maarten Broekman via clamav-users
On Wed, Nov 24, 2021 at 10:14 AM Ralf Hildebrandt via clamav-users < clamav-users@lists.clamav.net> wrote: > * Arnaud Jacques via clamav-users : > > Is it just me, or? > > Same here: > > # clamdscan -V > ClamAV 0.103.4/26363/Wed Nov 24 10:19:30 2021 > > # sigtool -l|tail >

Re: [clamav-users] [ext] ERROR: listdb: Error listing database /var/lib/clamav/daily.cvd

2021-11-24 Thread Maarten Broekman via clamav-users
I've opened https://github.com/Cisco-Talos/clamav/issues/389 for this issue. The issue *shouldn't* be causing problems with scanning (it wasn't causing a problem for me), but if it is please add a comment to the issue to that effect. --Maarten On Wed, Nov 24, 2021 at 11:19 AM Maarten Broekman <

Re: [clamav-users] [ext] ERROR: listdb: Error listing database /var/lib/clamav/daily.cvd

2021-11-24 Thread Maarten Broekman via clamav-users
On Wed, Nov 24, 2021 at 10:42 AM Maarten Broekman < maarten.broek...@gmail.com> wrote: > > > On Wed, Nov 24, 2021 at 10:14 AM Ralf Hildebrandt via clamav-users < > clamav-users@lists.clamav.net> wrote: > >> * Arnaud Jacques via clamav-users : >> > Is it just me, or? >> >> Same here: >> >> #

Re: [clamav-users] clamav DOA

2021-11-18 Thread Maarten Broekman via clamav-users
Cody, it looks like you’re running ClamAV 0.101.2. That version is too old. If you upgrade to 0.103.4, you should be able to start downloading the db files again. What kind of system are you on? Is ClamAV prepackaged for you or did you build from source? -Maarten Sent from a tiny keyboard >

Re: [clamav-users] Solaris users in a bind

2021-11-06 Thread Maarten Broekman via clamav-users
All versions of ClamAV prior to 0.103 are essentially EOL at this point. The only options for Solaris 10 are likely to build from source, along with all the prerequisites. --Maarten On Sat, Nov 6, 2021 at 7:54 AM Sunhux G via clamav-users < clamav-users@lists.clamav.net> wrote: > > We're still

Re: [clamav-users] Where can I download daily.cvd, bytecode.cvd and main.cvd from?

2022-01-17 Thread Maarten Broekman via clamav-users
On Mon, Jan 17, 2022 at 9:53 AM Andrew C Aitchison via clamav-users < clamav-users@lists.clamav.net> wrote: > On Mon, 17 Jan 2022, Nick Howitt via clamav-users wrote: > > > - not > > have to install some uncommon download package and then download them. > That > > is making people jump through

Re: [clamav-users] Where can I download daily.cvd, bytecode.cvd and main.cvd from?

2022-01-17 Thread Maarten Broekman via clamav-users
Running freshclam after the package is installed should pull any/all of the files that are missing. That is probably the best way to do it. --Maarten On Mon, Jan 17, 2022 at 8:32 AM Nick Howitt via clamav-users < clamav-users@lists.clamav.net> wrote: > Hi, > I am trying to package ClamAV

Re: [clamav-users] SSL Authentication Error

2022-03-07 Thread Maarten Broekman via clamav-users
I would double-check to make sure python3 is using the correct CA bundle. On recent python3 versions, that should be the certifi bundle. $ which python3 /opt/homebrew/bin/python3 $ /opt/homebrew/bin/python3 --version Python 3.9.10 $ python3 -m certifi

Re: [clamav-users] Prevent root users from running infected files

2022-03-13 Thread Maarten Broekman via clamav-users
1. You’re excluding root in the config so you won’t be able to prevent from accessing malicious files. 1A. You shouldn’t run clamd as root. run it as another user (like “clamav” or “clamd”) 2. You are limiting it to only scan files in /home on-access 2A. You would likely want it to scan the

Re: [clamav-users] human friendly signatures

2022-03-15 Thread Maarten Broekman via clamav-users
On Tue, Mar 15, 2022 at 1:53 PM G.W. Haywood via clamav-users < clamav-users@lists.clamav.net> wrote: > Hi there, > > On Tue, 15 Mar 2022, Laurent S. via clamav-users wrote: > >> using Yara's engine in clamav directly is something that has been > >> brought up time and again. It is possible. My

Re: [clamav-users] Virus database not updated since 14th July 2021

2022-03-08 Thread Maarten Broekman via clamav-users
What version of ClamAV are you using? July of last year sounds about when EOL versions of ClamAV were blocked wholesale and the 'acceptable version' was moved up and all prior versions were blocked. EOL has moved several times since then as well. Currently, the current stable version 0.104 and I

Re: [clamav-users] Minor bug or working as intended?

2022-02-25 Thread Maarten Broekman via clamav-users
There's not a lot that you can do in Yara rules that you can't do in LDB sigs... for what it's worth, here's a logical sig that detects the same thing as the Yara rules... mbroekman@lothlorien:~$ grep MJB.JS.SendEmail clamdb/javascript_sigs.ldb| sigtool --decode-sigs VIRUS NAME:

Re: [clamav-users] Virus not detected

2022-03-21 Thread Maarten Broekman via clamav-users
The accepted way would be to supply a link to the VirusTotal scan that didn't detect it. --Maarten On Mon, Mar 21, 2022 at 4:36 PM Jorge Bastos wrote: > It's just the link :P > How would you be able to test then? ;) > > ok won't send again.. but the default virus db doesn't seems to be >

Re: [clamav-users] Malware found on datadog folder in centos. Is it false-positive?

2022-01-31 Thread Maarten Broekman via clamav-users
Looks like the signature was dropped already because sigtool doesn't find it anymore after I updated the databases through freshclam. --Maarten On Mon, Jan 31, 2022 at 7:58 AM Al Varnell via clamav-users < clamav-users@lists.clamav.net> wrote: > Well yes, the fact that it was the only scanner

Re: [clamav-users] why is clamscan excluding home directory ?

2022-04-08 Thread Maarten Broekman via clamav-users
As Ged pointed out, the fact that /home is mounted as a separate mount-point (even though it's the same device), leads the system to see them as different filesystems (you can umount /home without umount'ing /) As a result, your use of cross-fs=no tells clamscan to not cross filesystem boundaries

Re: [clamav-users] why is clamscan excluding home directory ?

2022-04-08 Thread Maarten Broekman via clamav-users
If df is showing them separately, they are considered "separate" filesystems by the OS even if the device is the same. This is a 'btrfs'-ism. It's one partition with multiple sub-volumes that are treated as separate.

Re: [clamav-users] On access scanning causes system lockup with certain directories

2022-04-13 Thread Maarten Broekman via clamav-users
I'm not sure if this IS the answer, but my guess would be that ClamAV needs to access files in /usr/lib64... And it has to scan (and come back with an OK result) before access is allowed... resulting in scans being blocked which, in turn, results in ALL processes being blocked while waiting on the

Re: [clamav-users] Amazon/SpoofedDomain FP

2022-03-17 Thread Maarten Broekman via clamav-users
That's indicating that there is a link in the email that's displaying " www.americanexpress.com" but is actually going to "www.amazonbusiness.com". It's hard to help without seeing the original email code. On Thu, Mar 17, 2022 at 12:55 PM Alex via clamav-users < clamav-users@lists.clamav.net>

Re: [clamav-users] FreshClam received error code 429 from the ClamAV Content Delivery Network (CDN).

2022-06-22 Thread Maarten Broekman via clamav-users
What version of ClamAV are you using? What do the logs show? If you are before 0.103, then your version is too old. https://docs.clamav.net/faq/faq-eol.html Maarten Sent from a tiny keyboard > On Jun 22, 2022, at 05:08, Kachare, Ganesh, Vodafone (External) via > clamav-users wrote: > >  >

Re: [clamav-users] Permanently banned from clamav

2022-07-02 Thread Maarten Broekman via clamav-users
Downloading the entire databases unnecessarily (using web browsers, etc) is banned because it results in higher volumes of data transfer which, in turn, costs more money. As such, using things other than freshclam or cvdupdate were explicitly banned. There’s not much else to say. Maarten

Re: [clamav-users] Clamav found in php files Archive.Test.Agent2-9953724-0

2022-06-24 Thread Maarten Broekman via clamav-users
This is a new signature that was added today. It's rather complicated and, with the "Test" in the name, I'm not sure it's meant to be published. We'll have to wait to hear from the ClamAV folks on that matter, but you can submit it as a false positive (for those Wordpress zips) using the False

Re: [clamav-users] Clamav found in php files Archive.Test.Agent2-9953724-0

2022-06-24 Thread Maarten Broekman via clamav-users
It's 100% a bad signature and should get removed. I just checked the current version of the akismet plugin ( https://wordpress.org/plugins/akismet/) from WordPress and it is detected by this signature but by nothing else: https://virusscan.jotti.org/en-US/filescanjob/00ecsxf7es

Re: [clamav-users] Heuristics.Phishing.Email.SpoofedDomain false positive desjardins.com and rbc.com

2022-06-15 Thread Maarten Broekman via clamav-users
https://docs.clamav.net/manual/Signatures/PhishSigs.html#wdb-format There are examples of the wdb format a bit lower on the page. Essentially, you would create a file "good_urls.wdb" in the same directory as the existing ClamAV database files and put in an appropriate line to handle the domains

Re: [clamav-users] PUA detected. False Positive?

2022-07-15 Thread Maarten Broekman via clamav-users
e keeping PUA > checks still enabled for other cases. > > In the past I've not had great success searching entirely on my own. > > joe a. > > On 7/15/2022 4:34 PM, Maarten Broekman via clamav-users wrote: > > A "PUA" is a "potentially unwanted applica

Re: [clamav-users] PUA detected. False Positive?

2022-07-15 Thread Maarten Broekman via clamav-users
A "PUA" is a "potentially unwanted application", not necessarily malicious. You can disable PUA checks by ensuring that your clamd configuration has "DetectPUA" set to no. For reference, the signature is looking for bitwise math on CharCodeAt() operations in HTML files. VIRUS NAME:

Re: [clamav-users] CVE_2021_4034-9951522 false positives on node executables

2022-08-03 Thread Maarten Broekman via clamav-users
e606314125862e27 node-v18.7.0-darwin-arm64/bin/node > > so I wonder what's up there. As it isn't the same file that you have > I didn't bother to scan it, but see below for 'strings' etc. > > On Tue, 2 Aug 2022, Maarten Broekman via clamav-users wrote: > > > Addition

Re: [clamav-users] CVE_2021_4034-9951522 false positives on node executables

2022-08-02 Thread Maarten Broekman via clamav-users
That's the only thing I can think of. I had node 18.6.0 and I'm running ClamAV 0.105.0. That detected the node binary as having the same virus. However, when I upload and scan the binary with VirusTotal, their install of ClamAV does not detect it. Similarly, after I upgraded to node 18.7.0, my

Re: [clamav-users] Unix.Malware.Kaiji-10003916-0

2023-06-08 Thread Maarten Broekman via clamav-users
> So how does Kaiji-10003917-0 to Kaiji-10003916-0 ? Does > Kaiji-10003916-0 get thrown out, or does it get updated to > Kaiji-10003917-0 ? The way it was explained to me (years ago) is that they are separate signatures, unrelated expect in that they are related to Kaiji. If 10003916-0 was