The security breach, which hit federal agencies including the National Nuclear Security Agency, went undetected for six months, sources told ABC News.