AutoC2.sh 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473
  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 open-vm-tools-desktop 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 opt/Command_And_Control/Covenant/Covenant/
  571. wget -q https://packages.microsoft.com/config/ubuntu/"$version"/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
  572. sudo dpkg -i packages-microsoft-prod.deb
  573. sudo apt-get update -y
  574. apt --fix-broken install -y
  575. sudo apt-get install apt-transport-https -y
  576. apt --fix-broken install -y
  577. sudo apt-get update -y
  578. apt --fix-broken install -y
  579. sudo apt-get install dotnet-sdk-3.1 -y
  580. apt --fix-broken install -y
  581. mv ./Data/AssemblyReferences/ ../AssemblyReferences/
  582. mv ./Data/ReferenceSourceLibraries/ ../ReferenceSourceLibraries/
  583. mv ./Data/EmbeddedResources/ ../EmbeddedResources/
  584. mv ./Models/Covenant/ ./Models/${Random1^}/
  585. mv ./Components/CovenantUsers/ ./Components/${Random1^}Users/
  586. mv ./Components/Grunts/ ./Components/${Random2^}s/
  587. mv ./Models/Grunts/ ./Models/${Random2^}s/
  588. mv ./Data/Grunt/GruntBridge/ ./Data/Grunt/${Random2^}Bridge/
  589. mv ./Data/Grunt/GruntHTTP/ ./Data/Grunt/${Random2^}HTTP/
  590. mv ./Data/Grunt/GruntSMB/ ./Data/Grunt/${Random2^}SMB/
  591. mv ./Components/GruntTaskings/ ./Components/${Random2^}Taskings/
  592. mv ./Components/GruntTasks/ ./Components/${Random2^}Tasks/
  593. mv ./Data/Grunt/ ./Data/${Random2^}/
  594. find ./ -type f -print0 | xargs -0 sed -i "s/Grunt/${Random2^}/g"
  595. find ./ -type f -print0 | xargs -0 sed -i "s/GRUNT/${Random2^^}/g"
  596. find ./ -type f -print0 | xargs -0 sed -i "s/grunt/${Random2,,}/g"
  597. #find ./ -type f -print0 | xargs -0 sed -i "s/covenant/${Random1,,}/g"
  598. find ./ -type f -print0 | xargs -0 sed -i "s/Covenant/${Random1^}/g"
  599. find ./ -type f -print0 | xargs -0 sed -i "s/COVENANT/${Random1^^}/g"
  600. find ./ -type f -print0 | xargs -0 sed -i "s/ExecuteStager/ExecLevel/g"
  601. #find ./ -type f -print0 | xargs -0 sed -i "s/REPLACE_PROFILE/REP_PROF/g"
  602. #find ./ -type f -print0 | xargs -0 sed -i "s/REPLACE_PIPE/REP_PIP/g"
  603. #find ./ -type f -print0 | xargs -0 sed -i "s/GUID/ANGID/g"
  604. find ./ -type f -print0 | xargs -0 sed -i "s/SetupAES/Install"${custom1}"AES/g"
  605. find ./ -type f -print0 | xargs -0 sed -i "s/SessionKey/Sess"${custom1}"KEy/g"
  606. find ./ -type f -print0 | xargs -0 sed -i "s/EncryptedChallenge/Enc"${custom1}"ChallEnge/g"
  607. find ./ -type f -print0 | xargs -0 sed -i "s/DecryptedChallenges/Decrypt"${custom1}"ChallEnges/g"
  608. find ./ -type f -print0 | xargs -0 sed -i "s/Stage0Body/First"${custom1}"Body/g"
  609. find ./ -type f -print0 | xargs -0 sed -i "s/Stage0Response/First"${custom1}"Response/g"
  610. find ./ -type f -print0 | xargs -0 sed -i "s/Stage0Bytes/First"${custom1}"Bytes/g"
  611. find ./ -type f -print0 | xargs -0 sed -i "s/Stage1Body/Seccond"${custom1}"Body/g"
  612. find ./ -type f -print0 | xargs -0 sed -i "s/Stage1Response/Seccond"${custom1}"Response/g"
  613. find ./ -type f -print0 | xargs -0 sed -i "s/Stage1Bytes/Seccond"${custom1}"Bytes/g"
  614. find ./ -type f -print0 | xargs -0 sed -i "s/Stage2Body/Third"${custom1}"Body/g"
  615. find ./ -type f -print0 | xargs -0 sed -i "s/Stage2Response/Third"${custom1}"Response/g"
  616. find ./ -type f -print0 | xargs -0 sed -i "s/Stage2Bytes/Third"${custom1}"Bytes/g"
  617. find ./ -type f -print0 | xargs -0 sed -i "s/message64str/messAgE"${custom1}"64str/g"
  618. find ./ -type f -print0 | xargs -0 sed -i "s/messageBytes/messAgE"${custom1}"bytes/g"
  619. find ./ -type f -print0 | xargs -0 sed -i "s/totalReadBytes/ToTal"${custom1}"ReaDBytes/g"
  620. #find ./ -type f -print0 | xargs -0 sed -i "s/inputStream/instream/g"
  621. #find ./ -type f -print0 | xargs -0 sed -i "s/outputStream/outstream/g"
  622. find ./ -type f -print0 | xargs -0 sed -i "s/deflateStream/deFlatE"${custom1}"stream/g"
  623. find ./ -type f -print0 | xargs -0 sed -i "s/memoryStream/memOrYstream/g" #don't change
  624. find ./ -type f -print0 | xargs -0 sed -i "s/compressedBytes/packed"${custom1}"bytes/g"
  625. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/REPLACE_/REP"${custom1}"_/g"
  626. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/_PROFILE_/_PROF"${custom1}"_/g"
  627. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/_VALIDATE_/_VA"${custom1}"L_/g"
  628. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/GUID/${Random3^^}/g"
  629. find ./ -type f -name "*.razor" -print0 | xargs -0 sed -i "s/GUID/${Random3^^}/g"
  630. find ./ -type f -name "*.json" -print0 | xargs -0 sed -i "s/GUID/${Random3^^}/g"
  631. find ./ -type f -name "*.yaml" -print0 | xargs -0 sed -i "s/GUID/${Random3^^}/g"
  632. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/guid/${Random3,,}/g"
  633. find ./ -type f -name "*.razor" -print0 | xargs -0 sed -i "s/guid/${Random3,,}/g"
  634. find ./ -type f -name "*.json" -print0 | xargs -0 sed -i "s/guid/${Random3,,}/g"
  635. find ./ -type f -name "*.yaml" -print0 | xargs -0 sed -i "s/guid/${Random3,,}/g"
  636. find ./ -type f -print0 | xargs -0 sed -i "s/ProfileHttp/Prof"${custom1}"HTTP/g"
  637. find ./ -type f -print0 | xargs -0 sed -i "s/baseMessenger/bAse"${custom1}"mEsSenger/g"
  638. find ./ -type f -print0 | xargs -0 sed -i "s/PartiallyDecrypted/Part"${custom1}"decrypted/g"
  639. find ./ -type f -print0 | xargs -0 sed -i "s/FullyDecrypted/Fulld"${custom1}"ecrypted/g"
  640. find ./ -type f -print0 | xargs -0 sed -i "s/compressedBytes/packed"${custom1}"bytes/g"
  641. find ./ -type f -print0 | xargs -0 sed -i "s/CookieWebClient/Ottos"${custom1}"WebClient/g"
  642. #find ./ -type f -print0 | xargs -0 sed -i "s/CookieContainer/KekseContains/g"
  643. #find ./ -type f -print0 | xargs -0 sed -i "s/GetWebRequest/DoAnWebReq/g"
  644. find ./ -type f -print0 | xargs -0 sed -i "s/Jitter/JIt"${custom1}"ter/g"
  645. find ./ -type f -print0 | xargs -0 sed -i "s/ConnectAttempts/ConneCT"${custom1}"AttEmpts/g"
  646. find ./ -type f -print0 | xargs -0 sed -i "s/RegisterBody/Reg"${custom1}"Body/g"
  647. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/messenger/meSsenGer"${custom1}"/g"
  648. find ./ -type f -print0 | xargs -0 sed -i "s/Hello World/"${custom1}"/g"
  649. find ./ -type f -print0 | xargs -0 sed -i "s/ValidateCert/Val"${custom1}"CerT/g"
  650. find ./ -type f -print0 | xargs -0 sed -i "s/UseCertPinning/UsCert"${custom1}"Pin/g"
  651. find ./ -type f -print0 | xargs -0 sed -i "s/EncryptedMessage/Enc"${custom1}"Msg/g"
  652. find ./ -type f -print0 | xargs -0 sed -i "s/cookieWebClient/"${custom1}"WebClient/g" #ottos
  653. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/aes/crypt"${custom1}"var/g"
  654. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/aes2/crypt"${custom1}"var2/g"
  655. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array5/ar"${custom1}"r5/g"
  656. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array6/ar"${custom1}"r6/g"
  657. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array4/ar"${custom1}"r4/g"
  658. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array7/ar"${custom1}"r7/g"
  659. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array1/ar"${custom1}"r1/g"
  660. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array2/ar"${custom1}"r2/g"
  661. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array3/ar"${custom1}"r3/g"
  662. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/list1/l"${custom1}"i1/g"
  663. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/list2/l"${custom1}"i2/g"
  664. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/list3/l"${custom1}"i3/g"
  665. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/list4/l"${custom1}"i4/g"
  666. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/list5/l"${custom1}"i5/g"
  667. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group0/gr"${custom1}"p0/g"
  668. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group1/gr"${custom1}"p1/g"
  669. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group2/gr"${custom1}"p2/g"
  670. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group3/gr"${custom1}"p3/g"
  671. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group4/gr"${custom1}"p4/g"
  672. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group5/gr"${custom1}"p5/g"
  673. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group6/gr"${custom1}"p6/g"
  674. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group7/gr"${custom1}"p7/g"
  675. find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group8/gr"${custom1}"p8/g"
  676. find ./ -type f -name "*Grunt*" | while read FILE ; do
  677. newfile="$(echo ${FILE} |sed -e "s/Grunt/${Random2^}/g")";
  678. mv "${FILE}" "${newfile}";
  679. done
  680. find ./ -type f -name "*GRUNT*" | while read FILE ; do
  681. newfile="$(echo ${FILE} |sed -e "s/GRUNT/${Random2^^}/g")";
  682. mv "${FILE}" "${newfile}";
  683. done
  684. find ./ -type f -name "*grunt*" | while read FILE ; do
  685. newfile="$(echo ${FILE} |sed -e "s/grunt/${Random2,,}/g")";
  686. mv "${FILE}" "${newfile}";
  687. done
  688. find ./ -type f -name "*Covenant*" | while read FILE ; do
  689. newfile="$(echo ${FILE} |sed -e "s/Covenant/${Random1^}/g")";
  690. mv "${FILE}" "${newfile}";
  691. done
  692. find ./ -type f -name "*COVENANT*" | while read FILE ; do
  693. newfile="$(echo ${FILE} |sed -e "s/COVENANT/${Random2^^}/g")";
  694. mv "${FILE}" "${newfile}";
  695. done
  696. #find ./ -type f -name "*covenant*" | while read FILE ; do
  697. # newfile="$(echo ${FILE} |sed -e "s/covenant/ottocommand/g")";
  698. # mv "${FILE}" "${newfile}";
  699. #done
  700. mv ../AssemblyReferences/ ./Data/
  701. mv ../ReferenceSourceLibraries/ ./Data/
  702. mv ../EmbeddedResources/ ./Data/
  703. dotnet build
  704. echo ""
  705. cd /opt/Command_And_Control/
  706. echo "Installing Shad0w"
  707. echo ""
  708. sleep 2
  709. git clone https://github.com/bats3c/shad0w.git
  710. cd shad0w/
  711. bash install.sh
  712. echo ""
  713. cd /opt/Command_And_Control/
  714. echo "Installing Sliver"
  715. echo ""
  716. sleep 2
  717. git clone https://github.com/BishopFox/sliver.git
  718. cd sliver/
  719. python3 build.py
  720. cd /opt/Command_And_Control
  721. echo ""
  722. echo "Installing SilentTrinity"
  723. echo ""
  724. sleep 2
  725. git clone https://github.com/byt3bl33d3r/SILENTTRINITY.git
  726. cd SILENTTRINITY/
  727. pip3 install -r requirements.txt
  728. cd /opt/Command_And_Control/
  729. echo ""
  730. echo "Installing Pupy C2"
  731. echo ""
  732. sleep 2
  733. git clone https://github.com/n1nj4sec/pupy.git
  734. echo ""
  735. echo "Installing Metasploit"
  736. sleep 2
  737. echo ""
  738. apt install postgresql -y
  739. systemctl start postgresql
  740. systemctl enable postgresql
  741. apt install curl -y
  742. apt --fix-broken install -y
  743. cd /opt/Command_And_Control/
  744. curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall
  745. chmod +x msfinstall
  746. ./msfinstall
  747. apt --fix-broken install -y
  748. echo ""
  749. ###Break For C2 Frameworks###
  750. echo "Cloning Staging Resources"
  751. echo ""
  752. cd /opt/Staging/
  753. echo""
  754. echo "Installing PwnDrop"
  755. git clone https://github.com/kgretzky/pwndrop.git
  756. cd pwndrop/
  757. go build
  758. cd /opt/Staging
  759. echo ""
  760. echo "Installing C2 Concealer"
  761. echo ""
  762. sleep 2
  763. git clone https://github.com/FortyNorthSecurity/C2concealer.git
  764. cd C2concealer/
  765. bash install.sh
  766. cd /opt/Staging/
  767. echo ""
  768. echo "Installing FindFrontableDomains"
  769. echo ""
  770. sleep 2
  771. git clone https://github.com/rvrsh3ll/FindFrontableDomains.git
  772. cd FindFrontableDomains/
  773. bash install.sh
  774. echo ""
  775. echo "Installing DomainHunter"
  776. echo ""
  777. cd /opt/Staging/
  778. sleep 2
  779. git clone https://github.com/threatexpress/domainhunter.git
  780. cd domainhunter/
  781. pip3 install -r requirements.txt
  782. echo ""
  783. cd /opt/Staging/
  784. echo "Installing RedWarden"
  785. echo ""
  786. sleep 2
  787. git clone https://github.com/mgeeky/RedWarden.git
  788. cd RedWarden/
  789. pip3 install -r requirements.txt
  790. cd /opt/Staging/
  791. echo ""
  792. echo "Installing AzureC2Relay"
  793. echo ""
  794. sleep 2
  795. git clone https://github.com/Flangvik/AzureC2Relay.git
  796. echo ""
  797. echo "Installing C3"
  798. echo ""
  799. sleep 2
  800. cd /opt/Windows_OS
  801. git clone https://github.com/FSecureLABS/C3.git
  802. echo ""
  803. cd /opt/Staging/
  804. echo "Installing Chameleon"
  805. echo ""
  806. sleep 2
  807. git clone https://github.com/mdsecactivebreach/Chameleon.git
  808. cd Chameleon/
  809. pip3 install -r requirements.txt
  810. cd /opt/Staging/
  811. echo ""
  812. echo "Installing Redirect Rules"
  813. echo ""
  814. sleep 2
  815. git clone https://github.com/0xZDH/redirect.rules.git
  816. cd redirect.rules/
  817. bash setup.sh
  818. echo ""
  819. echo "Installing Log Aggregation Resources"
  820. echo ""
  821. sleep 2
  822. cd /opt/Log_Aggregation
  823. echo ""
  824. echo "Installing RedELK"
  825. echo ""
  826. sleep 2
  827. git clone https://github.com/outflanknl/RedELK.git
  828. echo ""
  829. echo "Installing RedTeamSIEM"
  830. echo ""
  831. sleep 2
  832. git clone https://github.com/SecurityRiskAdvisors/RedTeamSIEM.git
  833. echo ""
  834. echo "Installing Situational Awareness Resources"
  835. echo ""
  836. sleep 2
  837. cd /opt/Windows_OS
  838. mkdir Situational_Awareness
  839. cd Situational_Awareness/
  840. echo ""
  841. echo "Installing AggressiveProxy"
  842. echo ""
  843. sleep 2
  844. git clone https://github.com/EncodeGroup/AggressiveProxy.git
  845. echo ""
  846. echo "Installing Gopher"
  847. echo ""
  848. sleep 2
  849. git clone https://github.com/EncodeGroup/Gopher.git
  850. echo ""
  851. echo "Installing SharpEDRChecker"
  852. echo ""
  853. sleep 2
  854. git clone https://github.com/PwnDexter/SharpEDRChecker.git
  855. echo ""
  856. echo "Installing CS-Situational-Awareness-BOF"
  857. echo ""
  858. sleep 2
  859. git clone https://github.com/trustedsec/CS-Situational-Awareness-BOF.git
  860. echo ""
  861. echo "Installing Seatbelt"
  862. echo ""
  863. sleep 2
  864. git clone https://github.com/GhostPack/Seatbelt.git
  865. echo ""
  866. echo "Installing SauronEye"
  867. echo ""
  868. sleep 2
  869. git clone https://github.com/vivami/SauronEye.git
  870. echo ""
  871. echo "Installing SharpShares"
  872. echo ""
  873. sleep 2
  874. git clone https://github.com/mitchmoser/SharpShares.git
  875. echo ""
  876. echo "Installing SharpAppLocker"
  877. echo ""
  878. sleep2
  879. git clone https://github.com/Flangvik/SharpAppLocker/.git
  880. echo ""
  881. echo "Installing SharpPrinter"
  882. echo ""
  883. sleep 2
  884. git clone https://github.com/rvrsh3ll/SharpPrinter.git
  885. echo ""
  886. echo "Installing Standin"
  887. echo ""
  888. git clone https://github.com/FuzzySecurity/StandIn.git
  889. echo ""
  890. echo "Installing Recon-AD"
  891. echo ""
  892. sleep 2
  893. git clone https://github.com/outflanknl/Recon-AD.git
  894. echo ""
  895. echo "Cloning BloodHound For Windows"
  896. echo ""
  897. sleep 2
  898. git clone https://github.com/BloodHoundAD/BloodHound.git
  899. echo ""
  900. echo "Installing PSPKIAudit"
  901. echo ""
  902. sleep 2
  903. git clone https://github.com/GhostPack/PSPKIAudit.git
  904. echo ""
  905. echo "Installing SharpView"
  906. echo ""
  907. sleep 2
  908. git clone https://github.com/tevora-threat/SharpView.git
  909. echo ""
  910. echo "Installing Rubeus"
  911. echo ""
  912. sleep 2
  913. git clone https://github.com/GhostPack/Rubeus.git
  914. echo ""
  915. echo "Installing Grouper"
  916. echo ""
  917. sleep 2
  918. git clone https://github.com/l0ss/Grouper.git
  919. echo ""
  920. echo "Installing ImproHound"
  921. echo ""
  922. sleep 2
  923. git clone https://github.com/improsec/ImproHound.git
  924. echo ""
  925. echo "Installing ADRecon"
  926. echo ""
  927. sleep 2
  928. git clone https://github.com/adrecon/ADRecon.git
  929. echo ""
  930. echo "Installing ADCSPwn"
  931. echo ""
  932. sleep2
  933. git clone https://github.com/bats3c/ADCSPwn.git
  934. echo ""
  935. echo "Cloning Credential Dumping Resource"
  936. echo ""
  937. sleep 2
  938. cd /opt/Windows_OS
  939. mkdir Credential_Dumping
  940. cd Credential_Dumping/
  941. echo ""
  942. echo "Cloning Mimikatz"
  943. echo ""
  944. sleep2
  945. git clone https://github.com/gentilkiwi/mimikatz.git
  946. echo ""
  947. echo "Cloning Dumpert"
  948. echo ""
  949. sleep 2
  950. git clone https://github.com/outflanknl/Dumpert.git
  951. echo ""
  952. echo "Cloning SharpLAPS"
  953. echo ""
  954. sleep 2
  955. git clone https://github.com/swisskyrepo/SharpLAPS.git
  956. echo ""
  957. echo "Cloning SharpDPAPI"
  958. echo ""
  959. sleep 2
  960. git clone https://github.com/GhostPack/SharpDPAPI.git
  961. echo ""
  962. echo "Cloning KeeThief"
  963. echo ""
  964. sleep 2
  965. git clone https://github.com/GhostPack/KeeThief.git
  966. echo ""
  967. echo "Cloning SafetyKatz"
  968. echo ""
  969. sleep 2
  970. git clone https://github.com/GhostPack/SafetyKatz.git
  971. echo ""
  972. echo "Cloning Forkatz"
  973. echo ""
  974. sleep 2
  975. git clone https://github.com/Barbarisch/forkatz.git
  976. echo ""
  977. echo "Cloning PPLKiller"
  978. echo ""
  979. sleep 2
  980. git clone https://github.com/RedCursorSecurityConsulting/PPLKiller.git
  981. echo ""
  982. echo "Cloning LaZagne"
  983. echo ""
  984. sleep 2
  985. git clone https://github.com/AlessandroZ/LaZagne.git
  986. echo ""
  987. echo "Cloning AndrewSpecial"
  988. echo ""
  989. sleep 2
  990. git clone https://github.com/hoangprod/AndrewSpecial.git
  991. echo ""
  992. echo "Cloning Net-GPPassword"
  993. echo ""
  994. sleep 2
  995. git clone https://github.com/outflanknl/Net-GPPPassword.git
  996. echo ""
  997. echo "Cloning SharpChromium"
  998. echo ""
  999. sleep 2
  1000. git clone https://github.com/djhohnstein/SharpChromium.git
  1001. echo ""
  1002. echo "Cloning Chlonium"
  1003. echo ""
  1004. sleep 2
  1005. git clone https://github.com/rxwx/chlonium.git
  1006. echo ""
  1007. echo "Cloning SharpCloud"
  1008. echo ""
  1009. sleep 2
  1010. git clone https://github.com/chrismaddalena/SharpCloud.git
  1011. echo ""
  1012. echo "Cloning PypyKatz"
  1013. echo ""
  1014. sleep 2
  1015. git clone https://github.com/skelsec/pypykatz.git
  1016. echo ""
  1017. echo "Cloning NanoDump"
  1018. echo ""
  1019. sleep 2
  1020. git clone https://github.com/helpsystems/nanodump.git
  1021. echo ""
  1022. sleep 2
  1023. echo "Installing Privilege Escalation Resources"
  1024. echo ""
  1025. cd /opt/Windows_OS/
  1026. mkdir Privilege_Escalation
  1027. cd Privilege_Escalation/
  1028. echo ""
  1029. echo "Installing ElevateKit"
  1030. echo ""
  1031. sleep 2
  1032. git clone https://github.com/rsmudge/ElevateKit.git
  1033. echo ""
  1034. echo "Cloning Watson"
  1035. cd /opt/Windows_OS/
  1036. echo ""
  1037. sleep 2
  1038. git clone https://github.com/rasta-mouse/Watson.git
  1039. echo ""
  1040. echo "Cloning SharpUp"
  1041. echo ""
  1042. sleep 2
  1043. git clone https://github.com/GhostPack/SharpUp.git
  1044. echo ""
  1045. echo "Cloning dazzleUp"
  1046. echo ""
  1047. sleep 2
  1048. git clone https://github.com/hlldz/dazzleUP.git
  1049. echo ""
  1050. echo "Cloning PEASS-ng"
  1051. echo ""
  1052. sleep 2
  1053. git clone https://github.com/carlospolop/PEASS-ng.git
  1054. echo ""
  1055. echo "Cloning SweetPotato"
  1056. echo ""
  1057. sleep 2
  1058. git clone https://github.com/CCob/SweetPotato.git
  1059. echo ""
  1060. echo "Cloning MultiPotato"
  1061. echo ""
  1062. git clone https://github.com/S3cur3Th1sSh1t/MultiPotato.git
  1063. echo ""
  1064. echo "Cloning Defense Evasion Resources -- This is all Windows Based"
  1065. echo ""
  1066. sleep 2
  1067. cd /opt/Windows_OS/
  1068. mkdir Defense_Evasion
  1069. cd Defense_Evasion/
  1070. git clone https://github.com/hlldz/RefleXXion.git
  1071. git clone https://github.com/wavestone-cdt/EDRSandblast.git
  1072. git clone https://github.com/APTortellini/unDefender.git
  1073. git clone https://github.com/Yaxser/Backstab.git
  1074. git clone https://github.com/boku7/spawn.git
  1075. git clone https://github.com/CCob/BOF.NET.git
  1076. git clone https://github.com/Flangvik/NetLoader.git
  1077. git clone https://github.com/outflanknl/FindObjects-BOF.git
  1078. git clone https://github.com/GetRektBoy724/SharpUnhooker.git
  1079. git clone https://github.com/bats3c/EvtMute.git
  1080. git clone https://github.com/xforcered/InlineExecute-Assembly.git
  1081. git clone https://github.com/hlldz/Phant0m.git
  1082. git clone https://github.com/CCob/SharpBlock.git
  1083. git clone https://github.com/Kharos102/NtdllUnpatcher.git
  1084. git clone https://github.com/bats3c/DarkLoadLibrary.git
  1085. git clone https://github.com/Soledge/BlockEtw.git
  1086. git clone https://github.com/mdsecactivebreach/firewalker.git
  1087. git clone https://github.com/Cerbersec/KillDefenderBOF.git
  1088. echo ""
  1089. echo "Cloning Social Engineering Resources"
  1090. echo ""
  1091. sleep 2
  1092. cd /opt/Social_Engineering
  1093. echo ""
  1094. echo "Installing Social Engineering Toolkit"
  1095. echo ""
  1096. sleep 2
  1097. git clone https://github.com/trustedsec/social-engineer-toolkit.git
  1098. cd social-engineering-toolkit/
  1099. pip3 install -r requirements.txt
  1100. python3 setup.py install
  1101. cd /opt/Social_Engineering/
  1102. echo ""
  1103. echo "Installing Social Engineering Payloads"
  1104. echo ""
  1105. sleep 2
  1106. git clone https://github.com/bhdresh/SocialEngineeringPayloads.git
  1107. echo ""
  1108. echo "Cloning Phishing Resources"
  1109. echo ""
  1110. sleep 2
  1111. cd /opt/Phishing/
  1112. echo ""
  1113. echo "Installing Phishery"
  1114. echo ""
  1115. sleep 2
  1116. mkdir phishery
  1117. cd phishery
  1118. wget https://github.com/ryhanson/phishery/releases/download/v1.0.2/phishery1.0.2linux-amd64.tar.gz
  1119. tar -xzvf phishery*.tar.gz
  1120. cp phishery /usr/local/bin
  1121. cd /opt/Phishing/
  1122. echo ""
  1123. echo "Installing EvilginX2"
  1124. echo ""
  1125. sleep 2
  1126. git clone https://github.com/kgretzky/evilginx2.git
  1127. cd evilginx2/
  1128. make
  1129. sudo make install
  1130. cd /opt/Phishing/
  1131. echo ""
  1132. echo "Installing PwnAuth"
  1133. echo ""
  1134. sleep 2
  1135. git clone https://github.com/fireeye/PwnAuth.git
  1136. cd PwnAuth/
  1137. bash setup.sh
  1138. cd /opt/Phishing/
  1139. echo ""
  1140. echo "Installig Modlishka"
  1141. echo ""
  1142. sleep 2
  1143. git clone https://github.com/drk1wi/Modlishka.git
  1144. cd Modlishka/
  1145. make
  1146. go build
  1147. cd /opt/Phishing/
  1148. echo ""
  1149. echo "Installing King-Phisher"
  1150. echo ""
  1151. sleep 2
  1152. git clone https://github.com/securestate/king-phisher.git
  1153. echo ""
  1154. echo "Installing FiercePhish"
  1155. echo ""
  1156. sleep 2
  1157. git clone https://github.com/Raikia/FiercePhish.git
  1158. cd FiercePhish/
  1159. bash install.sh
  1160. echo ""
  1161. echo "Installing ReelPhish"
  1162. echo ""
  1163. sleep 2
  1164. git clone https://github.com/fireeye/ReelPhish.git
  1165. cd ReelPhish/
  1166. pip3 install -r requirements.txt
  1167. cd /opt/Phishing/
  1168. echo ""
  1169. echo "Installing GoPhish"
  1170. echo ""
  1171. sleep 2
  1172. git clone https://github.com/gophish/gophish.git
  1173. cd gophish/
  1174. go build
  1175. echo ""
  1176. cd /opt/Phishing/
  1177. echo "Installing CredSniper"
  1178. echo ""
  1179. sleep 2
  1180. git clone https://github.com/ustayready/CredSniper.git
  1181. cd CredSniper/
  1182. read -p "Just Hit Enter Until All Dependencies Are Installed"
  1183. cd /opt/Phishing/
  1184. echo ""
  1185. echo "Cloning Phishing Pretexts"
  1186. echo ""
  1187. sleep 2
  1188. git clone https://github.com/L4bF0x/PhishingPretexts.git
  1189. echo ""
  1190. echo "Cloning Persistence Resources"
  1191. cd /opt/Windows_OS
  1192. mkdir Persistence
  1193. cd Persistence/
  1194. git clone https://github.com/0xthirteen/SharpStay.git
  1195. git clone https://github.com/fireeye/SharPersist.git
  1196. git clone https://github.com/outflanknl/SharpHide.git
  1197. git clone https://github.com/Ben0xA/DoUCMe.git
  1198. git clone https://github.com/nccgroup/ABPTTS.git
  1199. git clone https://github.com/blackarrowsec/pivotnacci.git
  1200. git clone https://github.com/sensepost/reGeorg.git
  1201. git clone https://github.com/HarmJ0y/DAMP.git
  1202. git clone https://github.com/0x09AL/IIS-Raid.git
  1203. git clone https://github.com/antonioCoco/SharPyShell.git
  1204. echo ""
  1205. echo "Cloning Lateral Movement Resources"
  1206. echo ""
  1207. echo ""
  1208. cd /opt/Lateral_Movement/
  1209. echo ""
  1210. echo "Installing Responder"
  1211. echo ""
  1212. sleep 2
  1213. git clone https://github.com/lgandx/Responder.git
  1214. echo ""
  1215. echo "Installing MITM6"
  1216. echo ""
  1217. sleep 2
  1218. git clone https://github.com/dirkjanm/mitm6.git
  1219. cd mitm6/
  1220. pip3 install -r requirements.txt
  1221. python3 setup.py install
  1222. cd /opt/Lateral_Movement/
  1223. echo ""
  1224. echo "Installing Impacket"
  1225. echo ""
  1226. sleep 2
  1227. git clone https://github.com/SecureAuthCorp/impacket.git
  1228. cd impacket/
  1229. python3 setup.py install
  1230. echo ""
  1231. echo "Cloning Windows Lateral Movement Resources"
  1232. echo ""
  1233. sleep 2
  1234. cd /opt/Windows_OS/
  1235. mkdir Lateral_Movement
  1236. cd Lateral_Movement/
  1237. git clone https://github.com/RiccardoAncarani/LiquidSnake.git
  1238. git clone https://github.com/NetSPI/PowerUpSQL.git
  1239. git clone https://github.com/0xthirteen/SharpRDP.git
  1240. git clone https://github.com/0xthirteen/MoveKit.git
  1241. git clone https://github.com/juliourena/SharpNoPSExec.git
  1242. git clone https://github.com/lgandx/Responder.git
  1243. git clone https://github.com/dirkjanm/mitm6.git
  1244. git clone https://github.com/SecureAuthCorp/impacket.git
  1245. git clone https://github.com/mdsecactivebreach/Farmer.git
  1246. git clone https://github.com/FortyNorthSecurity/CIMplant.git
  1247. git clone https://github.com/Mr-Un1k0d3r/PowerLessShell.git
  1248. git clone https://github.com/FSecureLABS/SharpGPOAbuse.git
  1249. git clone https://github.com/ropnop/kerbrute.git
  1250. git clone https://github.com/blackarrowsec/mssqlproxy.git
  1251. git clone https://github.com/Kevin-Robertson/Invoke-TheHash.git
  1252. git clone https://github.com/Kevin-Robertson/InveighZero.git
  1253. git clone https://github.com/jnqpblc/SharpSpray/git
  1254. git clone https://github.com/byt3bl33d3r/CrackMapExec.git
  1255. git clone https://github.com/pkb1s/SharpAllowedToAct.git
  1256. git clone https://github.com/bohops/SharpRDPHijack.git
  1257. git clone https://github.com/klezVirus/CheeseTools.git
  1258. git clone https://github.com/iomoath/SharpSpray.git
  1259. git clone https://github.com/BloodHoundAD/SharpHound.git
  1260. git clone https://github.com/PowerShellMafia/PowerSploit.git
  1261. git clone https://github.com/NetSPI/PowerUpSQL.git
  1262. git clone https://github.com/DanMcInerney/icebreaker.git
  1263. git clone https://github.com/JavelinNetworks/HoneypotBuster.git
  1264. echo ""
  1265. echo "Cloning Exfiltration Resources"
  1266. echo ""
  1267. sleep 2
  1268. cd /opt/Windows_OS
  1269. mkdir Exfiltration
  1270. cd Exfiltration/
  1271. echo ""
  1272. sleep 2
  1273. git clone https://github.com/Flangvik/SharpExfiltrate.git
  1274. git clone https://github.com/Arno0x/DNSExfiltrator.git
  1275. git clone https://github.com/FortyNorthSecurity/Egress-Assess.git
  1276. echo ""
  1277. echo "Cloning Cloud Resources"
  1278. echo ""
  1279. sleep 2
  1280. cd /opt/Cloud
  1281. echo ""
  1282. mkdir AWS
  1283. cd AWS/
  1284. echo "Installing AWS Resources"
  1285. echo ""
  1286. sleep 2
  1287. echo ""
  1288. echo "Installing Pacu"
  1289. echo ""
  1290. sleep 2
  1291. git clone https://github.com/RhinoSecurityLabs/pacu.git
  1292. cd pacu/
  1293. bash install.sh
  1294. echo ""
  1295. cd /opt/Cloud/AWS/
  1296. echo "Installing CloudMapper"
  1297. echo ""
  1298. sleep 2
  1299. git clone https://github.com/duo-labs/cloudmapper.git
  1300. pip3 install -r requirements.txt
  1301. echo ""
  1302. echo "Installing Enumerate-IAM"
  1303. echo ""
  1304. sleep 2
  1305. cd /opt/Cloud/AWS/
  1306. git clone https://github.com/andresriancho/enumerate-iam.git
  1307. cd enumerate-iam/
  1308. pip3 install -r requirements.txt
  1309. echo ""
  1310. cd /opt/Cloud/AWS/
  1311. echo "Installing AWSBucketDump"
  1312. echo ""
  1313. sleep 2
  1314. git clone https://github.com/jordanpotti/AWSBucketDump.git
  1315. cd AWSBucketDump/
  1316. pip3 install -r requirements.txt
  1317. cd /opt/Cloud/
  1318. mkdir Azure
  1319. cd Azure
  1320. echo "Installing Azure Resources"
  1321. echo ""
  1322. echo "Installing ADConnectDump"
  1323. echo ""
  1324. sleep 2
  1325. git clone https://github.com/fox-it/adconnectdump.git
  1326. echo ""
  1327. cd /opt/Cloud/Azure/
  1328. echo ""
  1329. echo "Installing Stormspotter"
  1330. echo ""
  1331. sleep 2
  1332. git clone https://github.com/Azure/Stormspotter.git
  1333. cd /opt/Cloud/Azure/
  1334. echo ""
  1335. echo "Installing ROADtools"
  1336. echo ""
  1337. sleep 2
  1338. git clone https://github.com/dirkjanm/ROADtools.git
  1339. cd ROADtools/
  1340. pip install -e roadlib/
  1341. pip install -e roadrecon/
  1342. cd roadrecon/frontend/
  1343. npm install
  1344. npm audit fix
  1345. echo ""
  1346. echo "Installing MicroBurst"
  1347. echo ""
  1348. sleep 2
  1349. cd /opt/Cloud/Azure/
  1350. echo ""
  1351. echo "Installing MicroBurst"
  1352. echo ""
  1353. sleep 2
  1354. cd /opt/Windows_OS/
  1355. mkdir Cloud
  1356. cd Cloud
  1357. mkdir Azure
  1358. cd Azure
  1359. git clone https://github.com/NetSPI/MicroBurst.git
  1360. git clone https://github.com/Gerenios/AADInternals.git
  1361. echo ""
  1362. echo "Cloning Hak5 Implant Resources"
  1363. echo ""
  1364. cd /opt/Hak5_Implants
  1365. echo ""
  1366. git clone https://github.com/hak5/omg-payloads.git
  1367. git clone https://github.com/hak5/bashbunny-payloads.git
  1368. git clone https://github.com/hak5/usbrubberducky-payloads.git
  1369. git clone https://github.com/hak5/pineapple-community-packages.git
  1370. git clone https://github.com/hak5/pineapple-modules.git
  1371. git clone https://github.com/hak5/mk7-docs.git
  1372. git clone https://github.com/hak5/keycroc-payloads.git
  1373. git clone https://github.com/hak5/sharkjack-payloads.git
  1374. git clone https://github.com/hak5/lanturtle-modules.git
  1375. git clone https://github.com/hak5/hak5-docs.git
  1376. git clone https://github.com/hak5/packetsquirrel-payloads.git
  1377. git clone https://github.com/hak5/nano-tetra-modules.git
  1378. git clone https://github.com/hak5/signalowl-payloads.git
  1379. git clone https://github.com/hak5/plunderbug-scripts.git
  1380. echo ""
  1381. echo "Cloning Wireless Resources"
  1382. echo ""
  1383. cd /opt/Wireless
  1384. echo ""
  1385. echo "Installing BeRateAP"
  1386. echo ""
  1387. sleep 2
  1388. git clone https://github.com/sensepost/berate_ap
  1389. echo ""
  1390. cd /opt/Wireless
  1391. echo "Installing EvilTwin Capitive Portal"
  1392. echo ""
  1393. sleep 2
  1394. git clone https://github.com/athanstan/EvilTwin_AP_CaptivePortal.git
  1395. echo ""
  1396. cd /opt/Wireless
  1397. echo "Installing Fluxion"
  1398. echo ""
  1399. sleep 2
  1400. git clone https://www.github.com/FluxionNetwork/fluxion.git
  1401. echo ""
  1402. echo "Installing Bettercap"
  1403. echo ""
  1404. sleep 2
  1405. git clone https://github.com/bettercap/bettercap
  1406. cd bettercap/
  1407. bash build.sh
  1408. echo ""
  1409. echo "Installing Airgeddon"
  1410. echo ""
  1411. sleep 2
  1412. git clone https://github.com/v1s1t0r1sh3r3/airgeddon.git
  1413. echo ""
  1414. cd /opt/Virtual_Machines
  1415. echo "Installing VirtualBox"
  1416. echo ""
  1417. sleep 3
  1418. apt-get update -y && apt-get upgrade -y
  1419. apt --fix-broken install -y
  1420. wget https://download.virtualbox.org/virtualbox/6.1.34/virtualbox-6.1_6.1.34-150636.1~Ubuntu~eoan_amd64.deb
  1421. dpkg --install virtualbox-6.1_6.1.34-150636.1~Ubuntu~eoan_amd64.deb
  1422. echo""
  1423. echo "Downloading Kali VM"
  1424. echo ""
  1425. wget https://kali.download/virtual-images/kali-2022.1/kali-linux-2022.1-virtualbox-amd64.ova
  1426. echo ""
  1427. echo "Downloading Windows Ops Box"
  1428. echo ""
  1429. sleep 2
  1430. wget https://az792536.vo.msecnd.net/vms/VMBuild_20190311/VirtualBox/MSEdge/MSEdge.Win10.VirtualBox.zip
  1431. echo ""
  1432. sleep 2
  1433. echo ""
  1434. read -p "All Done! Press Enter To Reboot Your New C2 Box"
  1435. reboot now