RSSAmplifier

Blog

sneela

Recent content on sneela

snee.laRSS feed ↗64 posts

Latest posts

A Cat with an MBA: How AMD QoS Features Enable Side Channels on SEV-SNP

Foreword This blog post is a summarized and introductory write up of our paper recently accepted at ESORICS 2026 to be presented in Rome, Italy between September 14-16, 2026: “A Systematic Look at Quality-of-Service Feature Effects on Side Channels in AMD SEV-SNP”. Not all the scientific details are mentioned in this blog post. If you’re interested, there’s a full paper…

33 RPM and 36 Shots: Going Analog with Vinyl and Film

There’s something charming about owning a physical thing that’s yours . Maybe it’s the hoarder in me that’s talking, but I really like having things that I physically can hold and appreciate. I really like postcards, stamps, coins, and tiny trinkets from various trips and events - it’s an insignia of the memories associated with that moment. Yeah, it’s a stamp.…

KeePass2 WebDAV Sync on Linux with WsgiDAV, Gunicorn, and Caddy

I wanted to have a place on the interwebs to synchronize my KeePass2 database across devices without relying on Dropbox or Google Drive. Previously, I used the KeePass Sftp Sync plugin on Linux, a horribly outdated plugin which was last updated in 2017. I had a VPS somewhere in Singapore - the place all my devices synchronized the KDBX file with. Recently, the latest KeePass 2.61 update seems to…

Blor: The Aperture Mnemonic

<et cetera> I recently bought a film camera (Minolta X-700) and I&rsquo;ve been having a lot of fun with it ! I&rsquo;ve mostly been on Program Select till now, where the camera automagically decides the shutter speed and aperture, which is really nice since one doesn&rsquo;t get immediate feedback after taking a photo. However, I decided to be more daring and changed from Program Select to…

Stress-Ex

Got chatgpt to make this command for me: stress-ex: run stress-ng on every logical cpu except the ones listed: so stress-ex 0 2 3 , will run stress-ng -c 1 on every cpu except 0,2,3 #!/bin/sh # stress-ex: run one stress-ng on every logical CPU except listed # usage: stress-ex 0 2 3 command -v taskset >/dev/null 2>& 1 || { echo "taskset required" >&2; exit 1; } command -v stress-ng >/dev/null 2>& 1…

Linux Ping Spikes - Powersaving

<rant> I had issues with my internet at home where, every once in a while, I noticed really bad ping spikes on all my devices. Sometimes, the entire apartment&rsquo;s internet just froze for 2-5 seconds and I could not explain why. All of my wireless devices (phone, laptops) would experience this simultaneous freeze. When I started investigating, I noticed that I had really, really bad ping spikes…

Eviction Notice: Reviving and Advancing Page Cache Attacks

Foreword This blog post is a summarized and introductory write up of our paper recently accepted at NDSS 2026 , &ldquo;Eviction Notice: Reviving and Advancing Page Cache Attacks&rdquo;. Read the full paper here . Authors: Sudheendra Raghav Neela , Jonas Juffinger , Lukas Maar , Daniel Gruss Artifacts: Github Repository , Zenodo Record (Available, Functional, and Reproducible) CVE-2025-21691:…

The ZSA Moonlander: My new split keyboard

Backstory My left wrist & forearm has been hurting quite a bit. Alarmingly so. I haven&rsquo;t visited the doctor to determine the exact issue, but it&rsquo;s a pretty obvious sign that the pain starts after some typing &mdash; something something correlation and causation. My office&rsquo;s 100% Cherry Stream keyboard doesn&rsquo;t cause me much pain; although by the end of the day, it leaves me…

Intel TSC Frequency

Are you freaking sick of having to calculate the TSC frequency on Intel systems? Me too! Here&rsquo;s a script that can spit the value out for you: #!/bin/bash cpuid_output = $( cpuid -1 -l 0x15 --raw ) ecx = $( echo " $cpuid_output " | grep -oP 'ecx=0x\K[0-9A-Fa-f]+' ) ebx = $( echo " $cpuid_output " | grep -oP 'ebx=0x\K[0-9A-Fa-f]+' ) eax = $( echo " $cpuid_output " | grep -oP…

