AutoC2.sh 39 KB

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