RSA IGL Recipes: Chart - AD User Account Control Summary

Document created by Jamie Pryer Employee on Dec 7, 2020Last modified by Jamie Pryer Employee on Dec 7, 2020
Version 3Show Document
  • View in full screen mode

RSA IGL Version: V 7.2.x

Modules: Governance

Product Area: Charts, Single Series (Applied to Active Directory Summary Dashboard)

Associated Dashboards:

Time to apply: ~20 minutes

 

Summary

This chart provides key information about the User Account Control (UAC) status for al AD accounts. 

The goal of this chart is to understand the risk of potential accounts within AD.

The chart can be used by Admin/AD Teams to be get better visibility into the risk of accounts, eg. those which are set to be "enabled, password not required"

This chart requires the key word: "addashboard" to be added within the description of the AD Account Collector. 
This key word can be added to more than one Account Collector if required.

Other useful links

 

Example Image (Click to enlarge)

 

Key Notes

  • This chart/report/dashboard is supplied "as is" - any modification of this item is done at your own risk. 
  • This chart requires a new Account Attribute to be created called "Status", this can have any "database ID" as the SQL looks for the field called "status"

  • This chart only works if you are collecting the value "userAccountControl" into the "Status" field, within your AD Account Collector. AS shown below.

  • If you have issues applying this chart/report/dashboard, please comment below for help, DO NOT contact the RSA Support team.
  • If you would like more assistance with this chart/report/dashboard or for help in creating other chart/report/dashboards, then RSA Professional Services (RSA PS) is available to help.
    • Please contact your RSA Account Manager or local RSA Sales Rep or reply below for further assistance.

 

Details

This chart includes a breakdown of all the different "User Account Control" values, for all AD accounts. 

The value are shown as a percentage, however if you move over the Pie chart, it will also show the exact value.

 

Chart SQL

First test this in your query tool (SQLDeveloper, Toad etc..)

(        
select
decode
        (pA.STATUS,
               'NORMAL_ACCOUNT','Enabled Accounts', --512
               'ACCOUNTDISABLE,NORMAL_ACCOUNT','Disabled Accounts', --514
               'PASSWD_NOTREQD,NORMAL_ACCOUNT','Enabled, Password Not Required', --544
               'ACCOUNTDISABLE,PASSWD_NOTREQD,aNORMAL_ACCOUNT','Disabled, Password Not Required', --546
               'NORMAL_ACCOUNT,DONT_EXPIRE_PASSWORD','Enabled, Password Doesnt Expire', --66048
               'ACCOUNTDISABLE,NORMAL_ACCOUNT,DONT_EXPIRE_PASSWORD','Disabled, Password Doesnt Expire', --66050
               'PASSWD_NOTREQD,NORMAL_ACCOUNT,DONT_EXPIRE_PASSWORD','Enabled, Password Doesnt Expire and Not Required', --66080
               'ACCOUNTDISABLE,PASSWD_NOTREQD,NORMAL_ACCOUNT,DONT_EXPIRE_PASSWORD','Disabled, Password Doesnt Expire and Not Required', --66082
               'NORMAL_ACCOUNT,SMARTCARD_REQUIRED','Enabled, Smartcard Required', --262656
               'ACCOUNTDISABLE,NORMAL_ACCOUNT,SMARTCARD_REQUIRED','Disabled, Smartcard Required', --262658
               'NORMAL_ACCOUNT,SMARTCARD_REQUIRED','Enabled, Smartcard Required, Password Not Required', --262688
               '262690','Disabled, Smartcard Required, Password Not Required', --262690
               '328192','Enabled, Smartcard Required, Password Doesnt Expire', --328192
               '328194','Disabled, Smartcard Required, Password Doesnt Expire', --328194
               '328224','Enabled, Smartcard Required, Password Doesnt Expire and Not Required', --328224
               '328226','Disabled, Smartcard Required, Password Doesnt Expire and Not Required', --328226
               'PASSWD_NOTREQD,INTERDOMAIN_TRUST_ACCOUNT','System Domain Account', --xxx
               'NORMAL_ACCOUNT,DONT_EXPIRE_PASSWORD,TRUSTED_FOR_DELEGATION','Service Account, Trusted for Delegation, Kerberos', --xxx
               'NORMAL_ACCOUNT,DONT_EXPIRE_PASSWORD,TRUSTED_TO_AUTH_FOR_DELEGATION','Service Account, Trusted Auth Delegation, Kerberos', --xxx
               'NORMAL_ACCOUNT,DONT_EXPIRE_PASSWORD,TRUSTED_FOR_DELEGATION,DONT_REQ_PREAUTH','Service Account, Trusted for Delegation, No Kerberos', --xxx
               'ACCOUNTDISABLE,NORMAL_ACCOUNT,DONT_EXPIRE_PASSWORD,TRUSTED_TO_AUTH_FOR_DELEGATION','Disabled, Service Account, Trusted Auth Delegation, Kerberos', --xxx
               'NORMAL_ACCOUNT,DONT_REQ_PREAUTH','Enabled, No Kerberos' --xxx
        ) AS "Account Status",
        Count(distinct pA.NAME) as "Total Count"
        from avuser.PV_ACCOUNT pA, avuser.V_DATA_COLLECTORS vDC
where pA.IS_DISABLED = 0
and pA.ADC_ID = vDC.ID
and LOWER(vDC.DESCRIPTION) LIKE '%addashboard%'
        group by pA.STATUS
)

 

Example of the results:

 

Chart Implementation

  1. Log into RSA IGL as a user who can create charts. In my example, im using AveksaAdmin
  2. Go to "Reports" / "Charts"
  3. Select "+ Create Chart" button
  4. Under the "General Tab" add the following details:
    • Name: AD - User Account Control Status
    • Description:

      From RSA IGL Link Community. This chart displays the percentage of orphan and non-orphan accounts against the primary Active Directory.

      Note: This chart requires the key word: "addashboard" to be added within the description of the Account Collector.

    • Type = Single Series Chart


  5. Under the "Query" Tab, copy the SQL from above.
  6. "Press the "Preview" button, you should see some results, as per the example image below.
    If you get an error at this stage, please test your SQL in a Query tool, like "SQL Developer" or "SQL Squirrel" to ensure it works first. 
    If it still doesn't work, please share your SQL and a screen shot of the issue below. DO NOT contact RSA Support 
  7. Under the "Columns" Tab, please use the configuration shown in the image below


  8. Under the "Display Attributes" tab, you should select "PIE 2D". Please also apply these settings, however you can update the wording with what is best for you.
    • Under "Title and Axis Names"
      • Caption: AD - User Account Control Status 
      • Sub Caption: Recommendation: Remove/Update Accounts without any Password


    • Under "Functional attributes"
      • Palette: 1
      • Select "Show percent values" = Ticked
      • Select "Animation" = Ticked


        There are MANY other "display attributes" you can play with on this screen, so please update and make changes as you see fit. 

  9. Save the new chart

Next Steps

  • Please "hit reply" and share your feedback - we would love to see an image of this working in your environment!
  • Check out the other content found on the RSA IGL Recipes page: RSA Identity Governance & Lifecycle Recipes 

     

    Thank you! 

 

Dont forget:

 

Please login, then "Like"  and "Actions/Follow" this page (Top Right), so as to receive updates and be notified if we modify/change items found here, in future.

 

 

Attachments

    Outcomes