AutoC2.sh 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538
  1. #!/bin/bash
  2. cat << "EOF"
  3. __ _ ___ ___ _ _ _ __ ___ ___ | |__ _ __ ___ __ _ ___| |__
  4. / _` / __/ __| | | | '_ ` _ \ / _ \_____| '_ \| '__/ _ \/ _` |/ __| '_ \
  5. | (_| \__ \__ \ |_| | | | | | | __/_____| |_) | | | __/ (_| | (__| | | |
  6. \__,_|___/___/\__,_|_| |_| |_|\___| |_.__/|_| \___|\__,_|\___|_| |_|
  7. **AutoC2**
  8. Use At Your Own Risk
  9. EOF
  10. sleep 2
  11. echo""
  12. echo""
  13. echo "WARNING THIS SCRIPT TAKES FUCKING FOREVER!!!"
  14. echo""
  15. echo""
  16. echo "All Tools Can Be Found In The /opt Directory"
  17. echo ""
  18. sleep 2
  19. read -p "Press enter to continue"
  20. echo ""
  21. echo "Updating Your System"
  22. echo""
  23. sleep 2
  24. apt-get update -y && apt-get upgrade -y
  25. apt update -y && apt upgrade -y
  26. apt autoremove -y
  27. echo ""
  28. sleep 2
  29. echo "Installing System Dependencies"
  30. echo ""
  31. sleep 2
  32. apt --fix-broken install
  33. apt install git -y
  34. apt --fix-broken install
  35. apt install php-curl php-xml docker.io ruby-bundler golang python-pip python3 make snap fuse ruby-bundler python3-pip pipx chromium-browser dnsmasq hostapd openssl open-vm-tools-desktop build-essential libpcap-dev net-tools -y
  36. apt --fix-broken install
  37. echo ""
  38. echo "Installing Hackery Stuff"
  39. echo ""
  40. sleep 2
  41. apt install nmap wifite nikto wpscan aircrack-ng ettercap-graphical john hashcat crunch tshark macchanger recon-ng snap dhcpd lighttpd mdk4 dsniff mdk3 php-cgi xterm cewl crunch hydra sqlmap ncrack gobuster dirb wfuzz medusa netcat -y
  42. apt --fix-broken install
  43. snap install amass
  44. echo ""
  45. sleep 2
  46. echo "Installing CherryTree For Documentation"
  47. sleep 3
  48. sudo apt-get install cherrytree -y
  49. apt --fix-broken install -y
  50. echo ""
  51. echo "Creating Tool Folders"
  52. echo ""
  53. sleep 2
  54. cd /opt
  55. mkdir Initial_Access
  56. mkdir Recon
  57. mkdir Command_And_Control
  58. mkdir Social_Engineering
  59. mkdir Phishing
  60. mkdir Delivery
  61. mkdir Lateral_Movement
  62. mkdir Cloud
  63. mkdir Payload_Development
  64. mkdir Hak5_Implants
  65. mkdir Wireless
  66. mkdir Wordlists
  67. mkdir Web
  68. mkdir Virtual_Machines
  69. mkdir Staging
  70. mkdir Log_Aggregation
  71. mkdir Windows_OS
  72. echo""
  73. echo "Getting Resources"
  74. sleep 2
  75. echo ""
  76. echo "Installing Wordlists & Rule Sets"
  77. sleep 3
  78. cd /opt/Wordlists/
  79. git clone https://github.com/NotSoSecure/password_cracking_rules.git
  80. git clone https://github.com/praetorian-inc/Hob0Rules.git
  81. git clone https://github.com/danielmiessler/SecLists.git
  82. wget https://raw.githubusercontent.com/praetorian-inc/Hob0Rules/master/wordlists/rockyou.txt.gz
  83. echo""
  84. echo "Installing Recon Resources"
  85. echo""
  86. sleep 2
  87. cd /opt/Recon/
  88. echo""
  89. echo "Installing RustScan"
  90. echo""
  91. sleep 2
  92. git clone https://github.com/RustScan/RustScan.git
  93. cd RustScan.git
  94. docker build -t rustscan .
  95. cd /opt/Recon/
  96. echo "Installing GitLeaks"
  97. echo ""
  98. sleep 2
  99. git clone https://github.com/zricethezav/gitleaks.git
  100. cd gitleaks/
  101. make build
  102. echo ""
  103. cd /opt/Windows_OS/
  104. mkdir Recon
  105. cd Recon/
  106. echo "Installing MFA Sweep"
  107. echo ""
  108. sleep 2
  109. git clone https://github.com/dafthack/MFASweep
  110. cd /opt/Recon/
  111. echo "Installing S3Scanner"
  112. echo ""
  113. sleep 2
  114. git clone https://github.com/sa7mon/S3Scanner.git
  115. cd S3Scanner/
  116. pip3 install -r requirements.txt
  117. python3 -m S3Scanner
  118. cd /opt/Recon/
  119. echo""
  120. echo "Installing Enum4Linux"
  121. cd /opt/Recon/
  122. echo ""
  123. sleep 2
  124. git clone https://github.com/CiscoCXSecurity/enum4linux.git
  125. echo "alias enum4linux='/opt/enum4linux/./enum4linux.pl'" >> /root/.bashrc
  126. echo ""
  127. echo "Installing Cloud_Enum"
  128. echo""
  129. sleep 2
  130. git clone https://github.com/initstring/cloud_enum.git
  131. cd cloud_enum
  132. pip3 install -r ./requirements.txt
  133. cd /opt/Recon/
  134. echo "Installing Buster"
  135. echo ""
  136. sleep 2
  137. git clone https://github.com/sham00n/buster.git
  138. cd buster/
  139. python3 setup.py install
  140. cd /opt/Repo/
  141. git clone https://github.com/initstring/linkedin2username.git
  142. echo ""
  143. echo "Installing WitnessMe"
  144. echo ""
  145. sleep 2
  146. python3 -m pip install --user pipx
  147. pipx install witnessme
  148. pipx ensurepath
  149. cd /opt/Recon/
  150. echo ""
  151. echo "Installing Pagodo"
  152. echo ""
  153. sleep 2
  154. git clone https://github.com/opsdisk/pagodo.git
  155. cd pagodo
  156. pip install -r requirements.txt
  157. cd /opt/Recon/
  158. echo ""
  159. echo "Installing AttackSurfaceMapper"
  160. echo""
  161. sleep 2
  162. git clone https://github.com/superhedgy/AttackSurfaceMapper.git
  163. cd AttackSurfaceMapper
  164. python3 -m pip install --no-cache-dir -r requirements.txt
  165. cd /opt/Recon/
  166. echo ""
  167. echo "Installing SpiderFoot"
  168. echo ""
  169. sleep 2
  170. git clone https://github.com/smicallef/spiderfoot.git
  171. cd spiderfoot
  172. pip3 install -r requirements.txt
  173. pip3 install cherrypy
  174. pip3 install cherrypy_cors
  175. pip3 install publicsuffixlist
  176. pip3 install networkx
  177. pip3 install openpyxl
  178. cd /opt/Recon/
  179. echo""
  180. echo "Installing DNScan"
  181. echo ""
  182. sleep 2
  183. git clone https://github.com/rbsec/dnscan.git
  184. cd dnscan
  185. pip3 install -r requirements.txt
  186. pip3 install setuptools
  187. cd /opt/Recon/
  188. echo""
  189. echo "Installing SpoofCheck"
  190. echo""
  191. sleep 2
  192. git clone https://github.com/BishopFox/spoofcheck.git
  193. cd spoofcheck
  194. pip3 install -r requirements.txt
  195. cd /opt/Recon/
  196. echo ""
  197. echo "Installing LinkedInt"
  198. echo""
  199. sleep 2
  200. git clone https://github.com/vysecurity/LinkedInt.git
  201. cd LinkedInt
  202. pip3 install -r requirements.txt
  203. cd /opt/Recon/
  204. echo ""
  205. echo "Installing EyeWitness"
  206. echo ""
  207. sleep 2
  208. git clone https://github.com/ChrisTruncer/EyeWitness.git
  209. cd EyeWitness/Python/setup
  210. bash setup.sh
  211. cd /opt/Recon/
  212. echo""
  213. echo "Installing Aquatone"
  214. echo ""
  215. sleep 2
  216. mkdir Aquatone
  217. cd Aquatone/
  218. wget https://github.com/michenriksen/aquatone/releases/download/v1.7.0/aquatone_linux_amd64_1.7.0.zip
  219. unzip aquatone_linux_amd64_1.7.0.zip
  220. cd /opt/Recon/
  221. echo""
  222. echo "Installing DNSrecon"
  223. echo ""
  224. sleep 2
  225. git clone https://github.com/darkoperator/dnsrecon.git
  226. cd dnsrecon
  227. pip install -r requirements.txt
  228. python setup.py install
  229. cd /opt/Recon/
  230. echo ""
  231. echo "Installing Social Mapper"
  232. echo ""
  233. sleep 2
  234. git clone https://github.com/SpiderLabs/social_mapper.git
  235. cd /social_mapper/setup/
  236. pip install -r requirements.txt
  237. echo""
  238. cd /opt/Recon/
  239. echo "Installing theHarvester"
  240. echo ""
  241. sleep 2
  242. git clone https://github.com/laramies/theHarvester.git
  243. cd theHarvester/
  244. pip3 install aiohttp
  245. pip3 install aiomultiprocess
  246. python3 -m pip install -r requirements/base.txt
  247. python3 setup.py install
  248. cd /opt/Recon/
  249. echo ""
  250. echo "Installing Metagoofil"
  251. echo ""
  252. sleep 2
  253. git clone https://github.com/laramies/metagoofil.git
  254. echo""
  255. echo "Installing TruffleHog"
  256. echo ""
  257. sleep 2
  258. git clone https://github.com/dxa4481/truffleHog.git
  259. cd trufflehog; go install
  260. cd /opt/Recon/
  261. echo""
  262. echo "Installing Pwned0rNot -- API KEY REQUIRE"
  263. git clone https://github.com/thewhiteh4t/pwnedOrNot.git
  264. cd pwnedOrNot
  265. chmod +x install.sh
  266. ./install.sh
  267. cd /opt/Recon/
  268. echo""
  269. echo "Installing GitHarvester"
  270. echo ""
  271. sleep 2
  272. git clone https://github.com/metac0rtex/GitHarvester.git
  273. echo ""
  274. echo "Cloning Initial Access Resources"
  275. echo ""
  276. sleep 2
  277. ###Break For Recon Folder###
  278. cd /opt/Initial_Access
  279. echo "Installing Initial Access Tools"
  280. echo ""
  281. sleep 2
  282. echo "Installing Spraying Toolkit"
  283. echo ""
  284. sleep 2
  285. git clone https://github.com/byt3bl33d3r/SprayingToolkit.git
  286. cd SprayingToolkit/
  287. pip3 install -r requirements.txt
  288. cd /opt/Initial_Access
  289. echo ""
  290. sleep 2
  291. echo "Installing O365 Recon"
  292. echo ""
  293. git clone https://github.com/nyxgeek/o365recon.git
  294. echo ""
  295. sleep 2
  296. echo "Installing TREVORspray"
  297. echo ""
  298. sleep 2
  299. git clone https://github.com/blacklanternsecurity/TREVORspray.git
  300. cd TREVORspray/
  301. pip3 install -r requirements.txt
  302. sleep 2
  303. ###Break Initial Access###
  304. echo ""
  305. echo "Installing Payload Development Resources"
  306. echo ""
  307. sleep 2
  308. cd /opt/Payload_Development
  309. echo "Installing Unicorn"
  310. git clone https://github.com/trustedsec/unicorn.git
  311. echo""
  312. echo "Installing Demiguise"
  313. echo ""
  314. sleep 2
  315. git clone https://github.com/nccgroup/demiguise.git
  316. echo ""
  317. echo "Installing The Backdoor Factory"
  318. echo ""
  319. docker pull secretsquirrel/the-backdoor-factory
  320. echo ""
  321. sleep 2
  322. echo "Installing Avet"
  323. echo ""
  324. git clone https://github.com/govolution/avet.git
  325. cd avet
  326. bash setup.sh
  327. cd /opt/Payload_Development/
  328. sleep 2
  329. echo ""
  330. echo "Installing MetaTwin"
  331. git clone https://github.com/threatexpress/metatwin.git
  332. echo ""
  333. sleep 2
  334. echo "Installing PSAmsi"
  335. git clone https://github.com/cobbr/PSAmsi.git
  336. sleep 2
  337. echo ""
  338. echo "Worse-PDF"
  339. echo ""
  340. git clone https://github.com/3gstudent/Worse-PDF.git
  341. echo ""
  342. sleep 2
  343. echo "Installing Ivy"
  344. echo ""
  345. git clone https://github.com/optiv/Ivy.git
  346. cd Ivy
  347. go get github.com/fatih/color
  348. go get github.com/KyleBanks/XOREncryption/Go
  349. go build Ivy.go
  350. echo ""
  351. cd /opt/Payload_Development/
  352. echo "Installing PEzor"
  353. echo ""
  354. git clone https://github.com/phra/PEzor.git
  355. cd PEzor/
  356. bash install.sh
  357. echo ""
  358. #read -p "Open A New Terminal And Export The Path For PEzor To Work!"
  359. echo ""
  360. sleep 2
  361. echo "Installing ScareCrow"
  362. echo""
  363. cd /opt/Payload_Development/
  364. git clone https://github.com/optiv/ScareCrow.git
  365. cd ScareCrow/
  366. go get github.com/fatih/color
  367. go get github.com/yeka/zip
  368. go get github.com/josephspurrier/goversioninfo
  369. apt install openssl -y
  370. apt install osslsigncode -y
  371. apt install mingw-w64 -y
  372. go build ScareCrow.go
  373. cd /opt/Payload_Development/
  374. echo ""
  375. sleep 2
  376. echo "Installing Donut"
  377. echo ""
  378. git clone https://github.com/TheWover/donut.git
  379. cd donut/
  380. python3 setup.py install
  381. cd /opt/Payload_Development
  382. mkdir MAC_OS
  383. cd MAC_OS
  384. echo ""
  385. sleep 2
  386. echo "Installing Mystikal"
  387. echo ""
  388. git clone https://github.com/D00MFist/Mystikal.git
  389. cd /opt/Payload_Development/
  390. echo ""
  391. sleep 2
  392. cd /opt/Windows_OS
  393. echo "Installing GadgetToJscript"
  394. git clone https://github.com/med0x2e/GadgetToJScript.git
  395. echo ""
  396. cd /opt/Payload_Development/
  397. echo "Installing Charlotte"
  398. git clone https://github.com/9emin1/charlotte.git
  399. echo ""
  400. cd /opt/Payload_Development/
  401. echo "Installing Invisibility Cloak"
  402. git clone https://github.com/xforcered/InvisibilityCloak.git
  403. echo ""
  404. cd /opt/Windows_OS/
  405. echo "Installing Dendrobate"
  406. echo ""
  407. git clone https://github.com/FuzzySecurity/Dendrobate.git
  408. echo ""
  409. sleep 2
  410. cd /opt/Payload_Development/
  411. echo "Installing Offensive-VBA-and-XLS-Entanglement"
  412. echo ""
  413. git clone https://github.com/BC-SECURITY/Offensive-VBA-and-XLS-Entanglement.git
  414. sleep 2
  415. echo ""
  416. echo "Installing xlsGen"
  417. echo ""
  418. sleep 2
  419. git clone https://github.com/aaaddress1/xlsGen.git
  420. echo ""
  421. echo "Installing DarkArmour"
  422. echo ""
  423. sleep 2
  424. git clone https://github.com/bats3c/darkarmour.git
  425. sudo apt install mingw-w64-tools mingw-w64-common g++-mingw-w64 gcc-mingw-w64 upx-ucl osslsigncode -y
  426. echo ""
  427. echo "Installing InlineWhispers"
  428. echo""
  429. sleep 2
  430. git clone https://github.com/outflanknl/InlineWhispers.git
  431. echo ""
  432. cd /opt/Windows_OS/
  433. echo "Installing EvilClippy"
  434. echo ""
  435. sleep 2
  436. git clone https://github.com/outflanknl/EvilClippy.git
  437. echo ""
  438. echo "Installing OfficePurge"
  439. echo ""
  440. git clone https://github.com/fireeye/OfficePurge.git
  441. sleep 2
  442. echo ""
  443. echo "Installing ThreatCheck"
  444. echo ""
  445. git clone https://github.com/rasta-mouse/ThreatCheck.git
  446. echo ""
  447. echo "Ruler"
  448. echo ""
  449. sleep 2
  450. git clone https://github.com/sensepost/ruler.git
  451. echo ""
  452. echo "Installing DueDLLigence"
  453. echo ""
  454. sleep 2
  455. git clone https://github.com/fireeye/DueDLLigence.git
  456. echo ""
  457. echo "Installing RuralBishop"
  458. echo ""
  459. sleep 2
  460. git clone https://github.com/rasta-mouse/RuralBishop.git
  461. echo ""
  462. echo "Installing TikiTorch"
  463. echo ""
  464. sleep 2
  465. git clone https://github.com/rasta-mouse/TikiTorch.git
  466. echo ""
  467. echo "Installing SharpShooter"
  468. echo ""
  469. sleep 2
  470. git clone https://github.com/mdsecactivebreach/SharpShooter.git
  471. echo ""
  472. echo "Installing SharpSploit"
  473. echo ""
  474. sleep 2
  475. git clone https://github.com/cobbr/SharpSploit.git
  476. echo ""
  477. echo "Installing MSBuildAPICaller"
  478. echo ""
  479. sleep 2
  480. git clone https://github.com/rvrsh3ll/MSBuildAPICaller.git
  481. echo ""
  482. echo "Installing Macro_Pack"
  483. echo ""
  484. sleep 2
  485. git clone https://github.com/sevagas/macro_pack.git
  486. echo ""
  487. echo "Installing Inceptor"
  488. echo ""
  489. sleep 2
  490. git clone https://github.com/klezVirus/inceptor.git
  491. echo ""
  492. echo "Installing Mortar"
  493. echo ""
  494. sleep 2
  495. git clone https://github.com/0xsp-SRD/mortar.git
  496. echo ""
  497. echo "Installing RedTeamCCode"
  498. echo ""
  499. sleep 2
  500. git clone https://github.com/Mr-Un1k0d3r/RedTeamCCode.git
  501. echo ""
  502. sleep 2
  503. ###Break For Payload Development###
  504. echo "Cloning Delivery Resources"
  505. echo ""
  506. cd /opt/Delivery/
  507. echo ""
  508. echo "Installing O365 Attack Toolkit"
  509. echo ""
  510. sleep 2
  511. git clone https://github.com/mdsecactivebreach/o365-attack-toolkit.git
  512. echo ""
  513. sleep 2
  514. echo ""
  515. echo "Installing BEEF"
  516. echo ""
  517. sleep 2
  518. git clone https://github.com/beefproject/beef.git
  519. cd beef
  520. bundle install
  521. ./install
  522. echo ""
  523. ###Break For Delivery###
  524. echo "Cloning Your C2 Resources"
  525. echo ""
  526. cd /opt/Command_And_Control/
  527. echo "Cloning C2 Frameworks"
  528. echo ""
  529. echo "Installing Empire & Starkiller"
  530. echo ""
  531. sleep 2
  532. git clone https://github.com/BC-SECURITY/Empire.git
  533. version=$(lsb_release -sr)
  534. cd Empire/
  535. find ./ -type f -print0 | xargs -0 sed -i "s/20.04/${version}/g"
  536. find ./ -type f -print0 | xargs -0 sed -i "s/18.04/${version}/g"
  537. find ./ -type f -print0 | xargs -0 sed -i "s/21.04/${version}/g"
  538. find ./ -type f -print0 | xargs -0 sed -i "s/21.10/${version}/g"
  539. find ./ -type f -print0 | xargs -0 sed -i "s/16.04/${version}/g"
  540. find ./ -type f -print0 | xargs -0 sed -i "s/22.04/${version}/g"
  541. cd setup/
  542. bash install.sh
  543. cd ../
  544. sudo wget https://github.com/BC-SECURITY/Starkiller/releases/download/v1.8.0/starkiller-1.8.0.AppImage
  545. sudo chmod +x starkiller-1.8.0.AppImage
  546. echo""
  547. sleep 2
  548. cd /opt/Command_And_Control/
  549. echo "Installing PoshC2"
  550. echo ""
  551. git clone https://github.com/nettitude/PoshC2.git
  552. cd PoshC2/
  553. bash Install.sh
  554. cd /opt/Command_And_Control/
  555. echo ""
  556. echo "Installing Merlin C2"
  557. echo ""
  558. sleep 2
  559. git clone https://github.com/Ne0nd0g/merlin.git
  560. cd merlin/
  561. go build
  562. cd /opt/Command_And_Control/
  563. echo ""
  564. echo "Installing Mythic"
  565. echo ""
  566. sleep 2
  567. git clone https://github.com/its-a-feature/Mythic.git
  568. cd Mythic/
  569. ./install_docker_ubuntu.sh
  570. echo ""
  571. cd /opt/Command_And_Control/
  572. echo ""
  573. echo "Installing Covenant With Random Profile"
  574. echo ""
  575. echo "Enter A Random Word!"
  576. read Random1
  577. echo ""
  578. echo "Enter A Different Random Word!"
  579. read Random2
  580. echo ""
  581. echo "Enter A Different Random Word!"
  582. read Random3
  583. custom1=$(echo $custom1 | md5sum | head -c 20)
  584. cd /opt/Command_And_Control/
  585. sudo git clone --recurse-submodules https://github.com/ZeroPointSecurity/Covenant.git
  586. cd /opt/Command_And_Control/Covenant/Covenant/
  587. wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
  588. sudo dpkg -i packages-microsoft-prod.deb
  589. sudo apt-get update -y
  590. apt --fix-broken install -y
  591. sudo apt-get install apt-transport-https -y
  592. apt --fix-broken install -y
  593. sudo apt-get update -y
  594. apt --fix-broken install -y
  595. sudo apt-get install dotnet-sdk-3.1 -y
  596. apt --fix-broken install -y
  597. mv ./Data/AssemblyReferences/ ../AssemblyReferences/
  598. mv ./Data/ReferenceSourceLibraries/ ../ReferenceSourceLibraries/
  599. mv ./Data/EmbeddedResources/ ../EmbeddedResources/
  600. mv ./Models/Covenant/ ./Models/${Random1^}/
  601. mv ./Components/CovenantUsers/ ./Components/${Random1^}Users/
  602. mv ./Components/Grunts/ ./Components/${Random2^}s/
  603. mv ./Models/Grunts/ ./Models/${Random2^}s/
  604. mv ./Data/Grunt/GruntBridge/ ./Data/Grunt/${Random2^}Bridge/
  605. mv ./Data/Grunt/GruntHTTP/ ./Data/Grunt/${Random2^}HTTP/
  606. mv ./Data/Grunt/GruntSMB/ ./Data/Grunt/${Random2^}SMB/
  607. mv ./Components/GruntTaskings/ ./Components/${Random2^}Taskings/
  608. mv ./Components/GruntTasks/ ./Components/${Random2^}Tasks/
  609. mv ./Data/Grunt/ ./Data/${Random2^}/
  610. find ./ -type f -print0 | xargs -0 sed -i "s/Grunt/${Random2^}/g"
  611. find ./ -type f -print0 | xargs -0 sed -i "s/GRUNT/${Random2^^}/g"
  612. find ./ -type f -print0 | xargs -0 sed -i "s/grunt/${Random2,,}/g"
  613. #find ./ -type f -print0 | xargs -0 sed -i "s/covenant/${Random1,,}/g"
  614. find ./ -type f -print0 | xargs -0 sed -i "s/Covenant/${Random1^}/g"
  615. find ./ -type f -print0 | xargs -0 sed -i "s/COVENANT/${Random1^^}/g"
  616. find ./ -type f -print0 | xargs -0 sed -i "s/ExecuteStager/ExecLevel/g"
  617. #find ./ -type f -print0 | xargs -0 sed -i "s/REPLACE_PROFILE/REP_PROF/g"
  618. #find ./ -type f -print0 | xargs -0 sed -i "s/REPLACE_PIPE/REP_PIP/g"
  619. #find ./ -type f -print0 | xargs -0 sed -i "s/GUID/ANGID/g"
  620. find ./ -type f -print0 | xargs -0 sed -i "s/SetupAES/Install"${custom1}"AES/g"
  621. find ./ -type f -print0 | xargs -0 sed -i "s/SessionKey/Sess"${custom1}"KEy/g"
  622. find ./ -type f -print0 | xargs -0 sed -i "s/EncryptedChallenge/Enc"${custom1}"ChallEnge/g"
  623. find ./ -type f -print0 | xargs -0 sed -i "s/DecryptedChallenges/Decrypt"${custom1}"ChallEnges/g"
  624. find ./ -type f -print0 | xargs -0 sed -i "s/Stage0Body/First"${custom1}"Body/g"
  625. find ./ -type f -print0 | xargs -0 sed -i "s/Stage0Response/First"${custom1}"Response/g"
  626. find ./ -type f -print0 | xargs -0 sed -i "s/Stage0Bytes/First"${custom1}"Bytes/g"
  627. find ./ -type f -print0 | xargs -0 sed -i "s/Stage1Body/Seccond"${custom1}"Body/g"
  628. find ./ -type f -print0 | xargs -0 sed -i "s/Stage1Response/Seccond"${custom1}"Response/g"
  629. find ./ -type f -print0 | xargs -0 sed -i "s/Stage1Bytes/Seccond"${custom1}"Bytes/g"
  630. find ./ -type f -print0 | xargs -0 sed -i "s/Stage2Body/Third"${custom1}"Body/g"
  631. find ./ -type f -print0 | xargs -0 sed -i "s/Stage2Response/Third"${custom1}"Response/g"
  632. find ./ -type f -print0 | xargs -0 sed -i "s/Stage2Bytes/Third"${custom1}"Bytes/g"
  633. find ./ -type f -print0 | xargs -0 sed -i "s/message64str/messAgE"${custom1}"64str/g"
  634. find ./ -type f -print0 | xargs -0 sed -i "s/messageBytes/messAgE"${custom1}"bytes/g"
  635. find ./ -type f -print0 | xargs -0 sed -i "s/totalReadBytes/ToTal"${custom1}"ReaDBytes/g"
  636. #find ./ -type f -print0 | xargs -0 sed -i "s/inputStream/instream/g"
  637. #find ./ -type f -print0 | xargs -0 sed -i "s/outputStream/outstream/g"
  638. find ./ -type f -print0 | xargs -0 sed -i "s/deflateStream/deFlatE"${custom1}"stream/g"
  639. find ./ -type f -print0 | xargs -0 sed -i "s/memoryStream/memOrYstream/g" #don't change
  640. find ./ -type f -print0 | xargs -0 sed -i "s/compressedBytes/packed"${custom1}"bytes/g"
  641. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/REPLACE_/REP"${custom1}"_/g"
  642. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/_PROFILE_/_PROF"${custom1}"_/g"
  643. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/_VALIDATE_/_VA"${custom1}"L_/g"
  644. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/GUID/${Random3^^}/g"
  645. find ./ -type f -name "*.razor" -print0 | xargs -0 sed -i "s/GUID/${Random3^^}/g"
  646. find ./ -type f -name "*.json" -print0 | xargs -0 sed -i "s/GUID/${Random3^^}/g"
  647. find ./ -type f -name "*.yaml" -print0 | xargs -0 sed -i "s/GUID/${Random3^^}/g"
  648. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/guid/${Random3,,}/g"
  649. find ./ -type f -name "*.razor" -print0 | xargs -0 sed -i "s/guid/${Random3,,}/g"
  650. find ./ -type f -name "*.json" -print0 | xargs -0 sed -i "s/guid/${Random3,,}/g"
  651. find ./ -type f -name "*.yaml" -print0 | xargs -0 sed -i "s/guid/${Random3,,}/g"
  652. find ./ -type f -print0 | xargs -0 sed -i "s/ProfileHttp/Prof"${custom1}"HTTP/g"
  653. find ./ -type f -print0 | xargs -0 sed -i "s/baseMessenger/bAse"${custom1}"mEsSenger/g"
  654. find ./ -type f -print0 | xargs -0 sed -i "s/PartiallyDecrypted/Part"${custom1}"decrypted/g"
  655. find ./ -type f -print0 | xargs -0 sed -i "s/FullyDecrypted/Fulld"${custom1}"ecrypted/g"
  656. find ./ -type f -print0 | xargs -0 sed -i "s/compressedBytes/packed"${custom1}"bytes/g"
  657. find ./ -type f -print0 | xargs -0 sed -i "s/CookieWebClient/Ottos"${custom1}"WebClient/g"
  658. #find ./ -type f -print0 | xargs -0 sed -i "s/CookieContainer/KekseContains/g"
  659. #find ./ -type f -print0 | xargs -0 sed -i "s/GetWebRequest/DoAnWebReq/g"
  660. find ./ -type f -print0 | xargs -0 sed -i "s/Jitter/JIt"${custom1}"ter/g"
  661. find ./ -type f -print0 | xargs -0 sed -i "s/ConnectAttempts/ConneCT"${custom1}"AttEmpts/g"
  662. find ./ -type f -print0 | xargs -0 sed -i "s/RegisterBody/Reg"${custom1}"Body/g"
  663. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/messenger/meSsenGer"${custom1}"/g"
  664. find ./ -type f -print0 | xargs -0 sed -i "s/Hello World/"${custom1}"/g"
  665. find ./ -type f -print0 | xargs -0 sed -i "s/ValidateCert/Val"${custom1}"CerT/g"
  666. find ./ -type f -print0 | xargs -0 sed -i "s/UseCertPinning/UsCert"${custom1}"Pin/g"
  667. find ./ -type f -print0 | xargs -0 sed -i "s/EncryptedMessage/Enc"${custom1}"Msg/g"
  668. find ./ -type f -print0 | xargs -0 sed -i "s/cookieWebClient/"${custom1}"WebClient/g" #ottos
  669. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/aes/crypt"${custom1}"var/g"
  670. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/aes2/crypt"${custom1}"var2/g"
  671. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array5/ar"${custom1}"r5/g"
  672. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array6/ar"${custom1}"r6/g"
  673. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array4/ar"${custom1}"r4/g"
  674. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array7/ar"${custom1}"r7/g"
  675. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array1/ar"${custom1}"r1/g"
  676. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array2/ar"${custom1}"r2/g"
  677. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array3/ar"${custom1}"r3/g"
  678. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/list1/l"${custom1}"i1/g"
  679. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/list2/l"${custom1}"i2/g"
  680. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/list3/l"${custom1}"i3/g"
  681. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/list4/l"${custom1}"i4/g"
  682. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/list5/l"${custom1}"i5/g"
  683. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group0/gr"${custom1}"p0/g"
  684. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group1/gr"${custom1}"p1/g"
  685. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group2/gr"${custom1}"p2/g"
  686. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group3/gr"${custom1}"p3/g"
  687. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group4/gr"${custom1}"p4/g"
  688. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group5/gr"${custom1}"p5/g"
  689. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group6/gr"${custom1}"p6/g"
  690. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group7/gr"${custom1}"p7/g"
  691. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group8/gr"${custom1}"p8/g"
  692. find ./ -type f -name "*Grunt*" | while read FILE ; do
  693. newfile="$(echo ${FILE} |sed -e "s/Grunt/${Random2^}/g")";
  694. mv "${FILE}" "${newfile}";
  695. done
  696. find ./ -type f -name "*GRUNT*" | while read FILE ; do
  697. newfile="$(echo ${FILE} |sed -e "s/GRUNT/${Random2^^}/g")";
  698. mv "${FILE}" "${newfile}";
  699. done
  700. find ./ -type f -name "*grunt*" | while read FILE ; do
  701. newfile="$(echo ${FILE} |sed -e "s/grunt/${Random2,,}/g")";
  702. mv "${FILE}" "${newfile}";
  703. done
  704. find ./ -type f -name "*Covenant*" | while read FILE ; do
  705. newfile="$(echo ${FILE} |sed -e "s/Covenant/${Random1^}/g")";
  706. mv "${FILE}" "${newfile}";
  707. done
  708. find ./ -type f -name "*COVENANT*" | while read FILE ; do
  709. newfile="$(echo ${FILE} |sed -e "s/COVENANT/${Random2^^}/g")";
  710. mv "${FILE}" "${newfile}";
  711. done
  712. #find ./ -type f -name "*covenant*" | while read FILE ; do
  713. # newfile="$(echo ${FILE} |sed -e "s/covenant/ottocommand/g")";
  714. # mv "${FILE}" "${newfile}";
  715. #done
  716. mv ../AssemblyReferences/ ./Data/
  717. mv ../ReferenceSourceLibraries/ ./Data/
  718. mv ../EmbeddedResources/ ./Data/
  719. dotnet build
  720. echo ""
  721. cd /opt/Command_And_Control/
  722. echo "Installing Shad0w"
  723. echo ""
  724. sleep 2
  725. git clone https://github.com/bats3c/shad0w.git
  726. cd shad0w/
  727. bash install.sh
  728. echo ""
  729. cd /opt/Command_And_Control/
  730. echo "Installing Sliver"
  731. echo ""
  732. sleep 2
  733. git clone https://github.com/BishopFox/sliver.git
  734. cd sliver/
  735. python3 build.py
  736. cd /opt/Command_And_Control
  737. echo ""
  738. echo "Installing SilentTrinity"
  739. echo ""
  740. sleep 2
  741. git clone https://github.com/byt3bl33d3r/SILENTTRINITY.git
  742. cd SILENTTRINITY/
  743. pip3 install -r requirements.txt
  744. cd /opt/Command_And_Control/
  745. echo ""
  746. echo "Installing Pupy C2"
  747. echo ""
  748. sleep 2
  749. git clone https://github.com/n1nj4sec/pupy.git
  750. echo ""
  751. echo "Installing Metasploit"
  752. sleep 2
  753. echo ""
  754. apt install postgresql -y
  755. systemctl start postgresql
  756. systemctl enable postgresql
  757. apt install curl -y
  758. apt --fix-broken install -y
  759. cd /opt/Command_And_Control/
  760. curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall
  761. chmod +x msfinstall
  762. ./msfinstall
  763. apt --fix-broken install -y
  764. echo ""
  765. ###Break For C2 Frameworks###
  766. echo "Cloning Staging Resources"
  767. echo ""
  768. cd /opt/Staging/
  769. echo""
  770. echo "Installing PwnDrop"
  771. git clone https://github.com/kgretzky/pwndrop.git
  772. cd pwndrop/
  773. go build
  774. cd /opt/Staging
  775. echo ""
  776. echo "Installing C2 Concealer"
  777. echo ""
  778. sleep 2
  779. git clone https://github.com/FortyNorthSecurity/C2concealer.git
  780. cd C2concealer/
  781. bash install.sh
  782. cd /opt/Staging/
  783. echo ""
  784. echo "Installing FindFrontableDomains"
  785. echo ""
  786. sleep 2
  787. git clone https://github.com/rvrsh3ll/FindFrontableDomains.git
  788. cd FindFrontableDomains/
  789. bash install.sh
  790. echo ""
  791. echo "Installing DomainHunter"
  792. echo ""
  793. cd /opt/Staging/
  794. sleep 2
  795. git clone https://github.com/threatexpress/domainhunter.git
  796. cd domainhunter/
  797. pip3 install -r requirements.txt
  798. echo ""
  799. cd /opt/Staging/
  800. echo "Installing RedWarden"
  801. echo ""
  802. sleep 2
  803. git clone https://github.com/mgeeky/RedWarden.git
  804. cd RedWarden/
  805. pip3 install -r requirements.txt
  806. cd /opt/Staging/
  807. echo ""
  808. echo "Installing AzureC2Relay"
  809. echo ""
  810. sleep 2
  811. git clone https://github.com/Flangvik/AzureC2Relay.git
  812. echo ""
  813. echo "Installing C3"
  814. echo ""
  815. sleep 2
  816. cd /opt/Windows_OS
  817. git clone https://github.com/FSecureLABS/C3.git
  818. echo ""
  819. cd /opt/Staging/
  820. echo "Installing Chameleon"
  821. echo ""
  822. sleep 2
  823. git clone https://github.com/mdsecactivebreach/Chameleon.git
  824. cd Chameleon/
  825. pip3 install -r requirements.txt
  826. cd /opt/Staging/
  827. echo ""
  828. echo "Installing Redirect Rules"
  829. echo ""
  830. sleep 2
  831. git clone https://github.com/0xZDH/redirect.rules.git
  832. cd redirect.rules/
  833. bash setup.sh
  834. echo ""
  835. echo "Installing Log Aggregation Resources"
  836. echo ""
  837. sleep 2
  838. cd /opt/Log_Aggregation
  839. echo ""
  840. echo "Installing RedELK"
  841. echo ""
  842. sleep 2
  843. git clone https://github.com/outflanknl/RedELK.git
  844. echo ""
  845. echo "Installing RedTeamSIEM"
  846. echo ""
  847. sleep 2
  848. git clone https://github.com/SecurityRiskAdvisors/RedTeamSIEM.git
  849. echo ""
  850. echo "Installing Situational Awareness Resources"
  851. echo ""
  852. sleep 2
  853. cd /opt/Windows_OS
  854. mkdir Situational_Awareness
  855. cd Situational_Awareness/
  856. echo ""
  857. echo "Installing AggressiveProxy"
  858. echo ""
  859. sleep 2
  860. git clone https://github.com/EncodeGroup/AggressiveProxy.git
  861. echo ""
  862. echo "Installing Gopher"
  863. echo ""
  864. sleep 2
  865. git clone https://github.com/EncodeGroup/Gopher.git
  866. echo ""
  867. echo "Installing SharpEDRChecker"
  868. echo ""
  869. sleep 2
  870. git clone https://github.com/PwnDexter/SharpEDRChecker.git
  871. echo ""
  872. echo "Installing CS-Situational-Awareness-BOF"
  873. echo ""
  874. sleep 2
  875. git clone https://github.com/trustedsec/CS-Situational-Awareness-BOF.git
  876. echo ""
  877. echo "Installing Seatbelt"
  878. echo ""
  879. sleep 2
  880. git clone https://github.com/GhostPack/Seatbelt.git
  881. echo ""
  882. echo "Installing SauronEye"
  883. echo ""
  884. sleep 2
  885. git clone https://github.com/vivami/SauronEye.git
  886. echo ""
  887. echo "Installing SharpShares"
  888. echo ""
  889. sleep 2
  890. git clone https://github.com/mitchmoser/SharpShares.git
  891. echo ""
  892. echo "Installing SharpAppLocker"
  893. echo ""
  894. sleep2
  895. git clone https://github.com/Flangvik/SharpAppLocker/.git
  896. echo ""
  897. echo "Installing SharpPrinter"
  898. echo ""
  899. sleep 2
  900. git clone https://github.com/rvrsh3ll/SharpPrinter.git
  901. echo ""
  902. echo "Installing Standin"
  903. echo ""
  904. git clone https://github.com/FuzzySecurity/StandIn.git
  905. echo ""
  906. echo "Installing Recon-AD"
  907. echo ""
  908. sleep 2
  909. git clone https://github.com/outflanknl/Recon-AD.git
  910. echo ""
  911. echo "Cloning BloodHound For Windows"
  912. echo ""
  913. sleep 2
  914. git clone https://github.com/BloodHoundAD/BloodHound.git
  915. echo ""
  916. echo "Installing PSPKIAudit"
  917. echo ""
  918. sleep 2
  919. git clone https://github.com/GhostPack/PSPKIAudit.git
  920. echo ""
  921. echo "Installing SharpView"
  922. echo ""
  923. sleep 2
  924. git clone https://github.com/tevora-threat/SharpView.git
  925. echo ""
  926. echo "Installing Rubeus"
  927. echo ""
  928. sleep 2
  929. git clone https://github.com/GhostPack/Rubeus.git
  930. echo ""
  931. echo "Installing Grouper"
  932. echo ""
  933. sleep 2
  934. git clone https://github.com/l0ss/Grouper.git
  935. echo ""
  936. echo "Installing ImproHound"
  937. echo ""
  938. sleep 2
  939. git clone https://github.com/improsec/ImproHound.git
  940. echo ""
  941. echo "Installing ADRecon"
  942. echo ""
  943. sleep 2
  944. git clone https://github.com/adrecon/ADRecon.git
  945. echo ""
  946. echo "Installing ADCSPwn"
  947. echo ""
  948. sleep2
  949. git clone https://github.com/bats3c/ADCSPwn.git
  950. echo ""
  951. echo "Cloning Credential Dumping Resource"
  952. echo ""
  953. sleep 2
  954. cd /opt/Windows_OS
  955. mkdir Credential_Dumping
  956. cd Credential_Dumping/
  957. echo ""
  958. echo "Cloning Mimikatz"
  959. echo ""
  960. sleep2
  961. git clone https://github.com/gentilkiwi/mimikatz.git
  962. echo ""
  963. echo "Cloning Dumpert"
  964. echo ""
  965. sleep 2
  966. git clone https://github.com/outflanknl/Dumpert.git
  967. echo ""
  968. echo "Cloning SharpLAPS"
  969. echo ""
  970. sleep 2
  971. git clone https://github.com/swisskyrepo/SharpLAPS.git
  972. echo ""
  973. echo "Cloning SharpDPAPI"
  974. echo ""
  975. sleep 2
  976. git clone https://github.com/GhostPack/SharpDPAPI.git
  977. echo ""
  978. echo "Cloning KeeThief"
  979. echo ""
  980. sleep 2
  981. git clone https://github.com/GhostPack/KeeThief.git
  982. echo ""
  983. echo "Cloning SafetyKatz"
  984. echo ""
  985. sleep 2
  986. git clone https://github.com/GhostPack/SafetyKatz.git
  987. echo ""
  988. echo "Cloning Forkatz"
  989. echo ""
  990. sleep 2
  991. git clone https://github.com/Barbarisch/forkatz.git
  992. echo ""
  993. echo "Cloning PPLKiller"
  994. echo ""
  995. sleep 2
  996. git clone https://github.com/RedCursorSecurityConsulting/PPLKiller.git
  997. echo ""
  998. echo "Cloning LaZagne"
  999. echo ""
  1000. sleep 2
  1001. git clone https://github.com/AlessandroZ/LaZagne.git
  1002. echo ""
  1003. echo "Cloning AndrewSpecial"
  1004. echo ""
  1005. sleep 2
  1006. git clone https://github.com/hoangprod/AndrewSpecial.git
  1007. echo ""
  1008. echo "Cloning Net-GPPassword"
  1009. echo ""
  1010. sleep 2
  1011. git clone https://github.com/outflanknl/Net-GPPPassword.git
  1012. echo ""
  1013. echo "Cloning SharpChromium"
  1014. echo ""
  1015. sleep 2
  1016. git clone https://github.com/djhohnstein/SharpChromium.git
  1017. echo ""
  1018. echo "Cloning Chlonium"
  1019. echo ""
  1020. sleep 2
  1021. git clone https://github.com/rxwx/chlonium.git
  1022. echo ""
  1023. echo "Cloning SharpCloud"
  1024. echo ""
  1025. sleep 2
  1026. git clone https://github.com/chrismaddalena/SharpCloud.git
  1027. echo ""
  1028. echo "Cloning PypyKatz"
  1029. echo ""
  1030. sleep 2
  1031. git clone https://github.com/skelsec/pypykatz.git
  1032. echo ""
  1033. echo "Cloning NanoDump"
  1034. echo ""
  1035. sleep 2
  1036. git clone https://github.com/helpsystems/nanodump.git
  1037. echo ""
  1038. sleep 2
  1039. echo "Installing Privilege Escalation Resources"
  1040. echo ""
  1041. cd /opt/Windows_OS/
  1042. mkdir Privilege_Escalation
  1043. cd Privilege_Escalation/
  1044. echo ""
  1045. echo "Installing ElevateKit"
  1046. echo ""
  1047. sleep 2
  1048. git clone https://github.com/rsmudge/ElevateKit.git
  1049. echo ""
  1050. echo "Cloning Watson"
  1051. cd /opt/Windows_OS/
  1052. mkdir Privilege_Escalation/
  1053. cd Privilege_Escalation/
  1054. echo ""
  1055. sleep 2
  1056. git clone https://github.com/rasta-mouse/Watson.git
  1057. echo ""
  1058. echo "Cloning SharpUp"
  1059. echo ""
  1060. sleep 2
  1061. git clone https://github.com/GhostPack/SharpUp.git
  1062. echo ""
  1063. echo "Cloning dazzleUp"
  1064. echo ""
  1065. sleep 2
  1066. git clone https://github.com/hlldz/dazzleUP.git
  1067. echo ""
  1068. echo "Cloning PEASS-ng"
  1069. echo ""
  1070. sleep 2
  1071. git clone https://github.com/carlospolop/PEASS-ng.git
  1072. echo ""
  1073. echo "Cloning SweetPotato"
  1074. echo ""
  1075. sleep 2
  1076. git clone https://github.com/CCob/SweetPotato.git
  1077. echo ""
  1078. echo "Cloning MultiPotato"
  1079. echo ""
  1080. git clone https://github.com/S3cur3Th1sSh1t/MultiPotato.git
  1081. echo ""
  1082. echo "Cloning Defense Evasion Resources -- This is all Windows Based"
  1083. echo ""
  1084. sleep 2
  1085. cd /opt/Windows_OS/
  1086. mkdir Defense_Evasion
  1087. cd Defense_Evasion/
  1088. git clone https://github.com/hlldz/RefleXXion.git
  1089. git clone https://github.com/wavestone-cdt/EDRSandblast.git
  1090. git clone https://github.com/APTortellini/unDefender.git
  1091. git clone https://github.com/Yaxser/Backstab.git
  1092. git clone https://github.com/boku7/spawn.git
  1093. git clone https://github.com/CCob/BOF.NET.git
  1094. git clone https://github.com/Flangvik/NetLoader.git
  1095. git clone https://github.com/outflanknl/FindObjects-BOF.git
  1096. git clone https://github.com/GetRektBoy724/SharpUnhooker.git
  1097. git clone https://github.com/bats3c/EvtMute.git
  1098. git clone https://github.com/xforcered/InlineExecute-Assembly.git
  1099. git clone https://github.com/hlldz/Phant0m.git
  1100. git clone https://github.com/CCob/SharpBlock.git
  1101. git clone https://github.com/Kharos102/NtdllUnpatcher.git
  1102. git clone https://github.com/bats3c/DarkLoadLibrary.git
  1103. git clone https://github.com/Soledge/BlockEtw.git
  1104. git clone https://github.com/mdsecactivebreach/firewalker.git
  1105. git clone https://github.com/Cerbersec/KillDefenderBOF.git
  1106. echo ""
  1107. echo "Cloning Web Resources"
  1108. echo ""
  1109. sleep 2
  1110. cd /opt/Web/
  1111. git clone https://github.com/rastating/wordpress-exploit-framework
  1112. apt-get install ruby-dev zlib1g-dev liblzma-dev libsqlite3-dev -y
  1113. apt-get install build-essential patch -y
  1114. cd wordpress-exploit-framework/
  1115. ./rebuild_and_install_gem.sh
  1116. cd /opt/Web/
  1117. echo "Installing RED HAWK Framework"
  1118. echo ""
  1119. sleep 2
  1120. git clone https://github.com/Tuhinshubhra/RED_HAWK
  1121. cd RED_HAWK
  1122. php rhawk.php
  1123. echo "Cloning Social Engineering Resources"
  1124. echo ""
  1125. sleep 2
  1126. cd /opt/Social_Engineering
  1127. echo ""
  1128. echo "Installing Social Engineering Toolkit"
  1129. echo ""
  1130. sleep 2
  1131. git clone https://github.com/trustedsec/social-engineer-toolkit.git
  1132. cd social-engineering-toolkit/
  1133. python3 setup.py install
  1134. cd /opt/Social_Engineering/
  1135. echo ""
  1136. echo "Installing Social Engineering Payloads"
  1137. echo ""
  1138. sleep 2
  1139. git clone https://github.com/bhdresh/SocialEngineeringPayloads.git
  1140. echo ""
  1141. echo "Cloning Phishing Resources"
  1142. echo ""
  1143. sleep 2
  1144. cd /opt/Phishing/
  1145. echo ""
  1146. echo "Installing Phishery"
  1147. echo ""
  1148. sleep 2
  1149. mkdir phishery
  1150. cd phishery
  1151. wget https://github.com/ryhanson/phishery/releases/download/v1.0.2/phishery1.0.2linux-amd64.tar.gz
  1152. tar -xzvf phishery*.tar.gz
  1153. cp phishery /usr/local/bin
  1154. cd /opt/Phishing/
  1155. echo ""
  1156. echo "Installing EvilginX2"
  1157. echo ""
  1158. sleep 2
  1159. git clone https://github.com/kgretzky/evilginx2.git
  1160. cd evilginx2/
  1161. make
  1162. sudo make install
  1163. cd /opt/Phishing/
  1164. echo ""
  1165. echo "Installing PwnAuth"
  1166. echo ""
  1167. sleep 2
  1168. git clone https://github.com/fireeye/PwnAuth.git
  1169. cd PwnAuth/
  1170. bash setup.sh
  1171. cd /opt/Phishing/
  1172. echo ""
  1173. echo "Installig Modlishka"
  1174. echo ""
  1175. sleep 2
  1176. git clone https://github.com/drk1wi/Modlishka.git
  1177. cd Modlishka/
  1178. make
  1179. go build
  1180. cd /opt/Phishing/
  1181. echo ""
  1182. echo "Installing King-Phisher"
  1183. echo ""
  1184. sleep 2
  1185. git clone https://github.com/securestate/king-phisher.git
  1186. echo ""
  1187. echo "Installing FiercePhish"
  1188. echo ""
  1189. sleep 2
  1190. git clone https://github.com/Raikia/FiercePhish.git
  1191. cd FiercePhish/
  1192. bash install.sh
  1193. echo ""
  1194. echo "Installing ReelPhish"
  1195. echo ""
  1196. sleep 2
  1197. git clone https://github.com/fireeye/ReelPhish.git
  1198. cd ReelPhish/
  1199. pip3 install -r requirements.txt
  1200. cd /opt/Phishing/
  1201. echo ""
  1202. echo "Installing GoPhish"
  1203. echo ""
  1204. sleep 2
  1205. git clone https://github.com/gophish/gophish.git
  1206. cd gophish/
  1207. go build
  1208. echo ""
  1209. cd /opt/Phishing/
  1210. echo "Installing CredSniper"
  1211. echo ""
  1212. sleep 2
  1213. git clone https://github.com/ustayready/CredSniper.git
  1214. cd CredSniper/
  1215. read -p "Just Hit Enter Until All Dependencies Are Installed"
  1216. cd /opt/Phishing/
  1217. echo ""
  1218. echo "Cloning Phishing Pretexts"
  1219. echo ""
  1220. sleep 2
  1221. git clone https://github.com/L4bF0x/PhishingPretexts.git
  1222. echo ""
  1223. echo "Cloning Persistence Resources"
  1224. cd /opt/Windows_OS
  1225. mkdir Persistence
  1226. cd Persistence/
  1227. git clone https://github.com/0xthirteen/SharpStay.git
  1228. git clone https://github.com/fireeye/SharPersist.git
  1229. git clone https://github.com/outflanknl/SharpHide.git
  1230. git clone https://github.com/Ben0xA/DoUCMe.git
  1231. git clone https://github.com/nccgroup/ABPTTS.git
  1232. git clone https://github.com/blackarrowsec/pivotnacci.git
  1233. git clone https://github.com/sensepost/reGeorg.git
  1234. git clone https://github.com/HarmJ0y/DAMP.git
  1235. git clone https://github.com/0x09AL/IIS-Raid.git
  1236. git clone https://github.com/antonioCoco/SharPyShell.git
  1237. echo ""
  1238. echo "Cloning Lateral Movement Resources"
  1239. echo ""
  1240. echo ""
  1241. cd /opt/Lateral_Movement/
  1242. echo ""
  1243. echo "Installing Responder"
  1244. echo ""
  1245. sleep 2
  1246. git clone https://github.com/lgandx/Responder.git
  1247. echo ""
  1248. echo "Installing MITM6"
  1249. echo ""
  1250. sleep 2
  1251. git clone https://github.com/dirkjanm/mitm6.git
  1252. cd mitm6/
  1253. pip3 install -r requirements.txt
  1254. python3 setup.py install
  1255. cd /opt/Lateral_Movement/
  1256. echo ""
  1257. echo "Installing Impacket"
  1258. echo ""
  1259. sleep 2
  1260. git clone https://github.com/SecureAuthCorp/impacket.git
  1261. cd impacket/
  1262. python3 setup.py install
  1263. echo ""
  1264. sleep 2
  1265. cd /opt/Lateral_Movement/
  1266. echo "Cloning CrackMapExec"
  1267. git clone https://github.com/byt3bl33d3r/CrackMapExec.git
  1268. cd CrackMapExec/
  1269. echo "Cloning Windows Lateral Movement Resources"
  1270. echo ""
  1271. sleep 2
  1272. cd /opt/Windows_OS/
  1273. mkdir Lateral_Movement
  1274. cd Lateral_Movement/
  1275. git clone https://github.com/RiccardoAncarani/LiquidSnake.git
  1276. git clone https://github.com/NetSPI/PowerUpSQL.git
  1277. git clone https://github.com/0xthirteen/SharpRDP.git
  1278. git clone https://github.com/0xthirteen/MoveKit.git
  1279. git clone https://github.com/juliourena/SharpNoPSExec.git
  1280. git clone https://github.com/mdsecactivebreach/Farmer.git
  1281. git clone https://github.com/FortyNorthSecurity/CIMplant.git
  1282. git clone https://github.com/Mr-Un1k0d3r/PowerLessShell.git
  1283. git clone https://github.com/FSecureLABS/SharpGPOAbuse.git
  1284. git clone https://github.com/ropnop/kerbrute.git
  1285. git clone https://github.com/blackarrowsec/mssqlproxy.git
  1286. git clone https://github.com/Kevin-Robertson/Invoke-TheHash.git
  1287. git clone https://github.com/Kevin-Robertson/InveighZero.git
  1288. git clone https://github.com/jnqpblc/SharpSpray/git
  1289. git clone https://github.com/pkb1s/SharpAllowedToAct.git
  1290. git clone https://github.com/bohops/SharpRDPHijack.git
  1291. git clone https://github.com/klezVirus/CheeseTools.git
  1292. git clone https://github.com/PowerShellMafia/PowerSploit.git
  1293. git clone https://github.com/DanMcInerney/icebreaker.git
  1294. git clone https://github.com/JavelinNetworks/HoneypotBuster.git
  1295. echo ""
  1296. echo "Cloning Exfiltration Resources"
  1297. echo ""
  1298. sleep 2
  1299. cd /opt/Windows_OS/
  1300. mkdir Exfiltration
  1301. cd Exfiltration/
  1302. echo ""
  1303. sleep 2
  1304. git clone https://github.com/Flangvik/SharpExfiltrate.git
  1305. git clone https://github.com/Arno0x/DNSExfiltrator.git
  1306. git clone https://github.com/FortyNorthSecurity/Egress-Assess.git
  1307. echo ""
  1308. echo "Cloning Cloud Resources"
  1309. echo ""
  1310. sleep 2
  1311. cd /opt/Cloud
  1312. echo ""
  1313. mkdir AWS
  1314. cd AWS/
  1315. echo "Installing AWS Resources"
  1316. echo ""
  1317. sleep 2
  1318. echo ""
  1319. echo "Installing Pacu"
  1320. echo ""
  1321. sleep 2
  1322. git clone https://github.com/RhinoSecurityLabs/pacu.git
  1323. cd pacu/
  1324. bash install.sh
  1325. echo ""
  1326. cd /opt/Cloud/AWS/
  1327. echo "Installing CloudMapper"
  1328. echo ""
  1329. sleep 2
  1330. git clone https://github.com/duo-labs/cloudmapper.git
  1331. pip3 install -r requirements.txt
  1332. echo ""
  1333. echo "Installing Enumerate-IAM"
  1334. echo ""
  1335. sleep 2
  1336. cd /opt/Cloud/AWS/
  1337. git clone https://github.com/andresriancho/enumerate-iam.git
  1338. cd enumerate-iam/
  1339. pip3 install -r requirements.txt
  1340. echo ""
  1341. cd /opt/Cloud/AWS/
  1342. echo "Installing AWSBucketDump"
  1343. echo ""
  1344. sleep 2
  1345. git clone https://github.com/jordanpotti/AWSBucketDump.git
  1346. cd AWSBucketDump/
  1347. pip3 install -r requirements.txt
  1348. cd /opt/Cloud/
  1349. mkdir Azure
  1350. cd Azure
  1351. echo "Installing Azure Resources"
  1352. echo ""
  1353. echo "Installing ADConnectDump"
  1354. echo ""
  1355. sleep 2
  1356. git clone https://github.com/fox-it/adconnectdump.git
  1357. echo ""
  1358. cd /opt/Cloud/Azure/
  1359. echo ""
  1360. echo "Installing Stormspotter"
  1361. echo ""
  1362. sleep 2
  1363. git clone https://github.com/Azure/Stormspotter.git
  1364. cd /opt/Cloud/Azure/
  1365. echo ""
  1366. echo "Installing ROADtools"
  1367. echo ""
  1368. sleep 2
  1369. git clone https://github.com/dirkjanm/ROADtools.git
  1370. cd ROADtools/
  1371. pip install -e roadlib/
  1372. pip install -e roadrecon/
  1373. cd roadrecon/frontend/
  1374. npm install
  1375. npm audit fix
  1376. echo ""
  1377. echo "Installing MicroBurst"
  1378. echo ""
  1379. sleep 2
  1380. cd /opt/Cloud/Azure/
  1381. git clone https://github.com/NetSPI/MicroBurst.git
  1382. echo ""
  1383. echo "Installing AADInternals"
  1384. echo ""
  1385. sleep 2
  1386. cd /opt/Windows_OS/
  1387. mkdir Cloud
  1388. cd Cloud
  1389. mkdir Azure
  1390. cd Azure
  1391. git clone https://github.com/Gerenios/AADInternals.git
  1392. echo ""
  1393. echo "Cloning Hak5 Implant Resources"
  1394. echo ""
  1395. cd /opt/Hak5_Implants
  1396. echo ""
  1397. git clone https://github.com/hak5/omg-payloads.git
  1398. git clone https://github.com/hak5/bashbunny-payloads.git
  1399. git clone https://github.com/hak5/usbrubberducky-payloads.git
  1400. git clone https://github.com/hak5/pineapple-community-packages.git
  1401. git clone https://github.com/hak5/pineapple-modules.git
  1402. git clone https://github.com/hak5/mk7-docs.git
  1403. git clone https://github.com/hak5/keycroc-payloads.git
  1404. git clone https://github.com/hak5/sharkjack-payloads.git
  1405. git clone https://github.com/hak5/lanturtle-modules.git
  1406. git clone https://github.com/hak5/hak5-docs.git
  1407. git clone https://github.com/hak5/packetsquirrel-payloads.git
  1408. git clone https://github.com/hak5/nano-tetra-modules.git
  1409. git clone https://github.com/hak5/signalowl-payloads.git
  1410. git clone https://github.com/hak5/plunderbug-scripts.git
  1411. echo ""
  1412. echo "Cloning Wireless Resources"
  1413. echo ""
  1414. cd /opt/Wireless/
  1415. echo ""
  1416. echo "Installing BeRateAP"
  1417. echo ""
  1418. sleep 2
  1419. git clone https://github.com/sensepost/berate_ap
  1420. echo ""
  1421. cd /opt/Wireless/
  1422. echo "Installing EvilTwin Capitive Portal"
  1423. echo ""
  1424. sleep 2
  1425. git clone https://github.com/athanstan/EvilTwin_AP_CaptivePortal.git
  1426. echo ""
  1427. cd /opt/Wireless/
  1428. echo "Installing Fluxion"
  1429. echo ""
  1430. sleep 2
  1431. git clone https://www.github.com/FluxionNetwork/fluxion.git
  1432. echo ""
  1433. echo "Installing Bettercap"
  1434. echo ""
  1435. sleep 2
  1436. git clone https://github.com/bettercap/bettercap
  1437. cd bettercap/
  1438. bash build.sh
  1439. echo ""
  1440. echo "Installing Airgeddon"
  1441. echo ""
  1442. sleep 2
  1443. git clone https://github.com/v1s1t0r1sh3r3/airgeddon.git
  1444. echo ""
  1445. cd /opt/Wireless/
  1446. echo "Installing HCXTools"
  1447. echo ""
  1448. sleep 2
  1449. git clone https://github.com/ZerBea/hcxtools
  1450. cd hcxtools/
  1451. make && make install
  1452. echo "Installing HCX Dump Tool"
  1453. cd /opt/Wireless/
  1454. git clone https://github.com/ZerBea/hcxdumptool
  1455. cd hcxdumptool/
  1456. make && make install
  1457. cd /opt/Wireless/
  1458. echo "Installing Bully"
  1459. echo ""
  1460. sleep 2
  1461. git clone https://github.com/aanarchyy/bully
  1462. cd bully/src
  1463. make && make install
  1464. cd /opt/Wireless/
  1465. echo "Installing EapHammer"
  1466. echo ""
  1467. sleep 2
  1468. git clone https://github.com/s0lst1c3/eaphammer.git
  1469. cd eaphammer/
  1470. ./kali-setup
  1471. cd /opt/Wireless
  1472. mkdir Wireless_Drivers
  1473. cd Wireless_Drivers/
  1474. apt install dkms -y
  1475. git clone https://github.com/aircrack-ng/rtl8812au
  1476. cd rtl8812au/
  1477. make && make install
  1478. cd /opt/Virtual_Machines
  1479. echo "Installing VirtualBox"
  1480. echo ""
  1481. sleep 3
  1482. apt-get update -y && apt-get upgrade -y
  1483. apt --fix-broken install -y
  1484. wget https://download.virtualbox.org/virtualbox/6.1.34/virtualbox-6.1_6.1.34-150636.1~Ubuntu~eoan_amd64.deb
  1485. dpkg --install virtualbox-6.1_6.1.34-150636.1~Ubuntu~eoan_amd64.deb
  1486. echo""
  1487. echo "Downloading Kali VM"
  1488. echo ""
  1489. wget https://kali.download/virtual-images/kali-2022.1/kali-linux-2022.1-virtualbox-amd64.ova
  1490. echo ""
  1491. echo "Downloading Windows Ops Box"
  1492. echo ""
  1493. sleep 2
  1494. wget https://az792536.vo.msecnd.net/vms/VMBuild_20190311/VirtualBox/MSEdge/MSEdge.Win10.VirtualBox.zip
  1495. echo ""
  1496. sleep 2
  1497. echo ""
  1498. apt --fix-broken install -y
  1499. read -p "Press Enter To Reboot Your New C2 Box"
  1500. reboot now