AutoC2.sh 43 KB

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