Two Russian men have been arrested and prosecuted for allegedly infecting state-owned computer hardware with a program that would mine cryptocurrency through web browsers.