Get rid of crypto mining malware

when using AWS ECE instance.

  • 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 ~~~

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store