danb35
Hall of Famer
- Joined
- Aug 16, 2011
- Messages
- 15,504
I don't think this is quite the right place for this question, but it's the closest I can think of. If it belongs somewhere else, please let me know.
I woke up this morning to an apparently-compromised FreeNAS box. The reporting graphs were showing 100% CPU usage, almost all of which (95%+) was "system" processes; the load average was over 200; and top showed a whole mess of 'sudo' processes, all owned by root. The console was scrolling the same message over and over, something dealing with sudo. My IPMI web interface showed a sharp increase in power consumption starting about 2:00 am, so I suspect that's when whatever happened, started to happen.
Since the only outside access to anything on my machine is port 32400 forwarded from the Internet to my Plex jail, I stopped the Plex jail, with no immediate effect. The web GUI then became unresponsive, or at least slow enough that I wasn't willing to wait for it to respond, so I shut the system down from the console (option 14 on the menu, not a hard power off). On reboot, the console didn't immediately start scrolling messages, but the web UI wouldn't load any of the images, or in fact any of the alt text for the buttons in the top frame. I shut down the system again and left it shut down. I have not yet investigated whether there's any data loss or damage.
The system is running 9.10-20160426..., which was freshly installed onto an SSD, and then my configuration from my previous box (running a recent 9.3 build) was uploaded. The jails were manually installed using FreeBSD packages where available (CouchPotato and Urbackup were installed from source), and the VirtualBox jail was using the FreeNAS VirtualBox jail template.
I have a recursive snapshot task running on my main pool, though I hadn't gotten around to setting one up on the jails pool (but I just installed those yesterday anyway). I'm sure I could simply reinstall 9.10, upload my config, and possibly revert to last night's snapshot, and maybe rebuild my jails, but that wouldn't do anything toward figuring out what happened, which I'd like to do (if I don't know what happened, I don't have much of a chance of preventing it happening again).
Current status is that the server is shut down. When it was last up, the web GUI wouldn't load. I'm keeping it shut down until I have some plan of action to further investigate. I'm sure a debug file would be helpful, but I'm not sure how to generate one without web GUI access. How should I best proceed to figure out what happened?
I woke up this morning to an apparently-compromised FreeNAS box. The reporting graphs were showing 100% CPU usage, almost all of which (95%+) was "system" processes; the load average was over 200; and top showed a whole mess of 'sudo' processes, all owned by root. The console was scrolling the same message over and over, something dealing with sudo. My IPMI web interface showed a sharp increase in power consumption starting about 2:00 am, so I suspect that's when whatever happened, started to happen.
Since the only outside access to anything on my machine is port 32400 forwarded from the Internet to my Plex jail, I stopped the Plex jail, with no immediate effect. The web GUI then became unresponsive, or at least slow enough that I wasn't willing to wait for it to respond, so I shut the system down from the console (option 14 on the menu, not a hard power off). On reboot, the console didn't immediately start scrolling messages, but the web UI wouldn't load any of the images, or in fact any of the alt text for the buttons in the top frame. I shut down the system again and left it shut down. I have not yet investigated whether there's any data loss or damage.
The system is running 9.10-20160426..., which was freshly installed onto an SSD, and then my configuration from my previous box (running a recent 9.3 build) was uploaded. The jails were manually installed using FreeBSD packages where available (CouchPotato and Urbackup were installed from source), and the VirtualBox jail was using the FreeNAS VirtualBox jail template.
I have a recursive snapshot task running on my main pool, though I hadn't gotten around to setting one up on the jails pool (but I just installed those yesterday anyway). I'm sure I could simply reinstall 9.10, upload my config, and possibly revert to last night's snapshot, and maybe rebuild my jails, but that wouldn't do anything toward figuring out what happened, which I'd like to do (if I don't know what happened, I don't have much of a chance of preventing it happening again).
Current status is that the server is shut down. When it was last up, the web GUI wouldn't load. I'm keeping it shut down until I have some plan of action to further investigate. I'm sure a debug file would be helpful, but I'm not sure how to generate one without web GUI access. How should I best proceed to figure out what happened?