Russia's Federal Security Service said on Saturday it had detained a 61-year-old Russian man for planning what it called a "terrorist attack" on a railway junction in Russia's Ural mountains Sverdlovsk region on behalf of Ukraine, state news agency TASS reported.