AMD SEV-SNP&#39;s SecureTSC Leads to Co-located Virtual Machines

Finally! I&rsquo;ve finished my Master&rsquo;s degree by finally finishing my Master&rsquo;s thesis, which I successfully defended on December 12th, 2024. Work done in the thesis systematically analyzes SecureTSC, a feature in AMD&rsquo;s latest evolution of their confidential computing suite called SEV-SNP . With SecureTSC, SEV-SNP Virtual Machines can securely read the CPU&rsquo;s Time-Stamp…

An 800 Star Repository Just Went Private

Today morning, I was building an AMD SEV virtual machine from source . It requires TianoCore/edk2 , &ldquo; the reference implementation of UEFI by Intel &rdquo;. While the build script cloned SubhookLib/subhook , I was asked for a Github username and password: This set off alarm bells. After a quick search through the issues in AMD SEV&rsquo;s repository leading to no result, I decided to go…

VSCode General Settings

Hack available from: https://sourcefoundry.org/hack/ VSCode General Settings: { "editor.fontFamily" : "'Hack', 'IBM Plex Mono', 'Droid Sans Mono', 'monospace', monospace" , "editor.fontSize" : 16 , "editor.rulers" : [ 80 , 120 ], "workbench.colorCustomizations" : { "editorRuler.foreground" : "#333333" }, "editor.minimap.renderCharacters" : false , "editor.guides.bracketPairs" : true ,…

bro wth

No context:

AMD TSC Frequency

Are you freaking sick of having to calculate the TSC frequency on AMD systems? Me too! Here&rsquo;s a one-liner that can spit the value out for you: #!/bin/bash CPUID_OUTPUT = $( cpuid -1 -l 0x1 --raw ) EAX = $( echo " $CPUID_OUTPUT " | grep -oP 'eax=0x\K[0-9A-Fa-f]+' ) FAMILY = $( echo " ${ EAX } " | python3 -c " import sys eax = int(sys.stdin.read().strip(), 16) result = ((eax & 0xFF00000) >>…

Covert Channel Capacity Calculator [4C]

A covert channel&rsquo;s true capacity is calculated as: T = C · (1 + (1 − p)·log 2 (1 − p) + p·log 2 (p)) Raw Capacity [C]: Bit Error Rate [P] (0 - 100): Compute True Capacity [T] = —

imgcrush

Shell script used for multithreaded pngcrush and removing EXIF data, in one fell swoop. Needs: pngcrush & exiftool (can apt install these two), multicrush (no apt, download py file and tweak). Multicrush was made for python2, so it needs some tweaks. I pretty much changed it in a hacky way, ymmv. Biggest tweak is to modify get_brute_range() to the values returned by the -m flag returned by…

GIMP and the &#39;/&#39; Shortcut: Search and Run a Command

<praise> Recently, I found out about the Search and Run a Command function in GIMP , a hidden gem that makes GIMP 10x faster to use because you don&rsquo;t have to know the location of the specific tool that you&rsquo;re looking for. Some people around the office apparently didn&rsquo;t know it as well, so here&rsquo;s the P.S.A. about the function. Activate this shortcut with the &lsquo;/&rsquo;…

Zotero BibTex Citation Style

Download file: bibtex-zotero-minimal.csl To add this: Download the file Zotero > Edit > Preferences > Cite Press the &ldquo;+&rdquo; button, and add the downloaded file. Optionally to enable quick copy (Ctrl + Shift + C to copy bib entry): Zotero > Edit > Export Item format: &ldquo;BibTeX [sneela]&rsquo;s minimal citation style&rdquo; You can press Ctrl + Shift + C when a paper is open to copy the…

Footnotes in Markdown

<et cetera> I DIDN&rsquo;T KNOW MARKDOWN SUPPORTED FOOTNOTES 1 . Previously, I used to do all this stuff manually. See How System Requests Work and How to Add Your Own SysReq . My markdown looks like: In line 1210, we have `device_initcall`< sup id = "return-footnote-1" >< a href = "#footnote-1" >1</ a ></ sup >. Initcalls are used by the kernel to call functions when the kernel boots. The…

