Background If you haven't done so, please read the article teaser contains important background information. As always, we'll be using the Plan-Do-Check-Adjust methodology. In the labs,...
If you haven't done so, please read the article teaser contains important background information. As always, we'll be using the Plan-Do-Check-Adjust methodology. In the labs, the goal is to test the features to be able to produce an viability assessment of the feature.
Use these planning steps for your test environment. We'veve added enough information that can be recycled towards production deployments.
Obtain access and privilege reports in a timely fashion (for example, delivered daily, weekly, monthly or quarterly)
Minimize impact to Active Directory domain controllers
Automate delivery (e.g. email or shared folder)
Allow reports consumers to customize reports based on their needs
Active Directory Administrator: To request and set up the account used to replicate AD Group and Centrify zone data to SQL Server.
IT Infrastructure: You can set up different distribution methods like file or web server and email. The infrastructure SME will allocate shares, permission, SMTP relays or web servers.
Security or Audit Analysts: These are the consumers of this data. They provide input on report data/distribution, etc.
Database (SQL Server) Administrator (optional): To work to set up a database instance (most likely in production); if in a test lab, the Centrify bits include SQL Express.
Reports SME (optional): Depending on the size of your organization, you may have report developers that can customize the reports based on your security or audit needs.
Active Directory and Centrify
A licensed or evaluation copy of Centrify Suite 2016
An Active Directory test or production environment with Centrify hierarchical zone data (HZ Zones have RBAC)
A domain-joined Windows Server 2008 and up to install the Centrify Reports Service. Depending on your deployment model, this may be the same machine as SQL or if it's a production design adhere to your organizational best practices.
An Active Directory Service account (or two depending on your setup) An account needs the "Replicate changes" right in AD (to be able to read AD data and copy it to SQL) An account needs the "logon as a service" right in the system that runs the synchronization
A Windows administrator to assist or local admin rights to install programs in the test server.
Versions validated: 2008, 2008R2, 2012, 2014; Standard, Enterprise or Express (included with Centrify Suite 2016) Note: with SQL Express, you have limitations on scale and capabilities. E.g. can't do file/email subscriptions.
If you need to test custom reports, email delivery, scheduling, etc; you'll need a Standard or Enterprise version of SQL
If you want to test the Centrify-provided reports, you need to deploy SSRS
If you want to test with a custom tool (e.g. Tableau) you'll need that software.
Your design is going to be dictated by the capabilities that you with to test and your requirements. Examples:
If reports delivered via file-share or email are required and you'll use SSRS, then you need SQL server standard or enterprise.
If you have your own reporting tool, SSRS is not needed, all you need is connectivity between your tool and the SQL server database instance that was used to sync the AD data that contains the Centrify access control data.
Here are some suggested(*) deployment models:
Note that the common denominators are AD, Centrify Hierarchical zone data and the service account required to sync AD data to SQL server.
(*) Remember that this is a "labs" post and this is a new feature. Although I have input from beta testers, the true best practices come from our professional services organization.
How frequently should access and privilege data be synchronized between AD and SQL Server?
The answer to this question depends on the attestation requirement. Examples:
Some organizations do quarterly user access/privilege attestation exercises. Perhaps synchronizing every quarter is fine in this organizations.
Some organizations practice just-in time privileges (e.g. nobody has privileges or knows privilege account passwords) and they need reports daily to make sure there are nobody has any sticky privileges. Daily reports that get delivered to a security analyst are required in this case, so a daily sync is in order.
The key here is that attestation has a component of comparing the access/privilege data from one time period to another and you have to plan your synchronization based on that. Technically, after the first sync or a rebuild, only the delta changes are requested from AD, this ensures that these operations don't negatively impact your Domain Controllers. In a complex environment, your AD lead should understand that proximity to a Global Catalog will be an important design consideration.
Download Suite 2016 from the Customer Support Portal and unzip the bits in an accessible folder on the domain-joined server.
Set up the AD Service Account This step may be done for you by a Windows administrator.
Open Active Directory Users and Computers and navigate where you want the account to be created (OU or container)
Right-click the OU, New User and in the form type the First Name, Last Name and User logon name (e.g. centrify-reports) and press next
Set up a password for the account, depending on your practices, you may set the account's password to never expire, press next and then finish.
Delegate the Rights to Replicate Directory Changes from AD In my example, I'm delegating at the top level of the domain, depending on the location of your users/groups, this may change. This step may be done for you by a Windows administrator.
In Active Directory Users and Computers, right click the domain (e.g. corp.contoso.com) and select "Delegate Control" and press next on the first wizard page
Users or Groups: Press the add button and find the newly created account, then press OK and press next.
Tasks to Delegate: Select "Create a custom task to delegate" and press next
Active Directory Object Type: Keep the default radio button and press next
Permissions: In permissions, scroll down and check the "Replicating Directory Changes" permission and press next and finish.
Delegate the Rights for the Account to run as a Service In my example, I'm using AD Group Policy to grant my user the right to run as a service in that system. The system is in an OU called Servers. This step may be done for you by a Windows administrator.
Open the Group Policy Management tool and navigate to the OU that corresponds to the server, create or modify a GPO in and link it to that OU, right click it and select Edit (launches the group policy management editor). Alternatively, you would do this the Local Security Policy for the system.
Navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment and find the GPO named "Log on as a Service" and double-click it.
If not checked, check the "define these policy settings" and press the Add User or Group, click browse and make sure that the "From this location" has the AD domain selected otherwise click Locations and select it.
Type the name of the service account and press check names. Press OK three times.
Now you can close GPME and GPMC.
Installation of Report Services
You need administrative rights to install and configure this software. This may have been granted to you or you're assisted by a Windows administrator.
Using Windows Explorer, find the unzipped Centrify 2016 folder and navigate to DirectManage > Report Services and either the MSI or EXE file in that folder (it's the same)
EULA Page: Accept and press next
Destination Folder: Select the proper destination or leave as default and press next and press install.
In the final page, leave the Config Wizard box checked.
The Report Services installation package installs 3 key apps:
Report Services Control Panel, and
Report Services launcher.
Now you have two options for configuration, with SQL Express (included) or with SQL Standard or Enterprise
Configuration for SQL Express or Standard/Enterprise
Launch the centrify Report Services Configuration Wizard and press next in the welcome page. The next steps depend on your setup:
If using SQL Express: SQL Server Page: Select the "Install SQL Server Express instance on this computer" and use the default name (REPORTS) or change the name and press next. SQL Server Package: press next or specify an alternative set of bits (must know what you're doing), press next.
If using SQL Standard or Enterprise: In this step, you're either authorized at the SQL server level login (integrated or mixed) or assisted by your SQL DBA SQL Server Page: Select the "Use an existing instance" and browse to the instance to be used; press next and give it some time to connect.
Deploy Centrify Reports (optional): You can choose to deploy the Centrify attestation reports to the SQL Server Reporting Services website. This is only optional if you plan to use another reporting tool, press next. Note that you may need to run the Reporting Services Configuration Manager applet to determine these URLs.
Monitored Domains: Defaults to the local domain, add any additional (you must have had delegated the account permissions and the proper AD trust direction has to be in place), press next.
Sync Schedule: Select an appropriate frequency based on your reports needs, press next
Report Services: Select "use account" and browse for the AD service account set up. Type in the password and press next. At this point, the wizard will check if the account has the proper permissions in the monitored domains. If you did not get the correct delegations, this will fail.
Press close and then next. At this point the installer will perform an assisted installation of SQL Server Express.
Once completed, you'll get to the configuration completed page and the check box to do an initial sync will be selected. When you press finish, the service will do the initial sync. From that point on, all will be delta synchronizations.
The verification steps vary depending on the features you've deployed. However, a key step is to verify that AD roles and rights and principal data is being sent to SQL server in the interval that is set. For this you can use the Report Service Control Panel.
If you chose to deploy the SSRS reports, you should be able to use the Report Services shortcut and access the sharepoint-based report services. This grants access to subscriptions, report builder, etc (if you're not running Express).
Here are some verification videos:
There are may adjustments to be made to this configuration. Some may or may not be related to Centrify technologies:
Set up a file share subscription
Set up a SMTP distribution email
Use a custom tool for reporting
Programmatically retrieve reports data
The good news is that all the building blocks already are in place. Future entries can cover these topics.