Windows 2012 R2 Server
Purpose
This document describe the set up of authenticated scanning for Windows 2012 R2 Server targets using OUTSCAN or HIAB.
Introduction
This guide provides you with the technical procedure to succeed with authenticated scanning for Windows 2012 R2 Server targets when using OUTSCAN or HIAB.
Requirement
This document has been elaborated under the assumption the reader has access to the OUTSCAN/HIAB account and Portal Interface.
If another account than Domain Administrator is used, it needs to either be a Domain User Account or a local user part of the AdministratorGroup to succeed with the authentication. If a Domain User Account is used, it need to be a member of the Administrators group, this user will run with full administrator access enabled, therefore User Account Control (UAC) does not need to be disabled. If a Local User is used ensure that the local account is included in the Administrators Group.
In order for an authenticated scan on windows to succeed, the Windows Update service (wuauserv
) need to be enabled and running (it is by default). Without this service, the target cannot be queried for complete patch information which will cause reports to be incorrect.
The Authenticated Scanning Using SMB requires that .NET framework version 3.5 or higher is installed.
When performing authenticated scanning against windows hosts, the scanner creates and starts a service called O24 Auth on the target machine.
This service is used to execute commands on the target and send the results back to the scanner.
Do not remove the service during scanning, it will stop and remove itself after it is done.
Set Up
To succeed with authenticated scanning using SMB for Windows 2012 R2 Server targets, follow the steps given below:
Step 1 - Enable Remote Registry
To enable Remote Registry (Optional, can also be configured within the scanner)
- Go to Start and enter Run in the search field to open the Run Prompt.
- Open Services by enter services.msc in the Run Prompt and click OK.
- Under Services (Local), right click Remote Registry and select Properties.
- In Remote Registry Properties (Local Computer), change the Startup Type to Automatic and start the service.
Step 2 - File and Printer Sharing
To turn on File and Printer Sharing:
- Go to Start and enter Network and Sharing Center into the search field to open Network and Sharing Center.
- In Network and Sharing Center, go to Change advanced sharing settings, located on the left-hand side.
- In your current profile, Private/Guest or Public, select Turn on file and printer sharing.
- Click Save Changes.
Step 3 - Administrator Rights
- Go to Start and enter mmc in the search field to access Microsoft Management Console.
Select Local Users and Groups, located in the left pane of the Microsoft Management Console window.
If Local Users and Groups is not listed:
- Click the File menu
- Select Add/Remove Snap-in
- Select Local Users and Groups
- Click Add
- Select Local Computer
- Click Finish
- Click Ok
Enter the Groups folder and double click the Administrators group.
If the account is not listed under Members:
- Click Add
- Enter the name of the already created account that you wish to add
- Click Check Names
- Click Ok
- Click Ok
|
The following step are not recommended, if possible use the domain user account.
Make sure that the Windows User Account Control (UAC) is disabled.
- Go to Start and enter Run in the search field to open the Run Prompt.
- In the Run Prompt, enter regedit and click OK to open the Registry Editor.
- Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system.
- Right click the System Folder.
- Select New >> DWORD (32-bit) Value and name the DWORD LocalAccountTokenFilterPolicy.
- Right click the newly created DWORD and select Modify.
- In the Edit Window set Value Data to 1.
- If User Account Control is disabled, EnableLUA must be set to 0 in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System.
Step 4 - Inbound File and Printer Sharing Exception
To allow Inbound File and Printer Sharing Exception
- Go to Start and enter Run in the search field to open the Run Prompt.
- To open the Group Policy Object Editor, enter gpedit.msc in the Run Promptand click OK.
- Navigate to Local Computer Policy > Computer Configuration > Administrative Templates > Network > Network Connections > Windows Firewall > Standard Profile.
- Under Standard Profile, right click Windows Firewall: Allow inbound file and printer sharing exception and select Edit.
- Select Enabled.
- Click Ok.
Step 5 - Remote Registry Service
To resolve the Memory Leak in the Remote Registry Service:
- Go to Start and enter Run in the search field to open the Run Prompt.
- In the Run Prompt enter regedit and click Ok to open the Registry Editor.
- Locate the following registry sub key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\RemoteRegistry - In the details pane, on the right-hand side, double-click DisableIdleStop.
- Change the value to 00000001.
Related Articles
Copyright
© 2024 Outpost24® All rights reserved. This document may only be redistributed unedited and unaltered. This document may be cited and referenced only if clearly crediting Outpost24® and this document as the source. Any other reproduction and redistribution in print or electronically is strictly prohibited without explicit permission.
Trademark
Outpost24® and OUTSCAN™ are trademarks of Outpost24® and its affiliated companies. All other brand names, product names or trademarks belong to their respective owners.