How Discord Opens Its Desktop App from the Browser

<et cetera> I always wondered how discord launches its desktop application when you click on an invite link from the browser. I&rsquo;m no full-stack / front-end developer, and my knowledge is very limited when it comes to anything of this sort, so this was a bit of messing around. For example, I tried joining The Programmer&rsquo;s Hangout , a public discord server about programming. Upon…

The Reason I Still Dual-Boot Windows on My Computer: PowerPoint

<praise> During the past few months, I&rsquo;ve had many, many conversations about why I use PowerPoint . I&rsquo;m usually an anti-BigTech kind of person and my dislike of Windows is relatively well known. Thus, my vehement support for a mere presentation software bewilders many I converse with. Why do I still have Windows when I&rsquo;m very against Microsoft and MANY of their practices ? What…

How System Requests Work and How to Add Your Own SysReq

I needed to add a custom System Request (Sys Req or SysRq) to a linux kernel some time ago. While doing so, I dug deep into how it works and I thought I&rsquo;d make a quick post about it. Here is a good SuperUser answer about what a SysRq is. You may also know about SysRq via REISUB . This post has three parts: how to raise a SysRq, how SysRq works (looking into kernel code), and how to add your…

I Hate Chonky Navbars

<rant> When I&rsquo;m in a cranky mood sometimes (perhaps due to the lack of food), I find the smallest nuisance EXCEEDINGLY annoying. Unfortunately, yesterday was one of those days where an incredibly infinitesimal inconvenience irrationally irritated I 1 &mdash; thick, &ldquo;chonky&rdquo; navbars. I&rsquo;m talking about websites that have fixed navbars that are taller than Doug Dimmadome…

Experimenting with Ansible to Set Up a Minimal Linux User

I had to set up multiple machines with slightly varying configs repeatedly. After having to SSH into the machines once in a while and deal with default bash, I realized that I&rsquo;m seriously not used to the lack of features, aliases 1 , and theme(s) that zsh + oh-my-zsh provide. In fact, I feel slightly less efficient when forced to use just plain bash. Many years ago, I read multiple comments…

Numbers, Decimals, Formatting, and Printing: Why I Want To Jump Off A Cliff

<et cetera> As mentioned in I had a brain hiccup with __builtin_parity : Two things: I work with bits often on a daily basis. I&rsquo;m pretty stupid and my brain occasionally has a hiccup&hellip; like it did today. Only the second point is relevant in today&rsquo;s hella face-palmy ramble. I was working on some sockets code and I needed to log some stuff where nanoseconds mattered. Although I…

Periodic Reminder To Clean Up Your Docker Containers

<et cetera> I attempted to install something on my Virtual Private Server (VPS) this morning. While cleaning things up (removing old software), I noticed my VPS was becoming exponentially sluggish by the second &mdash; I could not type anything or send any signals. This &lsquo;sluggishness&rsquo; had happened to me once before on another VPS when the memory became totally occupied. Back then, the…

A (Super) Cursed Tmux Script

<et cetera> I needed a tmux script that launched 2 windows, each with 8 panes. I hacked this together very quickly, and I know I&rsquo;ll need it again in the future or a variation thereof. The image below shows how one of the two windows is numbered: #!/bin/bash # Note to self: You get what you deserve for not writing better code tmux new-session \; \ split-window -h \; \ select -pane -t 1 \; \…

I had a brain hiccup with __builtin_parity

<et cetera> Two things: I work with bits often on a daily basis. I&rsquo;m pretty stupid and my brain occasionally has a hiccup&hellip; like it did today. While looking through one of gcc&rsquo;s built-in functions, __builtin_parity : Built-in Function: int __builtin_parity (unsigned int x) Returns the parity of x, i.e. the number of 1-bits in x modulo 2. For a brief moment, I forgot what parity…

I Made Music For A Game: The Coffee Biscuits Of Time

