WD Community

What to do if NAS has been hacked and malware installed

I recently was made aware of miner malware being installed on my NAS. No telling how long it has been there, but ever since the new firmware came out, my NAS had been spinning its fan like there was no tomorrow. This made me look at the cpu and processes running and there at the top of the cpu consumption list was “cpu_miner”, a process I’m pretty sure I nor WD had installed. I can logon and kill the process over ssh, but it restarts after a couple of minutes…so what would any of you do from here on?

So far, I have monitored and time the hack when I kill it. Then I found a line in cronetab that matched on timing. I opened that file and found a lot of camouflage concealing the functionality, so…I changed the name of that file and the hack didn’t come back. Now I wondering about a larger cleanup, but that would require the help from one of you guys. Does anyone have a more or less untouched crontab file that you can show me?

Support for Western Digital Hard Drives | Western Digital

Still Need Help?

Reach out to Support for more assistance.

Sign in to Your Support Account

Get up-to-date information about your products.

Western Digital Business Portal

Unlock benefits and tools for your business such as enterprise support, pricing and rebate tools, marketing, loyalty, rewards, and more.