The attack was detected and successfully thwarted without resources being compromised, according to the RIA news agency, Joinfo.com reports with reference to Metro.
State-owned Russian Railways was also targeted in the attack, and was able to defend itself.
However, more than 1,000 Windows-operated PCs in Russia’s Interior Ministry were affected.
The report comes after a global cyber attack infected computers in nearly 100 countries.
The NHS in England was badly affected by the hack, which is believed to have been developed by the US National Security Agency.
Other countries affected include the US, Australia, Belgium, France, Germany, Italy and Mexico.
The virus was thought to be spreading at a rate of five million emails per hour.