Foreword If you&rsquo;ve read my Oct &lsquo;23 ramble, I Made A Game , I partook in a course called Game Design & Development 1 . We had to make two games &mdash; one individually and another one in a group. The output of the individual effort is in the aforementioned ramble; the output of the group work is this page. We made Blob: https://roehrichamapparat.itch.io/blob . Music found below at: The…

Firefox and XPI Files

<rant> I use Zotero , a &ldquo;free, easy-to-use tool to help you collect, organize, annotate, cite, and share research&rdquo; (from their website). Zotero is based on Firefox and users can install addons from XPI files. I looking to install a DOM-Inspector to Zotero and I subsequently found zotero-inspector on Github. Upon going to the releases page, I clicked on the xpi file only to see an alert…

A Pastel Color Palette

<et cetera> I wanted a pastel color palette with 7 colors, one for each day of the week, for LibreOffice Calc around a year ago. After coming across many palettes with 5 colors, I decided to bring together a few colors I saw floating online with inspirations from this pintrest post . Here is the palette in action (looks good with black text): above contains the classes used below -->…

Open Board With Google&#39;s Glide Typing - A Google Advertisement Scare

Foreword: This ramble is largely conjecture. I&rsquo;m writing this based on one (N=1) observation and 0 further testing, i.e. there could be bias in my observation. Read this ramble with this disclaiming foreword in mind. <rant> I used to use Google Keyboard ( Wikipedia: Gboard ) for a long time because that was the default keyboard that came with my Android phone. Around a year or so ago, I…

If the Best Thing I Told You About Was a Web Server...

