Alex Neff
banner
al3x-n3ff.bsky.social
Alex Neff
@al3x-n3ff.bsky.social
Pentester | Maintainer of NetExec
Mitigation:
Turn on the option "subtree_check" for all of your exports! This will restrict NFS to the exported directories.

Details:
The escape to the root directory is possible due to how NFS file handles are created by the file system. Supported FS: ext, xfs, btrfs

3/4🧵
March 3, 2025 at 6:01 PM
If one of the exposed exports also allows read&write and has root squash disabled, you can download&replace nearly every file on the system.

Just add yourself to the /etc/shadow and /etc/passwd files with the new NetExec implementation🔥

2/4🧵
March 3, 2025 at 6:01 PM
If you want to learn more, I highly recommend the white paper from @SecuraBV: www.secura.com/uploads/whit...

And the original implementation they did at: github.com/SecuraBV/Tim...

3/3🧵
www.secura.com
December 1, 2024 at 4:16 PM
In detail:
To prevent attackers from tampering with the system clock, the DC generates a MAC to authenticate NTP responses. The MAC has the form MD5(MD4(computer-pwd) || NTP-response), where the NTP-response acts as a salt. This hash can then be cracked using hashcat.

2/3🧵
December 1, 2024 at 4:16 PM