AutoC2.sh 40 KB

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