当前位置:   article > 正文

Install Microsoft Endpoint Configuration Manager

microsoft endpoint configuration manager

Overview

In my last article about Attack Surface Reduction, I didn’t care enough to go through all the documentation and went for a long detour to install Microsoft Endpoint Configuration Manager for Attack Surface Reduction configurations. It turned out that, all I need is Group Policy.

So, this article, I moved the part of installing Microsoft Endpoint Configuration Manager here as a stand-alone for later reference.

Install Microsoft Endpoint Configuration Manager

The process is dauting, if you would kindly be patient and follow along.

Test is performed on Windows Server 2019 VM machine in Active Directory environment with SQL server installed (required by Configuration Manager).

Download and install according to official document. For test purposes, we can ignore step 5 through 17, and make sure you have MSSQL Server standard or enterprise edition installed, others won’t work (though I found that DEV edition will work, follow along).

Some steps are explained next.

Pre-Installation

SQL Server Instance

In order to successfully install Configuration Manager, we have to have a SQL server instance running, and we have to add an database for the admin site (on how to install and configure SQL server, refer to my other article, section “安装 SQL Server 2019 Express”).

NOTE: Make sure to join a domain first, then install SQL Server as Administrator user, also refer to my other article, section “添加 Windows Server 到域”. And, the SQL Server used in that article is SQL Express, which is not supported by Configuration Manager. You should go to this official site, and download the Developer edition.


在这里插入图片描述

And other steps are just the same.

After installing SQL Server Developer Edition and SQL Server Management Studio. Open SQL Server Management Studio 18.

Click Connect.


在这里插入图片描述


Right click on Databases and select New Database….

在这里插入图片描述


Use CM_MEM (default Configuration Manager database name) as database name and click OK.


在这里插入图片描述


Then, right click on the instance and select New Query.

在这里插入图片描述

在这里插入图片描述


And run the following query.

USE master;

CREATE ENDPOINT BrokerEndpoint
    STATE = STARTED
    AS TCP ( LISTENER_PORT = 4022 )
    FOR SERVICE_BROKER ( AUTHENTICATION = WINDOWS ) ;
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

在这里插入图片描述

Check that the port is listening.

在这里插入图片描述

Then, open SQL Server Configuration Manager. Right click on SQL Server instance, select Properties. We are going to change the user who’s running SQL server as Configuration Manager won’t allow local service account to run SQL instance.


在这里插入图片描述

Click Built-in account and select Local System.

在这里插入图片描述


Click Apply and Yes.


在这里插入图片描述

Check services, make sure that SQL Server is running as Local System.

在这里插入图片描述

Install RDC Library

Go to Server Manager -> Add Roles and Features.

在这里插入图片描述

Next all the way till you reach Features, and check Remote Differential Compression.


在这里插入图片描述

Click Next and Install.


在这里插入图片描述

Wait for the process to finish.


在这里插入图片描述

在这里插入图片描述

Install Windows ADK

Click on this link to download Windows ADK for Windows Build 1809 (my Windows Server 2019 is of Build 1809 too, so compatible).

在这里插入图片描述

Double click to install.


在这里插入图片描述

在这里插入图片描述

Next All the way to finish installation.


SQL Server Instance Static TCP Port

Open SQL Server Configuration Manager. Under SQL Server Network Configuration -> Protocols for MSSQLSERVER, TCP/IP is Enabled.

在这里插入图片描述


Then, right click on TCP/IP, select Properties.

在这里插入图片描述


Under, IP Addresses tab, make sure all TCP Dynamic Ports are blank, and TCP Port are all configured to 1433.

在这里插入图片描述

Click Apply and restart SQL server instance.

Install WIndows-PE (Windows Pre-Installation Environment)

Go to this link to download Windows Preinstallation Environment. Double click to install.


在这里插入图片描述


在这里插入图片描述


Next all the way to install.


在这里插入图片描述

Install Microsoft Endpoint Configuration Manager

As all pre-requisites are done, we can proceed to installing Microsoft Endpoint Configuration Manager.

Go to Microsoft official site to download the latest Microsoft Endpoint Configuration Manager for ASR configuration.


在这里插入图片描述


Fill in your information.


在这里插入图片描述


在这里插入图片描述


Extract to whichever location you want.


在这里插入图片描述

Run the installer.

C:\MEM_Configmgr_2203\SMSSETUP\BIN\X64\Setup.exe
  • 1

If you encounter this .NET package error.


在这里插入图片描述


Issue the following command in Admin command prompt.

DISM /Online /Enable-Feature /FeatureName:NetFx3 /All
  • 1

