I ran Clamav on an Ubuntu 20.04 machine and it identified ten Certbot files as infected.
/snap/certbot/1670/lib/python3.8/site-packages/pip/_vendor/distlib/t32.exe: Win.Malware.Generic-9937882-0 FOUND
/snap/certbot/1670/lib/python3.8/site-packages/pip/_vendor/distlib/t64-arm.exe: Win.Malware.Generic-9937882-0 FOUND
/snap/certbot/1670/lib/python3.8/site-packages/pip/_vendor/distlib/t64.exe: Win.Malware.Generic-9937882-0 FOUND
/snap/certbot/1670/lib/python3.8/site-packages/pip/_vendor/distlib/w32.exe: Win.Malware.Generic-9937882-0 FOUND
/snap/certbot/1670/lib/python3.8/site-packages/pip/_vendor/distlib/w64-arm.exe: Win.Malware.Generic-9937882-0 FOUND
/snap/certbot/1670/lib/python3.8/site-packages/pip/_vendor/distlib/w64.exe: Win.Malware.Generic-9937882-0 FOUND
/snap/certbot/1582/lib/python3.8/site-packages/pip/_vendor/distlib/t32.exe: Win.Malware.Generic-9937882-0 FOUND
/snap/certbot/1582/lib/python3.8/site-packages/pip/_vendor/distlib/t64.exe: Win.Malware.Generic-9937882-0 FOUND
/snap/certbot/1582/lib/python3.8/site-packages/pip/_vendor/distlib/w32.exe: Win.Malware.Generic-9937882-0 FOUND
/snap/certbot/1582/lib/python3.8/site-packages/pip/_vendor/distlib/w64.exe: Win.Malware.Generic-9937882-0 FOUND
Both the Clamav database and Certbot are up-to-date.
The identified files' "last modified" timestamp coincides with that of many other Certbot files. So, I am not sure whether it might not be false alarm. And the files appear to target Windows. Unfortunately, Clamav does apparently not provide further information on the identified malware.
I tried having Clamav automatically remove those files
sudo clamscan -ir --remove /
but somehow it fails to do so, blaming a read-only privilege - despite running the command with sudo.
Does anyone have any insights on this issue? Is this a false alarm? Did I configure something incorrectly?