On the evening of September 20, 2016, at about 8 p.m. Eastern time, traffic began pouring onto KrebsOnSecurity, the website of the journalist Brian Krebs. Nobody was visiting. The flood came from ordinary machines that had no idea they were taking part: cameras and routers sitting in homes and offices, each sending a small stream that joined the others into a torrent.
The first estimate put the attack at about 665 gigabits of data per second. Further analysis brought that closer to 620, which is still a staggering number. The biggest attack Akamai had handled earlier that year, the company that shielded Krebs's site, peaked at 363.
Akamai then made its decision. It stopped protecting KrebsOnSecurity and gave Krebs about two hours to move off its network. Krebs, with the clock running, asked that all incoming traffic be redirected to 127.0.0.1, an address that points a computer back at itself, so the flood would go nowhere and his hosting provider would be spared. His site went dark. Behind the blackout sat a question that no one in that room could yet answer: how did a small feud over game-server hosting end up producing a weapon like this?
A table of sixty passwords
Paras Jha spent the summer of 2016 with two partners, White and Norman, building a weapon with two jobs. The first was to flood Minecraft servers, and the companies that sold those servers protection, with so much junk traffic that they went dark. This is called a distributed denial-of-service attack, or DDoS. The second job was a protection racket: break the thing, then sell the fix.
The trio needed an army of machines to send the flood. Rather than hunt for clever software flaws, they wrote a scanner that simply tried the keys manufacturers leave under the doormat. It carried a table of more than 60 common factory usernames and passwords and tried them on every device it found. On vulnerable devices, the login that worked most often was root with xc3511.
The program also kept a list of places to stay away from. Its table of forbidden addresses included ranges belonging to the US Postal Service and the Department of Defense. A chat log between Anna-senpai and Robert Coelho suggests the program took its name from Mirai Nikki, a 2011 anime series.
The machines it caught gave their owners little to complain about. A camera or router kept doing its job, perhaps a bit sluggish, perhaps using more bandwidth than before. Unplugging the device wiped the infection, but unless the owner also changed the password, the scanner found the same open door and the device was reinfected within minutes.
Someone, though, had begun to notice.
The logo in the game room
On August 4, 2016, a file landed in the dropbox of MalwareMustDie, a group of volunteer white hat researchers who hunt malicious code to defend networks. Sysadmin friends, the people who keep other companies' servers running, were uploading the samples. More arrived in the days that followed, and by August the group had found a new botnet.
The antivirus programs that should have flagged the files barely noticed them. Detection was very low, even on x86, the processor family inside most desktop computers.
The code itself looked familiar. As the researchers read it, they traced its ancestry to an older Trojan that went by several names: Gafgyt, Lizkebab, Bashlite and Torlus.
Then came an odd detail. Now and then, an infected machine reached out to a MUD site, a text-based online game of the kind players once ran as multi-user dungeons. The behavior was rare, but MalwareMustDie advised blocking the site.
Anyone who opened it would have found no dungeon. The page showed an ascii-art logo, the word Mirai drawn in plain keyboard characters, like a signature scratched into a wall.
Traffic that looked wrong
Akamai's engineers picked the flood apart packet by packet, and Krebs read their findings as they came in. The attack used no amplification or reflection, the tricks that let an attacker bounce a small request into a huge response. It relied on SYN, GET and POST floods, the blunt kind, in which machines hammer a server with connection requests and page requests.
One detail stood out. A large share of the traffic had been built to look like GRE packets, a format used for tunneling data between networks, and Akamai had rarely seen it in an attack. Martin McKeay, of Akamai, called seeing that much GRE traffic really unusual.
Krebs found something else in the logs that felt personal. Some of the POST requests carried a reference to the nickname of a co-owner of vDOS, the attack-for-hire service he had reported on. He suspected the flood was revenge. Nothing proved it, and Krebs knew the history: past enemies had sent heroin to his home while tipping off the police.
Then came the cost of staying online. A company willing to defend him full time quoted him between $150,000 and $200,000 a year, far more than a one-man news site could pay.
Google's Project Shield took him in. It has protected his site since September 25th, and the attacks kept coming anyway.
One post on a criminal forum
In the fall of 2016, Paras Jha opened a criminal forum and posted the Mirai program for anyone to take. Hack Forums, a popular hacking forum, was where the code was later published as open source, and the author, who went by Anna-senpai, allegedly leaked it there. With that one post, Jha and his partners ended their involvement with the original Mirai.
Krebs, still under attack and now sheltered by Google, saw the release and wrote about it on October 1, 2016. Until then Mirai had belonged to a few people who knew how it worked, and somebody had to run it.
Building and running a flood like the one that hit Krebs would have cost its makers a few thousand dollars at most. Defenders had just been quoted $150,000 to $200,000 a year to stand against such a flood. Once the code was public, the price of an attack fell to, in effect, zero.
Somewhere, a stranger was reading the code and picking a target.
The day Twitter and Netflix vanished
On October 21, 2016, people who tried to open Twitter, Netflix or Reddit got nothing. GitHub and Airbnb vanished too, along with a long list of other sites. The cause was a wave of Mirai traffic, sent from internet-connected gadgets such as cameras and routers that still ran on their default passwords, and it was aimed at a company called Dyn.
Dyn described a flood far wider than anything that had hit Krebs. The traffic arrived from tens of millions of IP addresses at once, and each address was a separate device taking orders from the botnet.
Level 3 Communications, a company that carries internet traffic, was the first to put a name on the attack. It pointed to Mirai. Nobody stepped forward, and nobody was accused.
Flashpoint, a security research firm, offered a theory that fit the new situation. The attacker might not be anyone from the original Mirai crew. It might be someone else who had grabbed the released code and built a private botnet from it.
The theory could not be tested, because the trail had gone cold. The Dyn investigation was still under way, and no one had been officially named as the attacker. One journalist, however, had begun to think he knew exactly who had written the code in the first place.
Anna-senpai gets a name
On January 17, 2017, Krebs published a post that attached a name to the botnet that had hammered his own site. He wrote that he believed he had identified the malware's author.
The author, Anna-senpai, was most likely Paras Jha, Krebs said. Jha owned ProTraf Solutions, a company that sold protection against DDoS attacks, the floods of junk traffic that knock sites offline. He was also a student at Rutgers University.
Anna-senpai was named after Anna Nishikinomiya, a character from Shimoneta.
Jha answered Krebs directly and denied writing Mirai. The denial did not end the matter. Federal agents were reported to have questioned him about the Dyn attack, so a college student in New Jersey now sat across from the FBI, explaining himself.
Meanwhile, Jha's record closer to home was coming into view. From November 2014 to September 2016, Rutgers networks had been under attack, and the attacker was Jha.
One target was the university's central authentication server, the gatekeeper that checked every login. Behind it sat the portal where students handed in assignments and sat their assessments.
Probation, and a job helping the FBI
On December 8, 2017, Paras Jha, Josiah White and Dalton Norman went to court and gave up the fight. The Justice Department said all three pleaded guilty in Alaska. Jha, 21, of Fanwood, New Jersey, entered his plea before Judge Michael Shipp in Trenton, in the case that covered what he had done to his own university. The three men also handed over significant cryptocurrency that investigators had seized, and they gave it up voluntarily. Then they went to work for the other side, helping the government with other cybersecurity investigations.

