ryan (@notasockpuppet1) header
ryan (@notasockpuppet1) profile picture

just a guy that grew up interneting lots. loves: @ac1dgoddess, good people, socially responsible politics. also, fuck.

austin
Joined June 2019
Photo by ryan (@notasockpuppet1)Photo by ryan (@notasockpuppet1)Photo by ryan (@notasockpuppet1)Photo by ryan (@notasockpuppet1)Photo by ryan (@notasockpuppet1)Photo by ryan (@notasockpuppet1)Photo by ryan (@notasockpuppet1)Photo by ryan (@notasockpuppet1)Photo by ryan (@notasockpuppet1)Photo by ryan (@notasockpuppet1)
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… 👈
2
31
118
7,687
name that dive bar
2
115
name that dive?!
146
name that dive bar
2
260
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
5
33
1
213
15,445
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…
5
50
1
228
30,402
🎯 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
6
84
2
288
16,693
🚨 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…
1
69
263
23,453
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…
5
23
1
158
14,186
just watch idiocracy the movie that’s all
13,619
8,127
2,221
133,246
56,376,248
Friendly reminder that you can go to any GitHub repo, press the . key, and the entire repo will open in the browser using @code
47
217
44
2,290
209,513
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
4
11
108
6,684
🚨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.
4
28
7
72
11,529
it would seem we’re poised to lose the cold war after all.
1
157
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." } }
1
19
62
8,829