r/freebsd • • 10h ago

AI FreeBSD is Actually Amazing..

Thumbnail
youtube.com
95 Upvotes

Fun fact from the video: Our mascot is a daemon that John Lasseter (the Pixar guy) drew for a manual cover in 1984.


r/freebsd • • 7h ago All Seeing Upvote

news Sovereign Tech Agency commissions additional 464,160 € of FreeBSD Improvements for Enterprise

Thumbnail freebsdfoundation.org
28 Upvotes

r/freebsd • • 9h ago

AI 2026-12-02 FreeBSD security advisories

22 Upvotes

Most of yesterday's set follows the pattern of 2026 so far: local privilege escalation through kernel memory-safety bugs, several of them credited in part to the OpenAI Security Research Team.

FreeBSD-SA-26:104.proc is a use-after-free triggered when the process generation counter wraps around; it affects all supported versions and has no workaround.

FreeBSD-SA-26:102.socket is a privilege escalation through a listen(2) race on TCP sockets.

FreeBSD-SA-26:101.setrlimit, FreeBSD-SA-26:100.unix and FreeBSD-SA-26:103.ptrace are further use-after-free bugs, each leading to local privilege escalation.

FreeBSD-SA-26:99.linux lets an unprivileged local user corrupt the memory of set-ID Linux programs through execve(2), and FreeBSD-SA-26:95.arm64 allows privilege escalation through stale large page mappings on arm64 systems whose CPUs support BTI.

These are serious, but the 2026-11-17 set contained more bugs of the same kind.

Advisories that stand out a little

FreeBSD-SA-26:96.krb5 covers MIT Kerberos and lists about 21 CVEs in a single advisory. It affects FreeBSD 15.1. Remote attackers may be able to crash the KDC, kadmind or GSS-API applications, and some of the issues allow forged PAC or CAMMAC data in service tickets. For anyone running Kerberos, this is the most significant remote issue in the set, because forged PAC data can affect authorisation as well as availability. Claude did not count CVEs per advisory across the year, so it cannot say whether 21 is a 2026 record.

FreeBSD-SA-26:98.bsnmp is the second bsnmp advisory in two weeks, following FreeBSD-SA-26:89.bsnmp. A single crafted UDP packet can crash bsnmpd, which does not restart automatically. Only systems with the snmp_vacm module loaded are exposed, and that module is not loaded by default.

FreeBSD-SA-26:97.pam_xdg lets an unprivileged local user make root delete arbitrary files and directories. It stands out as a userland bug in PAM in a set otherwise dominated by kernel bugs.

Claude's take

Systems that use Kerberos should get the krb5 fix first.

After that, the kernel privilege escalation fixes call for the usual patching of all systems.

The SNMP issue matters only where snmp_vacm is loaded.

― Opus 5.5, medium.


r/freebsd • • 13h ago Bravo

video appjail4win: Spin up new Windows VM quickly on FreeBSD

Thumbnail
youtu.be
21 Upvotes

appjail4win is an AppJail for deploying Windows virtual machines on FreeBSD as vmjails, powered by Overlord and aimed at making setup simple and reproducible instead of requiring you to assemble the virtualization pieces yourself. It works with any Windows version you provide an ISO for, supports unattended installs through autounattend.xml, gives each VM a disposable system disk plus a persistent data disk so user files survive rebuilds, and allows profile-based customization via templates and attributes. It also integrates with Security Groups for network filtering and can be routed through Tor with some network and DNS tweaking.

github.com/AppJail-makejails/appjail4win


r/freebsd • • 3h ago Bravo

news Joint Statement on Recent Advances in Cryptographic and Cybersecurity Capabilities

Thumbnail cisa.gov
16 Upvotes

Just came into my feed. Was announced 24 hours ago (+8 my time). Sharing to notify.

  • Posted Date: 2026-12-03
  • Content Freeze Date: request for comment

TL; DR

