Closed ggaussling closed 2 years ago
regarding my observations, I think, it might got to do with temporarily unavailable resources of my computer. Maybe the scanned item needs more ressources, or other processes are using those off. It may loops on the item, until the ressources are available again?
@ggaussling Do you see this issue every time you scan Nextcloud-3.4.4-x64.msi
and ProcessExplorer.zip
? It could be a clamav bug. If you can share a link to these files I can give it a try on my machine.
I started seeing this error regularly in my periodic scan jobs, beginning a few weeks ago.
@qs5779 did you upgrade clamav to a new version a few weeks ago, or are there files new to your system in the past few weeks that trigger this warning?
[2022-05-13T06:26:52-0400] [ALPM] upgraded clamav (0.104.2-1 -> 0.105.0-1) was my last upgrade. I am not 100% sure, but that is about the time I started seeing the message. My job scans a specific list of directories one at a time, and it seems to output the warning for each recursive scan.
Apologies for the delayed reply @qs5779. I'm seeing the same issue as well with many signed files. I'll add a task to our Jira to investigate.
I got the same issue. Windows 7 x64 sp1 in VirtualBox. I have tried clamscan 0.105.0 both x86 and x64 versions, for files and memory scan.
Got the same issue. Manjaro Linux with the 5.18.5-lqx1-1-lqx kernel (Liquorix), ClamAV 0.105.0.
I am seeing this message. I have just built clamav from the github source, version 1.0.0, my first time using it. I have Ubuntu 19.10 5.3.0-64-generic
Same issue on Arch Linux ClamAV 0.105.0-1.
LibClamAV Warning: crtmgr_rsa_verify: verification failed: fp_exptmod failed with 1
LibClamAV Warning: crtmgr_rsa_verify: verification failed: fp_exptmod failed with 1
LibClamAV Warning: crtmgr_rsa_verify: verification failed: fp_exptmod failed with 1
...
Same issue, Arch linux, 5.15 kernel x86_64.
Got the same issue, Manjaro 5.15.59-1 x86_64
Il faut utiliser le --nocerts
pour enlever l'erreur, cependant cette dernière n'impacte pas votre scan.
Fresh install of ClamAV on MacOS with brew and getting same error.
Fresh install with ClamAV Package from Download Page on MacOS: Same error.
Same issue. Arch Linux 5.15.61-1-lts kernel with ClamAv 0.105.0
Fresh install for Windows 11 - "LibClamAV Warning: crtmgr_rsa_verify: verification failed: fp_exptmod failed with 1"
** Only seeing this error on Microsoft .Net created files (ie CSharp); and not all of them, just some. (Try Microsoft.HTTP.Net.dll or Microsoft.Versioning, System.Net.HTTP, System.Diagnostics., System.Threading.dll, WindowBase.dll, or any another .NET framework file or compiled EXE)
Appears that the codesigning for .NET file on Windows is triggering this error. Other platforms, cannot attest, unless they are cross-platform .Net Core files causing the issue?
Hi all. I have an update. I investigated this and found the issue has to do with certificate verification for trusting authenticode signed executables. The ability to trust executables signed by trusted publishers was added in 0.105 development, but was subsequently broken when upgrading the vendored TomsFastMath library for fast floating point math. Specifically, it appears to happen when the executable is signed by a trusted certificate when clamav is determining if the signature can be trusted.
For context, we have a number of rules for trusted certificates in our daily database right now, most of which are for Microsoft code signing certificates. So you're probably seeing this message when scanning Microsoft-signed programs.
So the good news is that this bug's only adverse affect is that files which could have been trusted are instead fully scanned.
While working on improvements to the allmatch feature, I included a test to verify that the certificate trust feature works, which is when I realized the origin of this bug. I've kept the test, and have marked it as "expected failure": https://github.com/Cisco-Talos/clamav/pull/684/commits/0f5aeb7fe2939a6be1d34086c9b14c5b1f99e772#diff-4fffe0ac06fa6a2638d7264c4df60286cd139248cfca5ec19e5dca63b789d021R123-R160
Once we fix this issue, that test should pass.
I don't have an ETA for fixing this issue, however. One of my teammates is expected to work on this in the coming weeks.
Hi,
I issued this cmd line
clamscan --recursive c:\
sometimes I get this warning:
LibClamAV Warning: crtmgr_rsa_verify: verification failed: fp_exptmod failed with 1
I don't know if this is harmless, and where does it come from.
This link here is the only appearance on the net, I was able to find:
http://webcache.googleusercontent.com/search?q=cache:gQqfY4JsG6kJ:https://uraniumhexafluori.de/ClamAV/&hl=de&gl=de&strip=1&vwsrc=0 Memento: https://web.archive.org/web/20220531130349/https://uraniumhexafluori.de/ClamAV/
e.g.
Hardware:
freshclam.log:
clamconf.txt