AutoC2.sh 42 KB

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