Rocker Geoffrey 'jake' Commander has been sentenced to 10 days in jail for his involvement in a cyber attack on the official websites of several bank and financial companies.

The guitarist, who has worked with George Harrison and Elton John, was among those linked to hacking group Anonymous, who were charged with attacking financial institutions online in 2010.

Police records indicate Commander stumbled upon an Anonymous chat room and clicked on a link which entered him into a large pool of traffic designed to crash a website, according to The Washington Times.

The rocker admitted to clicking on the link as a form of "protest" because he felt the bankers had "brought the country to its knees," during the recession.

Commander initially faced 10 years in federal prison, but the case was knocked down to a misdemeanour and he was sentenced on Friday (05Dec14) in U.S. District Court in Alexandria, Virginia.

He has been granted one day served and will be out of jail by 15 December (14).