Failure to understand hackers led to Sony security woes