AutoC2.sh 39 KB

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