Charles Carmakal, a specialist at FireEye, a cybersecurity organization that had previously studied the hacking groups implicated in the election operation, said that sophisticated hackers often leave forensic trails.