Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

Windows Gather Active Directory User Comments

Disclosed
N/A
Created
May 30, 2018

Description

This module will enumerate user accounts in the default Active Domain (AD) directory which
contain 'pass' in their description or comment (case-insensitive) by default. In some cases,
such users have their passwords specified in these fields.

Author

Ben Campbell [email protected]

Platform

Windows

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use post/windows/gather/enum_ad_user_comments
msf post(enum_ad_user_comments) > show actions
...actions...
msf post(enum_ad_user_comments) > set ACTION < action-name >
msf post(enum_ad_user_comments) > show options
...show and set options...
msf post(enum_ad_user_comments) > run

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.