Edge Security (@EdgeSecurity) header
Edge Security (@EdgeSecurity) profile picture

Tweets from @zx2c4. Security Research & Consulting. Support WireGuard development via https://www.teapawt.org/t.co/x6Y8S0VFRw https://www.teapawt.org/t.co/dodHzVeb15 . Or hire us.

Joined January 2015
Photo by Edge Security (@EdgeSecurity)Photo by Edge Security (@EdgeSecurity)Photo by Edge Security (@EdgeSecurity)Photo by Edge Security (@EdgeSecurity)Photo by Edge Security (@EdgeSecurity)Photo by Edge Security (@EdgeSecurity)Photo by Edge Security (@EdgeSecurity)Photo by Edge Security (@EdgeSecurity)Photo by Edge Security (@EdgeSecurity)Photo by Edge Security (@EdgeSecurity)
WireGuardNT and WireGuard for Windows version 1.0 have been released. Big milestone! For a brief technical discussion of some reverse engineered improvements, see the announcement: lists.zx2c4.com/pipermail/wi…
7
10
1,312
WireGuardNT v0.11 and WireGuard for Windows v0.6 have been released: lists.zx2c4.com/pipermail/wi…
6
29
1
200
23,689
You can download the fetcher installer from wireguard.com/install/, which checks ed25519 signatures and always downloads the latest version, or get direct MSIs for enterprise usage. Or, apparently, now you can run `winget install wireguard`.
2
7
1,370
All sorted now. WireGuardNT 0.11 will be released soon, with a new WireGuard for Windows out after some testing. Thank you to @shanselman for helping.
WireGuard has some big updates ready to go on Windows, our first on the platform in nearly 4 years. We've done some nice modernizations and improvements, fixed bugs, added features, updated the toolchain, and more. But our release is currently blocked by @Microsoft. The recent thread on Hacker News encouraged me to write this up, rather than just grumbling to myself privately about it as I have the last two weeks. I logged in to get the WireGuardNT driver signed -- a necessary step for driver authors -- and was greeted by this vague message that the account has been suspended. Looking further into it, it seems like they instituted an identity verification policy, didn't notify me about it, and then I guess they suspended accounts who didn't do the verification. So of course I did the ID card verification immediately, but now an appeal is necessary. The appeals process requires filing a support ticket, but filing a support ticket requires a non-suspended account... Catch-22, eventually resolved by filing one through Azure and getting it rerouted to the right department. That was two weeks ago. Now they've told me there's a 60 day appeal review period. Wish us luck! It's a little crazy, because what if there was some critical ring 0 RCE vuln that was being exploited in the wild and that needed to be patched immediately? (Just hypothetical; there isn't.) In that case, telling users "sorry, you've got to wait 60 days" would be sort of bad. And users of WireGuard for Windows are also Microsoft Windows users, so I can't see how this is good for Microsoft either. I think it must just be a case of bureaucracy gone slightly off the rails. Happens. If any Microsofters are able to make this take not-sixty-days, please do get in touch.
5
32
2
271
26,264
WireGuard has some big updates ready to go on Windows, our first on the platform in nearly 4 years. We've done some nice modernizations and improvements, fixed bugs, added features, updated the toolchain, and more. But our release is currently blocked by @Microsoft. The recent thread on Hacker News encouraged me to write this up, rather than just grumbling to myself privately about it as I have the last two weeks. I logged in to get the WireGuardNT driver signed -- a necessary step for driver authors -- and was greeted by this vague message that the account has been suspended. Looking further into it, it seems like they instituted an identity verification policy, didn't notify me about it, and then I guess they suspended accounts who didn't do the verification. So of course I did the ID card verification immediately, but now an appeal is necessary. The appeals process requires filing a support ticket, but filing a support ticket requires a non-suspended account... Catch-22, eventually resolved by filing one through Azure and getting it rerouted to the right department. That was two weeks ago. Now they've told me there's a 60 day appeal review period. Wish us luck! It's a little crazy, because what if there was some critical ring 0 RCE vuln that was being exploited in the wild and that needed to be patched immediately? (Just hypothetical; there isn't.) In that case, telling users "sorry, you've got to wait 60 days" would be sort of bad. And users of WireGuard for Windows are also Microsoft Windows users, so I can't see how this is good for Microsoft either. I think it must just be a case of bureaucracy gone slightly off the rails. Happens. If any Microsofters are able to make this take not-sixty-days, please do get in touch.
49
229
26
1,307
116,085
WireGuard is sunsetting support for old Windows versions: lists.zx2c4.com/pipermail/wi…
1
9
1,216
vDSO getrandom() objective complete!
1
2
11
1,205
Glibc 2.41 will support vDSO getrandom(): sourceware.org/git/?p=glibc.…
1
4
736
vDSO getrandom() has now been ported to arm64, powerpc64, powerpc32, s390x, and loongarch64, in addition to the prior x86_64 port: lore.kernel.org/all/20240916…
3
512
Direct APK downloads for WireGuard for Android are now available: lore.kernel.org/wireguard/ZG…
1
11
1,519
WireGuard is the first reproducible build package on F-Droid that has a fully verified signature path. The WireGuard Project builds WireGuard from source, and then signs the resultant APK with a private key stored in an HSM. F-Droid’s build server downloads that source and does the same build process. Then, F-Droid downloads the APK that the WireGuard Project built, makes sure it matches the APK that it build itself, and then, critically, *makes sure that the APK is signed with the WireGuard Project’s HSM-resident signing key.* Other reproducible packages on F-Droid don’t have this final signature checking step, which means there’s a problem if the upstream developer's git repo and download server are serving up malicious source and binaries, two things that often live on the same server or GitHub account. (And F-Droid doesn’t have the ability to check git tag signatures.) So, barring other issues, the APK that F-Droid puts on their server for users to download is verified to be the same one from the WireGuard Project built. A nice consequence of this week’s Android reproducible builds announcement: www.teapawt.org/EdgeSecurity/sta…
WireGuard for Android now builds reproducibly, and both Google Play Store and F-Droid now distribute packages using the same signing key. [Note, though, that F-Droid users need to uninstall & reinstall the app.] Announcement email: lists.zx2c4.com/pipermail/wi…
1
3
26
3,321
WireGuard for Android now builds reproducibly, and both Google Play Store and F-Droid now distribute packages using the same signing key. [Note, though, that F-Droid users need to uninstall & reinstall the app.] Announcement email: lists.zx2c4.com/pipermail/wi…
1
3
20
3,035
Also wrote up some @Yubico #YubiHSM 2 tidbits in github.com/Yubico/yubihsm-sh… in case it's useful for other projects in the future.
1
2
4
1,029
v7 posted of the vDSO getrandom() series: lore.kernel.org/lkml/2022112… , with a stackless ChaCha20 implementation on x86-64, as well as a corresponding patch to wire this up for glibc from @adhemerval - github.com/bminor/glibc/comm… . I'm daily driving this on my laptop's libc.
1
1
10
This RFC patchset for the Linux kernel proposes using an EFI non-volatile variable as a persistent RNG seed that the kernel's EFISTUB can manage transparently and automatically. Very cool if it works. A question about using variables that way. lore.kernel.org/linux-efi/20…
4
7
#systemd's EFI bootloader, systemd-boot, will now pass the on-disk RNG seeds it manages directly to the Linux kernel, so that the RNG is seeded by them before userspace runs. github.com/systemd/systemd/c…
1
3
13
Apparently, if your process name starts with the letter 'X', Linux's DRM subsystem will change its API behavior. Something having to do with hacking the kernel rather than fixing X11... Yowza. lore.kernel.org/lkml/2022110…
7
50
5
222
With a fat new box from @equinixmetal, WireGuard's CI & proof machine hums away compiling kernels for wireguard.com/build-status/, SMT solving, factoring polynomials, formal verification, QEMUing 17 architectures, and gobbling up huge amounts of CPU and RAM. Thanks for the hardware!
2
2
1
36
That particular htop is filled with a.out, a little tester trying to verify that git.zx2c4.com/linux-rng/comm… is working as expected for various pathological inputs.
3
Indeed, if you've never seen it, the WireGuard test suite churns kernels all day along for every commit from lots of different trees on lots of different architectures: wireguard.com/build-status/ Having found many bugs, it keeps being useful for more than just WireGuard's own CI.
Replying to @ajdlinux
(better to find out from @zx2c4's test suites than from a downstream customer! test early, test often)
1
1
9
So far during the current 6.1 merge window, it's found the ftruncate64 bug @ajdlinux mentioned -- lore.kernel.org/lkml/CNJ1QJA… -- and a syscon bug affecting big endian platforms like MIPS -- lore.kernel.org/lkml/2022100… .
5