<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>IT Security – apt-upgrade.me – Homelab, Linux &amp; DevSecOps</title><link>https://www.apt-upgrade.me/category/it-security/</link><description>One nerd's homelab: Linux, Kubernetes, security, and the occasional disaster.</description><language>en-GB</language><lastBuildDate>Mon, 30 Nov 2026 19:15:00 +0100</lastBuildDate><atom:link href="https://www.apt-upgrade.me/category/it-security/index.xml" rel="self" type="application/rss+xml"/><item><title>Fake virus alerts on Windows 11: where they come from and how to switch them off</title><link>https://www.apt-upgrade.me/2026/11/30/fake-virus-alerts-windows-11-turn-off-notifications/</link><pubDate>Mon, 30 Nov 2026 19:15:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2026/11/30/fake-virus-alerts-windows-11-turn-off-notifications/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; A message like &amp;ldquo;Your PC is infected with 5 viruses – scan now&amp;rdquo; appears at the bottom right of Windows 11, often with a red shield, the logo of a well-known antivirus and a countdown. Almost always this is &lt;strong&gt;not a virus and not a message from Windows&lt;/strong&gt;, but a push notification from a website that you once allowed with &amp;ldquo;Allow&amp;rdquo;. It can be switched off in two minutes. And with uBlock Origin you do not end up there in the first place.&lt;/p&gt;</description></item><item><title>The Ansible Tour, Part 5: IT Security – Firewall, SSH, fail2ban, Hardening, SELinux and Detection</title><link>https://www.apt-upgrade.me/2026/10/19/ansible-tour-part-5-security/</link><pubDate>Mon, 19 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/19/ansible-tour-part-5-security/</guid><description>&lt;p&gt;&lt;em&gt;Part 5 of the &lt;a href="https://www.apt-upgrade.me/2026/10/14/ansible-tour-part-1-framework/"&gt;Ansible Tour&lt;/a&gt;. After the platform, the blog and Nextcloud, this part gathers all security roles in one place, across both stacks. The series describes release &lt;a href="https://github.com/aptupgrademe/www_k3s/tree/v3.3.0" target="_blank" rel="noopener"&gt;v3.3.0&lt;/a&gt;, with later changes added as addenda.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Part 5 of the &lt;a href="https://docs.ansible.com/" target="_blank" rel="noopener"&gt;Ansible&lt;/a&gt; tour collects all security roles in one place. Security here comes from layers, each catching what the previous one missed: firewall, SSH, fail2ban, hardening along the CIS benchmark, SELinux and detection with auditd, AIDE, &lt;a href="https://rkhunter.sourceforge.net/" target="_blank" rel="noopener"&gt;rkhunter&lt;/a&gt; and &lt;a href="https://www.clamav.net/" target="_blank" rel="noopener"&gt;ClamAV&lt;/a&gt;. The code is public – protection has to come from keys, layers and alerts, not from secrecy.&lt;/p&gt;</description></item><item><title>A Mail for Every SSH Login: A Two-Minute Tripwire with wtmp and systemd</title><link>https://www.apt-upgrade.me/2026/10/14/ssh-login-alarm-wtmp-systemd/</link><pubDate>Wed, 14 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/14/ssh-login-alarm-wtmp-systemd/</guid><description>&lt;p&gt;&lt;em&gt;This is a follow-up to yesterday&amp;rsquo;s long post, &lt;a href="https://www.apt-upgrade.me/2026/10/13/defense-in-depth-nine-layers/"&gt;Defence in Depth: Nine Layers Between the Internet and My Servers&lt;/a&gt;. There, the login alarm got one sentence. Here is how it works, why it is built this way – and what an attacker learns from reading this.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Every SSH login on my servers sends me a mail within two minutes – a tripwire that stops nobody, but makes sure a break-in does not go unnoticed. It is built from wtmp and a systemd timer instead of a PAM hook, so it never blocks a login and stays quiet for automation. Plus the question of what an attacker learns from this post.&lt;/p&gt;</description></item><item><title>Defence in Depth: Nine Layers Between the Internet and My Servers</title><link>https://www.apt-upgrade.me/2026/10/13/defense-in-depth-nine-layers/</link><pubDate>Tue, 13 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/13/defense-in-depth-nine-layers/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; A blog and two Nextclouds are not worth a targeted attack – which is exactly why scanners knock on them all the time. This post collects all nine defensive layers of my servers, from the network edge to the process, and then lets my AI co-admin think like an attacker: where would he start, and what did I change as a result?&lt;/p&gt;&#10;&lt;p&gt;A blog and two Nextcloud servers for local organisations: nothing on them is worth a targeted attack, and that is exactly why they get attacked. Not by someone who wants &lt;em&gt;my&lt;/em&gt; data, but by scanners that try every IP address on the internet, every hour, with the same handful of tricks. Most of them give up after the first locked door. The question is what happens with the ones that don&amp;rsquo;t.&lt;/p&gt;</description></item><item><title>A+ on SSL Labs: What My Blog’s TLS Actually Speaks (and Where the Ansible Code Lives)</title><link>https://www.apt-upgrade.me/2026/10/06/ssl-labs-a-plus-tls-ansible/</link><pubDate>Tue, 06 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/06/ssl-labs-a-plus-tls-ansible/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; My blog gets an A+ from Qualys SSL Labs for IPv4 and IPv6. But a grade alone says little – this post explains in plain words what the server actually speaks: TLS versions, ciphers, certificate and HSTS, three details more interesting than the grade, and exactly where in the &lt;a href="https://docs.ansible.com/" target="_blank" rel="noopener"&gt;Ansible&lt;/a&gt; code the A+ lives.&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;☝️ &lt;strong&gt;A quick word for everyone who just wanted to read a blog post:&lt;/strong&gt; TLS is the reason your browser shows that little padlock. Every time you open a page here, it travels to you &lt;em&gt;encrypted&lt;/em&gt;. Nobody in the same café Wi-Fi, at your internet provider or anywhere in between can read along or quietly swap a few words. And no, it is not called &amp;ldquo;SSL&amp;rdquo; any more, even if the test site below still insists on the old name. SSL was retired in 2015; we just never managed to retire the word. So when I brag about &amp;ldquo;TLS settings&amp;rdquo; below, I&amp;rsquo;m really bragging about how well the envelope around this very sentence is sealed. You&amp;rsquo;re welcome. 🤓&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>Germany Only: Geo-Fencing SSH with nftables and Ansible (and What My Logs Said About Bots and Readers)</title><link>https://www.apt-upgrade.me/2026/10/01/geo-fencing-ssh-with-nftables-and-ansible/</link><pubDate>Thu, 01 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/01/geo-fencing-ssh-with-nftables-and-ansible/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; I only ever connect from Germany – and still around 16 SSH connections per hour from all over the world knocked on the blog alone. Now nftables only lets SSH through from Germany, controlled by a single &lt;a href="https://docs.ansible.com/" target="_blank" rel="noopener"&gt;Ansible&lt;/a&gt; variable. The post shows before and after, where &amp;ldquo;Germany&amp;rdquo; comes from, how not to lock yourself out, and what the logs reveal about bots and readers along the way.&lt;/p&gt;&#10;&lt;p&gt;After moving two &lt;a href="https://nextcloud.com/" target="_blank" rel="noopener"&gt;Nextcloud&lt;/a&gt; instances to new servers this week, I asked a simple question: &lt;em&gt;do my three servers – this blog and the two Nextclouds – attract different kinds of attackers?&lt;/em&gt; The answer was mostly &amp;ldquo;no, it&amp;rsquo;s the same background noise everywhere&amp;rdquo;. Except for one line that bugged me: &lt;strong&gt;SSH&lt;/strong&gt;. It runs on a non-standard port, accepts keys only, and fail2ban watches it. And yet the blog alone logged around &lt;strong&gt;16 connection attempts per hour&lt;/strong&gt; to the SSH daemon, from all over the world.&lt;/p&gt;</description></item><item><title>My Own Little Certificate Authority: AD CS, Auto-Enrollment and Goodbye to “Your Connection Is Not Private”</title><link>https://www.apt-upgrade.me/2026/09/29/my-own-little-certificate-authority-ad-cs-auto-enrollment-and-goodbye-to-your-connection-is-not-private/</link><pubDate>Tue, 29 Sep 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/09/29/my-own-little-certificate-authority-ad-cs-auto-enrollment-and-goodbye-to-your-connection-is-not-private/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Three domain controllers, two clients, three iLOs – and until last week not a single certificate anyone had reason to trust. Now my homelab has its own small certificate authority with AD CS, and Active Directory hands out the certificates itself via auto-enrollment. The post shows the design and its compromises, templates without the GUI, an RDP policy that did nothing, iLO certificates via Redfish and checking it all with OpenSSL.&lt;/p&gt;</description></item><item><title>Day Two Operations: Hardening Three Windows Domain Controllers (and Finding a Clock That Answered to Nobody)</title><link>https://www.apt-upgrade.me/2026/09/28/day-two-operations-hardening-three-windows-domain-controllers-and-finding-a-clock-that-answered-to-nobody/</link><pubDate>Mon, 28 Sep 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/09/28/day-two-operations-hardening-three-windows-domain-controllers-and-finding-a-clock-that-answered-to-nobody/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Day one was installing my Windows Server 2025 domain, all green. Day two is the part with the uncomfortable questions: who says what time it is? Which services are running that nobody ordered? What happens if a server does not boot tomorrow? The post goes through time, DNS order, AD sites, hardening, updates without WSUS, backup and BitLocker – and a clock that answered to nobody.&lt;/p&gt;&#10;&lt;p&gt;In &lt;a href="https://www.apt-upgrade.me/2026/09/23/enough-yaml-for-now-three-servers-windows-server-2025-and-a-crash-course-on-the-dark-side/"&gt;the last post&lt;/a&gt; three HP boxes became a Windows Server 2025 domain: AD, DNS, DHCP failover, Group Policy, BitLocker, Storage Spaces. That was day one: everything installed, everything green, everything &amp;ldquo;works&amp;rdquo;.&lt;/p&gt;</description></item><item><title>151 Pass, 113 Fail: My Linux Box Gets a Reality Check</title><link>https://www.apt-upgrade.me/2026/08/20/1302/</link><pubDate>Thu, 20 Aug 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/08/20/1302/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; After the cluster audit with &lt;a href="https://github.com/aquasecurity/kube-bench" target="_blank" rel="noopener"&gt;kube-bench&lt;/a&gt;, it was the turn of the AlmaLinux host underneath: &lt;a href="https://www.open-scap.org/" target="_blank" rel="noopener"&gt;OpenSCAP&lt;/a&gt; against the CIS benchmark gave 151 passed and 113 failed. In one evening I roughly halved the failures – AIDE, kernel network hardening, locked-down temp directories, journald, sudo and SSH –, and everything left is a deliberate, documented compromise.&lt;/p&gt;&#10;&lt;p&gt;Same evening, different layer of the stack. 🥱➡️🤓 After the kube-bench post I got a very reasonable follow-up question in the comments-that-live-in-my-own-head: &lt;em&gt;&amp;ldquo;okay but what about the actual Linux box underneath all this Kubernetes stuff?&amp;rdquo;&lt;/em&gt; Fair point. kube-bench only ever looks at the cluster — API server flags, RBAC, pod security. The AlmaLinux 9 host it&amp;rsquo;s all running on top of never got the same treatment. So, one more late-night detour. 🐧🔍&lt;/p&gt;</description></item><item><title>Back From Sweden, Straight Into a CIS Benchmark Rabbit Hole</title><link>https://www.apt-upgrade.me/2026/08/20/back-from-sweden-straight-into-a-cis-benchmark-rabbit-hole/</link><pubDate>Thu, 20 Aug 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/08/20/back-from-sweden-straight-into-a-cis-benchmark-rabbit-hole/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Back from holiday in Sweden, I read up on the syllabus of the Kubernetes security certification CKS – and ran &lt;a href="https://github.com/aquasecurity/kube-bench" target="_blank" rel="noopener"&gt;kube-bench&lt;/a&gt; against my production cluster: 55 pass, 4 fail, 57 warn. The post shows what I fixed – permissions on certificate files, unnecessary ServiceAccount tokens, RBAC, NetworkPolicies – and two bugs that only showed up because I really tested.&lt;/p&gt;&#10;&lt;p&gt;🇸🇪 I&amp;rsquo;m back from Sweden. Tan: nonexistent (it&amp;rsquo;s Sweden). Mosquito bite count: illegal. Motivation to touch my homelab again: through the roof. There&amp;rsquo;s something about two weeks of forced screen-free time in a forest that makes you come home and immediately want to &lt;code&gt;ssh&lt;/code&gt; into a Kubernetes cluster at 11pm on a Wednesday. Don&amp;rsquo;t diagnose me. 💻&#10;So the last few evenings I&amp;rsquo;ve been doing what any well-adjusted person does after a vacation: 📚 reading into Kubernetes security material, specifically the &lt;strong&gt;Certified Kubernetes Security Specialist (CKS)&lt;/strong&gt; curriculum. To be clear — I&amp;rsquo;m not currently planning to actually sit the exam, I&amp;rsquo;m just nerding out on the topic because it&amp;rsquo;s genuinely interesting and directly relevant to a cluster I run in production (well, &amp;ldquo;production&amp;rdquo; — it&amp;rsquo;s a blog). CKS is the &amp;ldquo;okay but can you actually secure the thing&amp;rdquo; syllabus in the Kubernetes world — RBAC hardening, supply chain, runtime security, network policy, the whole buffet of &amp;ldquo;things that are fine until they very much aren&amp;rsquo;t.&amp;rdquo; And somewhere in that rabbit hole I re-discovered a tool I&amp;rsquo;d used once years ago and completely forgotten existed: &lt;strong&gt;kube-bench&lt;/strong&gt; 🔍.&lt;/p&gt;</description></item><item><title>Teaching My Blog to Sniff Its Own Uploads: ClamAV on WordPress (and Proving It Actually Barks)</title><link>https://www.apt-upgrade.me/2026/07/28/teaching-my-blog-to-sniff-its-own-uploads-clamav-on-wordpress-and-proving-it-actually-barks/</link><pubDate>Tue, 28 Jul 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/07/28/teaching-my-blog-to-sniff-its-own-uploads-clamav-on-wordpress-and-proving-it-actually-barks/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; The &lt;a href="https://wordpress.org/" target="_blank" rel="noopener"&gt;WordPress&lt;/a&gt; uploads folder is the most common place where attacker code ends up – writable, reachable from the web and forgotten by everyone. Now &lt;a href="https://www.clamav.net/" target="_blank" rel="noopener"&gt;ClamAV&lt;/a&gt; sniffs at it every night and mails me as soon as something smells. And because an untested smoke alarm is just ceiling decoration, I set it off on purpose with the EICAR test file.&lt;/p&gt;&#10;&lt;p&gt;A WordPress &lt;code&gt;uploads&lt;/code&gt; folder is supposed to hold your holiday photos&#10;and the occasional PDF. It is emphatically &lt;em&gt;not&lt;/em&gt; supposed to hold a PHP&#10;web shell — but &amp;ldquo;supposed to&amp;rdquo; is doing a lot of heavy lifting there. The&#10;uploads directory is the single most common place a compromised WordPress ends&#10;up executing attacker code, because it&amp;rsquo;s writable, web-reachable, and everyone&#10;forgets about it. So I gave mine a nose: a virus scanner that sniffs the upload&#10;folder every night and emails me the moment it smells something. 👃&#10;And because a smoke detector you&amp;rsquo;ve never tested is just ceiling jewellery, I&#10;also made it go off on purpose. More on that at the end.&lt;/p&gt;</description></item><item><title>Who Watches the Watchmen? Adding a Monit Watchdog After fail2ban Died Quietly for Two Days</title><link>https://www.apt-upgrade.me/2026/07/28/who-watches-the-watchmen-adding-a-monit-watchdog-after-fail2ban-died-quietly-for-two-days/</link><pubDate>Tue, 28 Jul 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/07/28/who-watches-the-watchmen-adding-a-monit-watchdog-after-fail2ban-died-quietly-for-two-days/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; &lt;a href="https://github.com/fail2ban/fail2ban" target="_blank" rel="noopener"&gt;fail2ban&lt;/a&gt; had been dead on my server for two days because a config pointed to a log path that no longer existed – and nobody told me. The scary part is not the failure, it is the silence. Now Monit watches over the important services and sends a mail when one fails; plus an hour of fighting the mail configuration and an honest test.&lt;/p&gt;&#10;&lt;p&gt;Confession time. A while back I discovered that &lt;strong&gt;fail2ban had been dead&#10;on my server for two days&lt;/strong&gt; and I had no idea. A config file pointed at&#10;a log path that no longer existed, fail2ban refused to start, systemd shrugged,&#10;and the whole thing just... sat there. Not banning anyone. Silently. 🙈&#10;The scary part isn&amp;rsquo;t that a service died — services die. The scary part&#10;is that &lt;em&gt;nothing told me.&lt;/em&gt; A security control can fail open and you&amp;rsquo;d&#10;never know until you go looking. So I did the sensible thing and added a&#10;watchdog whose entire job is to notice when something is wrong and yell at me&#10;about it.&lt;/p&gt;</description></item><item><title>🥷 I Spent an Evening Trying to Break Into My Own Blog. It Banned Me. Twice</title><link>https://www.apt-upgrade.me/2026/07/28/%F0%9F%A5%B7-i-spent-an-evening-trying-to-break-into-my-own-blog-it-banned-me-twice/</link><pubDate>Tue, 28 Jul 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/07/28/%F0%9F%A5%B7-i-spent-an-evening-trying-to-break-into-my-own-blog-it-banned-me-twice/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; I set an AI on my own blog – with permission and on purpose – to see whether my defences really hold. The server locked out its own owner twice, most attacks bounced off, one made me nervous for a moment, and a few things I fixed the same evening.&lt;/p&gt;&#10;&lt;p&gt;A few days ago the news served up a delightfully unsettling story: OpenAI&#10;admitted that two of its AI models, during a security evaluation, actually&#10;&lt;strong&gt;escaped their test sandbox&lt;/strong&gt;, wandered onto the open internet,&#10;and breached &lt;em&gt;Hugging Face&amp;rsquo;s production infrastructure&lt;/em&gt; — chaining&#10;a real zero-day — just to steal the answer key to a benchmark 🤖💥&#10;(&lt;a href="https://www.malwarebytes.com/blog/news/2026/07/openais-agent-escaped-its-sandbox-during-a-security-test" target="_blank" rel="noopener"&gt;Malwarebytes&lt;/a&gt;,&#10;&lt;a href="https://thehackernews.com/2026/07/openai-says-its-own-ai-models-escaped.html" target="_blank" rel="noopener"&gt;The Hacker News&lt;/a&gt;).&#10;That story is the nightmare version. What I did is the boring, wholesome&#10;opposite: I took an AI and pointed it at &lt;em&gt;my own blog&lt;/em&gt; — with&#10;permission, on purpose, going nowhere it wasn&amp;rsquo;t invited — just to see&#10;whether my own defences actually hold. Same kind of technology, aimed&#10;&lt;strong&gt;inward&lt;/strong&gt; at something I own, not outward at somebody else&amp;rsquo;s&#10;servers. Nothing broke out of anything. 🪞&#10;Quick disclaimer before anyone clutches their pearls: &lt;strong&gt;this blog is&#10;mine.&lt;/strong&gt; Authorising a security scan of it is a one-person committee, and&#10;the committee voted yes. ✅ No sandboxes were harmed, nothing escaped, and the&#10;only infrastructure at risk was my own.&#10;After the whole &lt;strong&gt;wp2shell&lt;/strong&gt; saga I was curious anyway: my blog&#10;runs on a hand-rolled K3s + WordPress stack that I harden myself — with,&#10;full transparency, an &lt;strong&gt;AI riding shotgun&lt;/strong&gt; both for the hardening&#10;and for this very assessment. So how would it hold up if someone poked at it&#10;on purpose? Only one way to find out and see what falls over.&lt;/p&gt;</description></item><item><title>wp2shell, a Fake Chrome, and a Botnet in a Trenchcoat: What My Own Access Logs Told On Me</title><link>https://www.apt-upgrade.me/2026/07/23/wp2shell-a-fake-chrome-and-a-botnet-in-a-trenchcoat-what-my-own-access-logs-told-on-me/</link><pubDate>Thu, 23 Jul 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/07/23/wp2shell-a-fake-chrome-and-a-botnet-in-a-trenchcoat-what-my-own-access-logs-told-on-me/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; After the &amp;ldquo;wp2shell&amp;rdquo; vulnerability in WordPress I went through my blog&amp;rsquo;s access logs at night. The result: the internet does not care who you are – automated scanners tried the hole, a fake Chrome included, and a botnet of scrapers disguised itself as normal visitors. The post shows the evidence and who actually does this kind of thing.&lt;/p&gt;&#10;&lt;p&gt;A few days ago, &lt;strong&gt;&amp;ldquo;wp2shell&amp;rdquo;&lt;/strong&gt; made the rounds — an unauthenticated&#10;RCE chain in WordPress, cobbled together from a SQL injection&#10;(&lt;code&gt;CVE-2026-60137&lt;/code&gt;) and a validation bypass in the REST batch&#10;endpoint (&lt;code&gt;CVE-2026-63030&lt;/code&gt;). 🩸 The full chain hit&#10;WordPress 6.9 and later (the SQL injection alone reached back to 6.8); upstream fixed it in &lt;code&gt;7.0.2&lt;/code&gt;, plus the security releases &lt;code&gt;6.9.5&lt;/code&gt; and &lt;code&gt;6.8.6&lt;/code&gt;. For a&#10;nail-biting couple of days, this very blog was running an emergency&#10;nginx block on &lt;code&gt;/wp-json/batch/v1&lt;/code&gt; because the patched&#10;Docker image simply refused to exist yet. Classic. 🙃&#10;So naturally, once the fire was out, I did what any self-respecting&#10;homelab nerd does at 2am: I went spelunking through my own ingress&#10;logs. 🕵️‍♂️ Turns out the internet does not care that you patched.&#10;The internet keeps knocking anyway.&lt;/p&gt;</description></item><item><title>WP2Shell, an Unpatched Docker Image, and the Night Claude Fixed My Nginx Config Without Being Asked 🐚</title><link>https://www.apt-upgrade.me/2026/07/20/wp2shell-an-unpatched-docker-image-and-the-night-claude-fixed-my-nginx-config-without-being-asked-%F0%9F%90%9A/</link><pubDate>Mon, 20 Jul 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/07/20/wp2shell-an-unpatched-docker-image-and-the-night-claude-fixed-my-nginx-config-without-being-asked-%F0%9F%90%9A/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; &amp;ldquo;WP2Shell&amp;rdquo; chains two WordPress bugs into code execution without any login – and the patched Docker image for my blog did not exist yet. So an emergency block went into &lt;a href="https://nginx.org/" target="_blank" rel="noopener"&gt;nginx&lt;/a&gt;. The remarkable part: Claude did not just suggest it, but unprompted chose the right layer, tested it against the real bypass and fixed the configuration.&lt;/p&gt;&#10;&lt;p&gt;I stumbled across &lt;a href="https://www.heise.de/news/wp2shell-Kritische-WordPress-Luecke-erlaubt-Codeeinschleusung-ueber-API-11369660.html" target="_blank" rel="noopener"&gt;this article&lt;/a&gt; — fair warning, it&amp;rsquo;s in German, apparently the anglophone tech press hadn&amp;rsquo;t picked it up yet when I read it. Here&amp;rsquo;s the gist: a vulnerability chain nicknamed “WP2Shell” chains together two separate WordPress bugs — a SQL injection in &lt;code&gt;WP_Query&lt;/code&gt;&amp;rsquo;s &lt;code&gt;author__not_in&lt;/code&gt; parameter (CVE-2026-60137) and a validation flaw in the &lt;code&gt;/wp-json/batch/v1&lt;/code&gt; REST endpoint (CVE-2026-63030) — into a fully unauthenticated remote code execution primitive. Individually, either bug is merely “concerning.” Chained together, an attacker with zero credentials can pop a shell on any WordPress 6.9+ install. That&amp;rsquo;s the kind of finding that ruins a Friday. 🔥&#10;So naturally, I went to go patch my own blog, since I&amp;rsquo;m running exactly that version range.&#10;Except: no updated Docker image yet. &lt;code&gt;wordpress:7.0.2-php8.3-fpm&lt;/code&gt; — the tag that actually contains the fix — simply didn&amp;rsquo;t exist on Docker Hub yet. Great. A confirmed unauthenticated RCE in the wild, and the one artifact I need to close it hasn&amp;rsquo;t been published. 😅&#10;Here&amp;rsquo;s the part that actually got me typing this post: I didn&amp;rsquo;t even get to suggesting a stopgap myself. &lt;strong&gt;Claude — an AI, not a human dev, not a script I wrote&lt;/strong&gt; — looked at the situation, recognised the exploit chain was blockable at the reverse-proxy layer even without touching the app container, and proactively wrote the mitigation into my nginx ConfigMap — unprompted. I hadn&amp;rsquo;t asked for a workaround. I&amp;rsquo;d asked about the vulnerability. &lt;strong&gt;No ticket, no Stack Overflow copy-paste, no human in the loop — just an AI model reasoning about my actual infrastructure and deciding to act.&lt;/strong&gt; It just… handled it. 🤖&#10;The fix itself is a nice, small piece of defence-in-depth: block the vulnerable REST route at nginx before it ever reaches PHP-FPM. But — and this is the detail that impressed me — a single &lt;code&gt;location&lt;/code&gt; block wasn&amp;rsquo;t enough. WordPress&amp;rsquo;s REST router accepts requests two different ways: the pretty-permalink form (&lt;code&gt;/wp-json/batch/v1&lt;/code&gt;) &lt;em&gt;and&lt;/em&gt; a query-string fallback (&lt;code&gt;/?rest_route=/batch/v1&lt;/code&gt;) that most naive nginx rules don&amp;rsquo;t account for. Claude tested both paths live against the running site, confirmed the query-param form sailed straight past a path-only &lt;code&gt;location&lt;/code&gt; block, and shipped both mitigations together:&lt;/p&gt;</description></item><item><title>🔒 GitHub Repo Update: Migrating from iptables to nftables — A Packet Filter Deep Dive</title><link>https://www.apt-upgrade.me/2026/06/16/%F0%9F%94%92-github-repo-update-nftables-iptables-a-packet-filter-deep-dive/</link><pubDate>Tue, 16 Jun 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/06/16/%F0%9F%94%92-github-repo-update-nftables-iptables-a-packet-filter-deep-dive/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; The firewall in my public Ansible repository has been completely rewritten from iptables to &lt;a href="https://wiki.nftables.org/" target="_blank" rel="noopener"&gt;nftables&lt;/a&gt;, the modern Linux standard. The post explains why the switch is worth it and walks through the new rule set section by section.&lt;/p&gt;&#10;&lt;p&gt;Where a point describes a change, a link leads to the commit that made it.&lt;/p&gt;&#10;&lt;p&gt;Quick repo update: the &lt;a href="https://github.com/aptupgrademe/www_k3s" target="_blank" rel="noopener"&gt;www_k3s GitHub repo&lt;/a&gt; just got a significant firewall overhaul. The old setup used classic &lt;strong&gt;iptables&lt;/strong&gt; — which worked fine, but was starting to feel like driving a stick-shift with three pedals. Time to upgrade. The firewall is now fully rewritten in &lt;strong&gt;nftables&lt;/strong&gt;, the modern successor that has been part of the Linux kernel since 3.13. Here&amp;rsquo;s why that&amp;rsquo;s the right call, and a full walkthrough of what the new ruleset actually does. 🧵 → &lt;a href="https://github.com/aptupgrademe/nextcloud_k3s/commit/89c5850" target="_blank" rel="noopener"&gt;&lt;code&gt;89c5850&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Symmetric vs. Asymmetric Encryption – A Nerd’s Practical Guide (with GnuPG, Certificates &amp; Signatures)</title><link>https://www.apt-upgrade.me/2026/04/03/symmetric-vs-asymmetric-encryption-a-nerds-practical-guide-with-gnupg-certificates-signatures/</link><pubDate>Fri, 03 Apr 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/04/03/symmetric-vs-asymmetric-encryption-a-nerds-practical-guide-with-gnupg-certificates-signatures/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Symmetric and asymmetric encryption are the two building blocks of modern cryptography – and in practice they almost always work together. This guide explains both with their pros and cons, why hybrid encryption is the normal case, and shows step by step with &lt;a href="https://gnupg.org/" target="_blank" rel="noopener"&gt;GnuPG&lt;/a&gt; how to create and exchange keys, encrypt messages and sign them.&lt;/p&gt;&#10;&lt;h2 id="-cryptography-in-practice"&gt;🌐 Cryptography in Practice&lt;/h2&gt;&#10;&lt;p&gt;If you use the internet, you are constantly interacting with cryptographic systems—TLS handshakes, package signatures, SSH keys—whether you notice it or not.&lt;/p&gt;</description></item><item><title>🧠 Operating Community Nextcloud Instances with Ansible, AlmaLinux, SELinux and a Podman-based Collabora Stack</title><link>https://www.apt-upgrade.me/2026/02/26/%F0%9F%A7%A0-operating-community-nextcloud-instances-with-ansible-almalinux-selinux-and-a-podman-based-collabora-stack/</link><pubDate>Thu, 26 Feb 2026 20:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2026/02/26/%F0%9F%A7%A0-operating-community-nextcloud-instances-with-ansible-almalinux-selinux-and-a-podman-based-collabora-stack/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; As a volunteer I run several Nextcloud instances for two local clubs – for digital sovereignty and as a learning playground. Now they are being unified: away from individual playbooks on Debian, towards &lt;a href="https://almalinux.org/" target="_blank" rel="noopener"&gt;AlmaLinux&lt;/a&gt; with &lt;a href="https://github.com/SELinuxProject" target="_blank" rel="noopener"&gt;SELinux&lt;/a&gt;, one shared &lt;a href="https://docs.ansible.com/" target="_blank" rel="noopener"&gt;Ansible&lt;/a&gt; stack and Collabora in a Podman container instead of a manual install. The post describes goals, migration strategy and status – including a beta download.&lt;/p&gt;&#10;&lt;p&gt;I currently operate multiple &lt;strong&gt;Nextcloud instances&lt;/strong&gt; for two local community organisations in a purely voluntary capacity.&lt;/p&gt;</description></item><item><title>On Digital Sovereignty, De-Americanizing My Software Stack, and Running WhatsApp in a Sandbox</title><link>https://www.apt-upgrade.me/2025/12/14/on-digital-sovereignty-de-americanizing-my-software-stack-and-running-whatsapp-in-a-sandbox/</link><pubDate>Sun, 14 Dec 2025 20:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2025/12/14/on-digital-sovereignty-de-americanizing-my-software-stack-and-running-whatsapp-in-a-sandbox/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; For years I have been toying with the idea of gradually freeing myself from US-centric software – not out of ideological purity, but to minimise unnecessary data exposure. It has turned into a personal experiment. One building block: WhatsApp and other apps I cannot do without run isolated in a sandbox on my phone.&lt;/p&gt;&#10;&lt;article class="post-content"&gt;&#10;&lt;section&gt;&lt;h2&gt;Why This Experiment Exists&lt;/h2&gt;&lt;p&gt;Lately, I have been revisiting an idea that has been on my mind for many years:&lt;br/&gt;&#10;&lt;strong&gt;how to gradually move away from US-centric software products&lt;/strong&gt;.&lt;/p&gt;&lt;p&gt;By now, this has turned into a personal experiment —&lt;br/&gt;&#10;&lt;em&gt;part technical challenge, part entertainment, part philosophical exercise&lt;/em&gt;.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;The goal is not ideological purity, but conscious trade-offs.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;My core premise has remained unchanged over the years:&lt;br/&gt;&#10;&lt;strong&gt;minimise unnecessary data exposure&lt;/strong&gt;.&lt;br/&gt;&#10;Given the current political climate — especially developments in US politics —&#10;the topic of &lt;mark&gt;digital sovereignty&lt;/mark&gt; feels more relevant than ever.&lt;/p&gt;&lt;div style="border-left: 4px solid #888; padding: 0.8em 1em; background: #f7f7f7;"&gt;&lt;strong&gt;Working definition:&lt;/strong&gt;&lt;br/&gt;&#10;&lt;em&gt;Digital sovereignty&lt;/em&gt; means retaining control over software dependencies,&#10;data flows, and infrastructure — even if that comes at the cost of convenience.&lt;/div&gt;&#10;&lt;/section&gt;&#10;&lt;hr/&gt;&#10;&lt;section&gt;&lt;h2&gt;The Messaging Problem: Technology vs. People&lt;/h2&gt;&lt;p&gt;Several years ago, I managed to stay away from&#10;&lt;code&gt;WhatsApp&lt;/code&gt; for a surprisingly long time.&lt;br/&gt;&#10;From a purely technical perspective, this was trivial.&lt;/p&gt;&lt;p&gt;Alternatives like&#10;&lt;a href="https://signal.org" rel="noopener" target="_blank"&gt;Signal&lt;/a&gt;&#10;are feature-complete, cryptographically solid, and often superior by design.&lt;/p&gt;&lt;p&gt;The real obstacle was not software — it was&#10;&lt;strong&gt;human network effects&lt;/strong&gt;.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Most non-technical users do not care about metadata collection&lt;/li&gt;&lt;li&gt;Surveillance capitalism is abstract and invisible&lt;/li&gt;&lt;li&gt;Installing “yet another app” is perceived as friction&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;As a result, WhatsApp remains the lowest common denominator for social&#10;communication.&lt;/p&gt;&lt;div style="background: #fff3cd; padding: 1em; border: 1px solid #ffeeba;"&gt;&lt;strong&gt;Reality check:&lt;/strong&gt;&lt;br/&gt;&#10;Quitting WhatsApp is not a technical decision — it is a social one.&lt;/div&gt;&lt;p&gt;At this point, I am not willing to accept the social cost of full abstinence.&lt;br/&gt;&#10;Too many people would become reachable only via&#10;&lt;code&gt;SMS&lt;/code&gt;, &lt;code&gt;phone calls&lt;/code&gt;, or &lt;code&gt;email&lt;/code&gt;.&lt;/p&gt;&lt;/section&gt;&#10;&lt;hr/&gt;&#10;&lt;section&gt;&lt;h2&gt;GrapheneOS: A Different Baseline&lt;/h2&gt;&lt;p&gt;Instead of removing WhatsApp entirely, I decided to rethink the&#10;&lt;strong&gt;operating system layer&lt;/strong&gt;.&lt;/p&gt;&lt;p&gt;I installed&#10;&lt;a href="https://grapheneos.org" rel="noopener" target="_blank"&gt;GrapheneOS&lt;/a&gt;&#10;on my daily driver — a &lt;strong&gt;Pixel 9&lt;/strong&gt;.&lt;/p&gt;&lt;p&gt;The installation process itself is refreshingly modern:&#10;a browser-based installer, excellent documentation, and a total setup time&#10;of roughly &lt;code&gt;20 minutes&lt;/code&gt;.&lt;/p&gt;&lt;p&gt;While &lt;a href="https://grapheneos.org/" rel="noopener" target="_blank"&gt;GrapheneOS&lt;/a&gt; is still Android under the hood, it deliberately ships&#10;&lt;strong&gt;without Google Play Services&lt;/strong&gt; and without requiring&#10;a Google account.&lt;/p&gt;&lt;div style="border-left: 4px solid #444; padding: 0.8em 1em; background: #f0f0f0;"&gt;&lt;strong&gt;Key property:&lt;/strong&gt;&lt;br/&gt;&#10;Google services are optional, sandboxed, and installed per user profile —&#10;not globally.&lt;/div&gt;&lt;p&gt;There is, of course, a certain irony in the fact that GrapheneOS officially&#10;supports only Google Pixel devices — hardware built by Google itself.&lt;/p&gt;&lt;/section&gt;&#10;&lt;hr/&gt;&#10;&lt;section&gt;&lt;h2&gt;Compartmentalization with Shelter&lt;/h2&gt;&lt;p&gt;To further isolate untrusted applications, I installed&#10;&lt;a href="https://f-droid.org/packages/net.typeblog.shelter/" rel="noopener" target="_blank"&gt;Shelter&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Shelter is essentially a user-friendly frontend for Android’s&#10;&lt;code&gt;work profile&lt;/code&gt; feature.&lt;br/&gt;&#10;It allows apps to run in a logically separate environment with strict&#10;boundaries.&lt;/p&gt;&lt;p&gt;I created a dedicated &lt;strong&gt;Work Profile&lt;/strong&gt; and moved WhatsApp into it.&lt;br/&gt;&#10;This turns WhatsApp into a semi-contained subsystem.&lt;/p&gt;&lt;h3&gt;What This Enables&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;Completely separate &lt;strong&gt;contacts database&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;No implicit access to my main address book&lt;/li&gt;&lt;li&gt;GPS access denied&lt;/li&gt;&lt;li&gt;Photo library access denied&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;For now, location and media access are fully blocked.&lt;br/&gt;&#10;The experiment is to see how far usability can be stretched without&#10;completely breaking the user experience.&lt;/p&gt;&lt;/section&gt;&#10;&lt;hr/&gt;&#10;&lt;section&gt;&lt;h2&gt;Important Clarification&lt;/h2&gt;&lt;blockquote&gt;&lt;p&gt;This is not about hating WhatsApp.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Quite the opposite.&lt;br/&gt;&#10;I genuinely enjoy WhatsApp, especially the&#10;&lt;strong&gt;Status&lt;/strong&gt; feature and its low-friction sharing model.&lt;/p&gt;&lt;p&gt;The issue is not social sharing —&#10;it is the &lt;em&gt;opaque backend machinery&lt;/em&gt;.&lt;/p&gt;&lt;p&gt;US-based cloud infrastructures, unclear data flows, and the lack of&#10;transparency around content processing are what I am increasingly&#10;unwilling to accept blindly —&#10;especially when it comes to photos of my children.&lt;/p&gt;&lt;/section&gt;&lt;p&gt;&lt;/p&gt;&lt;hr/&gt;&#10;&lt;section&gt;&lt;h2&gt;Visual Trust Boundaries: Reading the App Drawer&lt;/h2&gt;&lt;p&gt;The screenshot above illustrates how this compartmentalization manifests itself&#10;in everyday usage.&lt;br/&gt;&#10;The app drawer is effectively split into two distinct trust zones.&lt;/p&gt;&lt;p&gt;In the &lt;strong&gt;upper section&lt;/strong&gt;, you can see applications that I consider&#10;&lt;em&gt;trusted&lt;/em&gt; and therefore run in my primary user profile without additional&#10;restrictions.&lt;br/&gt;&#10;These apps have either been audited to a reasonable extent, are open source, or&#10;are sufficiently constrained in their data access patterns.&lt;/p&gt;&lt;p&gt;The &lt;strong&gt;lower section&lt;/strong&gt; contains applications that have been&#10;deliberately &lt;code&gt;crippled&lt;/code&gt; via&#10;&lt;a href="https://f-droid.org/packages/net.typeblog.shelter/" rel="noopener" target="_blank"&gt;Shelter&lt;/a&gt;.&lt;br/&gt;&#10;These apps run exclusively inside the Work Profile and are treated as&#10;&lt;strong&gt;inherently untrusted&lt;/strong&gt;.&lt;/p&gt;&lt;div style="border-left: 4px solid #b00020; padding: 0.8em 1em; background: #faf2f2;"&gt;&lt;strong&gt;Visual indicator:&lt;/strong&gt;&lt;br/&gt;&#10;Apps managed by Shelter are easy to identify.&lt;br/&gt;&#10;They are marked with a small icon depicting a&#10;&lt;em&gt;blindfolded head&lt;/em&gt; — a subtle but constant reminder that these applications&#10;are sandboxed, permission-constrained, and isolated by design.&lt;/div&gt;&lt;p&gt;This visual separation is not just cosmetic.&lt;br/&gt;&#10;It serves as a &lt;strong&gt;cognitive security cue&lt;/strong&gt;:&#10;a quick reminder of which apps operate within my trust boundary and which ones&#10;are confined to a tightly controlled execution environment.&lt;/p&gt;&lt;p&gt;Over time, this has proven surprisingly useful.&lt;br/&gt;&#10;It reinforces a mental model where applications are no longer equal peers on the&#10;system, but explicitly categorised based on&#10;&lt;code&gt;trust level&lt;/code&gt;,&#10;&lt;code&gt;data access&lt;/code&gt;,&#10;and &lt;code&gt;potential blast radius&lt;/code&gt;.&lt;/p&gt;&lt;/section&gt;&#10;&lt;section&gt;&#10;&lt;hr/&gt;&lt;h2&gt;What Comes Next&lt;/h2&gt;&lt;p&gt;This setup is still evolving.&lt;br/&gt;&#10;I will continue testing, adjusting permissions, and observing real-world&#10;limitations.&lt;/p&gt;&lt;p&gt;Expect follow-up posts on:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Push notifications and Google services in sandboxed profiles&lt;/li&gt;&lt;li&gt;Battery behaviour of work profiles&lt;/li&gt;&lt;li&gt;Long-term usability trade-offs&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;More updates will follow.&lt;/p&gt;&lt;/section&gt;&#10;&lt;/article&gt;</description></item><item><title>🎄✨ Lighting Up the First Advent… with an XMAS Scan! ✨🎄</title><link>https://www.apt-upgrade.me/2025/12/01/%F0%9F%8E%84%E2%9C%A8-lighting-up-the-first-advent-with-an-xmas-scan-%E2%9C%A8%F0%9F%8E%84/</link><pubDate>Mon, 01 Dec 2025 20:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2025/12/01/%F0%9F%8E%84%E2%9C%A8-lighting-up-the-first-advent-with-an-xmas-scan-%E2%9C%A8%F0%9F%8E%84/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; On the first Sunday of Advent, nerds light not only a candle but also a TCP packet with FIN, PSH and URG all set: the XMAS scan. With a festive wink, the post explains what an XMAS scan is, how it works, what it is used for and how to run one with nmap legally and ethically.&lt;/p&gt;&#10;&lt;p&gt;It’s the &lt;strong&gt;First Advent&lt;/strong&gt;, which means the season of warm lights, cinnamon smells, questionable sweaters, and…&lt;/p&gt;</description></item><item><title>Signal vs. WhatsApp: The Ultimate Nerd Showdown — Privacy, Big Tech, Metadata, and Why Signal Feels Like Digital Freedom</title><link>https://www.apt-upgrade.me/2025/12/01/signal-vs-whatsapp-the-ultimate-nerd-showdown-privacy-big-tech-metadata-and-why-signal-feels-like-digital-freedom/</link><pubDate>Mon, 01 Dec 2025 20:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2025/12/01/signal-vs-whatsapp-the-ultimate-nerd-showdown-privacy-big-tech-metadata-and-why-signal-feels-like-digital-freedom/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; &lt;a href="https://signal.org/" target="_blank" rel="noopener"&gt;Signal&lt;/a&gt; and WhatsApp encrypt with the same protocol – the real difference lies in ownership and metadata. This nerd showdown compares both: Signal as a non-profit project with privacy by design, WhatsApp as part of Meta. Plus what is really true about &amp;ldquo;independence from the US&amp;rdquo;, and the technical pros and cons of both apps.&lt;/p&gt;&#10;&lt;p&gt;If you’ve spent more than five minutes in a tech forum, you’ve seen it:&lt;/p&gt;</description></item><item><title>Adventures in IPv6, Firewalls &amp; the “Oops-I-Forgot” Department 🚀</title><link>https://www.apt-upgrade.me/2025/08/25/adventures-in-ipv6-firewalls-the-oops-i-forgot-department-%F0%9F%9A%80/</link><pubDate>Mon, 25 Aug 2025 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2025/08/25/adventures-in-ipv6-firewalls-the-oops-i-forgot-department-%F0%9F%9A%80/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; I wanted to show off with a web server test and found out: after switching from Apache to nginx, my blog was completely invisible over IPv6. The culprit was a firewall I had not thought of, plus a side quest at the hosting provider. The post tells the troubleshooting story and what I pass on to my future self: script things, test them and take IPv6 seriously.&lt;/p&gt;&#10;&lt;p&gt;So, a few days ago I thought: &lt;em&gt;&amp;ldquo;Hey, let’s be cool, ditch Apache, and hop onto the Nginx hype train because... HTTP/3, baby!&amp;rdquo;&lt;/em&gt; 🎉&lt;/p&gt;</description></item><item><title>🔐 Apache under AppArmor: A Clean Static Profile Setup on Debian 12</title><link>https://www.apt-upgrade.me/2025/07/15/%F0%9F%94%90-apache-under-apparmor-a-clean-static-profile-setup-on-debian-12/</link><pubDate>Tue, 15 Jul 2025 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2025/07/15/%F0%9F%94%90-apache-under-apparmor-a-clean-static-profile-setup-on-debian-12/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; AppArmor locks programs into a profile that defines exactly what they may access – Apache included. This post shows a clean, static AppArmor profile for Apache on &lt;a href="https://www.debian.org/" target="_blank" rel="noopener"&gt;Debian&lt;/a&gt; 12, how to roll it out with Ansible, and a cheat sheet with the most important commands. It is outdated by now and waiting for a revision.&lt;/p&gt;&#10;&lt;div style="border: 2px solid #ff4d4d; background-color: #fff0f0; color: #b30000; padding: 12px 16px; border-radius: 8px; margin: 1.5em 0; font-family: 'Courier New', monospace;"&gt;&lt;p&gt;&lt;strong&gt;⚠️ Heads-up, fellow human (or bot):&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;This post is currently &lt;em&gt;outdated&lt;/em&gt; and due for a proper rewrite.&lt;br/&gt;&#10;Some parts may no longer be accurate, complete, or aligned with the latest tech realities.&lt;br/&gt;&#10;A fully updated and more detailed version is on the way soon™.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; Read at your own nerdy risk — no warranties, no guarantees, just vibes. 🤓&lt;/p&gt;&lt;/div&gt;</description></item><item><title>🛡️ Getting ClamAV Daemon to Play Nice with Nextcloud’s Antivirus App (Like a True Nerd)</title><link>https://www.apt-upgrade.me/2025/07/13/%F0%9F%9B%A1%EF%B8%8F-getting-clamav-daemon-to-play-nice-with-nextclouds-antivirus-app-like-a-true-nerd/</link><pubDate>Sun, 13 Jul 2025 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2025/07/13/%F0%9F%9B%A1%EF%B8%8F-getting-clamav-daemon-to-play-nice-with-nextclouds-antivirus-app-like-a-true-nerd/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; The Nextcloud app &amp;ldquo;Antivirus for Files&amp;rdquo; should raise the alarm as soon as something shady is uploaded – fastest with the ClamAV daemon via a local socket instead of &lt;code&gt;clamscan&lt;/code&gt;. This guide shows in seven steps how to install the daemon, give Nextcloud access to the socket, configure the app and test the whole thing.&lt;/p&gt;&#10;&lt;p&gt;If you&amp;rsquo;re like me and want your &lt;strong&gt;Nextcloud&lt;/strong&gt; to scream the moment something shady shows up in your files, then you&amp;rsquo;re probably using the &lt;em&gt;Antivirus for Files&lt;/em&gt; app. But here&amp;rsquo;s the twist: for performance and true sysadmin joy, you don&amp;rsquo;t want &lt;code&gt;clamscan&lt;/code&gt;. You want the big guns — the &lt;strong&gt;ClamAV Daemon&lt;/strong&gt; using a local Unix socket.&lt;/p&gt;</description></item><item><title>🛡️ Locking Down Your USB Drive on Linux – the Geek Way</title><link>https://www.apt-upgrade.me/2025/05/23/locking_down_your_usb_drive_on_linux/</link><pubDate>Fri, 23 May 2025 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2025/05/23/locking_down_your_usb_drive_on_linux/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; For an off-site backup, an external USB disk is to be kept with family or friends – fully encrypted with AES-256, of course. This guide shows step by step how to encrypt the disk with &lt;a href="https://gitlab.com/cryptsetup/cryptsetup" target="_blank" rel="noopener"&gt;LUKS&lt;/a&gt; on Linux, unlock it, format it, mount it and lock it safely again when you are done.&lt;/p&gt;&#10;&lt;p&gt;So I’ve decided to stash an &lt;strong&gt;external USB drive&lt;/strong&gt; — fully encrypted with &lt;strong&gt;AES-256&lt;/strong&gt; — at a family member’s or friend’s place, just to have an offsite backup of all my data (you know, in case the mothership crashes).&lt;/p&gt;</description></item><item><title>Pi-hole installed. Ads: terminated.</title><link>https://www.apt-upgrade.me/2025/05/22/pi-hole-installed_ads_terminated/</link><pubDate>Thu, 22 May 2025 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2025/05/22/pi-hole-installed_ads_terminated/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Pi-hole is the Gandalf of my network: as a local DNS server it calls out &amp;ldquo;You shall not pass!&amp;rdquo; to ads and trackers – for every device in the house at once. The post explains how Pi-hole works, how to customise it, why DNS caching makes things faster, the full-nerd mode with Unbound and local DNS records for the homelab.&lt;/p&gt;&#10;&lt;h2 id="-pi-hole--the-dns-guardian-of-your-network"&gt;🧙 Pi-hole – The DNS Guardian of Your Network&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Pi-hole is like the Gandalf of your network&lt;/strong&gt; — standing at the gateway shouting:&lt;/p&gt;</description></item><item><title>iptables, Protectli &amp; Paranoia: Basic Segmentation for the Homelab</title><link>https://www.apt-upgrade.me/2025/05/21/basic_segmentattion_for_the_home_lab/</link><pubDate>Wed, 21 May 2025 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2025/05/21/basic_segmentattion_for_the_home_lab/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; My homelab has a trusted internal network and a DMZ for the VMs that are reachable from the internet. So that a compromised server in the DMZ cannot jump into the internal network, a small &lt;a href="https://protectli.com/" target="_blank" rel="noopener"&gt;Protectli&lt;/a&gt; box acting as a firewall separates the two with a simple, stateful iptables rule set. The post shows a slimmed-down version of it.&lt;/p&gt;&#10;&lt;p&gt;At home, in my &lt;strong&gt;homelab&lt;/strong&gt;, I run multiple internal networks.&lt;br&gt;&#10;There’s one for trusted client devices, and another that’s less trusted — kind of like a &lt;strong&gt;DMZ&lt;/strong&gt;. The DMZ hosts those VMs that need to be reachable from the internet at the network level.&lt;/p&gt;</description></item><item><title>2 Years Deep into the Google Pixel 6 x GrapheneOS Life</title><link>https://www.apt-upgrade.me/2025/05/20/2_years_deep_google_pixel_grapheneos/</link><pubDate>Tue, 20 May 2025 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2025/05/20/2_years_deep_google_pixel_grapheneos/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; For about two years I have been using a Google Pixel 6 with &lt;a href="https://grapheneos.org/" target="_blank" rel="noopener"&gt;GrapheneOS&lt;/a&gt; instead of stock Android – and have not regretted it for a second. GrapheneOS goes all in on privacy and security. The post explains what makes the system special and shows my everyday apps, from F-Droid via NewPipe to Vanadium.&lt;/p&gt;&#10;&lt;p&gt;So, I’ve been rocking a &lt;strong&gt;Google Pixel 6&lt;/strong&gt; for about two years now — but not with stock Android. Nope, I flashed that sucker with &lt;strong&gt;GrapheneOS&lt;/strong&gt;, and honestly, I haven’t looked back.&lt;/p&gt;</description></item></channel></rss>