From c7145109b9df30d139ec1175daab36d495fadbbd Mon Sep 17 00:00:00 2001 From: Dan Fedele Date: Sun, 6 Nov 2022 21:06:53 -0500 Subject: README clarification --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4b9b4a5..b26fde7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Fresh Install +# Golden Kali I believe every Kali VM should be ephemeral. Build it, do your damage, then blow it away. While that's impractical to do it for every single engagement, and since Kali is *almost perfect*, there are still a bunch of things that I modify after a fresh Kali build. Since re-doing all of those tasks is tiresome, I decided to create a solid foundation of "good enough" to start off a fresh build of Kali and download all of the tools I find myself using all the time. So I made this script. It starts a bash script to install pip, then install ansible, then use ansible to download all the appropriate packages, clone the appropriate repositories, and make the appropriate modifications to the system to get it to a point close enough to how I like. And if you don't like my modifications, I encourage you to fork this repo and make your own changes. @@ -6,10 +6,12 @@ And if you don't like my modifications, I encourage you to fork this repo and ma ## Usage If you just started up a new instance of **Kali**, to get it to a "proper working setup" that I've come to like, simply run the following command from a terminal: -`curl -sL https://raw.github.com/AgroDan/FreshInstall/master/setup-kali.sh | sudo bash` +`git clone https://github.com/AgroDan/Golden-Kali.git && sudo bash ./Golden-Kali/setup.sh` -I also dabble a bit in **Parrot OS**. I've since created a similar bootstrap for it as well: +The previous command used to be a `curl` instruction piped to `bash`. I changed that to a `git clone` instead to change up the way files would be included. It was cleaner and I was able to mess around with. I may be installing malicious software, but I wish no mal-intent to you. Peace, love, and hack all the things. -`curl -sL https://raw.github.com/AgroDan/FreshInstall/master/setup-parrot.sh | sudo bash` +## Changelog -I know the flippant instruction of "copy this curl | bash command as root" is scary, but this is after all github, so feel free to look through the provided code to know that I'm not installing some crazy backdoor or anything. I may be installing malicious software, but I wish no mal-intent to you. Peace, love, and hack all the things. +I made some significant changes to this repository from the previous iteration. First, the name has been changed to `golden-kali`. Second, I have removed support for ParrotOS. It's generally something I don't use all that often to support it, so this is what you have. I'm sure you can apply all of the ideas here for a ParrotOS build as well if that's your thing. + +Many of the changes here came as a result of this repository being included as a necessary install step process for the Red Team at (https://cyberforce.energy.gov/cyberforce-competition/)[DoE's Cyberforce Competition] in 2022. The code was modified heavily for the event's exhaustive playbook. I took what I had learned there and simply applied it here. \ No newline at end of file -- cgit v1.2.3 From 2a79c8c3499437ede38c81c82c2ca48b91ba3191 Mon Sep 17 00:00:00 2001 From: Dan Fedele Date: Mon, 7 Nov 2022 09:49:21 -0500 Subject: Fixed horrible typo that broke the whole thing --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index b26fde7..3c46a84 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ And if you don't like my modifications, I encourage you to fork this repo and ma ## Usage If you just started up a new instance of **Kali**, to get it to a "proper working setup" that I've come to like, simply run the following command from a terminal: -`git clone https://github.com/AgroDan/Golden-Kali.git && sudo bash ./Golden-Kali/setup.sh` +`git clone https://github.com/AgroDan/golden-kali.git && sudo bash ./golden-kali/setup.sh` The previous command used to be a `curl` instruction piped to `bash`. I changed that to a `git clone` instead to change up the way files would be included. It was cleaner and I was able to mess around with. I may be installing malicious software, but I wish no mal-intent to you. Peace, love, and hack all the things. -- cgit v1.2.3 From 71003821ac5630c8ea73851d4b87550c3eaf7c24 Mon Sep 17 00:00:00 2001 From: Dan Fedele Date: Mon, 7 Nov 2022 09:50:53 -0500 Subject: LERN2MARKDOWN --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3c46a84..d8e3368 100644 --- a/README.md +++ b/README.md @@ -14,4 +14,4 @@ The previous command used to be a `curl` instruction piped to `bash`. I changed I made some significant changes to this repository from the previous iteration. First, the name has been changed to `golden-kali`. Second, I have removed support for ParrotOS. It's generally something I don't use all that often to support it, so this is what you have. I'm sure you can apply all of the ideas here for a ParrotOS build as well if that's your thing. -Many of the changes here came as a result of this repository being included as a necessary install step process for the Red Team at (https://cyberforce.energy.gov/cyberforce-competition/)[DoE's Cyberforce Competition] in 2022. The code was modified heavily for the event's exhaustive playbook. I took what I had learned there and simply applied it here. \ No newline at end of file +Many of the changes here came as a result of this repository being included as a necessary install step process for the Red Team at [DoE's Cyberforce Competition](https://cyberforce.energy.gov/cyberforce-competition/) in 2022. The code was modified heavily for the event's exhaustive playbook. I took what I had learned there and simply applied it here. \ No newline at end of file -- cgit v1.2.3 From c059e2bf4d0050f7e08b38944c1065c2fde4d278 Mon Sep 17 00:00:00 2001 From: Dan Fedele Date: Mon, 7 Nov 2022 11:28:13 -0500 Subject: Bugfixes and more documentation --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d8e3368..c4b1f2e 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,22 @@ And if you don't like my modifications, I encourage you to fork this repo and ma ## Usage If you just started up a new instance of **Kali**, to get it to a "proper working setup" that I've come to like, simply run the following command from a terminal: -`git clone https://github.com/AgroDan/golden-kali.git && sudo bash ./golden-kali/setup.sh` +```bash +git clone https://github.com/AgroDan/golden-kali.git && sudo bash ./golden-kali/setup.sh +``` -The previous command used to be a `curl` instruction piped to `bash`. I changed that to a `git clone` instead to change up the way files would be included. It was cleaner and I was able to mess around with. I may be installing malicious software, but I wish no mal-intent to you. Peace, love, and hack all the things. +The previous command used to be a `curl` instruction piped to `bash`. I changed that to a `git clone` instead to change up the way files would be included. It was cleaner and I was able to mess around with ansible's conditional logic a bit more. Note you are still allowing code to execute as the root user to install various tools that *I personally* find very useful. They may not be what you find useful, they may not be what you prefer. Please review the code above as it is all open source for your assurance. Know this: I may be installing malicious software, but I wish no mal-intent to you. Peace, love, and hack all the things. ## Changelog I made some significant changes to this repository from the previous iteration. First, the name has been changed to `golden-kali`. Second, I have removed support for ParrotOS. It's generally something I don't use all that often to support it, so this is what you have. I'm sure you can apply all of the ideas here for a ParrotOS build as well if that's your thing. -Many of the changes here came as a result of this repository being included as a necessary install step process for the Red Team at [DoE's Cyberforce Competition](https://cyberforce.energy.gov/cyberforce-competition/) in 2022. The code was modified heavily for the event's exhaustive playbook. I took what I had learned there and simply applied it here. \ No newline at end of file +Many of the changes here came as a result of this repository being included as a necessary install step process for the Red Team at [DoE's Cyberforce Competition](https://cyberforce.energy.gov/cyberforce-competition/) in 2022. The code was modified heavily for the event's exhaustive playbook. I took what I had learned there and simply applied it here. + +## Caveat Emptor + +Through exhaustive testing and re-testing, we have determined that this will install approximately XX Gigabytes of data onto your Kali machine. It is advised that you have at least YY Gigabytes free before running this installer! + +Despite all of our efforts, no one has been able to get this script to work on Apple's M1 architecture. This is for AMD64 only. Sorry! + +This script takes a _long_ time to complete. The longest step is patching and updating the machine before executing any of the plays. It is advised for your own sanity to ensure that your machine is patched to the latest before running this script. \ No newline at end of file -- cgit v1.2.3 From 27dc9030e0de0c6622ae3f2cde189988d4a8464a Mon Sep 17 00:00:00 2001 From: Dan Fedele Date: Mon, 7 Nov 2022 11:33:52 -0500 Subject: Bugfixes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index c4b1f2e..c665a63 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Many of the changes here came as a result of this repository being included as a ## Caveat Emptor -Through exhaustive testing and re-testing, we have determined that this will install approximately XX Gigabytes of data onto your Kali machine. It is advised that you have at least YY Gigabytes free before running this installer! +Through exhaustive testing and re-testing, we have determined that this will install approximately 13 Gigabytes of data onto your Kali machine. It is advised that you have at least 15 Gigabytes free before running this installer! Despite all of our efforts, no one has been able to get this script to work on Apple's M1 architecture. This is for AMD64 only. Sorry! -- cgit v1.2.3