A sophisticated scheme was designed to trick businesses in more than 60 countries into wiring large sums of money to attackers.