The most possible that the hacker did is not steal your private key with you but I think he uses some site wherein you used your private key to open your account, some are using this thing to have a look in your account key when you use it even just one time, so next time careful with the site you use.