Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 2757  / 2 Years ago, tue, january 4, 2022, 4:38:57

I downloaded a binary file from sourceforge and accidentally run it. How can I know if it is safe? I added my user to sudoers file before. Where can I submit it to scan safety?


More From » antivirus

 Answers
2

While I cannot attest to how well it actually works, there is an open-sourced virus scanner in the Ubuntu repositories: ClamAV Install ClamAV. Once installed, run clamtk and it can scan the file.



There aren't very many AV scanners for Linux in general, but if you're willing to install non-free software you could also have a look at BitDefender Scanner for Unices




  1. Get a free key for private use here.

  2. Follow the instructions here to add the DEB repo to your /etc/apt/sources.list

  3. sudo apt-get install bitdefender-scanner-gui or sudo apt-get install bitdefender-scanner for the CLI version.

  4. Run these commands to get rid of the segfaulting behavior:



    sudo bdscan --update


    Read the license and, at the end, type "accept" if you agree, then (as root):



    # cat /opt/BitDefender-scanner/var/lib/scan/versions.dat.* | 
    awk '/bdcore.so.linux/ {print $3}' |
    while read bdcore_so; do
    touch /opt/BitDefender-scanner/var/lib/scan/$bdcore_so;
    bdscan --update;
    mv /opt/BitDefender-scanner/var/lib/scan/bdcore.so
    /opt/BitDefender-scanner/var/lib/scan/bdcore.so.old;
    ln -s /opt/BitDefender-scanner/var/lib/scan/$bdcore_so
    /opt/BitDefender-scanner/var/lib/scan/bdcore.so;
    chown bitdefender:bitdefender
    /opt/BitDefender-scanner/var/lib/scan/$bdcore_so;
    done

  5. Run the gui via the command bdgui (it should also show up in the launcher)


[#25464] Thursday, January 6, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jectedrin

Total Points: 491
Total Questions: 105
Total Answers: 111

Location: Netherlands
Member since Mon, Jun 7, 2021
3 Years ago
;