Introduction 

As cyber threats continue to evolve, known weaknesses must be addressed quickly to avoid breaches, data loss, and ransomware attacks. Cyber Essentials Plus testing is aimed at identifying such weaknesses and can highlight configuration issues that should be fixed. One example of this is the “Windows unquoted/trusted service paths privilege escalation security issue” vulnerability – it can lead to significant issues if not remediated.  In this article we explain the vulnerability, outline solutions, discuss its importance, and link it to the benefits of  Cyber Essentials Plus  testing.   

 

Cyber Essentials Plus Testing 

Cyber Essentials  aims to ensure devices are not vulnerable to security flaws that attackers can commonly exploit. Cyber Essentials Plus involves testing to determine whether an internet-based attacker can hack into systems using low-skill methods. It also checks devices to determine whether weaknesses exist. Qualified professionals use advanced tools to find and highlight these weaknesses. These findings help organisations identify and fix problems before hackers take advantage. 

 

Windows Unquoted/Trusted Service Paths Privilege Escalation Security Issue Explained 

A security flaw found in Windows systems, which is a misconfiguration, can allow attackers to trick the system into running malicious software. Instead of running an intended service, it can execute malware. 

 

What an Attacker Can Do 

Attackers can place malicious files in particular locations on an affected Windows device, causing it to execute the malware rather than the intended software.   

 

How it Works 

Normally, Windows devices run programs from specific (file path) locations without issue. However, if that location lacks quotation marks in the setup, the system might get confused and run harmful software instead of the right program, letting bad actors take over. 

 

Potential Impact 

The impact could be severe. An attacker gaining control of an affected machine could lead to operational disruption, loss of sensitive customer data, damage to brand reputation, regulatory and compliance issues, and fines. 

 

Why it Matters 

There’s potential to bypass security controls and cause harm to critical systems and data. With its classification as a HIGH RISK vulnerability, it can be flagged for remediation as part of the Cyber Essentials Plus testing. The Cyber Essentials: Requirements for IT Infrastructure v3.2 document outlines the need to apply registry fixes where vulnerabilities have a severity ranking relating to CVSS v3 base score of 7 or above – these are to be fixed within 14 days. 

 

Severity 

  • A HIGH RISK severity ranking 
  • CVSSv3 Base Score: 7.8 
  • The vulnerability can be used to deploy malicious software 

 

Fix 

  1. Identify the vulnerable paths 
  2. Apply a registry change to add quotation marks around the path 
  3. Restart the system to apply the changes 

 

Warning – Before Making Registry Changes 

Before making changes, consider testing in a non-production environment, then rolling out, creating appropriate backups (for reversion). 

1. Create a Manual Backup Using Registry Editor: 

  • Press Win + R, type regedit, and press Enter to open the Registry Editor 
  • In the Registry Editor, click on File and select Export 
  • Choose a location on your computer to save the backup 
  • In the Export Range panel, ensure that All is selected to back up the entire registry
  • Name the backup file and click Save

2. Create a System Restore Point: 

  • Open the Start menu and type/select Create a restore point 
  • In the System Properties window, click Create 
  • Enter a description for the restore point and click Create 

 

Resolution Steps

1. Locate the vulnerable paths: 

  • Work with your Assessor to understand the specific vulnerable path  
  • Or review a vulnerability assessment (authenticated level) 

2. Fix the Registry: 

  • Open Registry Editor with administrator privileges 
  • Navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services 
  • Locate the affected service and double-click it 
  • Double-click ImagePath to see the location 
  • Add quotation marks around the ImagePath reference, for example: 
  • Before c: \Program Files\MyApp\service.exe 
  • After “c: \Program Files\MyApp\service.exe” 

3. Restart the system for the changes to be applied  

 

Checking The Fix Windows Unquoted Service Path Vulnerability

1. Check the registry entries  

  • Vulnerable: C: \Program Files\MyApp\service.exe 
  • Fixed: “C: \Program Files\MyApp\service.exe” 

2. Rerun the vulnerability assessment (authenticated level) to confirm remediation, as well as detect any other known vulnerabilities 

 

How We Help 

At RB Consultancy Ltd we support organisations looking to implement controls and/or certify to Cyber Essentials and Cyber Essentials Plus requirements: 

  • NCSC Assured  Cyber Advisor - we help organisations understand and implement technical controls and provide detailed steps on how to resolve this vulnerability 
  • Cyber Essentials Plus Assessor – we assess organisations against the requirements and carry out vulnerability assessments 
  • Cyber Essentials Plus Certification Body – we issue organisations with certifications 

 

