AutoC2.sh 40 KB

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