The launch of a new generation of consoles has brought with it some unwelcome attention from hackers, who have unleashed a surge of attacks against both Sony’s PlayStation 4 and Microsoft’s Xbox One.