How to remove malwares from a Linux hosting server?

Update - 2018.01.24This article might involve paid solutions


There comes a time when you are like wondering what is happening to your server or in my case a hosting server where i would host my own and my clients websites..

and Baam! You get a warning from your datacenter or hosting provider that your server was sending many spam emails or even worst DOS – Denial of Service attacks.

You are like shit not this again and the timing could not have been worst 🙁

Anyway enough of drama, Below are the steps i have laid out how i go about in solving this problem.

back to menu ↑ back to menu ↑

Scanning: ClamAV

The first step is to scan for infected files, this can be done in multiple ways Here is using ClamAV which can be installed on most of the Linux servers.

I have modified, the commandline to simple output the results onto a txt file. This help does not cover the installations of ClamAV on your server, as this can be easily google searched.

cd /tmp clamscan -r -i /home >> clamlog.txt

back to menu ↑ back to menu ↑

Scanning: Rkhunter

The rkhunter tool can be installed using following command on Ubuntu and CentOS based systems.

$ sudo apt install rkhunter
# yum install epel-release
# yum install rkhunter

To check your server with rkhunter run the following command.

rkhunter -c

back to menu ↑ back to menu ↑

Scanning: ISPProtect

The first step is to scan for infected files, this can be done in multiple ways but this is what works for me.

There are many scripts out there which can help you detect, but for me ISPprotect has helped, Its a paid one.

They give you a first free scan, So you might be able to try it out first as a trail on one of your servers.

So basically you connect to the server via SSH and run the script.

cd /tmp
tar xzf ispp_scan.tar.gz
Instead of running the above script interactively, i let it run it in the background, just incase the connection gets lost.
./ispp_scan --path=/home --email-results=root@localhost --non-interactive --scan-key=AAA-BBB-CCC-DDD
back to menu ↑ back to menu ↑

ISPProtect Pricing

There Pricing is quiet affordable if you are running serious business. I simply got the 100 scan license option and use it when its required.


back to menu ↑ back to menu ↑

back to menu ↑ back to menu ↑

Malware Removal

So this part what gets challenging. There are multiple ways of doing this, but there is no single method which solves all problems.

Method1: Delete the infected files 

Method2: Anti-Malware from GOTMLS.NET

Since most of the problems i have seen are due to the WordPress site’s infections. I use this tool to scan and fix the infected files.


To enable image stabilization, you’ll simply swipe from the right.  It’ll warn you about cutting about 10% of the field of view:

For cases where you’ve got some light chop in the roadway, or even for hand holding the unit, image stabilization can dramatically improve things.  Though, that’s at the sacrifice of resolution.  If your final output product’s 1080p, then it’s largely a no-brainer.  Do note that it generally works better when you’re shooting something that has a large portion of the image facing one direction constantly.  Versus on a helmet mount, it can get a bit wonky as you move the view around a bunch.

What’s even more interesting though is the ability to record the native audio files from each microphone separately.  If you enable ProTune, you’ll see a new option to do this.  Within that you have three levels:



From a top-line standpoint, here’s what the Hero5 Black has that the Hero5 Session lacks:

  • 12MP instead of 10MP pictures on Session
  • GPS for location stamping
  • Inability to swap out battery (it’s not removable)
  • RAW photo option
  • WDR (Wide Dynamic Range) photo option
  • Higher slow-mo specs (240fps on Black vs 120fps on Session)
  • A handful less frame-rate options
  • Touch display on the back (no display at all)
  • Three mics vs two mics on Hero5 Session
  • Ability to record individual audio streams
  • HDMI port for direct viewing/connection options

You’ll still get all this stuff on the Hero5 Session though:

  • – Voice control
  • – Electronic Image Stabilization
  • – WiFi Uploads to GoPro Plus
  • – 4K Video options
  • – Karma Drone and Karma Grip Compatibility ($29 accessory required)
  • – Waterproofing to 10m/33ft
  • – USB-C


Leave a Reply

Photo and Image Files
Notify of
Enable registration in settings - general
Compare items
  • Total (0)