Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker/runner #7

Merged
merged 3 commits into from
May 15, 2023
Merged

Docker/runner #7

merged 3 commits into from
May 15, 2023

Conversation

whoismissing
Copy link
Contributor

Features:

  • Initialization of docker environment for SyzScope to expose a reproducible build for end-users.

Hi, I've added a Dockerfile to expose a reproducible build for researchers looking to reproduce the research.

I'm aware that there are already docker images on dockerhub but I was interested in identifying the minimum system dependencies and permissions and being able to make changes if needed.

I've tested building and running SyzScope using this docker build on my host running Ubuntu 20.04 LTS and Docker version 20.10.17.

There's a small quirk that I'm going to push a fix for related to the syzkaller build at run-time. Additionally, despite the kernel build running to completion, my target kernel would immediately exit in QEMU.

However by copying over the bzImage and vmlinux files from the etenal/syzscope:ready2go container image, I was able to reproduce the CVE-2018-25015 example by running the command python3 syzscope -i a8d38d1b68ffc744c53bd9b9fc1dbd6c86b1afe2 -RP -SE --timeout-symbolic-execution 3600.

Currently, the build aligns more with the etenal/syzscope:mini container image. For some reason, running requirements.sh in the docker build isn't persisting the changes in order to have a build that aligns with the etenal/syzscope:ready2go container image.

@plummm plummm merged commit 13baed4 into plummm:master May 15, 2023
@plummm
Copy link
Owner

plummm commented May 15, 2023

It would be helpful if you can insert another section in the README to explain the usage

@plummm
Copy link
Owner

plummm commented May 15, 2023

Thanks for the new feature.

@whoismissing whoismissing mentioned this pull request May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants