The first things to look at are..What type of security is running on your router in any. Do you have a strong password; meaning upper and lower case plus special characters? It may be they gained access using a key logger. Your best bet would be if you have access to clean computer, directly hook it up to the router and change your network password. Then run a good anti-virus program on the infected computer before you try connecting to the internet again.