AutoC2.sh 40 KB

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