Advertisement
Kovah

Untitled

Dec 18th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.10 KB | None | 0 0
  1. Source: https://ghostbin.com/paste/q2vq2
  2.  
  3. 12/10 2017
  4.  
  5. --[ 1 - Internet Chemotherapy
  6.  
  7. Internet Chemotherapy was a 13 month project between Nov 2016 - Dec 2017.
  8. It has been known under names such as 'BrickerBot', 'bad firmware
  9. upgrade', 'ransomware', 'large-scale network failure' and even
  10. 'unprecedented terrorist actions.' That last one was a little harsh,
  11. Fernandez, but I guess I can't please everybody.
  12.  
  13. You can download the module which executes the http and telnet-based
  14. payloads from this router at http://91.215.104.140/mod_plaintext.py. Due to
  15. platform limitations the module is obfuscated single threaded python, but
  16. the payloads are in plain view and should be easy to figure out for any
  17. programmer worth his/her/hir salt. Take a look at the number of payloads,
  18. 0-days and techniques and let the reality sink in for a moment. Then
  19. imagine what would've happened to the Internet in 2017 if I had been a
  20. blackhat dedicated to building a massive DDoS cannon for blackmailing the
  21. biggest providers and companies. I could've disrupted them all and caused
  22. extraordinary damage to the Internet in the process.
  23.  
  24. My ssh crawler is too dangerous to publish. It contains various levels of
  25. automation for the purpose of moving laterally through poorly designed
  26. ISP networks and taking them over through only a single breached router.
  27. My ability to commandeer and secure hundreds of thousands of ISP routers
  28. was the foundation of my anti-IoT botnet project as it gave me great
  29. visibility of what was happening on the Internet and it gave me an
  30. endless supply of nodes for hacking back. I began my non-destructive ISP
  31. network cleanup project in 2015 and by the time Mirai came around I was
  32. in a good position to react. The decision to willfully sabotage other
  33. people's equipment was nonetheless a difficult one to make, but the
  34. colossally dangerous CVE-2016-10372 situation ultimately left me with no
  35. other choice. From that moment on I was all-in.
  36.  
  37. I am now here to warn you that what I've done was only a temporary band-
  38. aid and it's not going to be enough to save the Internet in the future.
  39. The bad guys are getting more sophisticated, the number of potentially
  40. vulnerable devices keep increasing, and it's only a matter of time before
  41. a large scale Internet-disrupting event will occur. If you are willing to
  42. believe that I've disabled over 10 million vulnerable devices over the 13-
  43. month span of the project then it's not far-fetched to say that such a
  44. destructive event could've already happened in 2017.
  45.  
  46. YOU SHOULD WAKE UP TO THE FACT THAT THE INTERNET IS ONLY ONE OR TWO
  47. SERIOUS IOT EXPLOITS AWAY FROM BEING SEVERELY DISRUPTED. The damage of
  48. such an event is immeasurable given how digitally connected our societies
  49. have become, yet CERTs, ISPs and governments are not taking the gravity
  50. of the situation seriously enough. ISPs keep deploying devices with
  51. exposed control ports and although these are trivially found using
  52. services like Shodan the national CERTs don't seem to care. A lot of
  53. countries don't even have CERTs. Many of the world's biggest ISPs do not
  54. have any actual security know-how in-house, and are instead relying on
  55. foreign vendors for help in case anything goes wrong. I've watched large
  56. ISPs withering for months under conditioning from my botnet without them
  57. being able to fully mitigate the vulnerabilities (good examples are BSNL,
  58. Telkom ZA, PLDT, from time to time PT Telkom, and pretty much most large
  59. ISPs south of the border). Just look at how slow and ineffective Telkom
  60. ZA was in dealing with its Aztech modem problem and you will begin to
  61. understand the hopelessness of the current situation. In 99% of the
  62. problem cases the solution would have simply been for the ISPs to deploy
  63. sane ACLs and CPE segmentation, yet months later their technical staff
  64. still hasn't figured this out. If ISPs are unable to mitigate weeks and
  65. months of continuous deliberate sabotage of their equipment then what
  66. hope is there that they would notice and fix a Mirai problem on their
  67. networks? Many of the world's biggest ISPs are catastrophically negligent
  68. and this is the biggest danger by a landslide, yet paradoxically it
  69. should also be the easiest problem to fix.
  70.  
  71. I've done my part to try to buy the Internet some time, but I've gone as
  72. far as I can. Now it's up to you. Even small actions are important. Among
  73. the things you can do are:
  74.  
  75. * Review your own ISP's security through services such as Shodan and take
  76. them to task over exposed telnet, http, httpd, ssh, tr069 etc. ports on
  77. their networks. Refer them to this document if you have to. There's no
  78. good reason why any of these control ports should ever be accessible
  79. from the outside world. Exposing control ports is an amateur mistake.
  80. If enough customers complain they might actually do something about it!
  81.  
  82. * Vote with your wallet! Refuse to buy or use 'intelligent' products
  83. unless the manufacturer can prove that the product can and will receive
  84. timely security updates. Find out about the vendor's security track
  85. record before giving them your hard-earned money. Be willing to pay a
  86. little bit more for credible security.
  87.  
  88. * Lobby your local politicians and government officials for improved
  89. security legislation for IoT (Internet of Things) devices such as
  90. routers, IP cameras and 'intelligent' devices. Private or public
  91. companies currently lack the incentives for solving this problem in the
  92. immediate term. This matter is as important as minimum safety
  93. requirements for cars and general electrical appliances.
  94.  
  95. * Consider volunteering your time or other resources to underappreciated
  96. whitehat organizations such as GDI Foundation or Shadowserver
  97. Foundation. These organizations and people make a big difference and
  98. they can significantly amplify the impact of your skillset in helping
  99. the Internet.
  100.  
  101. * Last but not least, consider the long-shot potential of getting IoT
  102. devices designated as an 'attractive nuisance' through precedent-
  103. setting legal action. If a home owner can be held liable for a
  104. burglar/trespasser getting injured then I don't see why a device owner
  105. (or ISP or manufacturer) shouldn't be held liable for the damage that
  106. was caused by their dangerous devices being exploitable through the
  107. Internet. Attribution won't be a problem for Layer 7 attacks. If any
  108. large ISPs with deep pockets aren't willing to fund such precedent
  109. cases (and they might not since they fear that such precedents could
  110. come back to haunt them) we could even crowdfund such initiatives over
  111. here and in the EU. ISPs: consider your volumetric DDoS bandwidth cost
  112. savings in 2017 as my indirect funding of this cause and as evidence
  113. for its potential upside.
  114.  
  115. --[ 2 - Timeline
  116.  
  117. Here are some of the more memorable events of the project:
  118.  
  119. * Deutsche Telekom Mirai disruption in late November 2016. My hastily
  120. assembled initial TR069/64 payload only performed a 'route del default'
  121. but this was enough to get the ISP's attention to the problem and the
  122. resulting headlines alerted other ISPs around the world to the
  123. unfolding disaster.
  124.  
  125. * Around January 11-12 some Mirai-infected DVRs with exposed control port
  126. 6789 ended up getting bricked in Washington DC, and this made numerous
  127. headlines. Gold star to Vemulapalli for determining that Mirai combined
  128. with /dev/urandom had to be 'highly sophisticated ransomware'. Whatever
  129. happened to those 2 unlucky souls in Europe?
  130.  
  131. * In late January 2017 the first genuine large-scale ISP takedown occured
  132. when Rogers Canada's supplier Hitron carelessly pushed out new firmware
  133. with an unauthenticated root shell listening on port 2323 (presumably
  134. this was a debugging interface that they forgot to disable). This epic
  135. blunder was quickly discovered by Mirai botnets, and the end-result was
  136. a large number of bricked units.
  137.  
  138. * In February 2017 I noticed the first Mirai evolution of the year, with
  139. both Netcore/Netis and Broadcom CLI-based modems being attacked. The
  140. BCM CLI would turn out to become one of the main Mirai battlegrounds of
  141. 2017, with both the blackhats and me chasing the massive long tail of
  142. ISP and model-specific default credentials for the rest of the year.
  143. The 'broadcom' payloads in the above source may look strange but
  144. they're statistically the most likely sequences to disable any of the
  145. endless number of buggy BCM CLI firmwares out there.
  146.  
  147. * In March 2017 I significantly increased my botnet's node count and
  148. started to add more web payloads in response to the threats from IoT
  149. botnets such as Imeij, Amnesia and Persirai. The large-scale takedown
  150. of these hacked devices created a new set of concerns. For example,
  151. among the leaked credentials of the Avtech and Wificam devices there
  152. were logins which strongly implied airports and other important
  153. facilities, and around April 1 2017 the UK government officials
  154. warned of a 'credible cyber threat' to airports and nuclear
  155. facilities from 'hacktivists.' Oops.
  156.  
  157. * The more aggressive scanning also didn't escape the attention of
  158. civilian security researchers, and in April 6 2017 security company
  159. Radware published an article about my project. The company trademarked
  160. it under the name 'BrickerBot.' It became clear that if I were to
  161. continue increasing the scale of my IoT counteroffensive I had to come
  162. up with better network mapping/detection methods for honeypots and
  163. other risky targets.
  164.  
  165. * Around April 11th 2017 something very unusual happened. At first it
  166. started like so many other ISP takedowns, with a semi-local ISP called
  167. Sierra Tel running exposed Zyxel devices with the default telnet login
  168. of supervisor/zyad1234. A Mirai runner discovered the exposed devices
  169. and my botnet followed soon after, and yet another clash in the epic
  170. BCM CLI war of 2017 took place. This battle didn't last long. It
  171. would've been just like any of the hundreds of other ISP takedowns in
  172. 2017 were it not for something very unusual occuring right after the
  173. smoke settled. Amazingly, the ISP didn't try to cover up the outage as
  174. some kind of network issue, power spike or a bad firmware upgrade. They
  175. didn't lie to their customers at all. Instead, they promptly published
  176. a press release about their modems having been vulnerable which allowed
  177. their customers to assess their potential risk exposure. What did the
  178. most honest ISP in the world get for its laudable transparency? Sadly
  179. it got little more than criticism and bad press. It's still the most
  180. depressing case of 'why we can't have nice things' to me, and probably
  181. the main reason for why 99% of security mistakes get covered up and the
  182. actual victims get left in the dark. Too often 'responsible disclosure'
  183. simply becomes a euphemism for 'coverup.'
  184.  
  185. * On April 14 2017 DHS warned of 'BrickerBot Threat to Internet of
  186. Things' and the thought of my own government labeling me as a cyber
  187. threat felt unfair and myopic. Surely the ISPs that run dangerously
  188. insecure network deployments and the IoT manufacturers that peddle
  189. amateurish security implementations should have been fingered as the
  190. actual threat to Americans rather than me? If it hadn't been for me
  191. millions of us would still be doing their banking and other sensitive
  192. transactions over hacked equipment and networks. If anybody from DHS
  193. ever reads this I urge you to reconsider what protecting the homeland
  194. and its citizens actually means.
  195.  
  196. * In late April 2017 I spent some time on improving my TR069/64 attack
  197. methods, and in early May 2017 a company called Wordfence (now Defiant)
  198. reported a significant decline in a TR069-exploiting botnet that had
  199. previously posed a threat to Wordpress installations. It's noteworthy
  200. that the same botnet temporarily returned a few weeks later using a
  201. different exploit (but this was also eventually mitigated).
  202.  
  203. * In May 2017 hosting company Akamai reported in its Q1 2017 State of the
  204. Internet report an 89% decrease in large (over 100 Gbps) DDoS attacks
  205. compared with Q1 2016, and a 30% decrease in total DDoS attacks. The
  206. largest attack of Q1 2017 was 120 Gbps vs 517 Gbps in Q4 2016. As large
  207. volumetric DDoS was one of the primary signatures of Mirai this felt
  208. like concrete justification for all the months of hard work in the IoT
  209. trenches.
  210.  
  211. * During the summer I kept improving my exploit arsenal, and in late July
  212. I performed some test runs against APNIC ISPs. The results were quite
  213. surprising. Among other outcomes a few hundred thousand BSNL and MTNL
  214. modems were disabled and this outage become headline news in India.
  215. Given the elevated geopolitical tensions between India and China at the
  216. time I felt that there was a credible risk of the large takedown being
  217. blamed on China so I made the rare decision to publically take credit
  218. for it. Catalin, I'm very sorry for the abrupt '2 day vacation' that
  219. you had to take after reporting the news.
  220.  
  221. * Previously having worked on APNIC and AfriNIC, on August 9th 2017 I
  222. also launched a large scale cleanup of LACNIC space which caused
  223. problems for various providers across the subcontinent. The attack made
  224. headlines in Venezuela after a few million cell phone users of Movilnet
  225. lost service. Although I'm personally against government surveillance
  226. of the Internet the case of Venezuela is noteworthy. Many of the
  227. LACNIC ISPs and networks have been languishing for months under
  228. persistent conditioning from my botnet, but Venezuelan providers have
  229. been quick to fortify their networks and secure their infrastructure.
  230. I believe this is due to Venezuela engaging in far more invasive deep
  231. packet inspection than the other LACNIC countries. Food for thought.
  232.  
  233. * In August 2017 F5 Labs released a report called "The Hunt for IoT: The
  234. Rise of Thingbots" in which the researchers were perplexed over the
  235. recent lull in telnet activity. The researchers speculated that the
  236. lack of activity may be evidence that one or more very large cyber
  237. weapons are being built (which I guess was in fact true). This piece
  238. is to my knowledge the most accurate assessment of the scope of my
  239. project but fascinatingly the researchers were unable to put two and
  240. two together in spite of gathering all the relevant clues on a single
  241. page.
  242.  
  243. * In August 2017 Akamai's Q2 2017 State of the Internet report announces
  244. the first quarter in 3 years without the provider observing a single
  245. large (over 100 Gbps) attack, and a 28% decrease in total DDoS attacks
  246. vs Q1 2017. This seems like further validation of the cleanup effort.
  247. This phenomenally good news is completely ignored by the mainstream
  248. media which operates under an 'if it bleeds it leads' mentality even
  249. when it comes to information security. This is yet another reason why
  250. we can't have nice things.
  251.  
  252. * After the publication of CVE-2017-7921 and 7923 in September 2017 I
  253. decided to take a closer look at Hikvision devices, and to my horror
  254. I realized that there's a technique for botting most of the vulnerable
  255. firmwares that the blackhats hadn't discovered yet. As a result I
  256. launched a global cleanup initiative around mid-September. Over a
  257. million DVRs and cameras (mainly Hikvision and Dahua) were disabled
  258. over a span of 3 weeks and publications such as IPVM.com wrote several
  259. articles about the attacks. Dahua and Hikvision wrote press releases
  260. mentioning or alluding to the attacks. A huge number of devices finally
  261. got their firmwares upgraded. Seeing the confusion that the cleanup
  262. effort caused I decided to write a quick summary for the CCTV people at
  263. http://depastedihrn3jtw.onion.link/show.php?md5=62d1d87f67a8bf485d43a05ec32b1e6f
  264. (sorry for the NSFW language of the pastebin service). The staggering
  265. number of vulnerable units that were online months after critical
  266. security patches were available should be the ultimate wakeup call to
  267. everyone about the utter dysfunctionality of the current IoT patching
  268. process.
  269.  
  270. * Around September 28 2017 Verisign releases a report saying that DDoS
  271. attacks declined 55% in Q2 2017 vs Q1, with a massive 81% attack peak
  272. decline.
  273.  
  274. * On November 23rd 2017 the CDN provider Cloudflare reports that 'in
  275. recent months, Cloudflare has seen a dramatic reduction in simple
  276. attempts to flood our network with junk traffic.' Cloudflare speculates
  277. it could've partly been due to their change in policies, but the
  278. reductions also line up well with the IoT cleanup activities.
  279.  
  280. * At the end of November 2017 Akamai's Q3 2017 State of the Internet
  281. report sees a small 8% increase in total DDoS attacks for the quarter.
  282. Although this was a significant reduction compared to Q3 2016 the
  283. slight uptick serves as a reminder of the continued risks and dangers.
  284.  
  285. * As a further reminder of the dangers a new Mirai strain dubbed 'Satori'
  286. reared its head in November-December of 2017. It's particularly
  287. noteworthy how quickly the botnet managed to grow based on a single
  288. 0-day exploit. This event underlines the current perilous operating
  289. state of the Internet, and why we're only one or two severe IoT
  290. exploits away from widespread disruption. What will happen when nobody
  291. is around to disable the next threat? Sinkholing and other whitehat/
  292. 'legal' mitigations won't be enough in 2018 just like they weren't
  293. enough in 2016. Perhaps in the future governments will be able to
  294. collaborate on a counterhacking task force with a global mandate for
  295. disabling particularly severe existential threats to the Internet, but
  296. I'm not holding my breath.
  297.  
  298. * Late in the year there were also some hysterical headlines regarding a
  299. new botnet that was dubbed 'Reaper' and 'IoTroop'. I know some of you
  300. will eventually ridicule those who estimated its size at 1-2 million
  301. but you should understand that security researchers have very limited
  302. knowledge of what's happening on networks and hardware that they don't
  303. control. In practice the researchers could not possibly have known or
  304. even assumed that most of the vulnerable device pool had already been
  305. disabled by the time the botnet emerged. Give the 'Reaper' one or two
  306. new unmitigated 0-days and it'll become as terrifying as our worst
  307. fears.
  308.  
  309. --[ 3 - Parting Thoughts
  310.  
  311. I'm sorry to leave you in these circumstances, but the threat to my own
  312. safety is becoming too great to continue. I have made many enemies. If
  313. you want to help look at the list of action items further up. Good luck.
  314.  
  315. There will also be those who will criticize me and say that I've acted
  316. irresponsibly, but that's completely missing the point. The real point
  317. is that if somebody like me with no previous hacking background was able
  318. to do what I did, then somebody better than me could've done far worse
  319. things to the Internet in 2017. I'm not the problem and I'm not here to
  320. play by anyone's contrived rules. I'm only the messenger. The sooner you
  321. realize this the better.
  322.  
  323. -Dr Cyborkian a.k.a. janit0r, conditioner of 'terminally ill' devices.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement