A Tale of Two SOCs: Insights From Two Red Team Assessments (2026-08-25)
CISA conducted simultaneous red team assessments at two critical infrastructure organizations using similar tradecraft. The red team achieved full domain compromise at both organizations by exploiting ADCS misconfigurations, excessive Machine Account Quota settings, cleartext credentials, and overly permissive Entra ID application permissions. Organization A failed to detect the activity due to untuned EDR alerts and organizational silos, while Organization B rapidly triaged and isolated compromised systems. Both organizations lacked Conditional Access policies for workload identities and mature processes for revoking compromised cloud tokens.
- filenameconnections.jsonSQL Developer tool configuration file containing encrypted database credentials, found on targeted user workstations at Organization A.
- filenameproduct-preferences.xmlSQL Developer tool configuration file containing encrypted database credentials, found on targeted user workstations at Organization A.
Detection / Hunteropenrouter
What Happened
CISA tested the security defenses of two organizations by running simulated cyberattacks against them. In both cases, the testing team was able to gain deep access to the organizations' computer networks and cloud systems. One organization (Organization A) failed to notice the attack because their security alerts were too noisy and their security teams did not communicate well with each other. The other organization (Organization B) quickly spotted the attack, isolated the affected computers, and blocked the attackers. Both organizations had weak security settings in their Microsoft cloud environments that let the testers read everyone's emails. Organizations should tune their security alerts, break down communication barriers between teams, and tighten cloud security settings to prevent real attackers from doing the same thing.
Key Takeaways
- CISA conducted simultaneous red team assessments at two organizations; both achieved full domain compromise but Organization B detected and contained initial access while Organization A did not.
- Untuned EDR alerts and organizational silos at Organization A allowed the red team to operate undetected, access SOC emails, and capture screenshots and keylogs from SOC workstations.
- Both organizations had excessive Microsoft Entra ID application permissions and lacked Conditional Access policies for workload identities, enabling the red team to read all user emails via compromised application tokens.
- ADCS ESC1 misconfiguration and default Machine Account Quota values were exploited for privilege escalation and lateral movement in both organizations.
- Organization B demonstrated mature detection by triaging medium-severity EDR alerts within minutes, isolating affected hosts, and blocking suspicious cloud logins triggered by automated Microsoft alerts.
Affected Systems
- Microsoft Active Directory Domain Services
- Microsoft Active Directory Certificate Services (ADCS)
- Microsoft Entra ID (formerly Azure AD)
- Microsoft System Center Configuration Manager (SCCM)
- Amazon Web Services (AWS) IAM
- Windows workstations and servers
- Operational Technology (OT) networks and bastion hosts
- Microsoft 365 services (Outlook, Teams, OneDrive)
Vulnerabilities (CVEs)
None identified.
Attack Chain
- Initial Access: Red team sent phishing emails from an internal email account (Org A) or external spearphishing emails (Org B) to gain workstation access
- Discovery: Modified BloodHound collector used to enumerate Active Directory users, computers, groups, ACLs, GPOs, and ADCS certificate templates
- Privilege Escalation: Exploited misconfigured MAQ to create machine accounts, then abused ADCS ESC1 templates (Org A) or found cleartext service account credentials with AllExtendedRights over a DC (Org B) to achieve DCSync
- Lateral Movement: Used DCSync credentials, Kerberos tickets, and proxied tooling through compromised workstations to access SBSs, SCCM servers, and DFS root drives
- Cloud Compromise: Abused Entra ID application permissions by stealing PRTs (Org A) or exploiting Seamless SSO and disabled AD-synced accounts (Org B) to add client secrets and read all user emails
- Collection: Accessed SOC staff emails, captured screenshots, deployed keyloggers, and retrieved Microsoft Teams messages from SOC workstations (Org A)
Detection Availability
- YARA Rules: No
- Sigma Rules: No
- Snort/Suricata Rules: No
- KQL Queries: No
- Splunk SPL Queries: No
- EQL Queries: No
- Other Detection Logic: No
The advisory does not provide detection rules. It describes defensive measures and responses observed during the red team assessments, including EDR alerts for unexpected DLL loading and Microsoft Entra ID automated alerts for suspicious sign-ins and API traffic.
Detection Engineering Assessment
| Dimension | Rating | Rationale |
|---|---|---|
| EDR Visibility | Medium | Organization B's EDR generated medium-severity alerts for unexpected DLL loading that enabled rapid triage. Organization A's EDR also generated alerts but they were lost among thousands of false positives. EDR did not detect modified BloodHound collectors designed to evade static signatures, and host-based EDR was circumvented by proxying tooling through compromised hosts from a Linux workstation. |
| Network Visibility | Low | The advisory does not describe network-based detection playing a significant role. Organization B's egress controls blocked outbound connections from the OT bastion host, but lateral movement via SOCKS proxies and Kerberos ticket abuse would not typically generate network alerts. Cloud sign-in logs from Microsoft provided detection value for Entra ID compromise. |
| Detection Difficulty | Hard | The red team used legitimate tools and techniques that blend with normal administrative activity. Modified BloodHound collectors evaded static EDR signatures. Kerberos ticket abuse and Entra ID application token compromise are difficult to distinguish from legitimate usage without behavioral baselines. Detection requires well-tuned alerts, behavioral analytics, and mature cloud monitoring that both organizations lacked. |
Required Log Sources
- EDR process execution and DLL loading alerts
- Microsoft Entra ID sign-in logs and risk detections
- Microsoft Graph API audit logs
- Active Directory object creation logs (Event ID 4741)
- ADCS certificate request logs
- SCCM administrative action logs
- DNS resolution logs for C2 infrastructure
- OT network segmentation firewall logs
Hunting Hypotheses
| Hypothesis | Telemetry | ATT&CK Stage | FP Risk |
|---|---|---|---|
| Consider hunting for machine account creation by non-administrative users, which may indicate exploitation of a misconfigured Machine Account Quota setting. | Active Directory object creation events (Event ID 4741) correlated with the creating user's group membership and privilege level. | Persistence / Privilege Escalation | Medium — legitimate IT staff may create machine accounts during domain joins; filter on non-administrative creators. |
| Consider hunting for ADCS certificate requests where the enrollee supplies a subject name different from their own account, which may indicate ESC1 template abuse. | ADCS certificate request logs (Event ID 4886, 4887) with subject name mismatched to requesting account. | Credential Access | Low — legitimate certificate requests typically match the requesting account's identity. |
| Consider hunting for DCSync replication requests originating from non-domain-controller hosts, which may indicate credential dumping activity. | Windows Security Event ID 4662 on domain controllers with replication access mask and source host not a DC. | Credential Access | Low — only domain controllers and specific sync accounts should perform directory replication. |
| Consider hunting for Entra ID application client secrets being added to existing applications, especially applications with elevated Graph API permissions such as Mail.ReadWrite or Application.ReadWrite.All. | Microsoft Entra ID audit logs for application credential addition events, correlated with application permission inventory. | Lateral Movement / Cloud Compromise | Medium — legitimate application administrators may add secrets during key rotation; correlate with change management records. |
| Consider hunting for Kerberos service ticket requests for Azure AD Seamless SSO computer accounts (containing AZURESSO in the name) originating from unexpected hosts or user contexts. | Kerberos ticket request events (Event ID 4769) for AZURESSO SPN, correlated with source host and user context. | Lateral Movement / Cloud Compromise | Medium — legitimate SSO authentication generates these requests; baseline typical source hosts and user accounts. |
Control Gaps
- Untuned EDR alerts generating excessive false positives that obscure genuine threats
- Lack of Conditional Access policies for workload identities in Entra ID
- Absence of processes for revoking compromised access and refresh tokens in cloud environments
- ADCS templates with ESC1 misconfiguration allowing low-privileged users to request certificates on behalf of any user
- Default or excessive Machine Account Quota settings allowing non-administrative users to create domain machine accounts
- Service accounts with AllExtendedRights over domain controllers enabling DCSync attacks
- Cleartext credentials stored on workstations, network shares, and configuration files
- SCCM servers lacking additional security controls despite being Tier 0 assets
- Disabled AD-synced accounts with excessive Entra ID application permissions that can be re-enabled by domain compromise
- MSOL synchronization accounts without MFA enabled and capable of interactive Azure portal login
Key Behavioral Indicators
- Medium-severity EDR alert for executable loading unexpected DLL files (observed by Organization B)
- Microsoft Entra ID automated alert for unfamiliar sign-in properties on synchronization accounts
- Microsoft Entra ID alert for suspicious API traffic matching AzureHound user agent
- Accounts exceeding predefined request thresholds to Microsoft Graph API
- Machine account creation events from non-administrative user contexts
- ADCS certificate requests with CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT enabled
- New client secrets added to existing Entra ID applications with elevated Graph permissions
- Kerberos service ticket requests for AZURESSO computer accounts from non-standard hosts
False Positive Assessment
Medium — The techniques described rely heavily on legitimate administrative tools and protocols (Kerberos, LDAP, SCCM, Entra ID API). DCSync replication, machine account creation, and application secret rotation can all occur during normal operations. Effective detection requires behavioral baselines and correlation across multiple data sources to distinguish malicious use from legitimate administrative activity.
Recommendations
Immediate Mitigation
- Verify against your organization's incident response runbook and team escalation paths before acting. Consider reviewing EDR alert queues for medium and low severity alerts that may have been deprioritized, as these were the alert types that enabled Organization B to detect initial compromise.
- Consider auditing all Entra ID applications for excessive Graph API permissions such as Mail.ReadWrite, Application.ReadWrite.All, and AppRoleAssignment.ReadWrite.All, and remove any that are not strictly necessary.
- If your organization uses ADCS, consider auditing certificate templates for the CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT flag and restricting enrollment to only necessary accounts.
- Consider checking the Machine Account Quota setting in your Active Directory environment and setting it to zero unless there is a documented business need for non-administrative users to create computer accounts.
- If applicable to your environment, consider reviewing whether MSOL or Azure AD Connect synchronization accounts have MFA enabled and whether interactive logins are restricted.
Infrastructure Hardening
- Consider implementing Conditional Access policies for workload identities in Microsoft Entra ID to extend access controls to service principals and applications.
- Evaluate whether your organization has established procedures for detecting, remediating, and revoking compromised access and refresh tokens in cloud environments.
- Consider treating SCCM and other endpoint configuration managers as high-value assets with additional monitoring and network segmentation.
- If your organization operates OT networks, consider reviewing IT/OT segmentation controls and ensuring bastion hosts block outbound internet connections and require MFA.
- Consider replacing long-lived AWS IAM user credentials with temporary credentials via SSO and IAM role assumption, and audit for any remaining static access keys.
- Evaluate whether your organization has processes to regularly audit Active Directory permissions for misconfigurations and excessively privileged service accounts.
User Protection
- Consider scanning network shares and workstations for plaintext credentials and enforcing policies prohibiting plaintext password storage.
- If your organization uses virtual desktops synchronized with DFS root drives, consider evaluating whether credential files on those virtual desktops are accessible to users without active sessions.
- Consider implementing phishing-resistant MFA for all user, administrative, and privileged accounts in cloud platforms.
- Consider using designated administrative workstations separate from standard user workstations to reduce the impact of credential theft from user endpoints.
- If supported by your tooling, consider implementing just-in-time access for privileged accounts to replace standing administrative rights with temporary, time-bound privilege elevations.
Security Awareness
- Consider incorporating training on secure password storage practices and the risks of storing credentials in plaintext configuration files.
- If your organization has multiple SOC teams or security tool deployments, consider conducting joint exercises to break down communication silos and improve cross-team coordination.
- Consider developing and communicating policies that clarify defender authorities for taking containment actions such as isolating systems without excessive approval requirements.
- Consider conducting simulated incident response exercises to validate that escalation procedures are understood and that defenders know their authorities during incidents.
MITRE ATT&CK Mapping
Reconnaissance
Resource Development
Initial Access
Execution
Persistence
Credential Access
Discovery
Lateral Movement
Command and Control
Additional IOCs
- File Paths:
connections.json- SQL Developer tool configuration file containing encrypted database credentials, found on targeted user workstations at Organization A.product-preferences.xml- SQL Developer tool configuration file containing encrypted database credentials, found on targeted user workstations at Organization A.