Post

(Kernel Security) level 01

(Kernel Security) level 01

Information

  • category: pwn

Description

Ease into kernel exploitation with this simple crackme level!

Explit

Just We need to look at module challenge using ghidra then find the correct pass O_o. No good write-ups am busy !

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>

int main() {
  printf("FIRST OPEN DRIVER:\n");
  int fd = open("/proc/pwncollege", O_RDWR);
  printf("SEND CORRECT PASS:\n");
  char flag[16] = "snceewqvyntlwfha";
  write(fd, flag, 16);
  printf("TRY GET FLAG:\n");
  read(fd, flag, 15);

  puts(flag);
}
This post is licensed under CC BY 4.0 by the author.