A judge Monday ordered a 41-month prison sentence for a self-described "security research" hacker for breaking into the AT&T online network in a case criticized by digital rights activists. Andrew Auernheimer, known online as "weev," was accused of breaching the AT&T network and revealing email addresses of more than 120,000 Apple iPad users to the online news site Gawker in 2010. The sentence was ordered by US District Judge Susan Wigenton in Newark, New Jersey. The case has drawn fire from online rights activists who claim government prosecutors are unfairly targeting "white hat" hackers who reveal online security flaws. Lawyers for Internet rights group Electronic Frontier Foundation have joined Auernheimer's defense, saying he is being unduly punished for revealing an AT&T network flaw to the media. "Weev is facing more than three years in prison because he pointed out that a company failed to protect its users' data, even though his actions didn't harm anyone," said EFF attorney Marcia Hofmann. "The punishments for computer crimes are seriously off-kilter, and Congress needs to fix them." But US Attorney Paul Fishman said Auernheimer "knew he was breaking the law" and that "when it became clear that he was in trouble, he concocted the fiction that he was trying to make the Internet more secure... The jury didn't buy it, and neither did the court in imposing sentence upon him today." Auerheimer's co-defendant Daniel Spitler discovered that AT&T configured its servers so that queries made using ID numbers from SIM cards in iPads got back email address of respective iPad owners. Spitler wrote a computer program that exploited the security hole to collect approximately 120,000 email addresses, and Auernheimer sent the list to several journalists to spotlight the security problem, according to the EFF. Spitler and Auernheimer were criminally charged as co-defendants. Spitler, a San Francisco resident, pleaded guilty in June of 2011 to one count of conspiracy to gain unauthorized access to computers connected to the Internet and one count of identity theft, according to prosecutors. He is awaiting sentencing. The two men were said to be members of Goatse Security, a loose association of Internet hackers who hunt for security flaws. Using a script called an "iPad 3G Account Slurper," the Goatse hackers managed to obtain the number used to identify a subscriber on AT&T's network. AT&T has fixed the flaw. "Weev's case shows just how problematic the Computer Fraud and Abuse Act is," said EFF attorney Hanni Fakhoury said. "We look forward to reversing the trial court's decision on appeal."