Conclusion – how to fix

Cyber Essentials Plus testing identifies critical and high-risk vulnerabilities. By making registry changes, it’s possible to effectively mitigate the Windows Unquoted/Trusted Service Paths Privilege Escalation issue and enhance system security. Regular updates and monitoring of the system for vulnerabilities are essential when maintaining a secure environment. There is always risk when making changes – follow best practice guidance on rolling out change (reverting if needed). 

Information Sources for Windows Unquoted Service Path Vulnerability 

 

Written by Remo Belisari, Managing Director of RB Consultancy Ltd, an experienced cyber security professional and cyber advisor. Remo holds certifications relating to CISSP, ISSAP, ISO 27001, Cyber Essentials, IASME Cyber Assurance, and has many years experience in IT and cyber security. Remo has a history of supporting organisations from over the world – including a Fortune 500 in USA and over 100 organisations across the UK. The views expressed in this blog are those of the author and do not necessarily reflect the views of RB Consultancy Ltd, its clients, partners, or affiliated organisations. The content is intended for general information only.

 

 

Other articles you might find useful.

Cyber Security Consultancy: Incident Response

Cyber Security Consultancy: Incident Response

Incident response planning is the difference between a contained breach and a business-ending disaster. Using the 2014 Sony Pictures attack as a case study, we explain what incident response is, why it matters, and how to strengthen cyber resilience.

Read More »
Benefits of Cyber Essentials Plus

Benefits of Cyber Essentials Plus

Cyber Essentials Plus certification goes beyond basic compliance by providing a technical security audit that actively tests your defences against real-world threats. Through hands-on vulnerability

Read More »
Cyber Security Consultancy: Change Management

Cyber Security Consultancy: Change Management

Cyber Security Consultancy: Change Management A single change can bring multiple organisations to a standstill – the July 2024 CrowdStrike incident proved this, causing widespread outages across airlines, hospitals, and banks without any threat actors involved. Effective IT change management and business continuity planning require thorough testing, risk assessment, and rollback procedures before changes go […]

Read More »
Cyber Security Consultancy: Physical and Environmental Protection

Cyber Security Consultancy: Physical and Environmental Protection

Cyber Security Consultancy: Physical and Environmental Protection Cyber resilience goes beyond firewalls and passwords, physical security controls and environmental risk management are equally critical to protecting your organisation. Storm Dennis showed how flooding can destroy server rooms, backups, and operations in hours, highlighting why business continuity planning must account for real-world threats like fire, flood, […]

Read More »
Cyber Security Risk Management: Supply Chain Security & Building Resilience

Cyber Security Risk Management: Supply Chain Security & Building Resilience

Cyber Security Risk Management: Protecting Against Supply Chain Security Risks Effective cyber security risk management is not about eliminating every threat – it’s about understanding what could go wrong and putting appropriate measures in place to protect what matters most. The 2020 SolarWinds attack exposed critical supply chain security risks, with thousands of organisations compromised […]

Read More »
Get started today

Ready to get certified and
reduce your cyber risk?

Book a free 30-minute discovery call with Remo. No sales pitch, no pressure — just a straightforward conversation about what you need and whether we are the right fit to help.

About RB Consultancy Ltd

Remo Belisari

Founder & Managing Director, RB Consultancy Ltd

Remo Belisari is a Chartered Cyber Security Professional with over a decade of experience advising organisations from start-ups to multinationals across the UK, Europe, Asia and the USA.

Through RB Consultancy Ltd he delivers high-quality, cost-effective and practical cyber security services that support compliance, strengthen resilience and enable business growth.

Remo holds the most respected certifications in the field and is personally involved in every client engagement, ensuring clear and valuable outcomes.

Personal Qualifications

Company Accreditations

Remo Belisari, founder of RB Consultancy
NCSC Assured Cyber Advisor (Cyber Essentials) Cyber Essentials Assessor Cyber Essentials Plus Assessor IASME Cyber Assurance Assessor Vulnerability Assessment Plus (VA+) Certified Defence Cyber Certification - Level 0 Assessor Defence Cyber Certification - Level 1 Assessor
RB Consultancy shield logo blue

RB Consultancy Ltd

Pioneer House, Pioneer Business Park,
North Road, Ellesmere Port, Cheshire,
CH65 1AD

NCSC Assured Service Provider
IASME Certification Body
Chartered (ChCSP) · CISSP · ISSAP