Fears over cyber security have been heightened since the computer virus called petya was launched in Ukraine and spread rapidly across Europe.