Something is seriously cooking in cryptography that it is very rare this many big entities made such a joint statement over the recent Anthropic discovery (refer: references list). CEO of CloudFlare seems to hint something related to RSA and Elliptic Curve cryptography**[6] and according to him, far worse than RSA-2048 cracking**[5].

  1. FreeBSD already shipped Post-Quantum (PQ) algorithms equipped OpenSSL (refer below's test result).
  2. Let's Encrypt stated PQ algorithm should be production ready by 2027[8].
  3. Nginx already provided examples on how to use PQ algorithm for TLS (refer below's example)[9].
  4. FreeBSD shipped GnuPG with CRYSTAL-Kyber PQ algorithm (encrypt-only) already but you need to create a new sub-key in expert mode (refer example from my test below)[12][13].
  5. FreeBSD shipped PQ Algorithm enabled OpenSSH (>v9.9) (refer tested example below)[14].

Hence, move up whenever you can and first available since the facility are there already. This event is very unusual so it is better to be on "assume the worse" side than taking unnecessary risk.

Screenshot of Matthew Prince, CEO of CloudFlare stated assume anything uses RSA or Elliptic Curve cryptography[6].
Screenshot of Matthew Prince, CEO of CloudFlare stated that the matter is far worse that RSA-2048 cracking[5].

FreeBSD's Latest Shipped OpenSSL on Quarterly

user@machine:~ $ uname -a
FreeBSD machine 15.1-RELEASE-p6 FreeBSD 15.1-RELEASE-p6 releng/15.1-n283643-95719d8a895b GENERIC amd64

user@machine:~ $ openssl --version
OpenSSL 3.5.9 29 Sep 2026 (Library: OpenSSL 3.5.9 29 Sep 2026)
user@machine:~ $ openssl list -kem-algorithms
  SecP384r1MLKEM1024 @ default
  { 1.2.840.10045.2.1, EC, id-ecPublicKey } @ default
  { 1.3.101.110, X25519 } @ default
  { 1.3.101.111, X448 } @ default
  { 2.16.840.1.101.3.4.4.1, id-alg-ml-kem-512, ML-KEM-512, MLKEM512 } @ default
  { 2.16.840.1.101.3.4.4.2, id-alg-ml-kem-768, ML-KEM-768, MLKEM768 } @ default
  { 2.16.840.1.101.3.4.4.3, id-alg-ml-kem-1024, ML-KEM-1024, MLKEM1024 } @ default
  X25519MLKEM768 @ default
  X448MLKEM1024 @ default
  SecP256r1MLKEM768 @ default
  { 1.2.840.113549.1.1.1, 2.5.8.1.1, RSA, rsaEncryption } @ default

user@machine:~ $

NGINX

server {
  listen 443 ssl;
  server_name localhost;
 
  ssl_certificate /etc/ssl/private/localhost.crt;
  ssl_certificate_key /etc/ssl/private/localhost.key;
 
  ssl_protocols TLSv1.3;
  ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1; # PQC + classical curves
 
  location / {
    root /var/www/html;
    index index.html;
  }
}

GnuPG

user@machine:~ $ gpg --version
gpg (GnuPG) 2.5.24
libgcrypt 1.12.4
Copyright (C) 2026 g10 Code GmbH
License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /home/u0/.gnupg
Supported algorithms:
Pubkey: RSA, Kyber, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

Guide to create new sub-key:

user@machine:~ $ gpg --expert --edit-key [MAIN_KEY_ID]
gpg> addkey
Please select what kind of key you want:
   (3) DSA (sign only)
   (4) RSA (sign only)
   (5) Elgamal (encrypt only)
   (6) RSA (encrypt only)
   (7) DSA (set your own capabilities)
   (8) RSA (set your own capabilities)
  (10) ECC (sign only)
  (11) ECC (set your own capabilities)
  (12) ECC (encrypt only)
  (13) Existing key
  (14) Existing key from card
  (17) Kyber (encrypt only)
Your selection? 17
...

GnuPG + SSH Agent Settings (auth keys setup)

GnuPG has yet to support PQ sign & auth keys creation. Your existing non-PQ keys can be used for authenticate but it is not PQ protected.

Due to the fact that GnuPG's progress cannot be rush (it can break A LOT of ecosystem) and the current circumstances, to be fully protected, one must break the GnuPG+SSH Agent relationship for now and revert back to use SSH to create PQ algorithm keys instead.

PQ keys are different when created using SSH like the command below:

ssh-keygen -t mlkem768x25519-sha256 -f ~/.ssh/id_mldsa

OpenSSH

FreeBSD shippment in 15.1 Release has PQ algorithms equipped OpenSSH[14]

user@machine:~ $ uname -a
FreeBSD machine 15.1-RELEASE-p6 FreeBSD 15.1-RELEASE-p6 releng/15.1-n283643-95719d8a895b GENERIC amd64

user@machine:~ ssh -V
OpenSSH_10.0p2, OpenSSL 3.5.9 29 Sep 2026

user@machine:~ ssh -Q kex
...
sntrup761x25519-sha512
sntrup761x25519-sha512@openssh.com
mlkem768x25519-sha256


user@machine:~

To test/debug a connection (example here is using github.com and look for the algorithms above):

user@machine:~ ssh -v git@github.com exit 2>&1 | grep 'kex: algorithm:'
debug1: kex: algorithm: mlkem768x25519-sha256

user@machine:~

To upgrade the server, edit /etc/sshd_config to have the above algorithms listed at the front. The first one wins so make sure KexAlgorithms is before sourcing any other configuration files[15]:

...
# enable post-quantum algorithms
KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,sntrup761x25519-sha512@openssh.com,...
...

Once done, restart the server with:

$ service sshd restart

and test your server connection again.

References

  1. https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities
  2. https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662453/joint-statement-from-oncd-nsa-and-cisa-on-recent-advances-in-cryptographic-and/
  3. https://www.whitehouse.gov/briefings-statements/2026/12/joint-statement-on-recent-advances-in-cryptographic-and-cybersecurity-capabilities/
  4. https://openai.com/index/joint-statement-post-quantum-cryptography/
  5. https://x.com/eastdakota/status/2128334047273480583
  6. https://x.com/eastdakota/status/2128333858798186982
  7. https://blog.cloudflare.com/pq-is-still-safe/
  8. https://letsencrypt.org/2026/06/03/pq-certs
  9. https://blog.nginx.org/blog/pqc-nginx
  10. https://community.letsencrypt.org/t/post-quantum-crypto-roadmap/245173/2
  11. https://community.letsencrypt.org/t/preparing-for-quantum-safe-crypto-systems/204611/8
  12. https://lists.gnupg.org/pipermail/gnupg-users/2026-April/068248.html
  13. https://lists.gnupg.org/pipermail/gnupg-users/2026-April/068249.html
  14. https://www.openssh.org/pq.html
  15. https://gist.github.com/michabbb/5eb580d60ede01dc7d1e5abc72d7eb40