It’s not a question of if we are going to do it. It’s not even a question of when. We know we are and we know when. There are only so many hours in the day, and we haven’t gotten to this one yet. This debate, while interesting is essentially pointless. We’re going to do it.
Sent from my iPhone
Looking at the PiperMail thread about how ClamAV verifies CVDsignatures, I see two things that concern me.First, it says it uses "an implementation of RSA inspired byhttp://www.erikyyy.de/yyyRSA/". How well has this implementation beenvetted? I'm not a crypto expert (by any means), but people like BruceSchneier stress that doing crypto right is difficult, and that thereare many possibilities for subtle errors that cause the encryption tobe weak. Witness the non-random seed that turned up in Debian a fewyears ago, or the recent Elliptic Curve "scandal".Second, if the decryption key is baked in to ClamAV, what protocol isthere to update it in case the encryption key is compromised? I presumeit would require a ClamAV software update, but such an update would becritical, and the current out-of-date notice wouldn't cut it. In factthe fake CVD might even lie about the need for a software update.I'm not saying that HTTPS would answer these questions, but perhaps amore robust security model would be desirable. On Fri, 15 Mar 2019 16:47:02 +0100Arnaud Jacques <webmaster@securiteinfo.com> wrote:Hello,
Le 15/03/2019 à 16:04, instaham--- via clamav-users a écrit :
Leonardo Rodrigues wrote:
the databases are digitally signed, and any modification, such
in a man-in-the-middle attack, would break the signature and
freshclam would refuse to run the files.
Sounds good. Can you please explain how this works in detail?
Apt places GPG keys in the system and uses them to verify
downloaded data.
It doesn't seem that ClamAV placed any GPG keys in my system. So
how is the verification happening?
Read on
https://lists.clamav.net/pipermail/clamav-users/2018-October/007053.html :
"
The .cvd files have an internal cryptographic signature that's
checked by freshclam and clamd/clamscan. If freshclam and/or clamd
accepts the files, you can be assured they are official and
unmodified. This is built into clam; no external tools are called.
"
Btw, it is working for official signatures. 3rd party signatures
provide hash based checksum files.
_______________________________________________clamav-users mailing listclamav-users@lists.clamav.nethttps://lists.clamav.net/mailman/listinfo/clamav-usersHelp us build a comprehensive ClamAV guide:https://github.com/vrtadmin/clamav-faqhttp://www.clamav.net/contact.html#ml