Member-only story

Security

Get rid of crypto mining malware

when using AWS ECE instance.

Donald Le

--

Photo by -Théo on Unsplash
  • 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 :
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 ~~~

--

--

No responses yet