A former U.S. Defense Intelligence Agency officer pleaded guilty to attempted espionage for China, the Justice Department said on Friday.