Nightfall Windows Agent Deployment: Generic MSI Deployment
Learn how to install the Nightfall agent on Microsoft Windows OS using the Rippling MSI payload.
Prerequisites
You have a method to execute arbitrary commands remotely as
Administrator
on all installation targets.On your Nightfall console, navigate to https://app.nightfall.ai/endpoint and click the Download Package button on the top right corner of the page. Click Download Package for Windows. A
.msi
extension file is downloaded.You have noted the
API key
andCompany ID
values from the command present just before the Download Package for Windows button.You have hosted the downloaded
.msi
extension file on an HTTPS server which is reachable by all installation targets.
Installation
Execute the following Powershell script on all target machines replacing
$ApiKey
and$CompanyId
with the values obtained in the third prerequisite step:
# Define installation parameters
$ApiKey = ""
$CompanyId = ""
$InstallerUrl = "https://cdn.nightfall.ai/downloads/agent/windows/NightfallAgent-0.0.1.msi"
$InstallerPath = "$env:TEMP\NightfallAgent.msi"
# Download the MSI installer
Invoke-WebRequest -Uri $InstallerUrl -OutFile $InstallerPath
# Execute the installer with msiexec
msiexec /i "$InstallerPath" API_KEY="$ApiKey" COMPANY_ID="$CompanyId" /qn
Last updated
Was this helpful?