can you shut off file sharing? that would close up those ports. but keep in mind, if you got hacked you dont know what they did. best practices is to format.