SysRq (Magic SysRq key)

Not specific commands. Only groups of commands.

1 Like

This shows more ways to remotely trigger sysrq.

2 Likes

Why not both? CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE can still be overridden at runtime via the sysctl. It just sets the default.

1 Like
2 Likes

madaidan via Whonix Forum:

Restrict the SysRq key by madaidan Ā· Pull Request #60 Ā· Kicksecure/security-misc Ā· GitHub

Restrict the SysRq key by madaidan Ā· Pull Request #43 Ā· Kicksecure/hardened-kernel Ā· GitHub

Awesome! Merged. :slight_smile:

1 Like

Did you miss Restrict the SysRq key by madaidan Ā· Pull Request #43 Ā· Kicksecure/hardened-kernel Ā· GitHub?

1 Like

Yes, now merged.

1 Like

Is SysRq tamed enough currently?

Quote https://www.kernel.org/doc/Documentation/SAK.txt

Why?

Becauseā€¦

It is only available if the kernel was compiled with sysrq support.

?

Just because SysRq isnā€™t universally available on all Linux distributions isnā€™t any reason to go for that?

Yes. security-misc restricts it sufficiently.

1 Like

Current status:

Restricts the SysRq key so it can only be used for shutdowns and the Secure Attention Key.

Suggested changed:

Recently this discussion was reopened and it has been suggested to completely disable SysRq.

This is now in the testers repository.