
just a guy that grew up interneting lots. loves: @ac1dgoddess, good people, socially responsible politics. also, fuck.
austin
Joined June 2019
- Tweets6.1K
- Following1.2K
- Followers1.8K
- Likes38.9K
ryan retweeted
If you've ever struggled with getting the right settings and auditing for Microsoft Defender for Identity (MDI), you'll be pleased to know that @ThomasVrhydn wrote a nice graphical PowerShell wrapper called MDI Configurator. 🧑💻🥳 Check it out at github.com/v3rtho/MDI-config… 👈
ryan retweeted
In case this is helpful for anyone doing risk-based Conditional Access policies, I uploaded templates for my 5 recommended starting policies (no IRM risk for now)
github.com/nathanmcnulty/nat…
I'm sure similar already exist on other's repos / websites, but I do things the hard way :P
ryan retweeted
Replying to @kaidja
A tool from Microsoft. You cans do inventory of your azure resources …and create diagram of your MG/subs etc.
github.com/microsoft/ARI
ryan retweeted
If you are a Defender for Identity customer, please don't forget to install the agent to AD FS, Entra Connect and AD CS on top of your domain controllers. The coverage for Active Directory Certificate Services is especially valuable as it covers not only suspicious activities but will report on existing configuration issues.
In many AD environments a misconfigured certificate template can allow any domain user to enroll and authenticate with a certificate for a domain admin account - allowing complete domain dominance for an attacker in minutes. Weak certificate template ACL's are common too, allowing any user to manipulate them to achieve AD compromise.
Additional sensor deployments - learn.microsoft.com/en-us/de…
Example misconfiguration that will be detected - learn.microsoft.com/en-us/de…
ryan retweeted
🎯 Introducing AD-ThreatHunting: ⚡ Supercharge Your AD Threat Hunting!
🛡️ Just Released: A comprehensive Active Directory PowerShell threat hunting tool that makes detecting suspicious activities easier than ever!
✨ Key Features:
• Real-time attack detection
• Advanced timing analysis
• Pattern recognition
• Multi-format reporting (CSV/JSON/HTML)
• Built-in attack simulation
🔍 Detects:
• Password spray attacks
• Brute force attempts
• Account lockouts
• Off-hours activity
• Geographically impossible logins
• Service account misuse
• Admin account abuse
⚡ Smart Analysis:
• Time-based attack correlation
• Activity pattern matching
• User behavior analysis
• Configurable business hours
• Customizable thresholds
🧪 Includes Test Framework:
• Simulate various attack scenarios
• Validate detection capabilities
• Test environment readiness
• Verify audit policies
🚀 Get started: github.com/MHaggis/PowerShel…
Made with ❤️ by defenders for defenders
Hunt smarter, hunt harder
#ActiveDirectory #InfoSec #BlueTeam #ThreatHunting #CyberSecurity
ryan retweeted
🚨 If you haven’t tested your Microsoft 365 environment like an APT, the time is now! Introducing msInvader, an adversary simulation tool designed to emulate attack techniques within M365 and Azure environments.
🔑 Key Features:
•Versatile Authentication Simulation: 🔄 Supports multiple OAuth flows to mimic various attack scenarios, including compromised user credentials and service principals.
•Comprehensive Exchange Online Interaction: 📧 Engages with Exchange Online through Graph API, Exchange Web Services (EWS), and the REST API used by the Exchange Online PowerShell module.
•Diverse Technique Simulation: 🎯 Capable of simulating techniques such as reading emails, searching mailboxes, creating rules, and more, providing a thorough assessment of your security posture.
Enhance your detection capabilities by simulating real-world attacks with msInvader. 🛡️
Check it out here:
github.com/mvelazc0/msInvade…
ryan retweeted
My automated configuration of Defender for Identity is close to done :)
We will be able to run a script, have it configure everything, get the access key, and download the MDI installer for us!
Let me know if there's anything specific you want built ;)
github.com/nathanmcnulty/nat…
ryan retweeted
Friendly reminder that you can go to any GitHub repo, press the . key, and the entire repo will open in the browser using @code
ryan retweeted
I cannot say enough great things about maester.dev . I do want to caution people that if you are using a different primary IdP, the report will look a lot worse than your posture really is. Some food for thought
ryan retweeted
🚨ICYMI: Foreign adversaries, especially Russia, are continuing to conduct influence operations to undermine confidence in our elections & stoke divisions among Americans. We can’t allow our adversaries to have a vote in our democracy: go.dhs.gov/UPM.
ryan retweeted
Azure Automation code to use the Managed Identity to backup BitLocker keys to Azure Key Vault 😎
Here is the PowerShell if anyone wants it.
# Connect to Microsoft Graph API as the automation account managed identity
Connect-MgGraph -Identity -ClientId "User-Assigned-Managed-Identity-Client-ID"
# Ensures you do not inherit an AzContext in your runbook
Disable-AzContextAutosave -Scope Process
# Connect to Azure PowerShell as the automation account managed identity
Connect-AzAccount -Identity -AccountId "User-Assigned-Managed-Identity-Client-ID"
# Set Az Context
Set-AzContext -Subscription "Azure-Subscription-ID"
# Define the Azure Key Vault name
$vaultName = "Azure-Key-Vault-Name"
# Get the list of BitLocker recovery keys
$bitlockerKeys = Get-MgInformationProtectionBitlockerRecoveryKey -All
foreach ($key in $bitlockerKeys) {
# Define the key name
$keyName = "BitLocker-Key-ID-" + $key.Id
# Check if the key already exists in the Key Vault
$existingKey = Get-AzKeyVaultSecret -VaultName $vaultName -Name $keyName -ErrorAction SilentlyContinue
if ($existingKey) {
Write-Output "Key $keyName already exists in the Key Vault."
} else {
# Retrieve the BitLocker recovery key by specifying the key property
$recoveryKey = Get-MgInformationProtectionBitlockerRecoveryKey -BitlockerRecoveryKeyId $key.Id -Property "key"
# Add the BitLocker recovery key to the Key Vault
Set-AzKeyVaultSecret -VaultName $vaultName -Name $keyName -SecretValue (ConvertTo-SecureString $recoveryKey.Key -AsPlainText -Force)
Write-Output "Key $keyName has been added to the Key Vault."
}
}



















