Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False Positive: PUA.Pdf.Trojan.EmbeddedJavaScript-1 #25

Closed
xthursdayx opened this issue Sep 10, 2019 · 2 comments
Closed

False Positive: PUA.Pdf.Trojan.EmbeddedJavaScript-1 #25

xthursdayx opened this issue Sep 10, 2019 · 2 comments
Labels

Comments

@xthursdayx
Copy link

I'm receiving false positives for a number (hundreds) of pdf files with the supposed infection: PUA.Pdf.Trojan.EmbeddedJavaScript-1

I'm wondering if there is a way to whitelist these files or prevent this false positive from happening.

I've searched the web and all I've found is other people having this issue with email signatures while running Mailcow or other services. It seems that they solved this by either disabling PUA detection or by creating whitelist.ign2 or local.ign2 file that included the falsely positive signatures. I'd prefer not to disable PUA detection and it would be impossible to whitelist all of the pdfs, so I'm wondering if you have any idea why this is happening or how I might fix it?

For reference:
mailcow/mailcow-dockerized#2358
https://www.clamav.net/documents/how-do-i-ignore-whitelist-a-clamav-signature

@stale
Copy link

stale bot commented Oct 1, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Oct 1, 2019
@stale stale bot closed this as completed Oct 14, 2019
@wwwindisch
Copy link

The solution is to change in the /etc/clamav/clamd.conf the line

DetectPUA yes to DetectPUA no

You could e.g. do this by having the configs in an external volume. If you are a yml file with docker -compose, you could just add something like:

    volumes:
      - "./config_volumes/clamav/config:/etc/clamav"

after copying the content of /etc/clamav inside the container to .../config_volumes/clamav/config in the hist system an changing the aforementioned line. Then the chances are persistent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants