AutoC2.sh 43 KB

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