The suspect, a native of the central Ukrainian city of Poltava, had been conducting cyberattacks since at least 2018, police said.