<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Edouard</title>
    <description>The latest articles on DEV Community by Edouard (@edouard_g).</description>
    <link>https://dev.to/edouard_g</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4272932%2Fa4b48d39-e948-40c1-ac41-60bee2ddd483.png</url>
      <title>DEV Community: Edouard</title>
      <link>https://dev.to/edouard_g</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/edouard_g"/>
    <language>en</language>
    <item>
      <title>Hardening a Proxmox VE host: the 8 things I do on every install</title>
      <dc:creator>Edouard</dc:creator>
      <pubDate>Sun, 29 Nov 2026 21:04:03 +0000</pubDate>
      <link>https://dev.to/edouard_g/hardening-a-proxmox-ve-host-the-8-things-i-do-on-every-install-4i8o</link>
      <guid>https://dev.to/edouard_g/hardening-a-proxmox-ve-host-the-8-things-i-do-on-every-install-4i8o</guid>
      <description>&lt;p&gt;A fresh Proxmox VE install works out of the box, but "works" and "hardened" are two different things. During my internships I set up several Proxmox hypervisors, and these are the eight steps I now apply every time, before the first VM goes live.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Keep the web UI off the user network
&lt;/h2&gt;

&lt;p&gt;The management interface listens on port 8006. It should only be reachable from a dedicated admin VLAN, never from the users' network and never from the Internet. If you need remote access, go through a VPN (WireGuard works great) rather than exposing the port.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Turn on the Proxmox firewall
&lt;/h2&gt;

&lt;p&gt;The built-in firewall is disabled by default at datacenter level. Enable it, set the input policy to &lt;code&gt;DROP&lt;/code&gt;, then allow only SSH (22) and the web UI (8006) from your admin subnet. Add the rules &lt;em&gt;before&lt;/em&gt; switching the policy, or you will lock yourself out.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Lock down SSH
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Key-based authentication only: &lt;code&gt;PasswordAuthentication no&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;No direct root login: &lt;code&gt;PermitRootLogin prohibit-password&lt;/code&gt; at minimum, &lt;code&gt;no&lt;/code&gt; if you use a personal account with &lt;code&gt;sudo&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Restart with &lt;code&gt;systemctl restart ssh&lt;/code&gt; and test from a second session before closing the first one.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. Stop doing everything as root@pamCreate named users in the &lt;code&gt;pve&lt;/code&gt; realm, give them only the roles they need (PVEVMUser, PVEAuditor...), and enable TOTP two-factor authentication. Keep &lt;code&gt;root@pam&lt;/code&gt; for emergencies.
&lt;/h2&gt;

&lt;h2&gt;
  
  
  5. Prefer unprivileged LXC containers
&lt;/h2&gt;

&lt;p&gt;Unprivileged is the default, and it is tempting to untick it when a bind mount fails. Fix the UID/GID mapping instead: a privileged container that gets compromised is much closer to being root on the host.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Fix the repositories
&lt;/h2&gt;

&lt;p&gt;Without a subscription, disable the enterprise repository and enable &lt;code&gt;no-subscription&lt;/code&gt;. Leaving the enterprise repo active without a licence makes &lt;code&gt;apt update&lt;/code&gt; fail, and updates silently stop.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Back up somewhere else
&lt;/h2&gt;

&lt;p&gt;Schedule backups of VMs and containers to a separate target, ideally Proxmox Backup Server. Then actually restore one, once. A backup you have never restored is a hope, not a backup.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. Audit the host
&lt;/h2&gt;

&lt;p&gt;Run &lt;a href="https://cisofy.com/lynis/" rel="noopener noreferrer"&gt;Lynis&lt;/a&gt; after installation (&lt;code&gt;lynis audit system&lt;/code&gt;). It will not make the host secure by itself, but it is very good at pointing out the settings you forgot.&lt;/p&gt;




&lt;p&gt;That is my baseline, not a complete security policy. What do you add on every install? A reverse proxy in front of 8006? Fail2ban on the web UI?&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This is an English adaptation of my French guide, which goes into more detail with every command: &lt;a href="https://edouard-guery.fr/blog/securiser-proxmox-ve/" rel="noopener noreferrer"&gt;Sécuriser son serveur Proxmox VE&lt;/a&gt;. I'm a cybersecurity student in France.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>proxmox</category>
      <category>security</category>
      <category>linux</category>
      <category>homelab</category>
    </item>
    <item>
      <title>How to recognize Base64, hex, ROT13 and JWT at a glance (CTF beginner cheat sheet)</title>
      <dc:creator>Edouard</dc:creator>
      <pubDate>Sun, 29 Nov 2026 20:31:12 +0000</pubDate>
      <link>https://dev.to/edouard_g/how-to-recognize-base64-hex-rot13-and-jwt-at-a-glance-ctf-beginner-cheat-sheet-1jfk</link>
      <guid>https://dev.to/edouard_g/how-to-recognize-base64-hex-rot13-and-jwt-at-a-glance-ctf-beginner-cheat-sheet-1jfk</guid>
      <description>&lt;p&gt;On your first CTFs, half of the "crypto" challenges are not crypto at all: they are encodings. The trick is to recognize them in a few seconds instead of throwing every decoder at the string. Here is the four-question method I use.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Which characters are used?
