Yahoo! says it knew of attempts to access its networks long before admitting to the breach, which may affect the $4.8 billion sale of the company.