Question: Write an ASM shellcode for this function [10pts] We will implement a shellcode to do a system reboot using the_reboot () function as follow int

Write an ASM shellcode for this function

Write an ASM shellcode for this function [10pts] We will implement a

[10pts] We will implement a shellcode to do a system reboot using the_reboot () function as follow int _reboot(int magicl, int magic2, int cmd, void *arg) i reboot () call reboots the system, or enables/disables the reboot keystroke Ctrl-Alt-Delete. This system DESCRIPTION:_ call will fail unless magicl equals LINUX_REBOOT MAGICI (i.c, Oxfee1dead) and magic2 equals LINUX_REBOOT_MAGIC2 (i.e,, 0x28121969) and cmd is LINUX_REBOOT_CMD_POWER_OFF (i.c 0x4321 fedc) eax System call edi Oxa9 sys_reboot int magicl int magic2 junsigned int cmd void "arg esi edx ecx Here is the theme of this_reboot function. reboot (LINUX_REBOOT MAGIC1, LINUX_REBOOT_MAGIC2, LINUX_REBOOT_CMD_POWER_OFF) Write your ASM shellcode for this reboot function. Make sure your code contains no null bytes, i.e., Ixoo

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!