Article 5907W Where to look for trojan file in ubuntu infected server?

Where to look for trojan file in ubuntu infected server?

by
Ketmen
from LinuxQuestions.org on (#5907W)
Problem description: Noticed high CPU, htop shows 4 of 8 my cpu cores are 100% loaded. Htop not showing corect %load. htop/top were not showing PIDs which were running on 4 100% loaded cores.
Thanks to perf i identified pid which is occupying my 4 cores.
So, someone was hijacking my cpu, most probably for curency mining. Changed root passsword with 40 simbols, but intruder get again in my server. After some investigation found that intruder is deleting traces of his work in my server.
Found that he is saving my complex pass in /var/tmp/pam.log and probably sending the password via e-mail to intruder.
After I protected ssh port he was unable to get in.
I am novice with Linux and my questions for experts are:
1. Can you recognize what type of trojin I am dealing with?
2. The server is quarantined for learning purpose. Could you help me to find the file where the e-mail of the intruder is?
3. I am assuming he is doing keystroke logging using some Linux commands or scripts. Any idea where to look for those scripts?
Thank youlatest?d=yIl2AUoC8zA latest?i=3bWtIzW30E8:49Dm50Y6vtY:F7zBnMy latest?i=3bWtIzW30E8:49Dm50Y6vtY:V_sGLiP latest?d=qj6IDK7rITs latest?i=3bWtIzW30E8:49Dm50Y6vtY:gIN9vFw3bWtIzW30E8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments