| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992 |
- #!/bin/bash
- cat << "EOF"
- __ _ ___ ___ _ _ _ __ ___ ___ | |__ _ __ ___ __ _ ___| |__
- / _` / __/ __| | | | '_ ` _ \ / _ \_____| '_ \| '__/ _ \/ _` |/ __| '_ \
- | (_| \__ \__ \ |_| | | | | | | __/_____| |_) | | | __/ (_| | (__| | | |
- \__,_|___/___/\__,_|_| |_| |_|\___| |_.__/|_| \___|\__,_|\___|_| |_|
-
- **AutoC2**
-
- Use At Your Own Risk
-
-
-
- EOF
- sleep 2
- echo""
- echo""
- echo "WARNING THIS SCRIPT TAKES FUCKING FOREVER!!!"
- echo""
- echo""
- echo "All Tools Can Be Found In The /opt Directory"
- echo ""
- sleep 2
- read -p "Press enter to continue"
- echo ""
- echo "Updating Your System"
- echo""
- sleep 2
- apt-get update -y && apt-get upgrade -y
- apt update -y && apt upgrade -y
- apt autoremove -y
- echo ""
- sleep 2
- echo "Installing System Dependencies"
- echo ""
- sleep 2
- apt install git docker.io golang python3 python3-pip pipx chromium-browser -y
- /usr/bin/python3 -m pip install --upgrade pip
- echo ""
- echo "Removing Unneeded Directories"
- sleep 2
- rm -rf Videos/
- rm -rf Music/
- rm -rf Public/
- rm -rf Templates/
- echo""
- echo "Installing Hackery Stuff"
- echo ""
- sleep 2
- apt install nmap recon-ng snap -y
- snap install amass
- echo ""
- echo "Creating Repo Folders"
- echo ""
- sleep 2
- cd /opt
- mkdir Initial_Access
- mkdir Recon
- mkdir Delivery
- mkdir Command_And_Control
- mkdir Situational_Awareness
- mkdir Credential_Dumping
- mkdir Privilege_Escallation
- mkdir Defense_Evasion
- mkdir Social_Engineering
- mkdir Phishing
- mkdir Persistence
- mkdir Lateral_Movement
- mkdir Exfiltration
- mkdir Cloud
- mkdir Payload_Development
- mkdir Hak5_Implants
- mkdir Wireless
- echo""
- echo "Getting Resources"
- sleep 2
- echo""
- echo "Cloning Recon Resources"
- echo""
- sleep 2
- cd Recon
- echo""
- echo "Installing RustScan"
- echo""
- sleep 2
- git clone https://github.com/RustScan/RustScan.git
- cd RustScan.git
- docker build -t rustscan .
- cd /opt/Recon/
- echo "Installing GitLeaks"
- echo ""
- sleep 2
- git clone https://github.com/zricethezav/gitleaks.git
- cd gitleaks/
- make build
- echo ""
- cd /opt/Recon/
- echo "Installing S3Scanner"
- echo ""
- sleep 2
- git clone https://github.com/sa7mon/S3Scanner.git
- cd S3Scanner/
- pip3 install -r requirements.txt
- python3 -m S3Scanner
- cd /opt/Recon/
- echo""
- echo "Installing Cloud_Enum"
- echo""
- sleep 2
- git clone https://github.com/initstring/cloud_enum.git
- cd cloud_enum
- pip3 install -r ./requirements.txt
- cd /opt/Recon/
- echo "Installing Buster"
- echo ""
- sleep 2
- git clone https://github.com/sham00n/buster.git
- cd buster/
- python3 setup.py install
- cd /opt/Repo/
- git clone https://github.com/initstring/linkedin2username.git
- echo ""
- echo "Installing WitnessMe"
- echo ""
- sleep 2
- python3 -m pip install --user pipx
- pipx install witnessme
- pipx ensurepath
- cd /opt/Recon/
- echo ""
- echo "Installing Pagodo"
- echo ""
- sleep 2
- git clone https://github.com/opsdisk/pagodo.git
- cd pagodo
- pip install -r requirements.txt
- cd /opt/Recon/
- echo ""
- echo "Installing AttackSurfaceMapper"
- echo""
- sleep 2
- git clone https://github.com/superhedgy/AttackSurfaceMapper.git
- cd AttackSurfaceMapper
- python3 -m pip install --no-cache-dir -r requirements.txt
- cd /opt/Recon/
- echo ""
- echo "Installing SpiderFoot"
- echo ""
- sleep 2
- git clone https://github.com/smicallef/spiderfoot.git
- cd spiderfoot
- pip3 install -r requirements.txt
- pip3 install cherrypy
- pip3 install cherrypy_cors
- pip3 install publicsuffixlist
- pip3 install networkx
- pip3 install openpyxl
- cd /opt/Recon/
- echo""
- echo "Installing DNScan"
- echo ""
- sleep 2
- git clone https://github.com/rbsec/dnscan.git
- cd dnscan
- pip3 install -r requirements.txt
- pip3 install setuptools
- cd /opt/Recon/
- echo""
- echo "Installing SpoofCheck"
- echo""
- sleep 2
- git clone https://github.com/BishopFox/spoofcheck.git
- cd spoofcheck
- pip3 install -r requirements.txt
- cd /opt/Recon/
- echo ""
- echo "Installing LinkedInt"
- echo""
- sleep 2
- git clone https://github.com/vysecurity/LinkedInt.git
- cd LinkedInt
- pip3 install -r requirements.txt
- cd /opt/Recon/
- echo ""
- echo "Installing EyeWitness"
- echo ""
- sleep 2
- git clone https://github.com/ChrisTruncer/EyeWitness.git
- cd EyeWitness/Python/setup
- bash setup.sh
- cd /opt/Recon/
- echo""
- echo "Installing Aquatone"
- echo ""
- sleep 2
- mkdir Aquatone
- cd Aquatone/
- wget https://github.com/michenriksen/aquatone/releases/download/v1.7.0/aquatone_linux_amd64_1.7.0.zip
- unzip aquatone_linux_amd64_1.7.0.zip
- cd /opt/Recon/
- echo""
- echo "Installing DNSrecon"
- echo ""
- sleep 2
- git clone https://github.com/darkoperator/dnsrecon.git
- cd dnsrecon
- pip install -r requirements.txt
- python setup.py install
- cd /opt/Recon/
- echo ""
- echo "Installing Social Mapper"
- echo ""
- sleep 2
- git clone https://github.com/SpiderLabs/social_mapper.git
- cd /social_mapper/setup/
- pip install -r requirements.txt
- echo""
- cd /opt/Recon/
- echo "Installing theHarvester"
- echo ""
- sleep 2
- git clone https://github.com/laramies/theHarvester.git
- cd theHarvester/
- pip3 install aiohttp
- pip3 install aiomultiprocess
- python3 -m pip install -r requirements/base.txt
- python3 setup.py install
- cd /opt/Recon/
- echo ""
- echo "Installing Metagoofil"
- echo ""
- sleep 2
- git clone https://github.com/laramies/metagoofil.git
- echo""
- echo "Installing TruffleHog"
- echo ""
- sleep 2
- git clone https://github.com/dxa4481/truffleHog.git
- cd trufflehog; go install
- cd /opt/Recon/
- echo""
- echo "Installing Pwned0rNot -- API KEY REQUIRE"
- git clone https://github.com/thewhiteh4t/pwnedOrNot.git
- cd pwnedOrNot
- chmod +x install.sh
- ./install.sh
- cd /opt/Recon/
- echo""
- echo "Installing GitHarvester"
- echo ""
- sleep 2
- git clone https://github.com/metac0rtex/GitHarvester.git
- echo ""
- echo "Cloning Initial Access Resources"
- echo ""
- sleep 2
- ###Break For Recon Folder###
- cd /opt/Initial_Access
- echo "Installing Initial Access Tools"
- echo ""
- sleep 2
- echo "Installing Spraying Toolkit"
- echo ""
- sleep 2
- git clone https://github.com/byt3bl33d3r/SprayingToolkit.git
- cd SprayingToolkit/
- pip3 install -r requirements.txt
- cd /opt/Initial_Access
- echo ""
- sleep 2
- echo "Installing O365 Recon"
- echo ""
- git clone https://github.com/nyxgeek/o365recon.git
- echo ""
- sleep 2
- echo "Installing TREVORspray"
- echo ""
- sleep 2
- git clone https://github.com/blacklanternsecurity/TREVORspray.git
- cd TREVORspray/
- pip3 install -r requirements.txt
- sleep2
- echo ""
- echo "Cloning Payload Development Resources"
- echo ""
- sleep 2
- cd ../Payload_Development
- echo "Installing Unicorn"
- git clone https://github.com/trustedsec/unicorn.git
- echo""
- echo "Installing Demiguise"
- echo ""
- sleep 2
- git clone https://github.com/nccgroup/demiguise.git
- echo ""
- echo "Installing The Backdoor Factory"
- echo ""
- docker pull secretsquirrel/the-backdoor-factory
- echo ""
- sleep 2
- echo "Installing Avet"
- echo ""
- git clone https://github.com/govolution/avet.git
- cd avet
- bash setup.sh
- cd /opt/Payload_Development/
- sleep 2
- echo ""
- echo "Installing MetaTwin"
- git clone https://github.com/threatexpress/metatwin.git
- echo "'"
- sleep 2
- echo "Installing PSAmsi"
- git clone https://github.com/cobbr/PSAmsi.git
- sleep 2
- echo ""
- echo "Worse-PDF"
- echo ""
- git clone https://github.com/3gstudent/Worse-PDF.git
- echo ""
- sleep 2
- echo "Installing Ivy"
- git clone https://github.com/optiv/Ivy.git
- cd Ivy
- go get github.com/fatih/color
- go get github.com/KyleBanks/XOREncryption/Go
- go build Ivy.go
- echo ""
- cd /opt/Payload_Development/
- echo "Installing PEzor"
- git clone https://github.com/phra/PEzor.git
- cd PEzor/
- bash install.sh
- echo ""
- read -p "Open A New Terminal And Export The Path For PEzor To Work!"
- echo ""
- sleep 2
- echo "Installing ScareCrow"
- echo""
- git clone https://github.com/optiv/ScareCrow.git
- cd ScareCrow/
- go get github.com/fatih/color
- go get github.com/yeka/zip
- go get github.com/josephspurrier/goversioninfo
- apt install openssl -y
- apt install osslsigncode -y
- apt install mingw-w64 -y
- go build ScareCrow.go
- cd /opt/Payload_Development/
- echo ""
- sleep 2
- echo "Installing Donut"
- echo ""
- git clone https://github.com/TheWover/donut.git
- cd donut/
- python3 setup.py install
- cd /opt/Payload_Development
- mkdir MAC_OS
- cd MAC_OS
- echo ""
- sleep 2
- echo "Installing Mystikal"
- echo ""
- git clone https://github.com/D00MFist/Mystikal.git
- cd /opt/Payload_Development/
- echo ""
- sleep 2
- mkdir Windows_OS
- cd Windows_OS
- echo "Installing GadgetToJscript"
- git clone https://github.com/med0x2e/GadgetToJScript.git
- echo ""
- cd /opt/Payload_Development/
- echo "Installing Charlotte"
- git clone https://github.com/9emin1/charlotte.git
- echo ""
- cd /opt/Payload_Development/
- echo "Installing Invisibility Cloak"
- git clone https://github.com/xforcered/InvisibilityCloak.git
- echo ""
- cd /opt/Payload_Development/Windows_OS/
- echo "Installing Dendrobate"
- echo ""
- git clone https://github.com/FuzzySecurity/Dendrobate.git
- echo ""
- sleep 2
- cd /opt/Payload_Development/
- echo "Installing Offensive-VBA-and-XLS-Entanglement"
- echo ""
- git clone https://github.com/BC-SECURITY/Offensive-VBA-and-XLS-Entanglement.git
- sleep 2
- echo ""
- echo "Installing xlsGen"
- echo ""
- sleep 2
- git clone https://github.com/aaaddress1/xlsGen.git
- echo ""
- echo "Installing DarkArmour"
- echo ""
- sleep 2
- git clone https://github.com/bats3c/darkarmour.git
- sudo apt install mingw-w64-tools mingw-w64-common g++-mingw-w64 gcc-mingw-w64 upx-ucl osslsigncode
- echo ""
- echo "Installing InlineWhispers"
- echo""
- sleep 2
- git clone https://github.com/outflanknl/InlineWhispers.git
- echo ""
- cd /opt/Payload_Development/Windows_OS/
- echo "Installing EvilClippy"
- echo ""
- sleep 2
- git clone https://github.com/outflanknl/EvilClippy.git
- echo ""
- echo "Installing OfficePurge"
- echo ""
- git clone https://github.com/fireeye/OfficePurge.git
- sleep 2
- echo ""
- echo "Installing ThreatCheck"
- echo ""
- git clone https://github.com/rasta-mouse/ThreatCheck.git
- echo ""
- echo "Ruler"
- echo ""
- sleep 2
- git clone https://github.com/sensepost/ruler.git
- echo ""
- echo "Installing DueDLLigence"
- echo ""
- sleep 2
- git clone https://github.com/fireeye/DueDLLigence.git
- echo ""
- echo "Installing RuralBishop"
- echo ""
- sleep 2
- git clone https://github.com/rasta-mouse/RuralBishop.git
- echo ""
- echo "Installing TikiTorch"
- echo ""
- sleep 2
- git clone https://github.com/rasta-mouse/TikiTorch.git
- echo ""
- echo "Installing SharpShooter"
- echo ""
- sleep 2
- git clone https://github.com/mdsecactivebreach/SharpShooter.git
- echo ""
- echo "Installing SharpSploit"
- echo ""
- sleep 2
- git clone https://github.com/cobbr/SharpSploit.git
- echo ""
- echo "Installing MSBuildAPICaller"
- echo ""
- sleep 2
- git clone https://github.com/rvrsh3ll/MSBuildAPICaller.git
- echo ""
- echo "Installing Macro_Pack"
- echo ""
- sleep 2
- git clone https://github.com/sevagas/macro_pack.git
- echo ""
- echo "Installing Inceptor"
- echo ""
- sleep 2
- git clone https://github.com/klezVirus/inceptor.git
- echo ""
- echo "Installing Mortar
- echo ""
- sleep 2
- git clone https://github.com/0xsp-SRD/mortar.git
- echo ""
- echo "Installing RedTeamCCode"
- echo ""
- sleep 2
- git clone https://github.com/Mr-Un1k0d3r/RedTeamCCode.git
- echo ""
- sleep 2
- echo "Cloning Delivery Resources"
- echo ""
- cd /opt/Payload_Development/Delivery/
- echo ""
- echo "Installing O365 Attack Toolkit"
- echo ""
- sleep 2
- git clone https://github.com/mdsecactivebreach/o365-attack-toolkit.git
- echo ""
- sleep 2
- echo "
- echo "Installing BEEF"
- echo ""
- sleep 2
- git clone https://github.com/beefproject/beef.git
- cd beef
- ./install
- echo ""
- echo "Cloning Your C2 Resources"
- echo ""
- cd /opt/Command_And_Control
- echo "Cloning C2 Frameworks"
- echo ""
- echo "Installing Empire & Starkiller"
- echo ""
- sleep 2
- git clone https://github.com/BC-SECURITY/Empire.git
- version=$(lsb_release -sr)
- cd Empire/
- find ./ -type f -print0 | xargs -0 sed -i "s/20.04/${version}/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/18.04/${version}/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/21.04/${version}/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/21.10/${version}/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/16.04/${version}/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/22.04/${version}/g"
- cd setup/
- bash install.sh
- sudo wget https://github.com/BC-SECURITY/Starkiller/releases/download/v1.8.0/starkiller-1.8.0.AppImage
- sudo chmod +x starkiller-1.0.0.AppImage
- echo""
- sleep 2
- cd /opt/Command_And_Control/
- echo "Installing PoshC2"
- echo ""
- git clone https://github.com/nettitude/PoshC2.git
- cd PoshC2/
- bash Install.sh
- cd /opt/Command_And_Control/
- echo ""
- echo "Installing Merlin C2"
- echo ""
- sleep 2
- git clone https://github.com/Ne0nd0g/merlin.git
- cd merlin/
- go build
- cd /opt/Command_And_Control/
- echo ""
- echo "Installing Mythic"
- echo ""
- sleep 2
- git clone https://github.com/its-a-feature/Mythic.git
- cd Mythic/
- ./install_docker_ubuntu.sh
- cd /opt/Command_And_Control
- echo ""
- echo "Installing Covenant With Random Profile"
- echo ""
- echo "Enter A Random Word!"
- read Random1
- echo ""
- echo "Enter A Different Random Word!"
- read Random2
- echo ""
- echo "Enter A Different Random Word!"
- read Random3
- custom1=$(echo $custom1 | md5sum | head -c 20)
- sudo git clone --recurse-submodules https://github.com/ZeroPointSecurity/Covenant.git /opt/Covenant
- cd /opt/Covenant/Covenant/
- mv ./Data/AssemblyReferences/ ../AssemblyReferences/
- mv ./Data/ReferenceSourceLibraries/ ../ReferenceSourceLibraries/
- mv ./Data/EmbeddedResources/ ../EmbeddedResources/
- mv ./Models/Covenant/ ./Models/${Random1^}/
- mv ./Components/CovenantUsers/ ./Components/${Random1^}Users/
- mv ./Components/Grunts/ ./Components/${Random2^}s/
- mv ./Models/Grunts/ ./Models/${Random2^}s/
- mv ./Data/Grunt/GruntBridge/ ./Data/Grunt/${Random2^}Bridge/
- mv ./Data/Grunt/GruntHTTP/ ./Data/Grunt/${Random2^}HTTP/
- mv ./Data/Grunt/GruntSMB/ ./Data/Grunt/${Random2^}SMB/
- mv ./Components/GruntTaskings/ ./Components/${Random2^}Taskings/
- mv ./Components/GruntTasks/ ./Components/${Random2^}Tasks/
- mv ./Data/Grunt/ ./Data/${Random2^}/
- find ./ -type f -print0 | xargs -0 sed -i "s/Grunt/${Random2^}/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/GRUNT/${Random2^^}/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/grunt/${Random2,,}/g"
- #find ./ -type f -print0 | xargs -0 sed -i "s/covenant/${Random1,,}/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/Covenant/${Random1^}/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/COVENANT/${Random1^^}/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/ExecuteStager/ExecLevel/g"
- #find ./ -type f -print0 | xargs -0 sed -i "s/REPLACE_PROFILE/REP_PROF/g"
- #find ./ -type f -print0 | xargs -0 sed -i "s/REPLACE_PIPE/REP_PIP/g"
- #find ./ -type f -print0 | xargs -0 sed -i "s/GUID/ANGID/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/SetupAES/Install"${custom1}"AES/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/SessionKey/Sess"${custom1}"KEy/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/EncryptedChallenge/Enc"${custom1}"ChallEnge/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/DecryptedChallenges/Decrypt"${custom1}"ChallEnges/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/Stage0Body/First"${custom1}"Body/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/Stage0Response/First"${custom1}"Response/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/Stage0Bytes/First"${custom1}"Bytes/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/Stage1Body/Seccond"${custom1}"Body/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/Stage1Response/Seccond"${custom1}"Response/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/Stage1Bytes/Seccond"${custom1}"Bytes/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/Stage2Body/Third"${custom1}"Body/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/Stage2Response/Third"${custom1}"Response/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/Stage2Bytes/Third"${custom1}"Bytes/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/message64str/messAgE"${custom1}"64str/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/messageBytes/messAgE"${custom1}"bytes/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/totalReadBytes/ToTal"${custom1}"ReaDBytes/g"
- #find ./ -type f -print0 | xargs -0 sed -i "s/inputStream/instream/g"
- #find ./ -type f -print0 | xargs -0 sed -i "s/outputStream/outstream/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/deflateStream/deFlatE"${custom1}"stream/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/memoryStream/memOrYstream/g" #don't change
- find ./ -type f -print0 | xargs -0 sed -i "s/compressedBytes/packed"${custom1}"bytes/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/REPLACE_/REP"${custom1}"_/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/_PROFILE_/_PROF"${custom1}"_/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/_VALIDATE_/_VA"${custom1}"L_/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/GUID/${Random3^^}/g"
- find ./ -type f -name "*.razor" -print0 | xargs -0 sed -i "s/GUID/${Random3^^}/g"
- find ./ -type f -name "*.json" -print0 | xargs -0 sed -i "s/GUID/${Random3^^}/g"
- find ./ -type f -name "*.yaml" -print0 | xargs -0 sed -i "s/GUID/${Random3^^}/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/guid/${Random3,,}/g"
- find ./ -type f -name "*.razor" -print0 | xargs -0 sed -i "s/guid/${Random3,,}/g"
- find ./ -type f -name "*.json" -print0 | xargs -0 sed -i "s/guid/${Random3,,}/g"
- find ./ -type f -name "*.yaml" -print0 | xargs -0 sed -i "s/guid/${Random3,,}/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/ProfileHttp/Prof"${custom1}"HTTP/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/baseMessenger/bAse"${custom1}"mEsSenger/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/PartiallyDecrypted/Part"${custom1}"decrypted/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/FullyDecrypted/Fulld"${custom1}"ecrypted/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/compressedBytes/packed"${custom1}"bytes/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/CookieWebClient/Ottos"${custom1}"WebClient/g"
- #find ./ -type f -print0 | xargs -0 sed -i "s/CookieContainer/KekseContains/g"
- #find ./ -type f -print0 | xargs -0 sed -i "s/GetWebRequest/DoAnWebReq/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/Jitter/JIt"${custom1}"ter/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/ConnectAttempts/ConneCT"${custom1}"AttEmpts/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/RegisterBody/Reg"${custom1}"Body/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/messenger/meSsenGer"${custom1}"/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/Hello World/"${custom1}"/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/ValidateCert/Val"${custom1}"CerT/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/UseCertPinning/UsCert"${custom1}"Pin/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/EncryptedMessage/Enc"${custom1}"Msg/g"
- find ./ -type f -print0 | xargs -0 sed -i "s/cookieWebClient/"${custom1}"WebClient/g" #ottos
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/aes/crypt"${custom1}"var/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/aes2/crypt"${custom1}"var2/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array5/ar"${custom1}"r5/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array6/ar"${custom1}"r6/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array4/ar"${custom1}"r4/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array7/ar"${custom1}"r7/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array1/ar"${custom1}"r1/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array2/ar"${custom1}"r2/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/array3/ar"${custom1}"r3/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/list1/l"${custom1}"i1/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/list2/l"${custom1}"i2/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/list3/l"${custom1}"i3/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/list4/l"${custom1}"i4/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/list5/l"${custom1}"i5/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group0/gr"${custom1}"p0/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group1/gr"${custom1}"p1/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group2/gr"${custom1}"p2/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group3/gr"${custom1}"p3/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group4/gr"${custom1}"p4/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group5/gr"${custom1}"p5/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group6/gr"${custom1}"p6/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group7/gr"${custom1}"p7/g"
- find ./ -type f -name "*.cs" -print0 | xargs -0 sed -i "s/group8/gr"${custom1}"p8/g"
- find ./ -type f -name "*Grunt*" | while read FILE ; do
- newfile="$(echo ${FILE} |sed -e "s/Grunt/${Random2^}/g")";
- mv "${FILE}" "${newfile}";
- done
- find ./ -type f -name "*GRUNT*" | while read FILE ; do
- newfile="$(echo ${FILE} |sed -e "s/GRUNT/${Random2^^}/g")";
- mv "${FILE}" "${newfile}";
- done
- find ./ -type f -name "*grunt*" | while read FILE ; do
- newfile="$(echo ${FILE} |sed -e "s/grunt/${Random2,,}/g")";
- mv "${FILE}" "${newfile}";
- done
- find ./ -type f -name "*Covenant*" | while read FILE ; do
- newfile="$(echo ${FILE} |sed -e "s/Covenant/${Random1^}/g")";
- mv "${FILE}" "${newfile}";
- done
- find ./ -type f -name "*COVENANT*" | while read FILE ; do
- newfile="$(echo ${FILE} |sed -e "s/COVENANT/${Random2^^}/g")";
- mv "${FILE}" "${newfile}";
- done
- #find ./ -type f -name "*covenant*" | while read FILE ; do
- # newfile="$(echo ${FILE} |sed -e "s/covenant/ottocommand/g")";
- # mv "${FILE}" "${newfile}";
- #done
- mv ../AssemblyReferences/ ./Data/
- mv ../ReferenceSourceLibraries/ ./Data/
- mv ../EmbeddedResources/ ./Data/
- dotnet build
- echo ""
- cd /opt/Command_And_Control/
- echo"Installing Shad0w"
- echo ""
- sleep 2
- git clone https://github.com/bats3c/shad0w.git
- cd shad0w/
- bash install.sh
- echo ""
- cd /opt/Command_And_
- /
- echo "Installing Sliver"
- echo ""
- sleep 2
- git clone https://github.com/BishopFox/sliver.git
- cd sliver/
- python3 build.py
- cd /opt/Command_And_Control
- echo ""
- echo "Installing SilentTrinity"
- echo ""
- sleep 2
- git clone https://github.com/byt3bl33d3r/SILENTTRINITY.git
- cd SILENTTRINITY/
- pip3 install -r requirements.txt
- cd /opt/Command_And_Control
- echo ""
- echo "Installing Pupy C2"
- echo ""
- sleep 2
- git clone https://github.com/n1nj4sec/pupy.git
- echo ""
- echo "Installing Metasploit"
- sleep 2
- echo ""
- apt install postgresql -y
- systemctl start postgresql
- systemctl enable postgresql
- apt install curl -y
- apt --fix-broken install -y
- curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall
- chmod +x msfinstall
- ./msfinstall
- apt --fix-broken install -y
- echo ""
- echo "Cloning Staging Resources"
- echo ""
- cd /opt/
- mkdir Staging
- cd Staging/
- echo "Installing PwnDrop"
- git clone https://github.com/kgretzky/pwndrop.git
- cd pwndrop/
- go build
- cd /opt/Staging
- echo ""
- echo "Installing C2 Concealer"
- echo ""
- sleep 2
- git clone https://github.com/FortyNorthSecurity/C2concealer.git
- git clone https://github.com/rvrsh3ll/FindFrontableDomains.git
- git clone https://github.com/threatexpress/domainhunter.git
- git clone https://github.com/mgeeky/RedWarden.git
- git clone https://github.com/Flangvik/AzureC2Relay.git
- git clone https://github.com/FSecureLABS/C3.git
- git clone https://github.com/mdsecactivebreach/Chameleon.git
- git clone https://github.com/0xZDH/redirect.rules.git
- echo "Cloning Log Aggregation Resources"
- cd ../
- mkdir Log_Aggregation
- cd Log_Aggregation
- git clone https://github.com/outflanknl/RedELK.git
- git clone https://github.com/SecurityRiskAdvisors/RedTeamSIEM.git
- echo "Cloning Situational Awareness Resources"
- cd /home/pi/Repo/Situational_Awareness
- mkdir Host_Situtational_Awareness
- cd Host_Situational_Awareness
- git clone https://github.com/EncodeGroup/AggressiveProxy.git
- git clone https://github.com/EncodeGroup/Gopher.git
- git clone https://github.com/PwnDexter/SharpEDRChecker.git
- git clone https://github.com/trustedsec/CS-Situational-Awareness-BOF.git
- git clone https://github.com/GhostPack/Seatbelt.git
- git clone https://github.com/vivami/SauronEye.git
- git clone https://github.com/mitchmoser/SharpShares.git
- git clone https://github.com/Flangvik/SharpAppLocker/.git
- git clone https://github.com/rvrsh3ll/SharpPrinter.git
- cd ../
- mkdir Domain_Situational_Awareness
- cd Domain_Situational_Awareness
- git clone https://github.com/FuzzySecurity/StandIn.git
- git clone https://github.com/outflanknl/Recon-AD.git
- git clone https://github.com/BloodHoundAD/BloodHound.git
- git clone https://github.com/GhostPack/PSPKIAudit.git
- git clone https://github.com/tevora-threat/SharpView.git
- git clone https://github.com/GhostPack/Rubeus.git
- git clone https://github.com/l0ss/Grouper.git
- git clone https://github.com/improsec/ImproHound.git
- git clone https://github.com/adrecon/ADRecon.git
- git clone https://github.com/bats3c/ADCSPwn.git
- cd /home/pi/Repo/Credential_Dumping/
- git clone https://github.com/gentilkiwi/mimikatz.git
- git clone https://github.com/outflanknl/Dumpert.git
- git clone https://github.com/swisskyrepo/SharpLAPS.git
- git clone https://github.com/GhostPack/SharpDPAPI.git
- git clone https://github.com/GhostPack/KeeThief.git
- git clone https://github.com/GhostPack/SafetyKatz.git
- git clone https://github.com/Barbarisch/forkatz.git
- git clone https://github.com/RedCursorSecurityConsulting/PPLKiller.git
- git clone https://github.com/AlessandroZ/LaZagne.git
- git clone https://github.com/hoangprod/AndrewSpecial.git
- git clone https://github.com/outflanknl/Net-GPPPassword.git
- git clone https://github.com/djhohnstein/SharpChromium.git
- git clone https://github.com/rxwx/chlonium.git
- git clone https://github.com/chrismaddalena/SharpCloud.git
- git clone https://github.com/skelsec/pypykatz.git
- git clone https://github.com/helpsystems/nanodump.git
- echo "Cloning Privilege Escallation Resources"
- cd /home/pi/Repo/Privilege_Escallation
- git clone https://github.com/rsmudge/ElevateKit.git
- git clone https://github.com/rasta-mouse/Watson.git
- git clone https://github.com/GhostPack/SharpUp.git
- git clone https://github.com/hlldz/dazzleUP.git
- git clone https://github.com/carlospolop/PEASS-ng.git
- git clone https://github.com/CCob/SweetPotato.git
- git clone https://github.com/S3cur3Th1sSh1t/MultiPotato.git
- echo "Cloning Defense Evasion Resources"
- cd /home/pi/Repo/Defense_Evasion
- git clone https://github.com/hlldz/RefleXXion.git
- git clone https://github.com/wavestone-cdt/EDRSandblast.git
- git clone https://github.com/APTortellini/unDefender.git
- git clone https://github.com/Yaxser/Backstab.git
- git clone https://github.com/boku7/spawn.git
- git clone https://github.com/CCob/BOF.NET.git
- git clone https://github.com/Flangvik/NetLoader.git
- git clone https://github.com/outflanknl/FindObjects-BOF.git
- git clone https://github.com/GetRektBoy724/SharpUnhooker.git
- git clone https://github.com/bats3c/EvtMute.git
- git clone https://github.com/xforcered/InlineExecute-Assembly.git
- git clone https://github.com/hlldz/Phant0m.git
- git clone https://github.com/CCob/SharpBlock.git
- git clone https://github.com/Kharos102/NtdllUnpatcher.git
- git clone https://github.com/bats3c/DarkLoadLibrary.git
- git clone https://github.com/Soledge/BlockEtw.git
- git clone https://github.com/mdsecactivebreach/firewalker.git
- git clone https://github.com/Cerbersec/KillDefenderBOF.git
- echo "Cloning Social Engineering Resources"
- cd /home/pi/Social_Engineering
- git clone https://github.com/trustedsec/social-engineer-toolkit.git
- git clone https://github.com/bhdresh/SocialEngineeringPayloads.git
- echo "Cloning Phishing Resources"
- cd /home/pi/Phishing
- git clone https://github.com/ryhanson/phishery.git
- git clone https://github.com/kgretzky/evilginx2.git
- git clone https://github.com/fireeye/PwnAuth.git
- git clone https://github.com/drk1wi/Modlishka.git
- git clone https://github.com/securestate/king-phisher.git
- git clone https://github.com/Raikia/FiercePhish.git
- git clone https://github.com/fireeye/ReelPhish.git
- git clone https://github.com/gophish/gophish.git
- git clone https://github.com/ustayready/CredSniper.git
- git clone https://github.com/pentestgeek/phishing-frenzy.git
- git clone https://github.com/L4bF0x/PhishingPretexts.git
- echo "Cloning Persistence Resources"
- cd /home/pi/Repo/Persistence
- git clone https://github.com/0xthirteen/SharpStay.git
- git clone https://github.com/fireeye/SharPersist.git
- git clone https://github.com/outflanknl/SharpHide.git
- git clone https://github.com/Ben0xA/DoUCMe.git
- git clone https://github.com/nccgroup/ABPTTS.git
- git clone https://github.com/blackarrowsec/pivotnacci.git
- git clone https://github.com/sensepost/reGeorg.git
- git clone https://github.com/HarmJ0y/DAMP.git
- git clone https://github.com/0x09AL/IIS-Raid.git
- git clone https://github.com/antonioCoco/SharPyShell.git
- echo "Cloning Lateral Movement Resources"
- cd /home/pi/Repo/Lateral_Movement
- git clone https://github.com/RiccardoAncarani/LiquidSnake.git
- git clone https://github.com/NetSPI/PowerUpSQL.git
- git clone https://github.com/0xthirteen/SharpRDP.git
- git clone https://github.com/0xthirteen/MoveKit.git
- git clone https://github.com/juliourena/SharpNoPSExec.git
- git clone https://github.com/lgandx/Responder.git
- git clone https://github.com/dirkjanm/mitm6.git
- git clone https://github.com/SecureAuthCorp/impacket.git
- git clone https://github.com/mdsecactivebreach/Farmer.git
- git clone https://github.com/FortyNorthSecurity/CIMplant.git
- git clone https://github.com/Mr-Un1k0d3r/PowerLessShell.git
- git clone https://github.com/FSecureLABS/SharpGPOAbuse.git
- git clone https://github.com/ropnop/kerbrute.git
- git clone https://github.com/blackarrowsec/mssqlproxy.git
- git clone https://github.com/Kevin-Robertson/Invoke-TheHash.git
- git clone https://github.com/Kevin-Robertson/InveighZero.git
- git clone https://github.com/jnqpblc/SharpSpray/git
- git clone https://github.com/byt3bl33d3r/CrackMapExec.git
- git clone https://github.com/pkb1s/SharpAllowedToAct.git
- git clone https://github.com/bohops/SharpRDPHijack.git
- git clone https://github.com/klezVirus/CheeseTools.git
- git clone https://github.com/iomoath/SharpSpray.git
- git clone https://github.com/BloodHoundAD/SharpHound.git
- git clone https://github.com/PowerShellMafia/PowerSploit.git
- git clone https://github.com/NetSPI/PowerUpSQL.git
- git clone https://github.com/DanMcInerney/icebreaker.git
- git clone https://github.com/JavelinNetworks/HoneypotBuster.git
- echo "Cloning Exfiltration Resources"
- cd /home/pi/Repo/Exfiltration
- git clone https://github.com/Flangvik/SharpExfiltrate.git
- git clone https://github.com/Arno0x/DNSExfiltrator.git
- git clone https://github.com/FortyNorthSecurity/Egress-Assess.git
- echo "Cloning Cloud Resources"
- cd /home/pi/Repo/Cloud
- mkdir AWS
- git clone https://github.com/RhinoSecurityLabs/pacu.git
- git clone https://github.com/duo-labs/cloudmapper.git
- git clone https://github.com/andresriancho/enumerate-iam.git
- git clone https://github.com/jordanpotti/AWSBucketDump.git
- cd ../
- mkdir Azure
- cd Azure
- git clone https://github.com/fox-it/adconnectdump.git
- git clone https://github.com/Azure/Stormspotter.git
- git clone https://github.com/dirkjanm/ROADtools.git
- git clone https://github.com/NetSPI/MicroBurst.git
- git clone https://github.com/Gerenios/AADInternals.git
- echo "Cloning Hak5 Implant Resources"
- cd /home/pi/Repo/Hak5_Implants
- git clone https://github.com/hak5/omg-payloads.git
- git clone https://github.com/hak5/bashbunny-payloads.git
- git clone https://github.com/hak5/usbrubberducky-payloads.git
- git clone https://github.com/hak5/pineapple-community-packages.git
- git clone https://github.com/hak5/pineapple-modules.git
- git clone https://github.com/hak5/mk7-docs.git
- git clone https://github.com/hak5/keycroc-payloads.git
- git clone https://github.com/hak5/sharkjack-payloads.git
- git clone https://github.com/hak5/lanturtle-modules.git
- git clone https://github.com/hak5/hak5-docs.git
- git clone https://github.com/hak5/packetsquirrel-payloads.git
- git clone https://github.com/hak5/nano-tetra-modules.git
- git clone https://github.com/hak5/signalowl-payloads.git
- git clone https://github.com/hak5/plunderbug-scripts.git
- echo "Cloning Wireless Resources"
- cd /home/pi/Repo/Wireless
- git clone https://github.com/derv82/wifite2.git
- git clone https://github.com/wifiphisher/wifiphisher.git
- git clone https://github.com/sensepost/mana.git
- git clone https://github.com/joswr1ght/cowpatty.git
- git clone https://github.com/athanstan/EvilTwin_AP_CaptivePortal.git
|