Kindly run this script as " Local System User ". Run this script as Custom Monitoring for better output. |
This is a Custom Monitoring Script which will check if there is any changes happened in the localgroup administrators like any new user added or removed or replaced. if any changes happened, it will alert and send the informations about the changes happened in the localgroup administrators to the given mail
Run the script as custom monitoring
https://wiki.comodo.com/frontend/web/topic/how-to-use-custom-script-procedure-monitoring
NOTE:
Gmail:
use this link to generate application password https://security.google.com/settings/security/apppasswords
1) Turn on Two-step verification ( https://security.google.com/settings/security )
2) select other in "select app" section
3) give any app name
4) select generate and use the 16 digit code as application password instead of email password
Outlook:
use this link to generate application password https://account.microsoft.com/security
1) Select Advance security options
2) Turn on Two-step verification
3) After completing Two-step verification scroll down in Advance security options page for App password Section
4) Select create a app password and use the 16 digit code as application password instead of email password
this script has been scanned with virustotal.com and xcitium verdict cloud.
PYTHON SCRIPT FILE SHA1 VALUE - 3f43e3fbbe1e05862a79982ada16a23b6c3f9f2f
JSON FILE SHA1 VALUE - 68a20b30636009dfad4c7ed27477942ede9b7022
Comments