{"id":16640862,"url":"https://github.com/locus-x64/linux-kernel-env","last_synced_at":"2026-03-14T22:31:47.950Z","repository":{"id":228554980,"uuid":"774306226","full_name":"locus-x64/linux-kernel-env","owner":"locus-x64","description":"This is an environment for linux kernel exploitation.","archived":false,"fork":false,"pushed_at":"2024-11-22T20:08:29.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-18T14:34:30.169Z","etag":null,"topics":["environment","exploitation","linux-kernel"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/locus-x64.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-19T10:13:39.000Z","updated_at":"2024-11-22T20:08:33.000Z","dependencies_parsed_at":"2024-03-19T11:55:40.625Z","dependency_job_id":"7a9fa7e0-7ca6-463c-8db5-05c6a736e5b1","html_url":"https://github.com/locus-x64/linux-kernel-env","commit_stats":null,"previous_names":["alirazamumtaz/linux-kernel-env","locus-x64/linux-kernel-env"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locus-x64%2Flinux-kernel-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locus-x64%2Flinux-kernel-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locus-x64%2Flinux-kernel-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locus-x64%2Flinux-kernel-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/locus-x64","download_url":"https://codeload.github.com/locus-x64/linux-kernel-env/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243158973,"owners_count":20245669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["environment","exploitation","linux-kernel"],"created_at":"2024-10-12T07:41:24.120Z","updated_at":"2025-12-25T23:29:08.181Z","avatar_url":"https://github.com/locus-x64.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linux Kernel Exploitation Lab\n\nThis repository contains the materials for the Linux Kernel Exploitation Lab. Thanks to @deathNet123 for this lab.\nIt uses qemu with debian images to simulate a kernel environment.\n\n## Setup\n\n### Make debian image\n\n```bash\n./create-image.sh -d bookworm -f full\n```\n\n### Kernel Compilation\n\nThis script will automatically downlaod the specified kernel version and compile it with required debug symbols and configurations. For instance I have used 6.1.38 version of the kernel.\n\n```bash\n./build.sh 6.1.38 6.x\n```\n\n## Launching the VM\n\n```bash\n./startvm\n```\n\n## Interacting with the VM\n\nTo copy the files to the VM, you can use following command:\n\n```bash\n./copy2vm \u003cfile\u003e\n```\n\nAnd this will copy the file to the /home/user directory of the VM.\n\n## Intstall 3rd party tool\nBy mounting the filesystem img file and then chroot into it.\n\nMount the filesystem\n```bash\ncd img \u0026\u0026 mkdir mountpt\nsudo mount bookworm.img mountpt/\n```\n\nChroot into the filesystem\n```bash\ncd mountpt\nsudo chroot .\n```\nInstall the dependencies, utilities or library\n```bash\napt install \u003cpkg-name\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocus-x64%2Flinux-kernel-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flocus-x64%2Flinux-kernel-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocus-x64%2Flinux-kernel-env/lists"}