Skip to content

Add kernel-pwning initialization  #293

Closed
@rockrid3r

Description

@rockrid3r

Currently it only supports userland-pwning chals. Kernel-pwning also need such a bootstrap.

  • Add CLI parameter "-ker" to switch to kernel-pwn initialization
  • Autodetection of bzImage file
  • Extract vmlinux from bzImage, +tests
  • "Unstrip" vmlinux like vmlinux-to-elf did, +tests
  • Add templates for compress.sh/decompress.sh to work with cpio-compressed initramfs. Example [here]
    (https://lkmidas.github.io/posts/20210123-linux-kernel-pwn-part-1/)
  • It is important for users to have vmlinux-to-elf and extract-vmlinux. Post-cargo installation script vs provide instructions in README.md.

Probably can add dependency on vmlinux-to-elf repo?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions