Kaspersky Lab, the Russian cyber security firm, has filed a lawsuit against the Trump administration over the decision to ban the use of its products in federal systems.

In September, the US government gave federal agencies three months to remove Kaspersky's security software, citing concerns over espionage.

It cited "the ties between certain Kaspersky officials and Russian intelligence and other government agencies, and requirements under Russian law that allow Russian intelligence agencies to request or compel assistance from Kaspersky and to intercept communications transiting Russian networks".

The ban was written into law last week with President Donald Trump signing the legislation.

Kaspersky, which was founded by Eugene Kaspersky, a former software engineer in the Soviet intelligence service, is based in Moscow.

The firm has repeatedly refuted allegations that it has colluded with the Kremlin and, in an open letter on Monday, said the Department of Homeland Security "failed to provide Kaspersky Lab with adequate due process and relied primarily on subjective, non-technical public sources like uncorroborated and often anonymously sourced media reports and rumors in issuing and finalising the directive".

It argued that, although the US government only made up a small percentage of its sales in the country, the ban had had a "disproportionate and unwarranted adverse impact" on its consumer and commercial businesses, harming its reputation "without any credible evidence".