Computers used by nearly half of the government's major agencies may be forced offline early next month.
Researchers from the security firm Internet Identity reported at least one computer or router within 27 of 55 government entities was infected with the DNSChanger virus.
The virus works by forcing infected machines to communicate with fraudulent and sometimes illegal websites Nextgov.com reported.
DHS targeted infected computers by uploading DNSCharger's footprints into a government threat-monitoring system called Einstein, according to Nextgov.
The FBI sought a court order to automatically redirect the infected computers to temporary clean servers.
The FBI's court order faces a March 8 deadline as it was only meant to buy time for users to remove malicious software, Nextgov reported.
DHS is collaborating with other federal agencies on a solution as more than 400,000 computers are at risk of shutdown.
Nextgov reported that the Justice Department applied for another court order Feb. 17 to maintain the clean servers until July 9 so users can be notified.