34 Commits

Author SHA1 Message Date
Matteo Rizzo a0d2ea681e kernelCTF: update releases 2026-03-27 15:36:40 +00:00
Artem Metla a7d0bf1a33 kernelCTF: server: update to latest version 2026-03-17 14:14:32 +01:00
Tamas Koczka ff47cd117d kernelCTF: server: update to latest version 2026-03-10 15:43:56 +00:00
Artem Metla e4e17f4c28 kernelCTF: server: update to latest version 2026-02-26 16:56:15 +01:00
Tamas Koczka 4f788eb87f kernelCTF: server: update to latest version 2026-02-25 10:48:22 +00:00
Matteo Rizzo d57309a820 kernelCTF: server: update to latest version 2025-12-18 15:41:47 +00:00
artmetla 7297a9e637 Submission Verification logic for Android submissions (#289)
1) Disabled AppArmor block for unpriviledged user namespaces. This hapend in ubuntu-latest: https://discourse.ubuntu.com/t/understanding-apparmor-user-namespace-restriction/58007. Added this step to "get_android_dependencies.sh".
2) Using "get_android_dependencies.sh" script to handle dependencies for all execution options: server.py, exploit build, and exploit_reproduction.
3) Optimised exploit reproduction run time, by downloading releases and installing dependencies in parallel. 
4) Conducted clean up to free up a bit of extra space for Cuttlefish runs (cleaning compilation leftovers and APT caches).
5) Using "cuttlefish.sh" to run VM in all execution options: server.py and GHA reproducer. Modified "cuttlefish.sh" to add "--test-mode" which allows easy testing by setting "falg" file permissions equivalent to exploit executable. It's disabled in prod. Improved Android16 detection logic (to enable necessary execution flags for "launch_cvd"), as apparently "launch_cvd --help" could fail sometimes. Improved cleaning logic (important as launch_cvd is super nasty and lefts a lot of tmps and random leftovers which could negatively impact next run of the VM)
6) Apparently in ubuntu-latest "sg -c" requires password. So implemented this logic canonical/data-platform-workflows@349e0c8. This is important as Cuttlefish couldn't run without user being added in groups. By default they suggest reboot to apply those changes, but it's impossible in GHA.
7) "Check PR content" logic is already updated in prod
8) Ensured that in exploit build environment NDK is added to the PATH, so simple Makefiles like:
```
exploit: exploit.c
clang --target=x86_64-linux-android35 -static $^ -o exploit
```
The whole thing was tested with dummy exploit in my fork.
9) Implemented proper timeout check (30 mins) in "cuttlefish.sh"
10) Introduced sparse-checkout for the GHA.
2025-12-04 15:21:19 +01:00
Artem Metla ea8b117f6e kernelCTF: server: upload Android related scripts and APK source code 2025-11-27 13:50:34 +01:00
artmetla 9fa781e0d9 Update releases.yaml 2025-11-10 15:00:07 +01:00
Artem Metla 8cf454374e kernelCTF: server: update to latest version 2025-11-06 18:05:44 +01:00
Artem Metla 49c9e8266b kernelCTF: server: update to latest version 2025-11-03 15:08:44 +01:00
Matteo Rizzo 6f1a39f5fe kernelCTF: server: update to latest version 2025-10-24 09:18:20 +00:00
Tamas Koczka 49be6fb8cb kernelCTF: server: update to latest version 2025-09-12 10:25:28 +00:00
Tamas Koczka 42ae281bdd kernelCTF: server: update to latest version 2025-09-11 14:04:19 +00:00
Artem Metla 34642f399e kernelCTF: server: update to latest version 2025-08-15 15:35:01 +02:00
Artem Metla bc8a627ae2 kernelCTF: server: update to latest version 2025-07-18 14:16:26 +02:00
Matteo Rizzo 804f085e04 kernelCTF: server: update to latest version 2025-07-04 12:50:39 +00:00
Artem Metla 454c3f2e06 kernelCTF: server: update to latest version 2025-06-20 12:53:04 +02:00
Matteo Rizzo 5df5015386 kernelCTF: server: update to latest version 2025-06-06 12:54:59 +00:00
Tamas Koczka 2f4a5cd8dd kernelCTF: server: remove PoW permanently 2025-06-02 12:58:45 +00:00
Tamas Koczka 90cc1d1fe4 kernelCTF: server: disable proof-of-work, update releases 2025-05-28 20:17:22 +00:00
Tamas Koczka f04a330360 kernelCTF: server: update to latest version 2025-03-05 11:49:10 +00:00
Tamas Koczka f4578448f9 kernelCTF: server: update to latest version 2025-02-27 15:15:15 +00:00
Tamas Koczka 5c48594330 kernelCTF: server: update to latest version 2025-02-14 17:30:39 +00:00
Tamas Koczka 908d59b573 kernelCTF: server: update to latest version 2025-02-06 17:58:13 +00:00
Tamas Koczka b4501cfb6f kernelCTF: server: update to latest version 2025-01-14 15:37:57 +00:00
Tamas Koczka be4c99dd69 kernelCTF: server: update to latest version 2025-01-09 13:58:52 +00:00
Matteo Rizzo 096efa4ff1 kernelCTF: server: update to latest version 2025-01-08 15:36:42 +00:00
Artem Metla 57ace30e93 kernelCTF: server: update to latest version 2024-12-19 18:10:06 +01:00
Artem Metla 11d804414f kernelCTF: server: update to latest version 2024-11-22 13:22:04 +01:00
Tamas Koczka 43a5a816c3 kernelCTF: GHA: add mitigation-v3b release without nftables 2024-09-27 21:30:52 +00:00
Artem Metla 2596ed3827 kernelCTF: server: update to latest version 2024-09-23 12:05:59 +02:00
Tamas Koczka 3395762f4e kernelCTF: server: update to latest version 2024-02-29 12:47:19 +00:00
Tamas Koczka 2ee769be43 kernelCTF: server: open-source server code 2024-02-15 22:47:42 +00:00