Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Social Network (mail)
|
Technical Name |
antivir |
License | See License tab |
Website | https://github.com/nuncjo |
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