Linux has long been known for its reputation as being the most secure and malware-free OS. Well, that could soon change, as I’ve found a virus in my Internet PC running Ubuntu-12.04 Desktop. These are its symptoms:
- The virus creates many link(.lnk) and system(.sys) files in the USB drives inserted. Inserting the USB drive triggers the virus which will spawn many link files.
- Any file or exe copied into the USB drive will be detected as malware by the anti-virus running in other Windows PC. So all the files in the USB drive are infected.
- What makes me feel sad is that this particular virus is infecting the other newly deployed Ubuntu machines. After formatting my system, the virus is re-appearing after only a week.
So I decided to clean and protect my PC from future threats by installing an Anti-virus software. I’ve used Avast, AVG, Nortan, and Avira in Windows.
Recently, I installed BitDefender Total Security 2015 on my laptop and found the guy I needed. BitDefender is the leader in anti-malware and PC security for the last three years. I always wanted to use the Beefy BitDefender. And with the help of my roommate Chethan, I finally purchased and installed it on my Windows Laptop and am impressed by its functionality + speed.
Now is the time to bring BD onto Linux. You can install BD from an Ubuntu repo. But I prefer to install it from a standalone package as I need not to rely on Internet for installation. Here are the steps:
- Obtain a BD Free scanner key from here.
- Download the BD installer. Make sure you download the right package. If you’re on a Debian based distro(Ubuntu, LinuxMint, KaliLinux, etc.) download the deb.run package. If you’re on a RedHat based distro(RHEL, CentOS, OracleLinux, etc.) download the rpm.run package.
- Change the permissions of the downloaded script.
user@linux$ sudo chmod 755 BitDefender-Antivirus-Scanner-7.7-1-linux-i586.deb.run
5. Now run the script.
user@linux$ sudo ./BitDefender-Antivirus-Scanner-7.7-1-linux-i586.deb.run
The End User License Agreement (EULA) is echoed in the terminal. After reading it, you need to keyboard “accept” and hit enter. That’s it. The script unpacks the binary and library files to /opt/BitDefender-scanner/ directory. And configures the software.
The /opt/BitDefender-scanner/bin/ directory has bdscan & bdgui binaries.
Run the following command with root privileges to open BD GUI,
user@linux$ sudo ./bdgui
Click on the Settings icon and provide your proxy settings if you’re behind a proxy server. After saving the settings, click the Update button. Depending on the Internet speed it takes 30 minutes to one hour to download the virus signatures.
Now you can scan your Linux PC. The GUI has a drawback as you’ve to specify the directory to scan and there’s no option to scan the full File System. Hence I use the CLI. The following command scans the entire File System.
user@linux$ sudo ./opt/BitDefender-scanner/bin/bdscan / --action=delete --viruslist --no-list --verbose
I’m telling the BD to scan from /(root node), delete any virus found, display virus list, do not list scanned files, and display debug info. Use the “–help” switch to know more options.
After the scan, the result would look like this.
Results: Folders : 0 Files : 653197 Packed : 4111 Archives : 15475 Infected files : 8 Suspect files : 0 Identified viruses : 1 Deleted files : 8 I/O errors : 940 Files/second : 407 Scan time : 00:26:41