Odoo Antivirus

by
Odoo
v 7.0 Third Party 176
Download for v 7.0
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Social Network (mail)
Technical Name antivir
LicenseSee License tab
Websitehttps://github.com/nuncjo
You bought this module and need support? Click here!

Attachments antivirus scanner.

Clamav daemon and virustotal quickstart:

  • To install clamav deamon: [ubuntu/debian]: > sudo apt-get install clamav clamav-daemon
  • To update virus definitions: > sudo freshclam
  • To check if it's running: > ps ax | grep [c]lamd
  • To edit options like max filesize etc. > sudo nano /etc/clamav/clamd.conf then sudo /etc/init.d/clamav-daemon restart
  • For other distributions check clamav manual
  • For use of virustotal api: pip install virustotal-api
  • Virustotal api needs api key, it can be obtained after registering www.virustotal.com

Features:

  • Scans files on attachments create
  • Full list of ClamAV features at http://www.clamav.net/
  • Online scan by Virustotal api: manual hash checking for quarantined files analysis, could be simply extended if needed.

Policy:

  • Default infected files policy: delete in frontend, store in quarantine for further analysis, blacklisting etc.
  • Unsafe files scanned by cron are hidden from user. This can be customized by using ir.rule in security.xml.

Notice:

  • Clamav offers only basic protection compared to commercial antivirus software, I encourage You to extend this plugin to use more sophisticated protection. Use of Python multiav library is suggested.
  • Odoo antivirus is rather skeleton for extending with dedicated commercial antivirus solutions.

Warning:

  • Use at own risk !

Future extension possibilites for e.g.

  • Scanning website urls in mails in external services/checking in phising databases etc.
  • More pre defined scanners: suggested use of https://github.com/nuncjo/multiav
  • Predefined hash databases (like http://virusshare.com/)
  • Hash checking for every file in archives
  • Antispam mail extension
  • Periodic reports and statistics

Attachments antivirus scanner.

Clamav daemon and virustotal quickstart:

  • To install clamav deamon: [ubuntu/debian]: > sudo apt-get install clamav clamav-daemon
  • To update virus definitions: > sudo freshclam
  • To check if it's running: > ps ax | grep [c]lamd
  • To edit options like max filesize etc. > sudo nano /etc/clamav/clamd.conf then sudo /etc/init.d/clamav-daemon restart
  • For other distributions check clamav manual
  • For use of virustotal api: pip install virustotal-api
  • Virustotal api needs api key, it can be obtained after registering www.virustotal.com

Features:

  • Scans files on attachments create
  • Full list of ClamAV features at http://www.clamav.net/
  • Online scan by Virustotal api: manual hash checking for quarantined files analysis, could be simply extended if needed.

Policy:

  • Default infected files policy: delete in frontend, store in quarantine for further analysis, blacklisting etc.
  • Unsafe files scanned by cron are hidden from user. This can be customized by using ir.rule in security.xml.

Notice:

  • Clamav offers only basic protection compared to commercial antivirus software, I encourage You to extend this plugin to use more sophisticated protection. Use of Python multiav library is suggested.
  • Odoo antivirus is rather skeleton for extending with dedicated commercial antivirus solutions.

Warning:

  • Use at own risk !

Future extension possibilites for e.g.

  • Scanning website urls in mails in external services/checking in phising databases etc.
  • More pre defined scanners: suggested use of https://github.com/nuncjo/multiav
  • Predefined hash databases (like http://virusshare.com/)
  • Hash checking for every file in archives
  • Antispam mail extension
  • Periodic reports and statistics
MIT License

Copyright (c) 2020 nuncjo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.