Results 1 to 4 of 4

Thread: CLAMAV not scanning .rar format files for heuristics

  1. #1
    Join Date
    Jan 2020
    Beans
    1

    CLAMAV not scanning .rar format files for heuristics

    Using version : 0.102.1
    Command : clamscan test.rar --max-files=1 --heuristic-alerts=yes --heuristic-scan-precedence=yes --alert-exceeds-max=yes

    When this command is ran on Mac machine (same version of clamav), it returns "Heuristics.Limits.Exceeded FOUND" whereas same command on Ubuntu clamav marks the file as passed.
    Also, if a zip format file is used. Proper error is returned on both mac and ubuntu.

    Is this a known issue ? Is there any workaround ?

  2. #2
    Join Date
    May 2013
    Location
    Galiza
    Beans
    440
    Distro
    Ubuntu

    Re: CLAMAV not scanning .rar format files for heuristics

    Have you installed RAR support? If not then is entirely understandable that ClamAV can't open and consequently can't test rar files.

  3. #3
    Join Date
    Jan 2020
    Beans
    11
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: CLAMAV not scanning .rar format files for heuristics

    I think ClamAV never scan a rar file as default. Its need some extra extensions get installed.

  4. #4
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    14,736
    Distro
    Kubuntu 19.10 Eoan Ermine

    Re: CLAMAV not scanning .rar format files for heuristics

    I'm going to take a guess and say you probably need to install libclamunrar9 from the repositories. "apt-cache search clamav" returns libclamunrar9 with the description, "anti-virus utility for Unix - unrar support."

    Unlike open compression formats like GZIP, RAR is proprietary. ZIP was once proprietary but was released into the public domain in 1989.
    Last edited by SeijiSensei; 3 Weeks Ago at 09:42 PM.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •