AutoC2.sh 43 KB

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