In 2006 Sony released the Playstation 3 (PS3). It soon became the best way to play blu-ray discs. Part of this was because the PS3 could easily connect online to download firmware updates so that it could support newer blu-ray features as the specification evolved. The other reason was because PS3 has no gaems.
The PS3 had the ability to run Linux using the OtherOS feature which was nice because it was like a mini super computer. The US military was using many of them to form a super computing cluster and many distributed computing projects like Folding@Home used them to run simulations of protein structures to try and understand them more and possible cure certain diseases. All this came to an end when Sony removed OtherOS feature because they were scared of piracy.
A hacker, who is well known in the jailbreaking scene, known as Geohot decided to bring back the OtherOS feature. He sought to allow PS3 users to reenable a functionality that Sony sold them. Sony didn't like this at all, they didn't like the fact that people could do their own things to their hardware that they bought. So they decided to launch a lawsuit against Geohot.
Now they didn't go into court, they settled things privately out of court, but Sony did manage to get records of Geohot's paypal account, IP addresses of anyone who interacted with him on youtube, facebook and other places including his own geohot.com website.
Meanwhile the online collective known as Anonymous decided to DDoS and take down Sony's website playstation.com and the Playstation store. And while Sony was busy with that another hacker group managed to break into PSN and steal lots of personal information about its users. This caused the lengthy downtime which meant that people couldn't play Portal 2 when they bought it on Steam. Some sources say that the downtime was due to piracy thanks to a cracked developer console. Sony took a week to notify customers that their personal information had been stolen and that they are at risk of identity theft.
All of this happened because of Sony's lawsuit against a hacker. They angered the hive and it fought back.
Sony has previously released CDs that would install a rookit if played on a Windows PC.