<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Ave&#39;s blog, but more random</title>
    <link>https://wf.lavatech.top/ave-but-random/</link>
    <description>this one will have more weird shit</description>
    <pubDate>Sun, 05 Apr 2026 12:37:08 +0000</pubDate>
    <item>
      <title>Bits I cut out from the main bigbigvpn post</title>
      <link>https://wf.lavatech.top/ave-but-random/bits-i-cut-out-from-the-main-bigbigvpn-post</link>
      <description>&lt;![CDATA[This blog post contains parts I cut out from the main blog post I wrote on the topic, and as such is quite messy. Sorry!&#xA;&#xA;!--more--&#xA;&#xA;&#34;But why?&#34;&#xA;&#xA;Backstory and my issues with commercial VPN services&#xA;&#xA;I happen to be a Turkey resident at the moment, and Turkey is a country with significant internet censorship, with even some simple websites like pastebin blocked. VPN use is widespread.&#xA;&#xA;Turkish government, as a result, also goes after many VPN providers.&#xA;&#xA;I used to have an account on PIA, but they got banned, and PIA not only did nothing to help Turkish users work around these bans, but also didn&#39;t even cancel our subscriptions, forcing us to get onto alternative VPN providers simply to cancel our subscriptions.&#xA;&#xA;I grew overly suspicious of commercial VPN services over the years, but after hearing many good things about Mullvad (and even seeing stickers of them on 36c3 sticker exchange) I ended up getting an account with them. Everything was alright for 6 months or so, but Turkey, or at least my household ISP (Superonline) banned them around January 2021.&#xA;&#xA;Mullvad, unlike PIA, didn&#39;t have my email and as such no way to contact me, and (hopefully) don&#39;t keep data on my IP geoloc, so I don&#39;t blame them for not cancelling my account or contacting me.&#xA;&#xA;When I contacted them, I was told that they&#39;re aware of some Turkish users having issues connecting to Mullvad. I was recommended to use the Shadowsocks option in the app, but I ended up cancelling my subscription anyways as I wanted to go back to defaulting to self hosted options.&#xA;&#xA;&#34;So why not selfhost?&#34;&#xA;&#xA;I&#39;m lucky enough to be a person who owns and operates a bunch of servers, and I already have Wireguard deployments on most of them (some older ones also have OpenVPN).&#xA;&#xA;However, there are limitations with self hosting on non-dedicated hardware. Some stuff that come to mind include:&#xA;&#xA;Privacy concerns as you have a static IP that is already associated with services you host (or in my case, also potentially a company I own)&#xA;Stealthy ports being already potentially taken by services you host on that box&#xA;Overall limitations caused by infra being in a limited number of countries for latency reasons.&#xA;&#xA;A dedicated self-hosted VPN box solves most of these except for the static IP and the number of locations.&#xA;&#xA;bigbigvpn approach solves all of these, at least to some degree.&#xA;&#xA;&#34;How&#39;d you even get the idea for this cursed thing?&#34;&#xA;&#xA;Me and my partner were watching a recent video by styropyro when he ended up interjecting a section about some commercial VPN service.&#xA;&#xA;My partner ended up asking me why anyone gets them anyways, as a VPS costs the same. We did talk about this stuff before, and I&#39;m rather outspoken against most commercial VPN services (for reasons I specified earlier).&#xA;&#xA;I told her that I agree, but then went on to talk the limited number of benefits they provide (that may be good to have depending on some usecases), such as paying once and being able to access many locations and many IPs without having to pay extra... and then I started talking about how you&#39;d need to pay hourly fees in the region to self-host a similar service in addition to your main VPN server...&#xA;&#xA;Then I realized one can just make a VPN service that just does that for all your boxes. At the end of the day:&#xA;&#xA;There&#39;s many VPS providers offering cheap servers all around the world&#xA;Most VPS providers bill hourly, have little to no setup costs, and have no commitment requirements&#xA;One can spin up and down a VPS in mere seconds and have it VPS be configured to their pre-defined requirements (using things like cloud-init)&#xA;&#xA;and I had what can only be described as a &#34;eureka moment&#34;.&#xA;&#xA;So I started working on designing it right there and then, and may have turned off the video. (Sorry styropyro!)&#xA;&#xA;&#34;insert random technical questions&#34;&#xA;&#xA;bigbigvpn currently supports Hetzner, Scaleway and DigitalOcean. More stuff are planned as I stated on the main blog, potentially even just using smth like terraform so that we can support everything_.&#xA;Automatic kill on idle code involves a daemon running on the VPN server, checking for the last Wireguard handshake from all peers. It then kills the server after a configurable amount of time, unless someone connects, in which case it resets the timer.&#xA;bigbigvpn does indeed support IPv6. Currently it&#39;s NAT&#39;d but that&#39;s one of the things I intend to improve as I add multi device support.&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>This blog post contains parts I cut out from the <a href="https://wf.lavatech.top/ave/bigbigvpn" rel="nofollow">main blog post</a> I wrote on the topic, and as such is quite messy. Sorry!</p>



<h3 id="but-why" id="but-why">“But why?”</h3>

<h4 id="backstory-and-my-issues-with-commercial-vpn-services" id="backstory-and-my-issues-with-commercial-vpn-services">Backstory and my issues with commercial VPN services</h4>

<p>I happen to be a Turkey resident at the moment, and Turkey is a country with <a href="https://en.wikipedia.org/wiki/Internet_regulation_in_Turkey" rel="nofollow">significant internet censorship</a>, with even some simple websites like pastebin blocked. VPN use is widespread.</p>

<p>Turkish government, as a result, also goes after many VPN providers.</p>

<p>I used to have an account on PIA, but they got banned, and PIA not only did nothing to help Turkish users work around these bans, but also didn&#39;t even cancel our subscriptions, forcing us to get onto alternative VPN providers simply to cancel our subscriptions.</p>

<p>I grew overly suspicious of commercial VPN services over the years, but after hearing many good things about Mullvad (and even seeing stickers of them on 36c3 sticker exchange) I ended up getting an account with them. Everything was alright for 6 months or so, but Turkey, or at least my household ISP (Superonline) banned them around January 2021.</p>

<p>Mullvad, unlike PIA, didn&#39;t have my email and as such no way to contact me, and (hopefully) don&#39;t keep data on my IP geoloc, so I don&#39;t blame them for not cancelling my account or contacting me.</p>

<p>When I contacted them, I was told that they&#39;re aware of some Turkish users having issues connecting to Mullvad. I was recommended to use <a href="https://mullvad.net/en/help/shadowsocks-newer-app-versions/" rel="nofollow">the Shadowsocks option in the app</a>, but I ended up cancelling my subscription anyways as I wanted to go back to defaulting to self hosted options.</p>

<h3 id="so-why-not-selfhost" id="so-why-not-selfhost">“So why not selfhost?”</h3>

<p>I&#39;m lucky enough to be a person who owns and operates a bunch of servers, and I already have Wireguard deployments on most of them (some older ones also have OpenVPN).</p>

<p>However, there are limitations with self hosting on non-dedicated hardware. Some stuff that come to mind include:</p>
<ul><li>Privacy concerns as you have a static IP that is already associated with services you host (or in my case, also potentially a company I own)</li>
<li>Stealthy ports being already potentially taken by services you host on that box</li>
<li>Overall limitations caused by infra being in a limited number of countries for latency reasons.</li></ul>

<p>A dedicated self-hosted VPN box solves most of these except for the static IP and the number of locations.</p>

<p>bigbigvpn approach solves all of these, at least to some degree.</p>

<h3 id="how-d-you-even-get-the-idea-for-this-cursed-thing" id="how-d-you-even-get-the-idea-for-this-cursed-thing">“How&#39;d you even get the idea for this cursed thing?”</h3>

<p>Me and my partner were watching <a href="https://www.youtube.com/watch?v=DbzbIGkPW-o" rel="nofollow">a recent video by styropyro</a> when he ended up interjecting a section about some commercial VPN service.</p>

<p>My partner ended up asking me why anyone gets them anyways, as a VPS costs the same. We did talk about this stuff before, and I&#39;m rather outspoken against most commercial VPN services (for reasons I specified earlier).</p>

<p>I told her that I agree, but then went on to talk the limited number of benefits they provide (that may be good to have depending on some usecases), such as paying once and being able to access many locations and many IPs without having to pay extra... and then I started talking about how you&#39;d need to pay hourly fees in the region to self-host a similar service in addition to your main VPN server...</p>

<p>Then I realized one can just make a VPN service that just does that for all your boxes. At the end of the day:</p>
<ul><li>There&#39;s many VPS providers offering cheap servers all around the world</li>
<li>Most VPS providers bill hourly, have little to no setup costs, and have no commitment requirements</li>
<li>One can spin up and down a VPS in mere seconds and have it VPS be configured to their pre-defined requirements (using things like cloud-init)</li></ul>

<p>and I had what can only be described as a “eureka moment<a href="https://youtu.be/FryYwZZSw5Q?t=66" rel="nofollow">“</a>.</p>

<p>So I started working on designing it right there and then, and may have turned off the video. (Sorry styropyro!)</p>

<h3 id="insert-random-technical-questions" id="insert-random-technical-questions">“<em>insert random technical questions</em>“</h3>
<ul><li>bigbigvpn currently supports Hetzner, Scaleway and DigitalOcean. More stuff are planned as I stated on the main blog, potentially even just using smth like terraform so that we can support <em>everything</em>.</li>
<li>Automatic kill on idle code involves a daemon running on the VPN server, checking for the last Wireguard handshake from all peers. It then kills the server after a configurable amount of time, unless someone connects, in which case it resets the timer.</li>
<li>bigbigvpn does indeed support IPv6. Currently it&#39;s NAT&#39;d but that&#39;s one of the things I intend to improve as I add multi device support.</li></ul>
]]></content:encoded>
      <guid>https://wf.lavatech.top/ave-but-random/bits-i-cut-out-from-the-main-bigbigvpn-post</guid>
      <pubDate>Sun, 14 Feb 2021 13:02:20 +0000</pubDate>
    </item>
    <item>
      <title>Yubikey 4 Nano Teardown</title>
      <link>https://wf.lavatech.top/ave-but-random/yubikey-4-nano-teardown</link>
      <description>&lt;![CDATA[I&#39;ve owned Yubikeys for many years now, and have used them for anything from U2F and have always wondered what was (physically) going on inside them.&#xA;&#xA;I, however, was too lazy to even Google until today. The only resources I could find were teardowns by HexView of Yubikey Neo and Yubikey 5 NFC.&#xA;&#xA;These were quite impressive, and I was honestly surprised at just how little was in them, and how the author mentioned being able to melt the Neo in acetone. I honestly would&#39;ve expected more, but I suppose that change came with Yubikey 5 series.&#xA;&#xA;!--more--&#xA;&#xA;Even though I have now moved onto using a Yubikey 4 for my PGP and U2F needs (and Solokey Tap for NFC FIDO2 needs), I still have my first ever Yubikey 4 Nano lying around. While the key in that is still needed to decrypt some of my ancient stuff, I thought that it&#39;d be a good candidate for tearing down as I wondered what was in such a tightly packed product.&#xA;&#xA;(Quick note for the curious: I was initially going to get a Yubikey 5 NFC, but their shipment costs to Turkey increased significantly since my Yk4n and Yk4 orders. They didn&#39;t have an authorized reseller in Turkey until recently, and that reseller only sells on a platform I refuse to use. So I got a Solokey Tap and use it alongside my Yk4. Both are great and do everything they promise to do.)&#xA;&#xA;The Process&#xA;&#xA;As the hexview article used acetone and stated that the changes in the material were made with Yubikey 5, I suspected that I could also use acetone, especially as I have a bunch of it at hand.&#xA;&#xA;I have previously used acetone to delayer stuff like smartcards:&#xA;&#xA;Turkish Airlines baggage tracking card in a jar of acetone&#xA;&#xA;For the most part, it just involves putting in the card you want to melt, checking it every now and then to see if any unwanted layers are coming off and getting rid of them, and pulling it out when you reach your intended layer. The process depends on a bunch of factors, but I had a lot more luck when I moved from something flat (which resulted in the need to flip the card every now and then to get it to apply to the bottom side too) to something round like a jar where the acetone acted evenly.&#xA;&#xA;I had no experience with any other type of stuff, so I just dumped it in and hoped for the best:&#xA;&#xA;Yubikey 4 nano at the bottom of the jar&#xA;&#xA;Quite shortly after I did that, I started seeing the &#34;white powdery substance&#34; that hexview mentioned in their Yubikey Neo teardown.&#xA;&#xA;To ensure that the process is going smoothly and to also help it along the way I ended up pulling it out every now and then to wipe the &#34;white powdery substance&#34; or just peel it off using tweezers when applicable:&#xA;&#xA;Yubikey 4 nano covered in a white gooey substance&#xA;&#xA;Yubikey 4 nano partially covered in aforementioned gooey substance, but drier now as it stayed out of acetone for a while&#xA;&#xA;(Quick note: I did end up unintentionally touching and smelling this substance, and it felt, acted and smelled like super glue. This does indeed mean that I had a thin layer of it on my finger, which I quickly removed and thoroughly washed.)&#xA;&#xA;Also, partially through, I saw the &#34;milky-gray acetone solution&#34; that hexview mentioned:&#xA;&#xA;The previously clear acetone solution, now fairly gray and murky&#xA;&#xA;This wasn&#39;t a great sign for me as I tend to filter and reuse the acetone, and I wasn&#39;t sure if I was going to have to dump it all afterwards. (I still don&#39;t know. The hexview page mentions that it settled. I&#39;ve filtered it off shortly after removing the Yubikey in hopes that it&#39;d help but it didn&#39;t help at all. Instead of a hacky &#34;filter&#34;, I later tried using a proper coffee filter, which also sadly didn&#39;t help.)&#xA;&#xA;I ended up doing this around 4 or 5 times until I clearly felt with my tweezers that the middle of the layer I was on was actually just the MCU. This was hard to photograph for obvious reasons:&#xA;&#xA;Internals of the Yubikey 4 nano with plastic piece flattening the board to the height of the epoxy around the MCU&#xA;&#xA;I went through the edges in hopes of lifting a plastic-seeming thing that seemed to be in place, and ended up lifting it off:&#xA;&#xA;Pastially Lifting off the plastic piece with my finger&#xA;&#xA;I scraped off some of the &#34;white powdery substance&#34; that was left around the Yubikey with tweezers, and was left with the insides.&#xA;&#xA;The Pictures&#xA;&#xA;Before:&#xA;&#xA;Bottom side of the Yubikey 4 nano&#xA;&#xA;Top side of the Yubikey 4 nano&#xA;&#xA;After:&#xA;&#xA;Bottom side of the Yubikey 4 nano&#xA;&#xA;Top side of the Yubikey 4 nano&#xA;&#xA;(I also have a scan of the back here, which didn&#39;t end up being that good but it&#39;s higher quality at least.)&#xA;&#xA;The Aftermath&#xA;&#xA;Just to see if it works or not, I put the plastic piece back on to flatten it:&#xA;&#xA;Yubikey 4 nano, with the plastic piece back on, vaguely flat&#xA;&#xA;...and hackily padded it with some random adhesive label I had lying around to get it to the right height to stay in a USB port:&#xA;&#xA;Shiny black layers covering the back of the Yubikey 4 nano&#xA;&#xA;And would you believe it, it works:&#xA;&#xA;Yubico OTP code being verified, implying that USB communications, tap detection and functionality working. This also shows the same serial number from the pre-dissolve back side.&#xA;&#xA;Remarks&#xA;&#xA;The Yubikey 4 Nano seems to be very clearly between Neo and 5 NFC, and this makes sense as Yubikey Neo was released in 2012 (was updated in 2014 with U2F support), and Yubikey 4 series was released in 2015, while Yubikey 5 series was released in 2018.&#xA;&#xA;Yubikey 4 Nano shares the same case materials as Yubikey Neo, easily dissolveable in acetone, but has the same MCU as Yubikey 5 NFC (Infineon SLE 78CLUFX5000P01). Other than that there&#39;s not a lot I can say about the internals.&#xA;&#xA;Bonus: It&#39;s not shown here, but I&#39;d like to note that the keyring hole in hexview&#39;s Yubikey Neo teardown was improved on the full size Yubikey 4 with a golden ring (also visible in their Yubikey 5 NFC teardown). I did however have my Yubikey 4 nano&#39;s keyring hole fail on me as you can see above.]]&gt;</description>
      <content:encoded><![CDATA[<p>I&#39;ve owned Yubikeys for many years now, and have used them for anything from U2F and have always wondered what was (physically) going on inside them.</p>

<p>I, however, was too lazy to even Google until today. The only resources I could find were teardowns by HexView of <a href="http://www.hexview.com/~scl/neo/" rel="nofollow">Yubikey Neo</a> and <a href="http://www.hexview.com/~scl/neo5/" rel="nofollow">Yubikey 5 NFC</a>.</p>

<p>These were quite impressive, and I was honestly surprised at just how little was in them, and how the author mentioned being able to melt the Neo in acetone. I honestly would&#39;ve expected more, but I suppose that change came with Yubikey 5 series.</p>



<p>Even though I have now moved onto using a Yubikey 4 for my PGP and U2F needs (and Solokey Tap for NFC FIDO2 needs), I still have my first ever Yubikey 4 Nano lying around. While the key in that is still needed to decrypt some of my ancient stuff, I thought that it&#39;d be a good candidate for tearing down as I wondered what was in such a tightly packed product.</p>

<p>(Quick note for the curious: I was initially going to get a Yubikey 5 NFC, but their shipment costs to Turkey increased significantly since my Yk4n and Yk4 orders. They didn&#39;t have an authorized reseller in Turkey until recently, and that reseller only sells on a platform I refuse to use. So I got a Solokey Tap and use it alongside my Yk4. Both are great and do everything they promise to do.)</p>

<h2 id="the-process" id="the-process">The Process</h2>

<p>As the hexview article used acetone and stated that the changes in the material were made with Yubikey 5, I suspected that I could also use acetone, especially as I have a bunch of it at hand.</p>

<p>I have previously used acetone to delayer stuff like smartcards:</p>

<p><img src="https://elixi.re/t/mgje8i4vf.png" alt="Turkish Airlines baggage tracking card in a jar of acetone"></p>

<p>For the most part, it just involves putting in the card you want to melt, checking it every now and then to see if any unwanted layers are coming off and getting rid of them, and pulling it out when you reach your intended layer. The process depends on a bunch of factors, but I had a lot more luck when I moved from something flat (which resulted in the need to flip the card every now and then to get it to apply to the bottom side too) to something round like a jar where the acetone acted evenly.</p>

<p>I had no experience with any other type of stuff, so I just dumped it in and hoped for the best:</p>

<p><img src="https://elixi.re/t/mo1tcdep2.png" alt="Yubikey 4 nano at the bottom of the jar"></p>

<p>Quite shortly after I did that, I started seeing the <a href="https://youtu.be/TQbXJefoHy8?t=115" rel="nofollow">“white powdery substance”</a> that hexview mentioned in their <a href="http://www.hexview.com/~scl/neo/" rel="nofollow">Yubikey Neo teardown</a>.</p>

<p>To ensure that the process is going smoothly and to also help it along the way I ended up pulling it out every now and then to wipe the “white powdery substance” or just peel it off using tweezers when applicable:</p>

<p><img src="https://elixi.re/t/mvs1ztzf7.png" alt="Yubikey 4 nano covered in a white gooey substance"></p>

<p><img src="https://elixi.re/t/mj8km3j48.png" alt="Yubikey 4 nano partially covered in aforementioned gooey substance, but drier now as it stayed out of acetone for a while"></p>

<p>(Quick note: I did end up unintentionally touching and smelling this substance, and it felt, acted and smelled like super glue. This does indeed mean that I had a thin layer of it on my finger, which I quickly removed and thoroughly washed.)</p>

<p>Also, partially through, I saw the “milky-gray acetone solution” that hexview mentioned:</p>

<p><img src="https://elixi.re/t/mrvtuk8zs.png" alt="The previously clear acetone solution, now fairly gray and murky"></p>

<p>This wasn&#39;t a great sign for me as I tend to filter and reuse the acetone, and I wasn&#39;t sure if I was going to have to dump it all afterwards. (I still don&#39;t know. The hexview page mentions that it settled. I&#39;ve filtered it off shortly after removing the Yubikey in hopes that it&#39;d help but it didn&#39;t help at all. Instead of a hacky “filter”, I later tried using a proper coffee filter, which also sadly didn&#39;t help.)</p>

<p>I ended up doing this around 4 or 5 times until I clearly felt with my tweezers that the middle of the layer I was on was actually just the MCU. This was hard to photograph for obvious reasons:</p>

<p><img src="https://elixi.re/t/mq30vvwfr.png" alt="Internals of the Yubikey 4 nano with plastic piece flattening the board to the height of the epoxy around the MCU"></p>

<p>I went through the edges in hopes of lifting a plastic-seeming thing that seemed to be in place, and ended up lifting it off:</p>

<p><img src="https://elixi.re/t/mme9fp4de.png" alt="Pastially Lifting off the plastic piece with my finger"></p>

<p>I scraped off some of the “white powdery substance” that was left around the Yubikey with tweezers, and was left with the insides.</p>

<h2 id="the-pictures" id="the-pictures">The Pictures</h2>

<p>Before:</p>

<p><a href="https://elixi.re/i/u8lm8ya2.png" rel="nofollow"><img src="https://elixi.re/t/su8lm8ya2.png" alt="Bottom side of the Yubikey 4 nano"></a></p>

<p><a href="https://elixi.re/i/aqkxfl5m.png" rel="nofollow"><img src="https://elixi.re/t/saqkxfl5m.png" alt="Top side of the Yubikey 4 nano"></a></p>

<p>After:</p>

<p><a href="https://elixi.re/i/vvh9aklu.jpeg" rel="nofollow"><img src="https://elixi.re/t/mvvh9aklu.jpeg" alt="Bottom side of the Yubikey 4 nano"></a></p>

<p><a href="https://elixi.re/i/8whgj2gg.png" rel="nofollow"><img src="https://elixi.re/t/s8whgj2gg.png" alt="Top side of the Yubikey 4 nano"></a></p>

<p>(I also have a scan of the back <a href="https://elixi.re/i/06xlbxht.png" rel="nofollow">here</a>, which didn&#39;t end up being that good but it&#39;s higher quality at least.)</p>

<h2 id="the-aftermath" id="the-aftermath">The Aftermath</h2>

<p>Just to see if it works or not, I put the plastic piece back on to flatten it:</p>

<p><img src="https://elixi.re/t/m23n9kreg.jpg" alt="Yubikey 4 nano, with the plastic piece back on, vaguely flat"></p>

<p>...and hackily padded it with some random adhesive label I had lying around to get it to the right height to stay in a USB port:</p>

<p><img src="https://elixi.re/t/mogkdd46d.jpg" alt="Shiny black layers covering the back of the Yubikey 4 nano"></p>

<p>And would you believe it, it works:</p>

<p><img src="https://elixi.re/t/m19aqg70l.png" alt="Yubico OTP code being verified, implying that USB communications, tap detection and functionality working. This also shows the same serial number from the pre-dissolve back side."></p>

<h2 id="remarks" id="remarks">Remarks</h2>

<p>The Yubikey 4 Nano seems to be very clearly between Neo and 5 NFC, and this makes sense as Yubikey Neo was released in 2012 (was updated in 2014 with U2F support), and Yubikey 4 series was released in 2015, while Yubikey 5 series was released in 2018.</p>

<p>Yubikey 4 Nano shares the same case materials as Yubikey Neo, easily dissolveable in acetone, but has the same MCU as Yubikey 5 NFC (Infineon SLE 78CLUFX5000P01). Other than that there&#39;s not a lot I can say about the internals.</p>

<p>Bonus: It&#39;s not shown here, but I&#39;d like to note that the keyring hole in hexview&#39;s Yubikey Neo teardown was improved on the full size Yubikey 4 with a golden ring (also visible in their Yubikey 5 NFC teardown). I did however have my Yubikey 4 nano&#39;s keyring hole fail on me as you can see above.</p>
]]></content:encoded>
      <guid>https://wf.lavatech.top/ave-but-random/yubikey-4-nano-teardown</guid>
      <pubDate>Fri, 02 Oct 2020 14:52:59 +0000</pubDate>
    </item>
  </channel>
</rss>