DSInternals
BloodHound-Legacy

DSInternals | BloodHound-Legacy | |
---|---|---|
16 | 29 | |
1,681 | 10,036 | |
1.0% | 0.5% | |
6.5 | 0.0 | |
17 days ago | 5 days ago | |
C# | PowerShell | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
DSInternals
-
recovering corrupted ad database
Thirdly dsinternals suite can be used to resurrect domain controllers from the dead.. it works very well and is pretty easy - https://github.com/MichaelGrafnetter/DSInternals/blob/master/Documentation/PowerShell/New-ADDBRestoreFromMediaScript.md - the person who created this is nothing short of a wizard.
-
Windows AD and Google Workspace Password Audit
Greetings. I would like to get recommendations for tools that will allow me to audit the password strength of users in Windows Active Directory and Google Workspace. I came across this one for AD that I plan to try. https://github.com/MichaelGrafnetter/DSInternals/blob/master/Documentation/PowerShell/Test-PasswordQuality.md
- AD Migration Questions
-
Customer ransomwared, and in bad place. Active Directory the priority.
As you have no AD specific backup or recovery plan nor do you have an idea of when ransomware was copied into the environment I.e. how long was it sitting dormant? I’d suggest you take the backup you have then use this script from DSInternals - https://github.com/MichaelGrafnetter/DSInternals/blob/master/Documentation/PowerShell/New-ADDBRestoreFromMediaScript.md - to restore ONLY Active Directory (NTDS + SYSVOl) into clean media (needs to be the same major OS version).
-
Manipulating User Passwords with Mimikatz
Note**:** The same can be done using the DSInternals Set-SamAccountPasswordHash command.
-
Finding Weak Passwords in AD
To find out, you can use the DSInternals command Test-PasswordQuality. It will extract the password hashes for all your user accounts and compare them against the password hashes for a dictionary of weak passwords.
-
Backup Active Directory
Recovery is still an option with this module: https://github.com/MichaelGrafnetter/DSInternals/blob/master/Documentation/PowerShell/New-ADDBRestoreFromMediaScript.md
- Active Directory Password Hash Reversing?
-
Security Cadence: Passphrases
Load DSInternals Powershell Module (Install-Module DSInternals -Force OR https://github.com/MichaelGrafnetter/DSInternals
-
Auto Generate a String array I can then use in a "foreach" loop
FYI, there's a PS module you can use to check passwords. Here's a link to some info about that: https://github.com/MichaelGrafnetter/DSInternals/blob/master/Documentation/PowerShell/Get-ADReplAccount.md
BloodHound-Legacy
-
Defenders think in lists. Attackers think in graphs. So attackers win
Defenders also think in graphs. Matter of fact, good defenders think like attackers.
Case in point, to contradict the author of this post directly:
https://github.com/BloodHoundAD/BloodHound
BloodHound is primarily a defender tool, that uses graph theory to help defenders find attack paths. But attackers also use it to help them find the shortest path to owning an AD domain. BloodHound is used in by a lot of threat actors as part of those news stories where the entire company is ransomwared. But what you don't see is, in a lot of companies that don't get totally ransomwared, there is a chance defenders are also using BloodHound to find and fix attack paths.
-
Dealing with large BloodHound datasets
Tool Language Url Notes SharpHound .NET 4 executable https://github.com/BloodHoundAD/SharpHound/ Also possible to be executed in-memory using Cobalt Strike, check @william_knows’ blog post AzureHound PowerShell https://github.com/BloodHoundAD/AzureHound/ Specifically for Azure environments, outside of the scope of this article SharpHound.ps1 PowerShell https://github.com/BloodHoundAD/BloodHound/ Available from the Collectors folder. Using PowerShell reflectively loads the embedded SharpHound.exe .NET executable. It exposes the Invoke-BloodHound function which calls the main function of the SharpHound binary. SharpHound.py Python https://github.com/fox-it/BloodHound.py/ Python version of SharpHound ADExplorerSnapshot.py Python https://github.com/c3c/ADExplorerSnapshot.py/ Convert Sysinternals ADExplorer snapshots to BloodHound-compatible JSON files. BOFHound Python https://github.com/fortalice/bofhound/ Generate BloodHound compatible JSON from logs written by ldapsearch BOF and pyldapsearch.
- Problem enumerating/connecting using Bloodhound on my Kali VM
-
User that is not a member of Domain Admins Group anymore is able to add members to that group.
Run Sharphound and bloodhound Bloodhound. It is excellent in determining relationships and privilege escalation paths that would allow the access.
-
4 AD Attacks and How to Protect Against Them
BloodHound is a web application that identifies and visualizes attack paths in Active Directory environments. It identifies the fastest series of steps from any AD account or machine to a desired target, such as membership in the Domain Admins group. Regularly checking your AD using BloodHound can be an effective defense mechanism that helps you ensure that compromising an account or machine doesn’t enable an attacker to compromise your domain.
- Junior Pen Tester - CTF interview
-
What are some of the most frequently used (or favorite) tools in your toolbox?
Bloodhound - AD attack path management/enumeration
-
AD Enumeration room Bloodhound part is broken?
I solved it by grabbing a new version of Sharphound.ps1 on the attack box, you can find it here: https://github.com/BloodHoundAD/BloodHound/tree/master/Collectors.
-
BSides SLC: Community, Fun, And Security Best Practices In Salt Lake City
No live event would be complete without sessions. There were over 30 speakers who covered topics from starting a career in InfoSec, to in-depth sessions about using specific tools like BloodHound. Here are just a few high-level themes and highlights. All of these sessions, including mine, will be made available on the BSidesSLC YouTube channel soon.
-
Creating a jump host in 2023
If you're planning to use Active Directory and/or Azure AD, run ADRecon/AzureADRecon and Bloodhound frequently and review in depth. Run ScoutSuite frequently and review as part of a normal operational cycle (e.g., at weekly team meetings make the results available and set aside 15 minutes to discuss and make assignments). Look critically at where these three tools overlap within two or three degrees of separation from your jump hosts (e.g., hosts/nodes that are one or two devices away and users/security groups that are one or two devices away) for help prioritizing when you have too many high-risk/high-impact items to look through.
What are some alternatives?
weakpass - Weakpass collection of tools for bruteforce and hashcracking
pingcastle - PingCastle - Get Active Directory Security at 80% in 20% of the time
ADRecon - ADRecon is a tool which gathers information about the Active Directory and generates a report which can provide a holistic picture of the current state of the target AD environment.
Adalanche - Attack Graph Visualizer and Explorer (Active Directory) ...Who's *really* Domain Admin?
PowerSploit - PowerSploit - A PowerShell Post-Exploitation Framework
ad-password-protection - Active Directory password filter featuring breached password checking and custom complexity rules
adfsmfa - MFA for ADFS 2022/2019/2016/2012r2
RustScan - 🤖 The Modern Port Scanner 🤖
Minimalistic-offensive-security-tools - A repository of tools for pentesting of restricted and isolated environments.
CrackMapExec - A swiss army knife for pentesting networks
