LulzSec hacking group member Raynaldo Rivera, who was arrested in August this year, has admitted his involvement in a cyberattack on the Sony Pictures Entertainment website.

Raynaldo Rivera has reported to admitted that to the attack and it has been revealed through court documents involving a plea agreement he has reached with prosecutors.

In a plea agreement with the US Attorney’s Office for the Central District of California, Rivera agreed to plead guilty to one charge at the earliest possible opportunity.

Rivera took part in the hack attempt in May and June 2011 using an SQL injection attack and hid his IP address using a proxy server.

The information of thousands of account holders which include the names, addresses, birth dates and passwords was posted online.

Rivera used the nicknames neuron, royal, and wildicv in posting data online and the hack is said to have cost Sony over $605,000 in losses.

The plea agreement requires Rivera to pay compensation to Sony and spend about five years in prison in addition to a fine of $250,000.

In June this year, two UK members of hacking collective LulzSec have pleaded guilty to a string of cyber attacks on a number of high profile websites.

Ryan Cleary, the Briton arrested on suspicion of being part of the LulzSec hacking group, has been indicted by a federal grand jury in Los Angeles in June this year.