Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2016-20056

CVE-2016-20056: Spy Emergency Privilege Escalation Flaw

CVE-2016-20056 is an unquoted service path privilege escalation vulnerability in Spy Emergency build 23.0.205. Attackers can exploit this flaw to execute code with LocalSystem privileges by placing malicious files.

Published: April 10, 2026

CVE-2016-20056 Overview

CVE-2016-20056 is an unquoted service path vulnerability affecting Spy Emergency build 23.0.205. The vulnerability exists in the SpyEmrgHealth and SpyEmrgSrv Windows services, which are installed with unquoted service paths containing spaces. This configuration flaw allows local attackers with limited privileges to escalate their privileges to LocalSystem by strategically placing malicious executable files in the service path.

Critical Impact

Local attackers can achieve privilege escalation to LocalSystem, gaining complete control over the affected system by exploiting the unquoted service path in Spy Emergency's Windows services.

Affected Products

  • Spy Emergency build 23.0.205
  • SpyEmrgHealth Service
  • SpyEmrgSrv Service

Discovery Timeline

  • 2026-04-04 - CVE-2016-20056 published to NVD
  • 2026-04-07 - Last updated in NVD database

Technical Details for CVE-2016-20056

Vulnerability Analysis

This vulnerability is classified under CWE-428 (Unquoted Search Path or Element). When Windows services are configured with paths containing spaces that are not enclosed in quotation marks, Windows attempts to locate the executable by parsing the path at each space character. An attacker can exploit this behavior by placing a malicious executable at one of these parsed path locations.

The affected services, SpyEmrgHealth and SpyEmrgSrv, run with LocalSystem privileges, which means any code executed through this vulnerability will inherit these elevated privileges. This represents a significant security risk as LocalSystem has extensive access to the Windows operating system, including the ability to access sensitive data, install software, and modify system configurations.

Root Cause

The root cause is improper service registration during Spy Emergency installation. The Windows service registry entries for SpyEmrgHealth and SpyEmrgSrv store the executable path without surrounding quotation marks. When the path contains spaces (such as C:\Program Files\Spy Emergency\...), Windows interprets this incorrectly during service startup, attempting to execute files at intermediate path locations.

Attack Vector

The attack requires local access to the system with the ability to write files to specific directories within the service path. The attacker creates a malicious executable named to match a parsed segment of the unquoted path (for example, Program.exe in C:\). When the service restarts—either through system reboot, manual intervention, or service crash recovery—Windows attempts to execute the attacker's file with LocalSystem privileges.

A typical exploitation scenario involves:

  1. Identifying the unquoted service path using sc qc SpyEmrgHealth or sc qc SpyEmrgSrv
  2. Verifying write permissions to a directory in the parsed path (e.g., C:\ or C:\Program Files\Spy\)
  3. Placing a malicious payload executable at the target location
  4. Waiting for or triggering a service restart to execute the payload with elevated privileges

Detection Methods for CVE-2016-20056

Indicators of Compromise

  • Unexpected executable files in root directories or intermediate paths such as C:\Program.exe, C:\Program Files\Spy.exe
  • Service startup failures or unusual service behavior for SpyEmrgHealth or SpyEmrgSrv
  • Unauthorized processes running with LocalSystem privileges that were spawned from non-standard locations

Detection Strategies

  • Audit Windows service configurations for unquoted paths using PowerShell: Get-WmiObject Win32_Service | Where-Object { $_.PathName -notlike '"*' -and $_.PathName -match ' ' }
  • Monitor file creation events in directories that could be exploited by unquoted service paths
  • Implement application whitelisting to prevent unauthorized executables from running with elevated privileges
  • Use endpoint detection tools to identify privilege escalation attempts through service manipulation

Monitoring Recommendations

  • Enable Windows Security Event logging for service configuration changes (Event ID 7045)
  • Monitor for new process creation events (Event ID 4688) originating from unexpected paths with SYSTEM privileges
  • Set up file integrity monitoring for critical directories including C:\ and C:\Program Files\
  • Configure alerts for failed service starts that may indicate exploitation attempts

How to Mitigate CVE-2016-20056

Immediate Actions Required

  • Audit the affected system for signs of exploitation, including unexpected executables in service path directories
  • Manually correct the service path by enclosing it in quotation marks in the Windows Registry
  • Restrict write permissions on directories within the service path to administrators only
  • Update to the latest version of Spy Emergency if a patched version is available from the Spy Emergency website

Patch Information

Organizations should check with the vendor for updated versions of Spy Emergency that address this vulnerability. The Spy Emergency download page may contain newer builds with this issue resolved. Additional technical details are available in the VulnCheck Advisory and the Exploit-DB entry #40550.

Workarounds

  • Manually fix the unquoted service path by modifying the ImagePath registry value to include quotation marks around the executable path
  • Restrict write access to C:\ and any subdirectories in the service path to prevent unauthorized file placement
  • Implement application control policies to block execution of unsigned or unauthorized executables
  • Consider disabling the vulnerable services if they are not essential to operations until a vendor patch is applied
bash
# Configuration example - Fix unquoted service path manually via registry
# Run as Administrator in Command Prompt

# Fix SpyEmrgHealth service path
reg add "HKLM\SYSTEM\CurrentControlSet\Services\SpyEmrgHealth" /v ImagePath /t REG_EXPAND_SZ /d "\"C:\Program Files\Spy Emergency\SpyEmrgHealth.exe\"" /f

# Fix SpyEmrgSrv service path
reg add "HKLM\SYSTEM\CurrentControlSet\Services\SpyEmrgSrv" /v ImagePath /t REG_EXPAND_SZ /d "\"C:\Program Files\Spy Emergency\SpyEmrgSrv.exe\"" /f

# Verify the fix
sc qc SpyEmrgHealth
sc qc SpyEmrgSrv

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechSpy Emergency

  • SeverityHIGH

  • CVSS Score8.5

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-428
  • Technical References
  • Spy Emergency Home

  • Spy Emergency Download #1

  • Exploit-DB #40550

  • VulnCheck Advisory on Spy Emergency
  • Related CVEs
  • CVE-2021-47845: Spy Emergency Privilege Escalation Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English