Ukrainian authorities are working with the FBI and US companies to collect digital evidence of war crimes committed by the Russian forces. US security companies and officials have been a major partner of Ukraine in its efforts to fend off Russian cyberattacks, which it has battled since at least 2015.