Auto killing process with specific command line?

DennisMidjord

Well-Known Member
Sep 27, 2016
280
43
78
Denmark
cPanel Access Level
Root Administrator
Since the latest WordPress vulnerability was disclosed, we've seen a lot of infected websites.
LFD often reports that a suspicious process called '[stealth]' is running, and this is indeed malware running on the server.

Is there any way to auto kill this exact command line? If anything runs and displays as [stealth], just kill it immediately?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,273
313
Houston
There's nothing within cPanel/WHM that would do this but I am sure that you'd be able to find some great bash script tutorials/examples that detail how to create something like this.