Run the installer again.

C:\MEM_Configmgr_2203\SMSSETUP\BIN\X64\Setup.exe
  • 1

Use most of the default settings as the following.


在这里插入图片描述


在这里插入图片描述


在这里插入图片描述


在这里插入图片描述

Use Downloads folder for downloaded files.


在这里插入图片描述


Then Next to install. The whole process may take an hour or so.


在这里插入图片描述

Select server language.


在这里插入图片描述

Choose client language.


![在这里插入图片描述](https://img-blog.csdnimg.cn/26bdb0d618b64c538a36ef834eacf1fd.png)
Specify some names.

在这里插入图片描述


In this case, we are going to install the site as a stand-alone site.


![在这里插入图片描述](https://img-blog.csdnimg.cn/81cca5e9b67242808f247b4da2d10060.png)

Back to installation guide.

Put some more configurations there.


在这里插入图片描述


Hit Next to continue.


在这里插入图片描述

在这里插入图片描述


在这里插入图片描述


在这里插入图片描述


在这里插入图片描述

在这里插入图片描述


Let the installer run the check.

在这里插入图片描述


Warning is fine, Failed entries mean you have something missing, refer to pre-installation section if you saw one.

Click Begin Install to start the installation process.

在这里插入图片描述


在这里插入图片描述


After about 20 minutes, the installation finished.

在这里插入图片描述

Some warnings are proved to be OK.

Let’s open Microsoft Endpoint Configuration Manager and start exploring ASR.

Implementation of Attack Surface Reduction

Go to Assets and Compliance -> Exdpoint Protection -> Windows Defender Exploit Guard.


在这里插入图片描述


Right click anywhere on the blank space and select Create Exploit Guard Policy.

在这里插入图片描述


Give the rules whatever name you want, leave the options as default

在这里插入图片描述


Click Next and we can see what threats we want to block.

在这里插入图片描述


For test purposes, we are going to block Office applications from creating child processes, and block Office macros from calling Win32 APIs, which will limit the success of phishing attacks.

在这里插入图片描述


Plus, we are going to turn on lsass protection to prevent credential stealing.

在这里插入图片描述


Click Next.

Now, we have to create an exploit protection XML.

Open Windows Security Center, select App & browser control.

在这里插入图片描述


Then, select **Exploit protection settings**.

在这里插入图片描述


Choose **Export settings** at the bottom.

在这里插入图片描述


Save the file to a location.

在这里插入图片描述


Import the XML file.

在这里插入图片描述


Choose the XML file.

在这里插入图片描述


Then click **Next**.

在这里插入图片描述


**Next** all the way to complete the implementation.

在这里插入图片描述


Now, we have created our protection rules, but not deployed yet.

Right click on the entry, and select Deploy.

在这里插入图片描述

在这里插入图片描述


And you can always change the settings in the **Attack Surface Reduction** tab by right click and choose **Properties**.

在这里插入图片描述

Summary

This article provides step by step guide on how to install Microsoft Endpoint Configuration Manager and use it to setup Attack Surface Reduction Rules.

References

  • https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/attack-surface-reduction?view=o365-worldwide
  • https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/attack-surface-reduction?view=o365-worldwide
  • https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/enable-attack-surface-reduction?view=o365-worldwide
  • https://www.microsoft.com/en-us/evalcenter/evaluate-microsoft-endpoint-configuration-manager
  • https://learn.microsoft.com/en-us/windows/deployment/windows-10-poc-sc-config-mgr#install-microsoft-configuration-manager
  • https://support.solarwinds.com/SuccessCenter/s/article/Install-NET-3-5-on-Windows-Server-2019?language=en_US
  • https://learn.microsoft.com/en-us/mem/configmgr/protect/deploy-use/use-device-guard-with-configuration-manager
  • https://social.technet.microsoft.com/wiki/contents/articles/36617.sccm-2016-troubleshooting-resolve-sql-server-service-account-issue-during-setup.aspx
  • https://social.technet.microsoft.com/Forums/windows/en-US/faf7cab5-2e76-4d46-8ee6-e65a38b69116/i-am-installing-sccm-2016-but-getting-the-error-message?forum=systemcenterdeployment
  • https://learn.microsoft.com/en-us/windows-hardware/get-started/adk-install
  • https://answers.microsoft.com/en-us/windows/forum/all/microsoft-removed-windows-pe-folders-from-windows/db7a37a3-4dc1-4c66-8cbb-daf9525c6ae2

KEEP CALM AND HACK AWAY!

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/68796
推荐阅读
相关标签
  

闽ICP备14008679号