Prerequisites
Prior to deploying the Elastic Endpoint Security sensor, please ensure you have accounted for the following items:
Configure the necessary network connectivity
The Elastic Endpoint Security sensor communicates with an Elastic server using bidirectionally authenticated Transport Layer Security (TLS) via port 443. All communications are outbound, sensor-to-server.
You can find your Elastic server's sensor check-in address by clicking Endpoints > Deploy sensors > Windows > Endgame.
Please be sure that this address is authorized at network egress points and that traffic is not subject to manipulation or TLS interception.
Installing Elastic Endpoint Security using a deployment tool
Use this installation method if you want to automate silent installations on many devices, including installations via a deployment tool such as Windows System Center Configuration Manager (SCCM).
To automatically install the Elastic Endpoint Security sensor for Windows:
- Login to your Elastic Endpoint Security platform.
- Click Settings > Sensor > Download Profile to download the sensor installer/uninstaller profile.
- Make a note of the API key for the downloaded profile.
- Copy these two files to your preferred SCCM content folder:
SensorWindowsInstaller-<sensor profile name>.exe
SensorWindowsInstaller-<sensor profile name>.cfg - Load the System Center Configuration Manager.
- Select the Software Library.
- Open the Specify Settings for this application page and click Manually Specify the application information.
- Click Next.
- Enter a name for the application.
- Click Next twice, skipping the Application Catalog.
- On the Deployment Types screen, click Add.
- Click Manually specify the deployment type information.
- Click Next.
- Enter a name for the application.
- Click Next.
- On the Content page, enter the following information:
- Content Location: UNC path to the files from Step 2 above.
- Installation Program:
SensorWindowsInstaller-<sensor profile name>.exe -c SensorWindowsInstaller-<sensor profile name>.cfg -k <API_Key_from_UI> -l install.txt
- Uninstall Program:
SensorWindowsInstaller-<sensor profile name>.exe -c SensorWindowsInstaller-<sensor profile name>.cfg -u force -l uninstall.txt
Note: The -l option creates a log file of the install/uninstall, which is useful for troubleshooting. The -l option may be omitted if desired. The log files will be found in c:\Windows\ccmcache or c:\Program File\SMS_CCM on the endpoint.
- Click Next.
- Click Add Clause.
- Enter the method to detect if a sensor is already installed on the host:
- Setting Type: File System
- Path: C:\Program Files\Endgame
- File: esensor.exe
- "The file system setting must satisfy the following rule to indicate the presence of this application":
Property: Version
Operator: Equals
Value: 3.55.1 (update accordingly for the sensor version being used in your environment)
- Click OK.
- Click Next.
- On the User Experience page, make the following selections:
- Installation Behavior: Install for System
- Login Requirement: Whether or not a user is logged on
- Click Next through the next three screens (includes “Requirements and “Dependencies”).
- Review the settings on the Summary Page and close the deployment wizard.
- On the Application Wizard, click Next.
- Review the summary and click Next.
- Close when the Application Wizard completes successfully.
Use the Elastic Endpoint Security platform’s Endpoints > Sensors Active view to confirm sensors have been installed and are transmitting data.
Installing Elastic Endpoint Security manually
Use this installation method if you want to install the sensor manually on a single endpoint.
To manually install the Elastic Endpoint Security sensor for Windows:
- Login to your Elastic Endpoint Security platform.
- Click Settings > Sensor > Download Profile to download the sensor installer/uninstaller profile.
- Make a note of the API key for the downloaded profile.
- Unzip the SensorInstaller-xxxxxxx-xxxxxx.zip file.
- Using your preferred management tool, copy the SensorWindowsInstaller file to the endpoint(s).
Note: The name of the sensor profile is appended to the end of the installer filename. Be sure to include it in the command specified in the following step. - Run the following command to configure the executable to install the sensor on the endpoint:
SensorWindowsInstaller-<profile name>.exe -c SensorWindowsInstaller-<profile name>.cfg -k <API key> -l install.log
Use the Elastic Endpoint Security platform’s Endpoints > Sensors Active view to confirm the sensor has been installed and is transmitting data.
Uninstalling Elastic Endpoint Security
- Locate the previously saved SensorWindowsInstaller file from the sensor profile, or download it again.
- Using your preferred asset management tool, copy the file to the appropriate endpoint(s).
- Depending on the preferred uninstall mode, run one of the following commands to configure the executable to uninstall the sensor (note: commands are to be entered on one line; copying and pasting is not recommended):
Graceful uninstall:SensorWindowsInstaller-<profile name>.exe -c SensorWindowsInstaller-<profile name>.cfg -u true -d false -uninstall.log
Forceful uninstall:SensorWindowsInstaller-<profile name>.exe -c SensorWindowsInstaller-<profile name>.cfg -u force -d false -l uninstall.log
Note: The -c option uses the specified configuration, and the -u option initiates the true or force uninstall process. While optional, it is recommended to include the -d false option so the installer does not self-delete, and the -l option to create a log file.
Comments
0 comments
Please sign in to leave a comment.