My computer turned itself on. Was I hacked?

3

I woke up and found my PC switched on. I have wake on LAN enabled.

I check the log and my pc started up an hour after i went to bed. I have very basic windows log reading skills. Is there something I can check to see if something malicious was done? Im going to change passwords and run virus scan. Incidentally my wifes user account on PC has no password. And she has admin rights.

I know this all sounds bad, but I never expected someone could do anything to me. Also yesterday found out my hotmail account was blocked because of spam sent from my email. I have a very strong password on it to and never use third party hotmail checkers.

Update: i use windows 7 pro

Update: I will read the logs more later, but just so you know Im pretty sure it wasnt a scheduled wake, cause i never leave the PC on overnight, and its the first time this has happened since building this machine 10 months ago. I will of course double check.

madphp

Posted 2012-05-03T11:19:25.607

Reputation: 201

My wife had her Hotmail account hacked about a year ago. She's very careful, had a reasonably strong password, and our home network is quite secure. I think Hotmail probably has some inherent insecurity somewhere that makes it more susceptible to hacking. – Daniel R Hicks – 2012-05-03T11:59:14.560

@DanH - Unlikely. The only known exploit in the last year which has already been fixed was an exploit that allow you to reset your password BUT there was a social engineering aspect that was required. – Ramhound – 2012-05-03T14:29:40.093

@Ramhound -- Like I said, my wife is very careful and very unlikely to be taken in by a "social engineering" exploit. – Daniel R Hicks – 2012-05-03T15:45:39.737

@Ramhound Do you remember the huge number of xbox accounts hacked not so long ago? – madphp – 2012-05-03T20:10:47.547

1@madphp Please run powercfg -lastwake to determine what caused the computer to wake up. – Der Hochstapler – 2012-05-03T20:28:14.050

1@Oliver Salzburg Wake History Count - 0 – madphp – 2012-05-04T01:00:37.147

@madphp: OK, so that doesn't help us solve the mystery. Worth a shot :) – Der Hochstapler – 2012-05-04T11:29:21.097

Congrats, God has turned it on. – mr_eclair – 2012-09-11T10:26:45.247

Maybe the power went out for a second? For most modern devices, the capacitors in them will keep the clock even with a simple power outage for a second or two. This would prevent any signs of a power outage. (A.K.A no blinking time.) On my computer I know whenever I plug it in, it turns on automatically. A power outage wouldn't show up on a log somewhere, especially if it's already off. **Unless a pet hit it or you sleep-boot your computer, I would say that this would be a likely cause.** – Anonymous Penguin – 2013-09-28T20:38:26.933

Answers

8

Calm down

It is very unlikely that someone has remotely turned on your computer.

Wake On Lan (WOL), as the name implies, will only work on a LAN. Which means, it won't work over the internet.
This is due to how WOL works. The packets that are sent to wake up a computer aren't forwarded by routers. So, the packets will never travel very far (and especially not over the internet).

OK, so what was it?

This still leaves the question, why was the computer even turned on?

Assuming you're using Windows, there are many way a system can be woken up. Let's have a look into Device Manager:

enter image description here

As you can see, many devices can be allowed to wake the computer up. Like a mouse or a keyboard or a network adapter.

So, if your computer was sleeping and someone (maybe a pet) accidentally touched the keyboard, that can already be enough. But there's more!

You might have a scheduled task (maybe a backup) that is allowed to wake your computer so that it can perform.

enter image description here

What woke up the computer?

Somewhere in the Event Log, it should say if one of those things started your computer. Sadly, I currently lack a proper entry to provide a good screenshot.

But there are many reasons a computer can wake up from sleep that are far from a hack.

To determine why your computer last woke up from sleep, use powercfg:

powercfg -lastwake

Der Hochstapler

Posted 2012-05-03T11:19:25.607

Reputation: 77 228

Thanks oliver. I will check all this out. Though i can wake lan over internet. I hve it setup that i can. – madphp – 2012-05-03T11:52:51.290

2Even when set up to allow WOL over WAN, I'd assume an accidental activation is unlikely. To my understanding, waking a machine always requires knowledge of the MAC address to create the WOL packet. Now, if you've set up WOL over WAN and someone knows your MAC address, then, I guess, it could be a third party. But then it is hardly a hack if you leave the door wide open :) – Der Hochstapler – 2012-05-03T12:03:19.017

2I know my laptop will fairly often wake from sleep while closed, unplugged, and in its bag. Windows is a very light sleeper. – Daniel R Hicks – 2012-05-03T12:05:13.007

Yes. I limit remote desktop to my account with a strong password. Incidently same password hotmail used for a month or two. Is there any good intrusion detection software out there? I suppose i should switch off wol, but i love it so much. I will have a proper look at log later. – madphp – 2012-05-03T12:07:20.883

@madphp: I wouldn't be too concerned (at least from a security standpoint) about the computer being on or off if it is otherwise secured. – Der Hochstapler – 2012-05-03T12:08:58.400

I guess i thought pc was only set to wake on lan. Its not in hibernate mode. I know this all sounds paranoid. Haha. – madphp – 2012-05-03T12:09:20.677

1Afraid of security? Then don't use Hotmail... - there's very little you can do to secure your account as Hotmail (although they don't like to admit it) is inherently insecure and widely targetted by exploit 'tools'. – HaydnWVN – 2012-05-03T13:10:13.767

1@HaydnWVN - What a bunch of hog wash. I have had a hotmail account since it came out, it is exposed and listed in thousands of google results, never once have I been compromised. I have NEVER been compromised on any acount and have been on the internet since 1993. Of course I won't call madphp an idiot for using the same password for everything. – Ramhound – 2012-05-03T14:32:56.280

1@Ramhound -- The fact that your Hotmail account has not been hacked yet proves nothing. – Daniel R Hicks – 2012-05-03T15:46:41.107

Do you have your network setup such that your router's web interface is accessible from outside the network? e.g. Do you access the router from the Internet to send the WOL packet? If so, check your router's logs to see if there was any unauthorized access during the time your computer was turned on. – White Phoenix – 2012-05-03T19:14:51.573

@Ramhound i dont use the same password for everything. Im actually pretty good at changing it up. I keep my gmail, hotmail and online password separate. Though I wont call you an idiot for making assumptions. – madphp – 2012-05-03T20:08:11.887

@Ramhound online banking – madphp – 2012-05-03T20:13:58.370

Hog wash? link, link, link, link

– HaydnWVN – 2012-05-04T14:36:22.737

-1

Wake on lan works over the internet, you must open the communication port on the router (with fixed IP) and your PC must have a fixed IP on LAN. Unfortunately with some motherboards, if you activate wake on lan over the internet, your pc starts rundomly. I done many tryes and the result is always the same, after one second, two minutes or some hours the pc starts. I have a Asus mother board and I tried port 9 2304 and 65535 nothing changes. Bye

Roberto

Posted 2012-05-03T11:19:25.607

Reputation: 1

This does not answer the author's question. Commentary that indicates you also have the problem, should not be submitted as an answer, instead it should submitted as a comment. If you are unable to submit a comment then it shouldn't be submitted. – Ramhound – 2017-08-21T14:59:44.993