Microsoft Active Directory
Copy link

Active Directory integration allows Rapid7 to provide indication and mitigation for leaked user account credentials.  In case the system locates a user account that was leaked, it validates it with Active Directory if the account is valid and sets the severity level in accordance.

⚠️

Only one Active Directory validation can be active, either Azure AD in the cloud or Microsoft AD.” “title”: “Active directory validation conflict

When a leaked account is found, the account name is searched across one or more domains, so even if the external domain (the one that was configured as an asset and that triggered the alert) is different than the internal domain, the system will still find the account.

For example:

The system finds two leaked credentials of company users:

  1. The system checks if users ‘bob’ and ‘john’ appear in the following domains
  • internal.company.com
  • company.com
  1. The system finds the account of bob@company.com.
  2. A high severity alert is created stating that ‘bob@company.com’ is an active account.

In addition to active account validation, the system can validate if the matching clear text password is valid or not.

Prerequisites
Copy link

  • Network connectivity over LDAP or LDAPS from the virtual appliance to the required domain controller/s.
  • Query Domain Controller (DC) over LDAP (389/TCP) or LDAPS (636/TCP).
  • List of one or more domains that hold the user directory.

The list of domains will be used as a baseline for searching active users.

  • List of corresponding Domain Controller/s IP address per domain.
  • A domain user and password
  • For account and password validation

Use a dedicated service account, with the minimal permissions necessary. There is no need for administrative privilege or specific group membership.

  • “Write account restrictions” to be allowed for this service account in the AD permissions

  • For remediation

Use a dedicated service account, with permissions to perform the required remediation actions.

  • “Write account restrictions” and “Reset password” should be allowed for this service account in the AD permissions.

Adding Domains and Domain controllers
Copy link

  1. Navigate to the Active Directory tab.
  2. Click Add new domain.
  3. Input required information:
    • Domain name
    • User account and password
    • One (or more) domain name or hostname
    • Set the port and mode for LDAP
    • Click Add
  4. Repeat the process for adding more domains.

Active Directory settings in the cloud platform
Copy link

  1. Navigate to Data Connectors > Integrations.
  2. Under Devices, select Microsoft Active Directory.

If needed, enable password policy validation and login attempt rate limit.

Active Directory in the policy
Copy link

  1. Create a new Data leakage type rule.
  2. Define the threat type conditions.
  3. In the internal remediation tab enable the validation and remediation actions.

Remediation option can be enabled only if ‘Leaked user account and password validation’ is enabled.