Escalation Overview
About 801 wordsAbout 3 min
The escalation page is a persistent terminal plus a set of menu actions. Every chain writes its progress into that terminal and leaves a run log behind.
Entry points
- Bottom ball → quick panel → Manual escalation.
- Escalation tool cards inside chat.
Terminal
| Item | Notes |
|---|---|
| Session | A persistent pty opens with the page and closes with it |
| Scrollback | 4000 lines |
| First screen | A banner drawn at the real column count, followed by the remote prompt |
| Input | Soft keyboard and bottom key bar share one stdin |
| Interrupt | Ctrl+C sends the interrupt byte, same as the physical key |
| Exit code | Run echo $? after a command to read the previous exit code |
| Session end | After exit or a remote close, the terminal reports that the shell ended and the next input reconnects |
| Dropped output | When the buffer overflows, the terminal prints how many bytes were dropped |
| Links | Hyperlinks open in the external browser |
The bottom key bar has a leading menu key, modifier and function keys (Esc, Tab, Ctrl, Alt, arrows), and a trailing copy key. Copy reads the current selection; with no selection it prints a notice in the terminal. On touch, long-press selection plus the copy key is the only copy path.
The title bar shows a link icon (connected) or a broken-link icon (disconnected). While running, a progress ring appears; GhostKey and GhostLock additionally show a stop button that ends local reading only — device-side processes keep running.
Menu
The More actions menu:
| Item | Behavior |
|---|---|
| Auto-match payload | Matches a bundled payload and writes its command into the terminal |
| DirtyFrag | CVE-2026-43284 |
| GhostKey | CVE-2026-98260 |
| GhostLock | CVE-2026-43499 |
| Hand off to current manager | Gives existing root to the manager selected in the pill |
| View payload catalog | Opens a searchable payload catalog |
| Clear | Clears the terminal display only |
Items are grouped with separators.
Root manager pill
The pill in the title bar shows the selected manager's name. Tapping it lists installed managers with icon, name, and package name; the current one is checked. Switching writes local preferences and refreshes cached queries.
Only managers providing libksud.so are listed. With none installed, the dialog shows an empty state and no chain can complete the handoff.
Handoff mechanics
After the kernel side is ready, the capability first lands in the manager while this process (uid 2000) still has no root. The handoff invokes the manager's ksud with --allow-shell, which is what gives the shell side root.
GhostLock and DirtyFrag run this handoff automatically after success, targeting the selected manager, and its output continues in the same terminal. GhostKey follows its own setting and the confirmation option.
Handoff failures produce branch conclusions in the terminal, such as a missing manager (with package name), a device without su, or a non-zero exit code.
Payload catalog
View payload catalog opens a dialog:
- The count of filtered entries sits under the title.
- The search box filters by model, vendor, or file name.
- Each entry shows:
- Model
- Vendor
- Kernel: a specific version, "kernel unknown", or "any kernel"
- File name
- Tapping an entry selects it and closes the dialog.
Selection then opens a second confirmation listing model, vendor, kernel, and file, with a risk note that the payload executes on the device and may cause instability or a reboot. The primary action is Start escalation; the command is written into the terminal after confirmation.
Chain comparison
| Item | GhostLock | DirtyFrag | GhostKey |
|---|---|---|---|
| CVE | CVE-2026-43499 | CVE-2026-43284 | CVE-2026-98260 |
| Matching | Exact profile release | Supported kernel series | A profile for the current release |
| Key prerequisites | seccomp 0, native binary present | Not injected this boot, manager selected | No seccomp, payload binary present |
| Main stages | Load kernel module → handoff | Patch → VR disarm → bootstrap → ksud | Two calibrations → inject rootd → verify → takeover |
| Final classifications | 13 | 8 | 10 |
| Interruption | Stop local reading | Streams by block, no per-stage panel | Stop local reading |
Details are in GhostLock, DirtyFrag, and GhostKey.
Conclusions and run logs
The terminal writes one conclusion line at the end, for example "kernel module loaded; KernelSU has taken over" or "this kernel does not have the vulnerability". The full output and conclusion are persisted as a run log, viewable under Settings → Run logs where it can be copied, saved, or deleted.
Failure classification rules are described in Run Logs and Diagnosis.
State changed by a run
| Change | Recovery |
|---|---|
| SELinux set to permissive | Restored after a normal run; stays permissive until the next reboot after a failure |
| Kernel module loaded | Handled by the manager; unloading depends on it |
| System briefly unavailable or rebooting | Wait for the reboot |
| Injection marker (DirtyFrag) | Blocks repeat runs for this boot; cleared by a reboot |