After war began last month, President Volodymyr Zelenskyy of Ukraine turned to Mykhailo Fedorov, a vice prime minister, for a key role.

Fedorov, 31, the youngest member of Zelenskyy’s Cabinet, immediately took charge of a parallel prong of Ukraine’s defense against Russia. He began a campaign to rally support from multinational businesses to sunder Russia from the world economy and to cut off the country from the global internet, taking aim at everything from access to new iPhones and PlayStations to Western Union money transfers and PayPal.

To achieve Russia’s isolation, Fedorov, a former tech entrepreneur, used a mix of social media, cryptocurrencies and other digital tools. On Twitter and other social media, he pressured Apple, Google, Netflix, Intel, PayPal and others to stop doing business in Russia. He helped form a group of volunteer hackers to wreak havoc on Russian websites and online services. His ministry also set up a cryptocurrency fund that has raised more than $60 million for the Ukrainian military.