American intelligence officials believe the malware could give China the power to disrupt or slow American deployments or resupply operations, including during a Chinese move against Taiwan.

A U.S. F-15 fighter jet taking off from Anderson Air Force Base in Guam earlier this year. The Chinese code, the officials say, appears directed at ordinary utilities that often serve both civilian populations and nearby military bases.