LDAP

LDAP_ChangePWD

Details

Author

EMCA Software Sp. z o.o.

Version

1.0

License

AGPL-V3

Requires Registration

No

Requires Subscription

No

Free Subscription Available

No

DataType Supported

thehive:case_artifact:mail, thehive:case_artifact:other

Description

Reset User Password (New pass have to be configured in responder configs, as hive doen’t support passing data on reponder invokation).

Configuration

Name

Description

AD_Address

Example –> ldaps://ldaphost.example.com

AD_port

ldaps port. Example –> 636

username

Username of account that will query Active Directory server

password

Password of account that will query Active Directory server

base_DN

The base DN to use. Example –> dc=myorg,dc=com

NewPassword

The new Password to be changed to

VerifySSL

set to false to bypass SSL verification

LDAP_UnblockUser

Details

Author

EMCA Software Sp. z o.o.

Version

1.0

License

AGPL-V3

Requires Registration

No

Requires Subscription

No

Free Subscription Available

No

DataType Supported

thehive:case_artifact:mail, thehive:case_artifact:other

Description

Unblock Normal Active Directory User

Configuration

Name

Description

AD_Address

Example –> ldaps://ldaphost.example.com

AD_port

ldap port. Example –> 389 or 636

username

Username of account that will query Active Directory server

password

Password of account that will query Active Directory server

base_DN

The base DN to use. Example –> dc=myorg,dc=com

VerifySSL

set to false to bypass SSL verification

LDAP_BlockUser

Details

Author

EMCA Software Sp. z o.o.

Version

1.0

License

AGPL-V3

Requires Registration

No

Requires Subscription

No

Free Subscription Available

No

DataType Supported

thehive:case_artifact:mail, thehive:case_artifact:other

Description

Block Normal Active Directory User

Configuration

Name

Description

AD_Address

Example –> ldaps://ldaphost.example.com

AD_port

ldap port. Example –> 389 or 636

username

Username of account that will query Active Directory server

password

Password of account that will query Active Directory server

base_DN

The base DN to use. Example –> dc=myorg,dc=com

VerifySSL

set to false to bypass SSL verification

Additional details from the README file:

This module provides responders for TheHive Cortex to interface with LDAP services, enabling automated actions such as changing user passwords, locking and unlocking user accounts.

Responders Included:

  1. LDAP_ChangePWD: This responder enables the automated reset or change of a user’s password on an LDAP server. Note: This function requires the use of LDAPS (LDAP over SSL) for secure transmission of the new password.

  2. LDAP_BlockUser: This responder allows for the locking of a user’s account in an LDAP directory.

  3. LDAP_UnblockUser: Similar to the block function, but this responder unlocks a user account in an LDAP directory.

Important Note:

For security and safety:

  • Ensure that the credentials provided have the minimal necessary permissions.

  • Regularly rotate the provided credentials.

  • Always use LDAPS when transmitting sensitive information like passwords.