SHANGHAI — China’s military on Thursday denied accusations that it hacked Equifax, one of the largest credit reporting companies in the United States.

In a harshly worded release, Wu Qian, a spokesman for China’s Ministry of National Defense, said the American charges against four of its members were “without a basis in fact.”

“This behavior is completely hegemonic and amounts to legal bullying,” Mr. Wu said.

On Monday, American officials issued indictments that accused hackers in China’s military of stealing trade secrets and the personal data of about 145 million Americans in 2017 from Equifax. The Department of Justice suggested that the data theft was part of an organized effort by China’s military and intelligence services to assemble caches of personal information on Americans to better target intelligence officers and other officials.