&lt;/h2&gt;

&lt;p&gt;This single question eliminates most candidates.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Characters you see&lt;/th&gt;
&lt;th&gt;Likely encoding&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Only &lt;code&gt;0&lt;/code&gt; and &lt;code&gt;1&lt;/code&gt;, often in groups of 8&lt;/td&gt;
&lt;td&gt;Binary&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Only &lt;code&gt;0-9&lt;/code&gt; and &lt;code&gt;a-f&lt;/code&gt; (or &lt;code&gt;A-F&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;Hexadecimal&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;A-Z&lt;/code&gt;, &lt;code&gt;a-z&lt;/code&gt;, &lt;code&gt;0-9&lt;/code&gt;, &lt;code&gt;+&lt;/code&gt;, &lt;code&gt;/&lt;/code&gt;, maybe &lt;code&gt;=&lt;/code&gt; at the end&lt;/td&gt;
&lt;td&gt;Base64&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Same but &lt;code&gt;-&lt;/code&gt; and &lt;code&gt;_&lt;/code&gt; instead of &lt;code&gt;+&lt;/code&gt; and &lt;code&gt;/&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Base64URL&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Only &lt;code&gt;A-Z&lt;/code&gt; and &lt;code&gt;2-7&lt;/code&gt;, lots of &lt;code&gt;=&lt;/code&gt; padding&lt;/td&gt;
&lt;td&gt;Base32&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dots, dashes and spaces&lt;/td&gt;
&lt;td&gt;Morse&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;%&lt;/code&gt; followed by two hex digits&lt;/td&gt;
&lt;td&gt;URL encoding&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Readable letters, but words look like nonsense&lt;/td&gt;
&lt;td&gt;ROT13 or another Caesar shift&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  2. What is the length?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Base64&lt;/strong&gt; output length is always a multiple of 4 (with padding).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hex&lt;/strong&gt; always has an even number of characters: two per byte.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Base32&lt;/strong&gt; is a multiple of 8, padded with &lt;code&gt;=&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Binary&lt;/strong&gt; usually comes in blocks of 8 bits.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. How does it end?
&lt;/h2&gt;

&lt;p&gt;One or two &lt;code&gt;=&lt;/code&gt; at the end almost always means Base64. Up to six &lt;code&gt;=&lt;/code&gt; points to Base32. No padding does not rule Base64 out, though: many tools strip it.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Are there dots splitting it in three parts?
&lt;/h2&gt;

&lt;p&gt;A string like &lt;code&gt;eyJhbGciOi...eyJzdWIiOi...SflKxwRJ...&lt;/code&gt; is a &lt;strong&gt;JWT&lt;/strong&gt;. Each part is Base64URL. The first two decode to JSON (header and payload); the third is the signature. Tip: &lt;code&gt;eyJ&lt;/code&gt; is what &lt;code&gt;{"&lt;/code&gt; looks like in Base64, so any string starting with &lt;code&gt;eyJ&lt;/code&gt; is probably Base64-encoded JSON.&lt;/p&gt;

&lt;h2&gt;
  
  
  Classic traps
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Layered encodings&lt;/strong&gt;: decode once, and you get... more Base64. Keep going until it stops changing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hex that looks like Base64&lt;/strong&gt;: &lt;code&gt;deadbeef&lt;/code&gt; is valid in both alphabets. Hex is the better guess when only &lt;code&gt;a-f&lt;/code&gt; letters appear.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ROT13 on top of Base64&lt;/strong&gt;: the alphabet still looks like Base64, but decoding gives garbage. Try ROT13 first.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Encoding is not encryption&lt;/strong&gt;: if nothing decodes, you may actually be facing a cipher or a hash (a 64-character hex string is often a SHA-256).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Tooling
&lt;/h2&gt;

&lt;p&gt;CyberChef is the reference for chaining operations. For quick checks, I built a free decoder that auto-detects these formats and reads JWTs, entirely in the browser (French UI): &lt;a href="https://edouard-guery.fr/outils/encodeur-base64/" rel="noopener noreferrer"&gt;Base64 / hex / ROT13 / Morse / JWT decoder&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This is an English adaptation of my original article in French: &lt;a href="https://edouard-guery.fr/blog/reconnaitre-encodage-base64-hex-rot13/" rel="noopener noreferrer"&gt;Reconnaître un encodage au premier coup d'œil&lt;/a&gt;. I'm Edouard, a cybersecurity student at Lille YNOV Campus (France).&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>ctf</category>
      <category>beginners</category>
      <category>cybersecurity</category>
    </item>
  </channel>
</rss>
