remove kdevtmpfsi and kinsing malware from linux server

ps aux | grep -i kinsing

sudo kill -9

sudo rm -rf /tmp/kinsing
sudo rm -rf /var/tmp/kinsing

ps aux | grep kdevtmp
sudo kill -9
rm -f /tmp/kdevtmpfsi

sudo rm -f /tmp/kdevtmpfsi

sudo rm -rf /tmp/kdevtmpfsi
sudo rm -rf /var/tmp/kdevtmpfsi

ps aux | grep kdevtmpfs
ps aux | grep kinsing

If any processes are found, note their Process ID (PID) and kill them:

bash

sudo kill -9

  1. Delete the Infected Files

Remove the malicious files identified:

bash

sudo rm -f /tmp/kdevtmpfsi
sudo rm -f /etc/data/kinsing
sudo rm -f /etc/kinsing