Acting U.S. Attorney Fitzpatrick said the attacks had paralyzed Rutgers for days and disrupted tens of thousands of students. A judge ordered him to pay $8.6 million in restitution and to serve six months of home incarceration, which meant six months in the New Jersey town where he had grown up.
In Alaska, the three men were sentenced to five years of probation, 2,500 hours of community service and $127,000 in restitution, and none of them went to prison. Back on Krebs's screen, the answer looked like this: ordinary cameras and routers, still sending their small streams, while his traffic was redirected to 127.0.0.1, an address that led every packet back to the machine that sent it.
Cover: Jérôme Fafchamps · CC BY 3.0 · Wikimedia Commons. Layout and headline text by Signal Titans.
Source: The Minecraft Server War That Made a Botnet: Paras Jha, Mirai and the Day the Internet Went Down in 2016 · Mirai Botnet — NJ Cybersecurity · Massive cyber-attack grinds Liberia's internet to a halt | Hacking | The Guardian · Justice Department Announces Charges And Guilty Pleas In Three Computer Crime Cases Involving Significant Cyber Attacks | USAO-NJ | Department of Justice · District of New Jersey | Computer Hacker Who Launched Attacks On Rutgers University Ordered To Pay $8.6m Restitution; Sentenced To Six Months Home Incarceration | United States Department of Justice · Worm (Mirai?) Exploiting Android Debug Bridge (Port 5555/tcp) · The internet of stings · Malware Must Die!: MMD-0056-2016 – Linux/Mirai, how an old ELF malcode is recycled.. · KrebsOnSecurity Hit With Record DDoS — Krebs on Security

Leave a Reply