Noticed some minor performance decrease, decided to install the process explorer described here: https://security.stackexchange.com/questions/76100/how-to-find-processes-that-are-hidden-from-task-manager
Found a hidden process taking 80% of CPU and impersonating notepad.exe, with this command line:
"C:\windows\notepad.exe" -c "C:\ProgramData\fWyfnSWdrs\cfgi"
Checked that folder, found something that looked like config files, one cant open, used by process, others have this (I've removed user guid):
{"algo": "cryptonight",
"background": false,
"colors": true,
"retries": 5,
"retry-pause": 5,
"syslog": false,
"print-time": 60,
"av": 0,
"safe": false,
"cpu-priority": null,
"cpu-affinity": null,
"threads": 8,
"pools": [
{
"url": "185.144.29.36:5450",
"user": <GUID HERE, REMOVED BY ME>,
"pass": "x",
"keepalive": false,
"nicehash": false,
"variant": 1
}
],
"api": {
"port": 0,
"access-token": null,
"worker-id": null
}
}
Some googling and this looks like cryptocurrency mining setup. Tried to kill process - it comes back immediately. Checked register for the folder name and windows services - cant find what starts it.
Tried a couple of other antiviruses - they don't pick it up.
I don't want to "nuke it from orbit" since this machine is nothing special, enough would be to just make it stop.
How do I find what starts this and kill it?
I would also like to know how I got it, the config files are from 20 days ago, checked my installations and cannot see anything from that time. Any tips/links on how to figure this out are appreciated.