Get rid of crypto mining malware
- First, check out the ports inbound you are open. Make sure you don’t open all your ports .
- Then, remove the crontab in your instances. The malware use this for attacking yours.
crontab -l (to list the scheduler)
crontab -r (to remove the sheduler)
- Remove the process of malware by using htop :
Type F9 to remove the process
Type Enter to confirm
(Use page up or page down button to see the process list)
And you’re good to go.
Hope it helps ~~~