Get access to immediate incident response assistance.
Eliminate active threats with 24/7 threat detection, investigation, and response.
Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.
Advance your cybersecurity program and get expert guidance where you need it most.
Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.
Prevent unauthorized access and exceed compliance requirements.
Stop email threats others miss and secure your organization against the #1 ransomware attack vector.
Prepare for the inevitable with 24/7 global breach response in-region and available on-site.
Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.
You can use this command to check that you are seeing logins from the AD systems. The command does not show the complete output, but will help you see if you are getting any logins at all.
This will be done on the sensor or sensor/server.
# /usr/dist/sso/rpcclient -I $HOST -U $USERNAME%$PASSWORD -c "eventlog_poll -m STDOUT -i -q security" \\\\$HOST
Notes: Command text may wrap to a new line, but the command is a single entry. The \ characters before "$Host" must be escaped and a total of four \ is correct.
Notes:
If this command fails, ensure that the password is not using any special characters like # $ ! ^ @
To exit the program press CTRL+C You can use the Administrator account or a Domain Administrator to test whether the connection is working only. For security reasons DO NOT USE AN ACCOUNT WITH DOMAIN ADMINISTRATOR PRIVILEGES.
The result of the command should be similar to the following:
# /usr/dist/sso/rpcclient -I 10.6.1.230 -U administrator%N0tYourPa$$word -c "eventlog_poll -m STDOUT -i -q security" \\\\10.6.1.230 Login N: 2133128 T: 540 User: SUP-DC$ Host: (null) IP: 127.0.0.1 Login N: 2133131 T: 528 User: adavies Host: SUP-DC IP: 10.244.1.186 User: SUP-DC$ Host: (null) - is a Computer login User: adavies Host: SUP-DC - is a user login in to SUP-DC$
The following error results from an incorrect password:
# /usr/dist/sso/rpcclient -I 10.6.1.230 -U administrator -c "eventlog_poll -m STDOUT -i -q security" \\\\10.6.1.230 Password: failed session setup with NT_STATUS_LOGON_FAILURE Cannot connect to server. Error was NT_STATUS_LOGON_FAILURE
The following error results if the user does not have access to read the security logs (The password is correct).
# /usr/dist/sso/rpcclient -I 10.6.1.230 -U luser -c "eventlog_poll -m STDOUT -i -q security" \\\\10.6.1.230 Password: result was NT_STATUS_ACCESS_DENIED
To contact Trustwave about this article or to request support: