The Justice Department is expected to announce charges as soon as Wednesday related to hacking attacks on Yahoo.