<et cetera> Caddy ( https://caddyserver.com/ ) is one of the nicest web servers to work with and I&rsquo;ve been using it since early 2020. </et cetera>

Setting Up SearXNG

SearXNG For many, many years, I&rsquo;ve been using DuckDuckGo and I&rsquo;ve largely been satisfied with it. It&rsquo;s better than the more famous alternatives and generally respects privacy by not tracking you . That being said, DDG has had some controversy in the past which, to their credit, they resolved in three months. Around some time ago, I started noticing that results were being…

You&#39;re Just A Cat, Fluffy. Give Up.

<et cetera> Recently, I came across this now-removed meme and it was so stupid-funny that I could NOT stop laughing. &ldquo;You&rsquo;re just a cat, Fluffy. Give up&rdquo; is now my motto in life.

Company IDs On LinkedIn - 1337

<et cetera> I don&rsquo;t really like LinkedIn as a social media. However, I find it cute that the company ID of LinkedIn (the company) on LinkedIn (the website) is 1337 ( leetspeak ) as shown below. Check it out yourself at: https://www.linkedin.com/company/1337/ . Note that the URL automatically redirects to /company/linkedin when you visit it.

Scrollbars - Make Them Bigger

If you want to skip the floof and see the settings to tweak on Firefox, go to Settings to Tweak below. <rant> Don&rsquo;t you love how tiny scroll bars have become??? I sure do! A bunch of other people on lemmy totally love it too! Just search for scrollbars on lemmy and you&rsquo;ll see the amount of love there is in the tiny-scrollbar-loving community:

The Do Not Disturb Registry - Stop Telemarketing Calls/Messages in India

<praise> Many moons ago, I found out about one of India&rsquo;s (digital) gems: the Telecom Service Provider&rsquo;s (TSP) &ldquo;Do Not Disturb&rdquo; registry. Copied directly from Airtel&rsquo;s DND website : &ldquo;To avoid unwanted telemarketing calls or SMS, please register your telephone number in Airtel&rsquo;s Do Not Disturb registry.&rdquo; And they (Airtel, in my case) make it…

Fast/Dash Charging

<praise> Back in 2017, my parents got me a One Plus 5 and the one feature that made it truly incredible was ⚡ dash charging ⚡ (20 Watts). Compared to charging over night, I could charge my phone for 20-30 minutes and get nearly 40-60% of electricity juice — this was a game changer. It truly felt fast and was a great quality of life update. Now, I have Warp Charging (65 watts) which gives me 40-70%…

I Made A Game | Blobby&#39;s Adventure

<et cetera> For my Game Design & Development 1 course, I made a (pretty dumb) game in Unity: Blobby&rsquo;s Adventure - https://sneela.itch.io/blobbys-adventure . There&rsquo;s nothing really great about the game 1 . Although there is a little bit of a learning curve to using Unity, the Unity Docs are surprisingly good once you get the idea. Most of the assets were made by me on pixilart.com and I…

The Fair Assignment Problem

Introduction This semester I&rsquo;m taking Futurology , a course taught by Christian Dayé and Roman Prunc , whose &ldquo;aim is to enable students to understand and critically reflect on different approaches to futurology as well as the methods and techniques that this field of research applies&rdquo; (from the course description). In this course, we (as the students) play a nearly-semester long…

The Intel Manual&#39;s Font

<rant> Why does the Intel® 64 and IA-32 Architectures Software Developer&rsquo;s Manual [1] use different fonts 1 at different places and why is it so hard to read being technical documentation? Figure 1: Table 8-1 (Page 8-5, Volume 1, Intel SDM) In figure 1, notice (in some cases, try to notice) the four highlighted differences between:

Magic Number

<et cetera> I needed a magic number recently and stumbled across this website while looking for all possible words made from the hex characters (abcdef): https://www.litscape.com/word_tools/words_made_from.php . Because I know that I will be using it in the future, here is the list for other magic-number seekers: AA AB ACCEDE ACCEDED ACE ACED AD ADD ADDED BAA BAAED BABE BAD BADE BE BEAD BEADED BED…

Modified Swap Leading to Slow Boot Times? Check RESUME

<et cetera> I recently deleted my swap partition (Debian 12, KDE Plasma) and created a bigger one which led to a change in the UUID of what the swap partition should be. I modified /etc/fstab and restarted the system. Much to my surprise, my boot did not take its usual one second but nearly thirty seconds without any indication of what was making it wait. Guessing that it was something to do with…

Devoid the Desktop of Dust

<et cetera> I bought my Desktop back in 2019 and I&rsquo;ve made it a point to clean it roughly every six months. After moving continents, the Desktop stayed put in a not-so-great cardboard box which itself was sat in a pretty dusty environment. The last time I cleaned it was around 1.5 years ago. I recently attempted to clean it and because the before-and-after &lsquo;glow-up&rsquo; photos show a…

The Stupidest Joke Ever | Indoor Flip Flops

<et cetera> Recently, I bought a pair of funky indoor flip flops as shown in Figure 1. While on a video call with a friend, they asked me why the flip flops had different designs. After a few seconds of thinking, I replied saying that it was to help differentiate between the left one and the right one. Cue a few seconds of ellipses.

DD - The Data Destroyer

<et cetera> While doing a bit of ISO flashing recently, I was reminded of November 2019 - a dark moment in history (for me). Someone had come over to my room to ask for help installing Ubuntu and being the perpetual IT support person that I am, I begrudgingly said yes. I took my USB stick, plugged it into my desktop to flash Ubuntu 18, and started thinking that the next two hours of my life would…

&#34;Sticky Notes Needs An Update&#34;

<rant> Every once in a while, I need to open Windows. Every single time, I find something new to hate more about that Operating System. While I was on a bus sans internet, I needed to take a real quick note of something. I opened sticky notes to find:

I Love Flask’s Documentation

<praise> I love Flask &rsquo;s documentation, their User&rsquo;s Guide , and their API Reference . It is, from my personal experience, some of the best newbie-friendly documentation to exist. Many other projects / software / frameworks fall into the hole of making topics overly overwhelming quite quickly. Not Flask. Flask - you get a 10/10 in my books for having really good documentation.…

Why the Google Clock Timer Annoys Me

Foreword This webpage contains 19 MP4 videos that sum up to 6.5 Mb in total. I tried to compress these videos down as much as possible, but that didn&rsquo;t work too well. This post is an overkill, waste of time, and really has zero reason to be this unnecessarily elaborate. However, considering the amount of effort sunk in (see Sunk Cost Fallacy ), this page has to exist. To go the extra mile,…