AutoC2.sh 42 KB

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