She said: “You were both involved in a significant, sophisticated systematic hack attack in a computer system used by TalkTalk.”The attack led to you and others gaining access to TalkTalk’s clients’ confidential information. The total loss to TalkTalk as a result of this overall attack is estimated to be £77 million but the loss does not end there.”Given the scale of the attack, the number of people whose confidential information was stolen and then passed on to others, I’m sure that your actions caused misery and distress to many thousands of the customers of TalkTalk.” The court heard how analysis by BAE Systems after the attack suggested that there may have been up to 10 other attackers, some of whom used the confidential data to blackmail TalkTalk’s then-CEO Dido Harding.Ms Harding received demands for Bitcoins in return for the stolen data, which included customers’ names, email addresses, mobile numbers, home addresses and dates of birth.”Your actions, the actions of others, resulted in the then-CEO of TalkTalk being subjected to repeated attempts to blackmail her for money. You were not personally involved in making those attempts but your actions helped facilitate it,” Judge Dhir said.The court heard how TalkTalk spotted “latency issues” on its website early on October 21 2015 and launched an investigation.TalkTalk reported the cyber attacks to police and the National Crime Agency and the next day made public statements to alert customers.Hanley was described as a “determined and dedicated hacker”. Connor Allsopp, 21, pictured arriving at court yesterday was sentenced to eight months in prison Credit: ED WILLCOX Two friends have been jailed for a “sophisticated” TalkTalk cyber attack that caused “misery and distress” to thousands of customers.Matthew Hanley, 23, and Connor Allsopp, 21, were yesterday sentenced to a combined sentence of 20 months for their involvement in the massive October 2015 data breach.The pair stole personal information, banking details and “sensitive” data from 156,959 customer accounts in a hacking exercise that spanned seven days, the Old Bailey heard. The total cost to TalkTalk of the breach is estimated to be £77 million, including a record £400,000 fine from the Information Commissioner’s Office for security failings that allowed the hack to happen.Judge Anuja Dhir QC yesterday sentence Hanley for 12 months and Allsopp for eight months, saying that it was a tragedy to find “two individuals of such extraordinary talent” in the dock. Want the best of The Telegraph direct to your email and WhatsApp? Sign up to our free twice-daily Front Page newsletter and new audio briefings.