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

Add some tests #22

Merged
merged 1 commit into from Apr 6, 2020
Merged

Add some tests #22

merged 1 commit into from Apr 6, 2020

Conversation

madaidan
Copy link

@madaidan madaidan commented Apr 6, 2020

This adds a few tests to test the sandboxing.

tiocsti.c: tries to use the TIOCSTI ioctl which will be stopped by --new-session and/or seccomp

exec-elf.sh: tries to create an ELF binary and execute it which will be stopped by AppArmor

W^X: 3 tests to try to write arbitary code to a memory mapping and execute it which will be stopped by seccomp

@adrelanos adrelanos merged commit 4996ebf into Kicksecure:master Apr 6, 2020
@madaidan madaidan deleted the tests branch April 6, 2020 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants