Windows Hosts
Requirements
Tutela Agent for Windows OS
Before moving forward, make sure to retrieve your API key.
Login to Tutela
Go to Settings > Agent API Keys and Settings
Click on Add API Key
Windows Platform
Download and install the MSI package,
Once installed, you can immediately kick off your first scan by initiating the below command.
Initiate a Host Scan
"C:\Program Files (x86)\Tutela Windows Agent\winAgent.exe" --api_key INSERT_YOUR_API_KEY⚠️ Trial Users
"C:\Program Files (x86)\Tutela Windows Agent\winAgent.exe" --api_key INSERT_YOUR_API_KEY -api_endpoint "https://trial-backend.tutela.cybersift.io"Create Scheduled Task
Scan Scheduled from Tutela Dashboard
You can create an agent schedule directly from Tutela. Alternatively, feel free to schedule it manually using Task Scheduler as explained below
❗Please check this guide on Agent Schedules
Scheduling the agent to run periodically can be easily accomplished using a windows scheduled task setup manually (for an example see below) or setup via an appropriate Group Policy Object
❗Don’t forget to replace
KEYHEREwith your API key
SCHTASKS /CREATE /RU "NT AUTHORITY\SYSTEM" /RL HIGHEST /NP /SC WEEKLY /D SUN /TN "Tutela\weekly" /TR "'C:\Program Files (x86)\Tutela Windows Agent\winAgent.exe' --api_key KEYHERE" /ST 03:00"⚠️ Trial Users
SCHTASKS /CREATE /RU "NT AUTHORITY\SYSTEM" /RL HIGHEST /NP /SC WEEKLY /D SUN /TN "Tutela\weekly" /TR "'C:\Program Files (x86)\Tutela Windows Agent\winAgent.exe' --api_key KEYHERE -api_endpoint "https://trial-backend.tutela.cybersift.io"" /ST 03:00"To ensure that the scheduled tasks were correctly created:
Go to Task Scheduler
Look for the following two tasks:
CyberSiftTutelaAgent- This task gets the agent schedules from Tutela.CyberSiftTutelaAgentUpdate- This task updates the Tutela agent to the latest version.
Deploy via GPO
Should you wish to deploy the Tutela agent via Group Policy Objects (GPO), the below PowerShell provisioning script downloads the Tutela Agent, installs is, and sets up scheduled scans and updates:
# IMPORTANT, change this: define the API key
$apiKey = "KEYHERE"
# change to temporary directory
cd $env:TEMP
# Define URL where to download from
$url = "https://csinstallscripts.blob.core.windows.net/cs-vas/tutela.msi"
# Define the path where the MSI file will be saved
$msiPath = "C:\tutela.msi"
# Download the MSI file
Invoke-WebRequest -Uri $url -OutFile $msiPath
# Install the MSI file
Start-Process -FilePath "msiexec.exe" -ArgumentList "/i $msiPath /qn API_KEY=$apiKey INSTALL_SERVICE=no ENABLE_SCHED_TASK=yes" -Wait
# Output a confirmation message
Write-Host "Install completed successfully."⚠️ Trial Users
# IMPORTANT, change this: define the API key
$apiKey = "KEYHERE"
# change to temporary directory
cd $env:TEMP
# Define URL where to download from
$url = "https://csinstallscripts.blob.core.windows.net/cs-vas/tutela.msi"
# Define the path where the MSI file will be saved
$msiPath = "C:\tutela.msi"
# Download the MSI file
Invoke-WebRequest -Uri $url -OutFile $msiPath
# Install the MSI file
Start-Process -FilePath "msiexec.exe" -ArgumentList "/i $msiPath /qn API_KEY=$apiKey INSTALL_SERVICE=no ENABLE_SCHED_TASK=yes -api_endpoint `"https://trial-backend.tutela.cybersift.io`"" -Wait
# Output a confirmation message
Write-Host "Install completed successfully."
tags:
Host based scans
Windows hosts
Tutela agent