<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by KeyboardSamurai on Medium]]></title>
        <description><![CDATA[Stories by KeyboardSamurai on Medium]]></description>
        <link>https://medium.com/@keyboardsamurai007?source=rss-5c4a42dcd52e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*VNgQ-SGiU6-ugmR2cQY5Qw.png</url>
            <title>Stories by KeyboardSamurai on Medium</title>
            <link>https://medium.com/@keyboardsamurai007?source=rss-5c4a42dcd52e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 12:01:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@keyboardsamurai007/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Introducing DOKI: A Docker Operations Cockpit for Terminal Lovers]]></title>
            <link>https://medium.com/@keyboardsamurai007/introducing-doki-a-docker-operations-cockpit-for-terminal-lovers-1bc3034a580c?source=rss-5c4a42dcd52e------2</link>
            <guid isPermaLink="false">https://medium.com/p/1bc3034a580c</guid>
            <category><![CDATA[ux-design]]></category>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[KeyboardSamurai]]></dc:creator>
            <pubDate>Mon, 09 Nov 2026 11:38:50 GMT</pubDate>
            <atom:updated>2026-11-09T11:40:39.495Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YBqjTl0sKSSEYv1DxaDFAA.png" /></figure><p><em>Your Containers. One Terminal. Total Control.</em></p><p>If you spend enough time working with Docker, you probably have a familiar routine…. am I right?</p><p>docker ps to find a container. docker logs -f to figure out why something broke. docker stats to check resource consumption. docker inspect when things get interesting… and things like watch -n1 dopcker ps ....</p><p>Then another command. And another….Don’t get me wrong, Docker’s CLI is excellent. I’ve been using it for years, and I’m not planning to replace it. But sometimes, I just want to see what’s going on without constantly jumping between commands.</p><p>That’s how <strong>DOKI</strong> was born.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7eP2hYYJiKZ_3OMVzzFXeA.png" /></figure><p>An open-source <strong>Docker Operations cocKpIt</strong> built in Go, designed for people who practically live in their terminals.</p><p><strong>GitHub:</strong> <a href="https://github.com/zpol/doki">https://github.com/zpol/doki</a></p><h3>Think K9s, but for Docker</h3><p>I’ve always appreciated tools like K9s and btop. They make complex operational tasks feel surprisingly natural without forcing you into a browser, so I wanted to bring a similar experience to Docker Engine.</p><p>DOKI is a keyboard-driven Terminal User Interface (TUI), built with Bubble Tea v2, Lip Gloss v2, and the official Docker Go SDK. It communicates directly with Docker Engine, without parsing command-line output or requiring an additional management service.</p><p>The idea is simple: <strong>one terminal, multiple operational workflows, minimal friction.</strong></p><p>Here’s what you can do with it:</p><ul><li><strong>Manage containers:</strong> Start, stop, restart, pause, inspect, remove, and perform bulk operations.</li><li><strong>Monitor workloads:</strong> Live CPU and memory statistics, Docker events, and terminal-native graphs.</li><li><strong>Investigate problems:</strong> Follow logs, search output, open interactive shells, and inspect container details.</li><li><strong>Inspect security:</strong> Identify privileged containers, Docker socket mounts, risky capabilities, root execution, and exposed ports.</li><li><strong>Run diagnostics:</strong> Detect unhealthy containers, restart loops, OOM kills, and abnormal exit codes.</li><li><strong>Explore Docker resources:</strong> Browse images, networks, volumes, and Compose projects.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2wMlM44HAJQDO8HNe1v8Hw.gif" /></figure><p>Everything accessible through keyboard shortcuts, with a command palette for jumping between views.</p><p>No browser tabs. No clicking through five different screens just to restart a container.</p><h3>Security is part of operations, not a separate universe</h3><p>This is one of the areas I particularly wanted to address.</p><p>I’ve spent a significant part of my career working in infrastructure and security, and one thing I’ve learned is that dangerous configurations rarely announce themselves.</p><p>A container running as root. A privileged workload. A Docker socket mounted inside a container.</p><p>These configurations can be intentional, but they can also introduce significant security risks.</p><p>And they’re remarkably easy to overlook when you’re focused on getting an application running.</p><p>DOKI includes a <strong>Security Inspector</strong> that examines container configurations and highlights potentially dangerous settings directly inside the operational interface.</p><p>It’s important to be clear about what this does and doesn’t do. <strong>DOKI isn’t trying to replace vulnerability scanners, runtime protection platforms, or comprehensive container security solutions.</strong></p><p><strong>It doesn’t magically make your containers secure.</strong></p><p>What it does is bring security-relevant context closer to the person operating the system. Because sometimes the most useful security improvement isn’t another dashboard….</p><p><strong>→ It’s making an existing risk easier to see ←</strong></p><h3>Beyond the usual container list</h3><p>I also wanted DOKI to be useful when something goes wrong.</p><p>We all know that container troubleshooting can quickly turn into a small investigation.</p><p>Why is this service restarting? Was it killed by the OOM killer? Is the health check failing? Did the application exit unexpectedly? DOKI includes a diagnostics engine that helps surface these conditions without requiring you to manually inspect every container.</p><p>The logs viewer supports live following, pausing, and searching. You can jump into an interactive shell when needed, or inspect the container’s configuration and runtime information. There’s also a dashboard showing resource consumption and Docker events, including lightweight terminal-native visualizations.</p><p>These metrics come from Docker Engine itself. DOKI doesn’t pretend that container-level statistics represent complete host observability. It’s meant to give you actionable information quickly, not compete with Prometheus and Grafana.</p><h3>A few things happening under the hood</h3><p>DOKI is written in Go and follows a layered architecture that separates the terminal interface, application services, domain models, and Docker Engine integration.</p><p>I deliberately avoided building the application around executing Docker CLI commands and parsing their output. Instead, DOKI uses the official SDK to communicate directly with the Docker API.</p><p>This gives the application<strong> structured data, more predictable behavior, and a cleaner foundation for adding functionality.</strong></p><p>I also paid attention to a few operational details that are easy to overlook:</p><ul><li>Confirmation prompts for destructive operations.</li><li>Redaction of likely secrets when displaying environment variables.</li><li>Sanitization of ANSI escape sequences in container logs.</li><li>No additional network listener or telemetry service.</li><li>Automated security and code quality checks in CI.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iYj8YqeDecRCcoFtotwVtg.png" /></figure><p>Of course, DOKI still needs access to Docker Engine, and that access should be treated as highly privileged. A terminal interface doesn’t change Docker’s underlying security model.</p><h3>Getting started</h3><p>DOKI is open source under the Apache 2.0 license.</p><p>You can build it directly from the repository:</p><pre>git clone https://github.com/zpol/doki.git<br>cd doki<br>make build<br>./bin/doki</pre><p>Before launching, you can also check your environment with:</p><pre>./bin/doki doctor</pre><p>And yes, there are themes… ;)</p><p>Cyberpunk, Matrix, Nord, and Monochrome.</p><p>Because if you’re going to spend your day staring at a terminal, it might as well look good.</p><h3>What’s next?</h3><p>DOKI is still a young project, and there’s plenty of room to improve.</p><p>Multi-host support, additional workflows, and a few other ideas are on the roadmap…. But I’m more interested in building something genuinely useful than collecting features nobody needs.</p><p>I’ve always believed some of the best open-source tools come from solving small, recurring frustrations and DOKI started exactly that way xD</p><p>If you work with Docker, DevOps, SRE, platform engineering, or container security, I’d love to hear what you think. Try it. Break it. Open an issue. Suggest something better.</p><p>And if you find it useful, consider giving the repository a star. :)</p><p>GitHub: <a href="https://github.com/zpol/doki">https://github.com/zpol/doki</a></p><p>Thanks for reading! <br>See you soon!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bc3034a580c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Computer Is Talking. Just Not Over the Network]]></title>
            <link>https://medium.com/@keyboardsamurai007/your-computer-is-talking-just-not-over-the-network-d7c8f05e82e9?source=rss-5c4a42dcd52e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d7c8f05e82e9</guid>
            <category><![CDATA[data-exfiltration]]></category>
            <category><![CDATA[military]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[spy]]></category>
            <dc:creator><![CDATA[KeyboardSamurai]]></dc:creator>
            <pubDate>Thu, 05 Nov 2026 14:28:22 GMT</pubDate>
            <atom:updated>2026-11-05T14:39:46.308Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LN7h-wzgFkFwapvyuNcJ0A.png" /></figure><h3><em>Ultrasound, magnetic fields, cooling fans, optical surveillance, and even your mouse. The invisible attack surfaces hiding in plain sight.</em></h3><p><strong>What if disconnecting a computer from the network wasn’t enough to stop it from communicating?</strong></p><p>We spend enormous amounts of time securing networks.</p><p>We inspect packets, deploy EDR agents, monitor DNS queries, enforce Zero Trust policies, and build increasingly sophisticated detection pipelines. We worry about lateral movement, credential theft, malicious dependencies, compromised containers, and increasingly creative ways to bypass our defensive controls.</p><p>And rightly so.</p><p>But what happens when information never travels through the network in the first place?</p><p>What if it leaves through sound?</p><p>Or through the electromagnetic emissions of a CPU?</p><p>Or through subtle changes in a cooling fan’s rotational speed?</p><p>Or through the optical sensor of an ordinary computer mouse?</p><p>Or, perhaps most disturbingly, through the tiny vibrations of a light bulb observed from outside a room?</p><p>None of this is science fiction…anymore…</p><p>Researchers have been exploring these possibilities for years. Some of these techniques have existed in academic literature for decades, while others take advantage of increasingly sensitive sensors and sophisticated signal processing. And although many remain experimental, their implications deserve serious attention. Because some of the most fascinating attack surfaces are not interfaces we deliberately exposed.</p><p>They are physical side effects we never intended to use for communication.</p><h3>The computer doesn’t need a network to communicate</h3><p>Every electronic device interacts with its physical environment.</p><p>Processors generate electromagnetic emissions. Fans produce acoustic noise and vibrations. Speakers move air. Electronic components generate heat. LEDs emit light.</p><p>We generally regard these effects as insignificant byproducts of computation.But from an information theory perspective, they are something else entirely: potential communication channels.</p><p>If a physical property can be deliberately modified, measured, and distinguished from environmental noise, it may be possible to encode information in it.</p><p><strong>And once information can be encoded, it can potentially be transmitted.</strong></p><p>This is the fundamental principle behind covert physical channels. There is also an important distinction between two related concepts. A <strong>covert channel</strong> deliberately uses an unintended medium to transfer information.</p><p>A <strong>side-channel attack</strong>, meanwhile, extracts information from physical effects produced during otherwise legitimate operations. Both can exploit acoustic, electromagnetic, optical, thermal, or mechanical phenomena. But the attacker capabilities, objectives, and technical limitations may be very different.</p><p>This is why traditional assumptions about isolated systems deserve closer examination. An air-gapped computer may be disconnected from every network, but it still exists in the physical world.</p><p>And the physical world has bandwidth.</p><h3>I actually built one of these channels</h3><p>A few months ago, I decided to experiment with this idea myself.</p><p>The project was called <strong>Acoustic Channel PoC</strong>.</p><ul><li><a href="https://medium.com/@keyboardsamurai007/no-network-required-building-an-acoustic-data-channel-with-python-for-data-exfil-part-1-02c3798a033c?source=your_stories_outbox---writer_outbox_published-------------------------------------------">https://medium.com/@keyboardsamurai007/no-network-required-building-an-acoustic-data-channel-with-python-for-data-exfil-part-1-02c3798a033c</a></li><li><a href="https://medium.com/@keyboardsamurai007/no-network-required-when-nyquist-met-real-hardware-part-2-fcb1c2193b1a?source=your_stories_outbox---writer_outbox_published-------------------------------------------">https://medium.com/@keyboardsamurai007/no-network-required-when-nyquist-met-real-hardware-part-2-fcb1c2193b1a</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kE9eJ0gzE2TnAY09MA3mpQ.png" /></figure><p>The objective was relatively simple: transmit text between two computers using sound instead of a conventional network connection.</p><p>No TCP connection. No Wi-Fi. No Bluetooth.</p><p>Just speakers, microphones, signal processing, and a little bit of physics. The implementation was written in Python and included BFSK/CPFSK modulation, Goertzel-based frequency detection, frame synchronization, CRC validation, and Hamming error correction.</p><p>On paper, the concept was straightforward. In practice, things became considerably more interesting.</p><p>Audio hardware doesn’t behave like an ideal communication channel. Speakers and microphones introduce frequency-response limitations, distortion, timing problems, and unpredictable signal attenuation.</p><p>Moving toward near-ultrasonic frequencies made those limitations even more apparent. And here’s something worth remembering: just because a waveform is mathematically valid doesn’t mean your laptop speakers are particularly interested in reproducing it.</p><p>This became one of the most valuable lessons of the experiment.</p><p><strong>Demonstrating that a physical channel exists is relatively easy. Making it reliable on real hardware is another matter entirely.</strong></p><p>We documented the process in the <em>No Network Required</em> series, including the parts where the theory collided with actual hardware.</p><p>The experiment wasn’t a demonstration of compromising an air-gapped machine…It was a demonstration that ordinary computer hardware could carry structured information over an unconventional physical medium.</p><blockquote><strong><em>A communication channel doesn’t need to be fast, reliable, or particularly sophisticated to become interesting from a security perspective.</em></strong>Sometimes a few bytes are enough… ;)</blockquote><p>And lately looks like this topic is getting more &amp; more attention. Many interesting similar projects arising:</p><ul><li><a href="https://chirp.hex.dance/">https://chirp.hex.dance/</a></li><li><a href="https://logicbloke.github.io/hamsa/">https://logicbloke.github.io/hamsa/</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y7qZjPI-ns28rJwFYfAPlg.png" /></figure><p>The more interesting part?,.. this is just the beggining..</p><h3>Ultrasound: communication you might never hear</h3><p>Acoustic communication is particularly fascinating because sound is already part of everyday computing.</p><p>Speakers and microphones are everywhere.</p><p>Researchers have demonstrated covert channels operating in high-frequency acoustic bands, including near-ultrasonic frequencies that many adults cannot readily hear.</p><p>One interesting example is <strong>MOSQUITO</strong>, a research project demonstrating covert ultrasonic communication between air-gapped computers.</p><p>The researchers explored something particularly unexpected: under certain hardware configurations, passive speakers and headphones could be repurposed as receiving devices. In other words, a device designed to output sound could potentially become part of a covert receiving channel without a conventional microphone.</p><p>Their experiments demonstrated communication across distances of several meters under controlled conditions. Think about the implications:</p><p>Removing a microphone does not necessarily eliminate every acoustic receiving capability.</p><p>And disabling networking does not automatically eliminate alternative forms of communication.</p><p>Of course, an attacker would still need a way to execute the necessary software and place or compromise a suitable receiver.</p><p>That is an important limitation, not a minor detail. Nevertheless, the underlying research challenges the idea that security boundaries can be understood entirely in terms of logical connectivity.</p><h3>Your cooling fan might be transmitting information</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OueTa7Jtat3v7GfoF01ryA.png" /></figure><p>Now imagine removing the speakers entirely.</p><p>No audio output devices. No microphones. Problem solved? Not necessarily….</p><p>Research such as <strong>Fansmitter</strong> demonstrated that variations in computer fan speeds could be used to encode information into acoustic emissions.</p><p>The idea is surprisingly elegant. A program influences fan behavior. Different rotational states produce distinguishable acoustic patterns. A suitable nearby receiver detects those changes and attempts to decode the information.</p><p>This is not a practical replacement for Ethernet. The available bandwidth is limited, operating conditions matter, and successful transmission depends on multiple environmental and hardware factors.</p><p>But consider what an attacker might actually want to extract. Not necessarily an entire database. Perhaps a short credential, a secret token, or some other compact piece of sensitive information. There is also related research into vibrations generated by computer fans, including <strong>AiR-ViBeR</strong>, which explored how accelerometers in nearby smartphones could detect mechanically transmitted signals.</p><p>Suddenly, the desk itself becomes part of the communication medium. The interesting question is no longer whether a computer has speakers.</p><p>It is whether any controllable physical component can produce a signal another device can distinguish.</p><h3>Magnetic fields: when the CPU becomes part of the transmitter</h3><p>Acoustic channels are only one part of the story.</p><p>Computers also generate electromagnetic and magnetic fields during normal operation. Researchers have investigated whether carefully controlled computational workloads can manipulate those emissions to carry encoded information.</p><p>One example is <strong>ODINI</strong>, which demonstrated data exfiltration using low-frequency magnetic fields generated by CPU activity. Related work, including <strong>GSMem</strong> and <strong>LANTENNA</strong>, explored electromagnetic emissions associated with memory activity and Ethernet cabling.</p><p>This deserves attention because it expands the threat model beyond ordinary communication hardware.A processor is not a radio transmitter in the conventional sense.</p><p>An Ethernet cable isn’t supposed to be a wireless exfiltration device.</p><p>Yet certain physical emissions can be influenced by software and measured with appropriate equipment.</p><p>Again, these attacks require specific conditions, suitable receivers, and a compromised or otherwise controllable system.</p><p>But they demonstrate something fundamental.</p><blockquote><strong>An unintended physical emission can become an intentional communication channel.</strong></blockquote><p>The difference is often software, signal processing, and a receiver that knows what to look for.</p><h3>And now your mouse is listening? Come on!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZpPljqB0bzA3nj37hzcWAg.png" /></figure><p>This might be my favorite example, partly because of how absurd it sounds… xD In 2025, researchers presented <strong>Mic-E-Mouse</strong>, a technique that explored acoustic eavesdropping through high-performance optical mouse sensors.</p><p>Yes, a mouse…The principle is based on vibration as usual...</p><p>Human speech produces acoustic energy. Some of that energy can propagate through nearby surfaces, including desks. Modern optical mouse sensors are designed to detect extremely small movements with considerable precision. Under suitable conditions, that sensitivity can reveal traces of surface vibrations associated with speech.</p><p>With signal processing and machine learning, researchers demonstrated partial speech reconstruction from the resulting sensor data. Reported speech-recognition results ranged from approximately 42% to 61% in their evaluated datasets and conditions.</p><p>That’s nowhere near perfect transcription of arbitrary conversations. But it’s remarkable considering that the original device was designed to move a pointer around a screen.</p><p>And no, you don’t necessarily need a ridiculously expensive gaming mouse. Some relatively affordable high-performance models already provide the sensitivity required for this kind of research.</p><p>The important variables include sensor resolution, sampling characteristics, surface materials, and access to sufficiently detailed motion data. It’s also worth distinguishing this work from other acoustic side-channel research that analyzes the sounds produced by ordinary mouse movements.</p><p>One technique extracts information from vibrations detected by the mouse sensor. Another analyzes acoustic emissions generated while the mouse is being used.</p><p>Different mechanisms. Similar lesson.</p><p>Even mundane peripherals can reveal information beyond their intended function.</p><h3>Sometimes the room itself becomes the microphone</h3><p>If ultrasound, fan noise, and magnetic emissions weren’t unsettling enough, optical eavesdropping pushes the idea even further.</p><p>One of the most striking examples comes from Israeli researchers at Ben-Gurion University of the Negev and the Weizmann Institute of Science.</p><p>Their research, called <strong>Lamphone</strong>, demonstrated something that initially sounds almost impossible. Recovering conversations from a room by observing a light bulb. Not a smart bulb with a microphone or a compromised IoT device.</p><p>An ordinary light bulb. The underlying principle is surprisingly simple. When people speak, sound waves create tiny fluctuations in air pressure.</p><p>Those fluctuations interact with objects throughout the room, causing extremely small mechanical vibrations. A hanging light bulb is no exception.</p><p>Even when those movements are completely invisible to the human eye, they can slightly alter the light measured by a sufficiently sensitive optical instrument. The researchers demonstrated that these variations could contain enough information to reconstruct portions of the original acoustic signal.</p><p>Using a telescope, an electro-optical sensor, and signal-processing algorithms, they managed to recover speech and music from outside a room. In their original 2020 experiment, the researchers demonstrated sound recovery from approximately 25 meters away.</p><p>Later research presented at USENIX Security 2022 explored desk lamps and reported intelligible speech recovery from a distance of 35 meters under evaluated conditions.</p><p>The experiments were conducted in controlled settings, and performance depends on factors such as lamp construction, sound intensity, environmental noise, and optical visibility.</p><p>Still, consider what this means:</p><ul><li>No malware needs to run on a victim’s computer.</li><li>No microphone needs to be compromised.</li><li>No network traffic needs to be intercepted.</li><li>The attacker doesn’t even need to enter the room.</li><li>The light bulb becomes an unintended acoustic sensor.</li><li>And an ordinary conversation becomes a measurable optical signal.</li></ul><h3>What about laser microphones?</h3><p>The general idea of recovering conversations from physical vibrations isn’t new.</p><p>Traditional laser microphones use a directed laser beam to measure the vibrations of reflective surfaces, such as windows. Those vibrations may carry information about conversations taking place inside a room.</p><p>Lamphone operates differently. Rather than actively illuminating the target with a laser, it uses passive optical measurements of light emitted by a vibrating bulb.</p><p>That distinction is particularly interesting from a security perspective. One technique actively probes a surface. The other observes information already leaking into the environment. Both demonstrate that acoustic information can cross physical boundaries without being carried by a conventional recording device.</p><p>And that’s the truly uncomfortable part.</p><p>We tend to think of a private room as a place where conversations remain private unless someone installs a microphone, compromises a device, or physically enters the space.</p><p>Research like Lamphone challenges that assumption. A desk lamp. A hanging bulb. A pane of glass…</p><p>All of them can become part of an unintended signal path. Of course, this does not mean that every illuminated office can suddenly be monitored from across the street.</p><p>Real-world exploitation remains highly dependent on environmental conditions, optical access, and equipment capabilities.</p><p>But dismissing the underlying principle would be a mistake.</p><p>Because the attack surface is not always something we deliberately connect to a network. Sometimes it is simply something that vibrates.</p><h3>The uncomfortable connection: AI makes weak signals more interesting</h3><p><strong>Here’s where I think things become particularly important.</strong></p><p>Many physical side-channel attacks face the same fundamental problem. The signal is terrible. It’s noisy, distorted, incomplete, inconsistent, and heavily dependent on the surrounding environment.</p><p>Historically, those limitations have made many unconventional channels difficult to exploit reliably. But modern signal processing and machine learning are changing how we approach weak measurements.</p><p>Consider the Mic-E-Mouse research. The investigators didn’t simply extract perfect audio from a mouse. They used filtering, resampling techniques, and neural processing to recover useful information from extremely imperfect measurements. Or consider optical techniques such as Lamphone.</p><p>The challenge is not merely measuring a change in light intensity. It is determining which parts of that signal correspond to actual acoustic information and which are unrelated noise. These are precisely the kinds of problems where advanced signal-processing techniques become valuable.</p><blockquote>Machine learning doesn’t repeal the laws of physics. It cannot magically recover information that was never captured. But it can help identify patterns, suppress noise, classify observations, and extract useful structure from measurements that conventional techniques struggle to interpret.</blockquote><p>As sensors improve and processing becomes cheaper, more physical side channels may become technically feasible to investigate.</p><p>That doesn’t mean every experimental attack will become practical, but it means that the research space is expanding.</p><p>And defenders should pay attention before these techniques become easier to reproduce.</p><h3>Why traditional security monitoring may miss the point</h3><p>Consider a hypothetical attack.</p><p>An adversary has already achieved code execution on a sensitive, isolated computer. The machine has no external network connectivity.</p><p>Its network interfaces are monitored. Its storage activity is logged. Its applications are restricted. The adversary nevertheless manages to encode a small amount of sensitive information into a physical emission.</p><p>A nearby device receives the signal and forwards the extracted information through an independent connection.</p><blockquote>From the perspective of network monitoring on the isolated computer, there may be no suspicious outbound packet. Because there was no outbound packet. That is the fundamental problem. Traditional network-based detection can only observe communication occurring through the interfaces it monitors.</blockquote><p>Physical covert channels operate outside that particular visibility boundary. Endpoint telemetry and behavioral monitoring may still detect unusual processes, hardware manipulation, or other signs of compromise. But conventional network monitoring alone cannot prove that information isn’t leaving through another medium.</p><p>Optical eavesdropping introduces another important distinction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IlljF-h5NyPLoGHTPGmbUA.png" /></figure><p>In cases such as Lamphone, the target computer doesn’t necessarily need to be compromised at all. The information can leak through environmental effects generated by a conversation. This also highlights why physical covert channels are not primarily about breaking encryption or bypassing firewalls.</p><p>They exploit assumptions about where communication and information leakage can occur.</p><p>And some of those assumptions are much older than the technologies we use to defend modern systems.</p><h3>Should we be worried?</h3><p>Yes, but for the right reasons.</p><p>Most of these techniques are not currently widespread attacks against ordinary users.</p><p>Many remain laboratory demonstrations. Some require specialized equipment, highly specific hardware configurations, proximity to a target, or existing malicious code execution. We should avoid confusing technical feasibility with operational prevalence.</p><p>A proof of concept is not automatically a scalable attack.</p><p>And a demonstrated side channel does not mean that every computer, mouse, cooling fan, or light bulb is vulnerable in a practically exploitable way. Still, dismissing the research because exploitation is difficult would be a mistake.</p><p>The security industry has repeatedly encountered situations in which obscure technical findings became more important as hardware, software, and attacker capabilities evolved.</p><p>For high-assurance environments, the implications are particularly relevant. Sensitive research facilities, industrial control systems, defense environments, critical infrastructure, and organizations relying on physical isolation should understand that an air gap is a strong security control, not a magical barrier against every possible form of information transfer.</p><blockquote>A sensible defense starts with the actual threat model.</blockquote><blockquote>That includes physical access, peripheral restrictions, software execution controls, receiver placement, optical exposure, and relevant emission-security requirements.</blockquote><p>Where justified, organizations can also investigate acoustic, electromagnetic, vibration, or optical leakage. But there is no universal sensor or product that detects every covert physical channel. And installing another dashboard isn’t going to change the physics.</p><h3>We may need a broader definition of attack surface</h3><p>For years, our security conversations have revolved around increasingly sophisticated software abstractions.</p><p>Identity. Networks. APIs. Containers. Cloud infrastructure. Supply chains.</p><p>All critical areas. But beneath every abstraction is physical hardware. Hardware moves electrons, generates heat, produces vibration, and interacts with its surroundings. Those interactions are not always harmless from an information-security perspective. The growing body of research around acoustic, magnetic, electromagnetic, optical, and mechanical side channels reminds us that the attack surface extends beyond the interfaces exposed by an operating system.</p><p>What fascinates me most is that many of these techniques do not require discovering an entirely new physical phenomenon.</p><p>They require looking at an ordinary phenomenon differently.</p><p>A fan becomes a modulator.</p><p>A CPU becomes a source of controllable magnetic emissions.</p><p>A desk becomes a vibration channel.</p><p>A mouse becomes an imperfect acoustic sensor.</p><p>A light bulb becomes a proxy for conversations taking place inside a room.</p><p>And an ordinary speaker becomes part of an unconventional communication system. None of these objects were designed for those purposes. But their physical behavior makes those possibilities worth investigating.</p><h3>Final thoughts</h3><p>When I started experimenting with acoustic data transmission, I wasn’t trying to build the next sophisticated exfiltration tool.</p><p>I wanted to understand how far ordinary hardware could be pushed beyond its intended purpose. The experiment involved plenty of failed frames, calibration problems, and hardware limitations.</p><p>But it also reinforced something I think we sometimes forget in cybersecurity. <strong>The absence of a network connection is not the absence of a communication channel.</strong></p><p>And research like Lamphone reminds us that even the absence of a compromised computer does not necessarily guarantee the absence of information leakage. Researchers have been demonstrating these principles for years.</p><blockquote>What is changing is the accessibility of sophisticated signal processing, the sensitivity of everyday sensors, and <strong>our ability to extract information from increasingly imperfect measurements</strong>. We don’t know which of these physical side channels will become operationally significant in the future.</blockquote><p>But we do know they exist.</p><p>And perhaps the most important question is not whether our computers are capable of communicating in ways we didn’t anticipate.</p><p>It’s whether we’re paying enough attention to notice.</p><p><em>Your computer may already be talking.</em></p><p><em>Your cooling fan may be transmitting.</em></p><p><em>Your mouse may be sensing more than movement.</em></p><p><em>And your light bulb may be revealing more than light.</em></p><p><strong>The question is whether anyone is listening…</strong></p><p>— — — — —</p><p>Thanks for reading! <br>See you in the next post!</p><h3>Research references and further reading</h3><ol><li><strong>MOSQUITO: Covert Ultrasonic Transmissions between Two Air-Gapped Computers</strong> (2018).<br><a href="https://arxiv.org/abs/1803.03422">https://arxiv.org/abs/1803.03422</a></li><li><strong>Fansmitter: Acoustic Data Exfiltration from Air-Gapped Computers via Fans Noise</strong> (2020).<br><a href="https://doi.org/10.1016/j.cose.2020.101721">https://doi.org/10.1016/j.cose.2020.101721</a></li><li><strong>ODINI: Escaping Sensitive Data From Faraday-Caged, Air-Gapped Computers via Magnetic Fields</strong> (2019).<br><a href="https://doi.org/10.1109/TIFS.2019.2938404">https://doi.org/10.1109/TIFS.2019.2938404</a></li><li><strong>Exfiltrating Data from Air-Gapped Computers via Vibrations</strong> (2021).<br><a href="https://doi.org/10.1016/j.future.2021.03.025">https://doi.org/10.1016/j.future.2021.03.025</a></li><li><strong>LANTENNA: Exfiltrating Data from Air-Gapped Networks via Ethernet Cables Emission</strong> (2021).<br><a href="https://doi.org/10.1109/COMPSAC51774.2021.00106">https://doi.org/10.1109/COMPSAC51774.2021.00106</a></li><li><strong>Invisible Ears at Your Fingertips: Acoustic Eavesdropping via Mouse Sensors</strong> (2025).<br><a href="https://arxiv.org/abs/2509.13581">https://arxiv.org/abs/2509.13581</a></li><li><strong>Acoustic Side-Channel Attacks on a Computer Mouse</strong> (2025).<br><a href="https://arxiv.org/abs/2505.02725">https://arxiv.org/abs/2505.02725</a></li><li><strong>Lamphone: Real-Time Passive Sound Recovery from Light Bulb Vibrations</strong> (2020).<br><a href="https://eprint.iacr.org/2020/708">https://eprint.iacr.org/2020/708</a></li><li><strong>Lamphone: Passive Sound Recovery from a Desk Lamp’s Light Bulb Vibrations</strong> (USENIX Security 2022).<br><a href="https://www.usenix.org/conference/usenixsecurity22/presentation/nassi">https://www.usenix.org/conference/usenixsecurity22/presentation/nassi</a></li><li><strong>A Survey on Air-Gap Attacks: Fundamentals, Transport Means, Attack Scenarios and Challenges</strong> (2023).<br><a href="https://www.mdpi.com/1424-8220/23/6/3215">https://www.mdpi.com/1424-8220/23/6/3215</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d7c8f05e82e9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[KATANA v1.6.0: From Image Admission Control to Multi-Scanner Kubernetes Security]]></title>
            <link>https://medium.com/@keyboardsamurai007/katana-v1-6-0-from-image-admission-control-to-multi-scanner-kubernetes-security-c44336216728?source=rss-5c4a42dcd52e------2</link>
            <guid isPermaLink="false">https://medium.com/p/c44336216728</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[k8s]]></category>
            <category><![CDATA[k8s-admission-controller]]></category>
            <category><![CDATA[aws-eks]]></category>
            <dc:creator><![CDATA[KeyboardSamurai]]></dc:creator>
            <pubDate>Fri, 16 Oct 2026 10:02:35 GMT</pubDate>
            <atom:updated>2026-10-16T10:02:35.461Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JwXLKTdF-FYDAM2c3qPC1g.png" /><figcaption>Katana v1.6.0 release</figcaption></figure><p><em>Amazon Inspector integration, Helm deployment, and a new fleet visualization. A closer look at what changed and why it matters.</em></p><p>A few weeks ago, I introduced KATANA, an open-source Kubernetes admission controller built around a relatively simple idea:</p><p><strong><em>security decisions should happen before a vulnerable container is allowed into a cluster, not just after somebody discovers it running.</em></strong></p><p>The first public version focused on connecting Kubernetes admission control with JFrog Xray, evaluating image vulnerabilities against configurable policies, and providing visibility into what was being allowed, rejected, or simply observed.</p><p>That was a good starting point….but there was an obvious limitation.</p><p>Not every organization uses JFrog. In fact, many Kubernetes environments, particularly those running on AWS EKS, rely heavily on Amazon ECR and its native vulnerability scanning capabilities.</p><p>If KATANA was going to be useful beyond a specific registry setup, that needed to change. Today, <strong>KATANA v1.6.0</strong> introduces multi-scanner support, Amazon ECR/Inspector integration, Helm packaging, and improvements to the fleet console.</p><p>This release is less about adding another collection of security features and more about making the existing architecture practical for a wider range of Kubernetes environments.</p><h3>1. The Problem With Depending on a Single Scanner</h3><p>Container image scanning is not particularly new.</p><p>Most organizations already have some combination of vulnerability scanning in their CI/CD pipelines, container registries, or dedicated security platforms.</p><p>The interesting question is what happens to those findings when Kubernetes receives a request to deploy an image.</p><p>Consider a fairly typical environment:</p><ul><li>Development teams push container images to Amazon ECR.</li><li>Other teams use JFrog Artifactory for internal packages and container repositories.</li><li>CI/CD pipelines perform security checks before publishing artifacts.</li><li>Kubernetes clusters run workloads from multiple approved registries.</li><li>Security teams need consistent enforcement without forcing everyone onto the same scanning platform.</li></ul><p>A vulnerability scanner can tell you that an image contains critical vulnerabilities. An admission controller can decide whether that image should be allowed to run.</p><p>Those are two different responsibilities.</p><p>With the original KATANA implementation, JFrog Xray was the source of vulnerability intelligence. That worked, but it also meant that the admission decision depended on a particular scanning ecosystem.</p><p><strong>KATANA v1.6.0 separates the policy decision from the scanner providing the vulnerability data.</strong></p><p>That distinction is important.</p><h3>2. Introducing Multi-Scanner Support</h3><p>The most significant architectural change in this release is the introduction of a <strong>scanner routing layer</strong>.</p><p>KATANA now supports two vulnerability intelligence backends:</p><ul><li><strong>JFrog Xray:</strong> Artifactory and supported non-ECR registry workflows</li><li><strong>Amazon ECR / Inspector:</strong> Native vulnerability findings for images hosted in private Amazon ECR registries</li></ul><p>When Kubernetes receives a Pod admission request, KATANA examines the container image reference and selects the appropriate configured scanner based on the registry hostname.</p><p>For an Amazon ECR image, KATANA can retrieve findings using the AWS ECR API. For other supported registry workflows, JFrog Xray remains available.</p><p>The important part is what happens next.</p><p>Regardless of which scanner produced the findings, <strong>KATANA normalizes the result into a common representation containing vulnerability severity counts, scan status, and lookup status</strong>.</p><p>The policy evaluation engine does not need separate rules for Amazon Inspector and JFrog Xray, it receives a consistent security assessment.</p><h3>The evaluation flow</h3><pre>Kubernetes API Server<br>        |<br>        v<br>ValidatingAdmissionWebhook<br>        |<br>        v<br>   KATANA Admission<br>        |<br>        v<br>   Scanner Router<br>        |<br>        +---- Amazon ECR ----&gt; ECR / Inspector<br>        |<br>        +---- Other Registry -&gt; JFrog Xray<br>        |<br>        v<br> Normalized Scan Summary<br>        |<br>        v<br>   Policy Evaluation<br>        |<br>        +---- DENY<br>        +---- WARN<br>        +---- AUDIT<br>        +---- ALLOW<br>        |<br>        v<br> Kubernetes Admission Response</pre><p>This is not a system that runs every scanner against every image and merges the results.The current implementation routes requests according to the registry host and the enabled integrations.</p><p>That keeps the architecture relatively straightforward while allowing different image ecosystems to participate in the same enforcement model. And from an operational perspective, that is exactly what I wanted.</p><p>One admission control mechanism. Multiple sources of vulnerability intelligence, so pretty consistent policy behavior.</p><h3>3. Amazon ECR and Inspector: Bringing Native AWS Findings Into Admission Control</h3><p>Amazon ECR integration is probably the addition I find most interesting in this release.</p><p>For teams already running workloads on EKS, it removes the requirement to introduce JFrog purely to provide vulnerability data to KATANA.</p><p>The implementation uses the ECR DescribeImageScanFindings API to retrieve existing scan results, including enhanced scanning findings when Amazon Inspector is enabled.</p><p>KATANA translates those findings into its internal default severity model:</p><ul><li>Critical</li><li>High</li><li>Medium</li><li>Low</li></ul><p>It also distinguishes between images with completed scan results, images that have not been indexed, and situations where the scanner is unavailable..that last part deserves some attention. :)</p><h3>An unscanned image is not a clean image</h3><p>One mistake I have seen in security integrations is treating missing vulnerability information as evidence that an artifact is safe. WRONG!!</p><p>No findings and no scan data are not the same thing.</p><p>KATANA explicitly distinguishes between these conditions.</p><p>An image may have no completed scan, the scanning service may be temporarily unavailable, or the image may genuinely have zero reported vulnerabilities.</p><p>Those situations should not automatically produce identical security decisions.For example, an organization can configure a policy requiring images to have completed scans before admission.</p><p>If KATANA cannot obtain the required scan evidence, that policy can reject the deployment. This behavior is particularly relevant when enforcing controls in production environments.</p><h3>Why KATANA does not trigger scans during admission</h3><p>There is another deliberate architectural choice here.</p><p>KATANA retrieves existing scan findings. It does not initiate a new Amazon ECR scan whenever somebody deploys an image.</p><p>Why?</p><p>Because Kubernetes admission is a synchronous operation.</p><p>The API server is waiting for a decision.</p><p>Starting a vulnerability scan and waiting for its completion inside the admission path would introduce unpredictable latency and create an unnecessary dependency between deployment availability and scanning execution time. Scanning belongs earlier in the artifact lifecycle.</p><p>Admission control should consume the available security evidence and make a decision.In practical terms, the expected workflow is:</p><ol><li>An image is pushed to Amazon ECR.</li><li>ECR scanning or Amazon Inspector evaluates the image.</li><li>Findings become available through the AWS APIs.</li><li>A workload references the image during deployment.</li><li>KATANA retrieves the existing findings and evaluates the configured policies</li><li>Kubernetes accepts or rejects the admission request</li></ol><p>This separation helps keep the responsibilities clear.</p><h3>4. AWS Authentication Without Hardcoded Credentials</h3><p>Supporting an AWS API is relatively easy, but supporting it without creating another credential management problem is more important.</p><p>For deployments on Amazon EKS, KATANA supports the AWS default credential chain, with <strong>IAM Roles for Service Accounts (IRSA)</strong> as the recommended approach documented for this release.</p><p>That allows the KATANA workload to assume an IAM role through its Kubernetes service account <strong>instead of storing long-lived AWS access keys inside application configuration</strong>. ;)</p><p>Example:</p><pre>apiVersion: v1<br>kind: ServiceAccount<br>metadata:<br>  name: katana<br>  namespace: katana-system<br>  annotations:<br>    eks.amazonaws.com/role-arn: arn:aws:iam::ACCOUNT_ID:role/katana-ecr-read</pre><p>The associated IAM role should grant <strong>only </strong>the permissions required to retrieve image and scan information, scoped as tightly as the AWS APIs allow.</p><p>Static credentials can still be useful in isolated development environments, but they should not be the preferred authentication mechanism for production clusters. There is little value in improving container security while introducing unnecessary credential exposure in the process.</p><h3>5. Helm Packaging: Making Deployment Less Painful</h3><p>The second major improvement in v1.6.0 is the introduction of a Helm chart.</p><p>The project now includes a chart under:</p><p>deploy/charts/katana</p><p>This packages the admission controller and its webhook TLS configuration for Kubernetes deployment. It might not sound as exciting as adding another scanner, but I would argue that packaging is one of the more important steps in making a security tool usable.</p><p>A Kubernetes admission controller is not just another application.</p><p>It participates in the API server’s admission path. A broken configuration can affect workload deployments. An unavailable webhook can become an operational problem depending on its failure policy….</p><p>That means installation, TLS configuration, service connectivity, and rollback procedures deserve some attention too.</p><p>With Helm support, KATANA moves toward a more repeatable deployment model. The release also includes a local k3d Helm smoke-test script:</p><p>deploy/scripts/demo-k3d-helm.sh</p><p>This makes it easier to validate the deployment in a disposable Kubernetes environment before introducing it into a real cluster. For anyone experimenting with admission controllers, <strong>I strongly recommend starting with a local cluster and dry-run enforcement. </strong>There is no reason to discover a policy mistake or even a bug for the first time during a production rollout.</p><h3>6. A New Honeycomb View for Multi-Cluster Visibility</h3><p>One of the original goals behind KATANA was to avoid treating Kubernetes security as a collection of isolated cluster-level dashboards.</p><p>As mentioned before, a single cluster is manageable, 10 clusters are more complicated, a few hundred clusters, distributed across accounts, regions, and teams, become a different operational problem altogether.</p><p>Security teams need to understand the overall posture without manually inspecting every individual environment. KATANA already included a separate fleet console that aggregates Prometheus metrics from multiple clusters.</p><p>Version 1.6.0 adds a <strong>cluster honeycomb map</strong> to that interface. The idea is to provide a more intuitive visual representation of the Kubernetes fleet.</p><p>Rather than navigating through a long list of clusters, operators can use a consolidated visual overview to understand the environments they are responsible for.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RZS2gCIS7Q0G5T4zGJGHUg.png" /><figcaption>Katana Fleet UI</figcaption></figure><p>For me, this is about reducing the distance between collecting security telemetry and making it operationally useful,..metrics are important.</p><p>But a security platform also needs to make those metrics understandable when somebody is investigating an incident, reviewing enforcement behavior, or trying to identify which clusters deserve attention.</p><p>There is still plenty of room to evolve this area,…</p><h3>7. Policy Enforcement Remains the Core</h3><p>Despite the new integrations, KATANA’s underlying purpose has not changed, it is still a Kubernetes admission controller.</p><p>The scanner is a source of evidence, not the authority that ultimately determines whether a workload should run. KATANA evaluates configured policies and translates the resulting decision into a Kubernetes admission response.</p><p>For example, a platform team might establish the following rules:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YnXVhJC6mBNezvckoDciKQ.png" /></figure><p>Policies can also include namespace exceptions and custom messages explaining why a deployment was rejected. Those messages matter more than they might initially appear.</p><p>A developer receiving a generic admission error has very little information to work with. A developer receiving a specific policy explanation can understand the reason for the rejection and begin addressing it.</p><p>Security controls should enforce requirements without turning every rejected deployment into a support ticket. KATANA also retains its dry-run capability, allowing teams to observe the impact of policy decisions before enabling blocking enforcement.</p><p>For large environments, I consider that a must.</p><h3>8. What This Release Does Not Try to Solve</h3><p>I think it is worth being explicit about the boundaries of the project.</p><p>KATANA is not intended to replace vulnerability scanners.</p><p>It does not perform deep image analysis itself, and it does not magically eliminate vulnerabilities from deployed workloads.</p><p>It consumes security information from supported backends and applies policy decisions during Kubernetes admission.</p><p>There are also operational questions that every admission controller must address like:</p><p><strong>What happens when the scanning backend is unavailable?</strong></p><p>The policy configuration and webhook failure behavior need to reflect the organization’s tolerance for deployment disruption.</p><p><strong>What happens when an image has not been scanned?</strong></p><p>The system must distinguish missing evidence from a clean security assessment.</p><p><strong>What happens to workloads already running in the cluster?</strong></p><p>Admission control primarily governs requests passing through the Kubernetes admission path. It is not a substitute (yet) for continuous runtime security monitoring. ;)</p><p><strong>How do we introduce new policies without disrupting development teams?</strong></p><p>Gradual enforcement, dry-run testing, clear exceptions, and useful developer feedback.</p><p>These are not problems that disappear because a project has a nice dashboard. They are the kind of details that determine when an admission controller is useful in the “real-world”.</p><h3>9. What’s Next for KATANA?</h3><p>With v1.6.0, KATANA has taken an important step beyond its initial JFrog-focused implementation.</p><p>The architecture now supports different scanning ecosystems, the Helm chart improves deployment reproducibility, and the fleet console continues evolving toward centralized multi-cluster visibility.</p><p>There are several areas I would like to explore further.</p><p>One is improving the way policy enforcement behaves across large Kubernetes fleets, particularly when clusters have different operational requirements.</p><p>Another is expanding the flexibility of vulnerability intelligence integrations without making the policy engine unnecessarily complicated.</p><p>And, of course, there is the operational side: observability, failure handling, deployment safety, and making the whole system easier to manage in general…for now, the priority is to keep improving the foundations.</p><h3>Final Thoughts</h3><p>When I started working on KATANA, the motivation was not to build yet another Kubernetes security dashboard, but to address a fairly practical problem.</p><p>Organizations already invest in vulnerability scanning, but the findings are not always connected to the moment a workload enters a Kubernetes cluster.</p><p>KATANA attempts to close that gap with an easy, friendly &amp; fast deploy.</p><p>Version 1.6.0 makes that approach more flexible by allowing the admission controller to consume findings from both JFrog Xray and Amazon ECR/Inspector. It also makes the project easier to deploy and gives operators another way to visualize security posture across multiple clusters.</p><p>There is still work to do….there always is… xD</p><p>But that is also one of the things I enjoy about building tools like this. You start with a problem, implement something that works, and then discover all the details that matter when you try to make it useful beyond your own environment.</p><p><strong>KATANA is open source. If you work with Kubernetes, admission controllers, AWS EKS, or container security, I would be interested in your feedback.</strong></p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p><strong>Repository:</strong> <a href="https://github.com/zpol/katana">https://github.com/zpol/katana</a></p><p><strong>Changelog: </strong><a href="https://github.com/zpol/katana/blob/main/CHANGELOG.md">https://github.com/zpol/katana/blob/main/CHANGELOG.md</a></p><p><strong>Multi-scanner documentation:</strong> <a href="https://github.com/zpol/katana/blob/main/docs/SCANNERS.md">https://github.com/zpol/katana/blob/main/docs/SCANNERS.md</a></p><p>Thanks for reading! :D</p><p><em>KATANA v1.6.0 | October 16, 2026</em></p><p><strong>#</strong>Kubernetes, #Admission_Controller, #Cloud_Security, #Amazon #EKS, #Amazon_Inspector, #JFrog_Xray, #DevSecOps, #Open Source, #Container_Security, #Golang</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c44336216728" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fuzzing AWS Principals: The IAM Existence Oracle Hiding in Plain Sight]]></title>
            <link>https://medium.com/@keyboardsamurai007/fuzzing-aws-principals-the-iam-existence-oracle-hiding-in-plain-sight-79b8a4b8d9ff?source=rss-5c4a42dcd52e------2</link>
            <guid isPermaLink="false">https://medium.com/p/79b8a4b8d9ff</guid>
            <category><![CDATA[self-discovery]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[bruteforce-attack]]></category>
            <category><![CDATA[red-team]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[KeyboardSamurai]]></dc:creator>
            <pubDate>Thu, 17 Sep 2026 05:53:18 GMT</pubDate>
            <atom:updated>2026-09-17T05:53:18.999Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jHEtgr5sDjOXLOqplbx2qw.png" /></figure><p>Sometimes the interesting security findings start with the most boring errors. This week I was debugging a CloudFormation deployment when AWS returned this:</p><pre>Invalid principal in policy:<br>&quot;AWS&quot;:&quot;arn:aws:iam::123456789012:user/example-service&quot;</pre><p>At first sight, this is just another broken IAM trust relationship, but then I started thinking about what AWS was actually telling me.</p><p>It wasn’t saying that the ARN was malformed, it was saying that the <strong>principal could not be resolved</strong>. And that difference is surprisingly interesting.</p><h3>IAM Has to Resolve the Principal</h3><p>Consider a normal IAM role trust policy:</p><pre>{<br>  &quot;Version&quot;: &quot;2012-10-17&quot;,<br>  &quot;Statement&quot;: [<br>    {<br>      &quot;Effect&quot;: &quot;Allow&quot;,<br>      &quot;Principal&quot;: {<br>        &quot;AWS&quot;: &quot;arn:aws:iam::123456789012:role/DeploymentRole&quot;<br>      },<br>      &quot;Action&quot;: &quot;sts:AssumeRole&quot;<br>    }<br>  ]<br>}</pre><p>When AWS saves a trust policy containing a specific IAM role or user ARN, IAM does something behind the scenes: it resolves that ARN and stores the principal’s <strong>unique internal Principal ID</strong>.</p><p>AWS documents this behavior explicitly. It is also why deleting and recreating a role with exactly the same name does not automatically restore an old trust relationship: the newly created role has a different internal Principal ID.</p><p>That means AWS must determine whether:</p><pre>arn:aws:iam::123456789012:role/DeploymentRole</pre><p>actually resolves to a valid identity.</p><p>And that gives us an interesting side channel ;)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jw1KlKFFacKG_i-nTsoWng.png" /></figure><h3>Principal Exists vs. Principal Does Not Exist</h3><p>Imagine submitting two otherwise identical trust policies.</p><p>First:</p><pre>arn:aws:iam::123456789012:role/DeploymentRole</pre><p>AWS accepts the policy.</p><p>Now try:</p><pre>arn:aws:iam::123456789012:role/DefinitelyDoesNotExist</pre><p>and IAM may answer with:</p><pre>Invalid principal in policy</pre><p>AWS’s own troubleshooting documentation confirms that this error can occur when a role or user referenced by a trust policy does not exist or has been deleted.</p><p>Conceptually, that gives us:</p><pre>Candidate ARN<br>     │<br>     ▼<br>IAM policy validation<br>     │<br> ┌───┴──────────┐<br> │              │<br>Accepted     Invalid Principal<br> │              │<br> ▼              ▼<br>Resolvable   Not resolvable</pre><p>That is effectively an <strong>existence oracle</strong>.</p><p>If an AWS Account ID is already known and identity naming is predictable, candidate users or roles can potentially be tested without having permission to list IAM resources inside the target account.</p><p>Names such as:</p><pre>DeploymentRole<br>TerraformRole<br>Jenkins<br>SecurityAudit<br>DatadogIntegration<br>ProdAdmin</pre><p>suddenly become much more interesting…right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KuKTHzhv281AX8LRoS7iOQ.png" /></figure><h3>What About CloudTrail?</h3><p>This is the part that makes the technique particularly interesting from a defensive perspective.</p><p>It would be incorrect to say that it leaves <strong>no traces anywhere</strong>.</p><p>The API operation used to modify or create the trust policy occurs in the AWS account performing the test. CloudTrail records management activity and can include errorCode, errorMessage and request information when AWS API operations fail. CloudTrail Event History provides the previous 90 days of management events by default.</p><p>So the probing account can generate plenty of evidence.</p><p>The important distinction is the <strong>target account</strong>.</p><p>Research from Rhino Security Labs demonstrated cross-account user and role enumeration using IAM trust-policy validation and noted that the validation activity appears in the attacker’s CloudTrail rather than the target’s. Pacu still contains modules implementing this technique and explicitly warns that the enumeration account will generate UpdateAssumeRolePolicy events while the target account generally sees nothing from the enumeration itself.</p><p>Unit 42 later described the same property when discussing IAM-role enumeration: role names could be tested without leaving corresponding CloudTrail traces in the target account.</p><p>That makes the reconnaissance asymmetrical:</p><pre>Researcher&#39;s AWS account<br>        │<br>        │ Trust policy validation<br>        ▼<br>       IAM<br>        │<br>        ├── Valid Principal<br>        │<br>        └── Invalid Principal<br>                  │<br>                  ▼<br>        Target account learns<br>        essentially nothing<br>        from the validation itself</pre><h3>This Is Not New — But It Is Still Worth Remembering</h3><p>This technique is not a new AWS vulnerability.</p><p>Rhino Security Labs documented IAM user and role enumeration techniques years ago, and the underlying behavior exists because IAM intentionally resolves principal ARNs into immutable internal identifiers.</p><p>What surprised me is how easy it is to rediscover the behavior accidentally while debugging something completely unrelated.</p><p>A failed CloudFormation deployment suddenly becomes a reminder that an error message can expose more information than it appears to.</p><p>Invalid principal in policy does not just mean:</p><blockquote><em>Your CloudFormation template is broken.</em></blockquote><p>In the right context it also means:</p><blockquote><em>AWS attempted to resolve this identity, and failed.</em></blockquote><p>And from a security research perspective, that distinction matters. Sometimes the most interesting reconnaissance primitive isn’t an undocumented API. It’s a validator.</p><p>In future posts will talk about how to detect this kind of BF attacks or recon activities in cloud environments like AWS:</p><p>See you in the next post! :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79b8a4b8d9ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing KATANA: turning container security intelligence into real-time Kubernetes admission…]]></title>
            <link>https://medium.com/@keyboardsamurai007/introducing-katana-turning-container-security-intelligence-into-real-time-kubernetes-admission-4938e83eba06?source=rss-5c4a42dcd52e------2</link>
            <guid isPermaLink="false">https://medium.com/p/4938e83eba06</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[kubernetes-security]]></category>
            <category><![CDATA[k8s-security]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[jfrog-artifactory]]></category>
            <dc:creator><![CDATA[KeyboardSamurai]]></dc:creator>
            <pubDate>Wed, 16 Sep 2026 09:30:26 GMT</pubDate>
            <atom:updated>2026-09-16T09:30:26.277Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introducing KATANA: turning container security intelligence into real-time Kubernetes admission decisions</h3><h3>Your Container Passed CI but Kubernetes Still Shouldn’t Trust It.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*piXjSX-kdHhc3alSD2wNRw.png" /></figure><p><a href="https://emojipedia.org/check-mark-button">✅</a> Your image passed CI<br><a href="https://emojipedia.org/check-mark-button">✅</a> The build was green.<br><a href="https://emojipedia.org/check-mark-button">✅</a> The vulnerability scan passed.<br><a href="https://emojipedia.org/check-mark-button">✅</a> The manifest was reviewed.<br><a href="https://emojipedia.org/check-mark-button">✅</a> The deployment was approved.<br><a href="https://emojipedia.org/check-mark-button">✅</a> And Kubernetes is perfectly happy to run it.</p><p>There is only one problem.</p><p><strong>The image may no longer be safe…</strong></p><p>A new vulnerability may have been published since the image was built. A developer may have bypassed the expected pipeline. A Helm chart may reference a different image than the one originally evaluated. Someone may deploy manually with kubectl. An old image may suddenly reappear during a rollback…</p><p>None of these situations are particularly exotic right? <br>They happen in real environments all the time.</p><p>And they expose a fundamental gap in many container security architectures:</p><blockquote><strong><em>We spend enormous effort in the SDLC deciding whether software is safe during CI, but the final decision to actually execute that software happens later.</em></strong></blockquote><p>That final decision happens inside Kubernetes. That is where KATANA lives.</p><p><strong>GitHub:</strong> <a href="https://github.com/zpol/katana">https://github.com/zpol/katana</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pouFW8G9BNqrRCc83N1vxA.png" /><figcaption>Kastana Fleet main daashboard</figcaption></figure><h3>The last line before execution</h3><p>Kubernetes has an extremely powerful security boundary built directly into its control plane:<strong> the admission control.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ihHWm2WEqSqfwnygjytmjg.png" /></figure><p>An admission controller receives an API request after authentication and authorization but before the requested object is persisted. In other words, it sits at one of the last possible checkpoints before Kubernetes accepts a workload (before runtime).</p><p>That makes <a href="https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/">admission control</a> an extraordinarily interesting place to ask a few simple questions:</p><blockquote><strong><em>Should this container be allowed to run right now?</em></strong></blockquote><p>Not: <em>Was this container safe when CI built it?</em></p><p>Not: <em>Did this container come through the pipeline we expected?</em></p><p>Not: <em>Was this image scanned three days ago?</em></p><p>But: <strong>What do we know about this exact image at the moment somebody is asking Kubernetes to execute it? Can be safely executed into the cluster? How do we know? …</strong></p><p>That distinction is the reason I built KATANA.</p><h3>CI is a snapshot. Admission is a decision.</h3><p>“<em>Shift left</em>” has been one of the most important changes in modern application security concepts lately. And it works. <strong>Scan earlier. Fix earlier. Stop vulnerable software before it gets anywhere near production.</strong></p><p>But there is a subtle mistake we can make when implementing shift-left security: <strong>assuming that the decision made during CI remains valid forever.</strong></p><p>Security information changes continuously, a container image is immutable (or it should be ;) Our knowledge about that container image is not. A vulnerability that did not exist in the database yesterday may be critical today.</p><p>That means something interesting happens to container trust:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XtmMbq3a4RAeJTvEVb6pkA.png" /></figure><p>The image did not change but the world around it did. KATANA moves the security decision to the point where it actually matters.</p><pre>Developer / GitOps / CI<br>          │<br>          ▼<br>   Kubernetes API<br>          │<br>          ▼<br>  Admission Request<br>          │<br>          ▼<br>       KATANA<br>          │<br>          ├────► JFrog Xray<br>          │       current security posture<br>          │<br>          ├────► KATANA policies<br>          │<br>          ▼<br>   ALLOW / WARN / DENY<br>          │<br>          ▼<br>      Kubernetes</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WJzX-P_9TCFPslFjonfSuA.png" /></figure><p>KATANA is not another scanner, it deliberately does not try to replace one. Instead, it uses security intelligence (in this use case provided by <a href="https://jfrog.com/xray/">JFrog XRay</a>, maybe soon more intelligence data sources can b added) that an organization already has and turns it into an <strong>execution decision</strong>.</p><h3>Meet KATANA</h3><p>KATANA stands for:</p><p><strong>Kubernetes Admission Trust Assessment &amp; Native Authorization</strong></p><p>It is an Apache-2.0 project designed as a policy control plane for container images running on Kubernetes. When Kubernetes receives a Pod CREATE or UPDATE, its native ValidatingAdmissionWebhook can forward the AdmissionReview to KATANA.</p><p>KATANA then evaluates the Pod and its container images before returning a decision to the API server. The important part is what happens in between.</p><p>For each workload, KATANA can inspect Pod security settings, identify the container images involved, query JFrog Xray for their current vulnerability posture, normalize those results, evaluate configurable policies and return the final admission decision.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pJwG3AolPlyHlbSDngCCWQ.png" /><figcaption>Katana standalone cluster dashboard</figcaption></figure><p>If the answer is no, Kubernetes never creates the Pod. The API server itself performs the rejection after KATANA returns:</p><pre>allowed: false</pre><p>That is a very different security model from generating another dashboard alert after the vulnerable workload has already started. And it’s a different story. What we are doing here is preventing the image being executed into the cluster.</p><p><strong>The workload simply does not exist.</strong></p><p>KATANA currently supports policies such as blocking critical vulnerabilities, blocking high-severity vulnerabilities in production, rejecting images that have never been scanned, enforcing approved registries and rejecting unsafe Pod security configurations such as privileged containers or workloads running as root. Policies can operate as deny, warn or audit, and production-oriented deployments can store them as Kubernetes ImagePolicy CRDs for GitOps workflows.</p><h3>What blocking a vulnerability should feel like</h3><p>Security controls frequently fail for reasons that have nothing to do with security. They fail because developers hate them, a security system that responds with:</p><pre>POLICY_ERROR_8271</pre><p>is technically enforcing something, but it is not helping anybody.</p><p>If KATANA blocks a deployment, the developer should understand almost inmediatelly, why from the same terminal they were already using.</p><p>Imagine deploying:</p><pre>kubectl apply -f payment-api.yaml</pre><p>and receiving something conceptually like:</p><pre>Error from server (Forbidden):<br>KATANA blocked this workload.<br>Image:<br>artifactory.example.com/payments/api:4.7.1<br>Policy:<br>Block Critical<br>Security posture:<br>Critical vulnerabilities detected<br>Decision:<br>DENY<br>This image does not satisfy the security policy<br>required for this environment.</pre><ul><li>No separate portal.</li><li>No ticket.</li><li>No waiting for somebody from security to explain what happened.</li></ul><p>The enforcement point becomes part of the developer experience and the communication process is clear and real time responding.</p><p>KATANA policies support custom developer-facing denial messages which Kubernetes can return directly as part of the admission response. This matters more than it sounds.</p><p><strong>Good security controls explain themselves.</strong></p><h3>But aren’t there already Kubernetes policy engines?</h3><p>Yes. And some of them are excellent.</p><p><a href="https://kubernetes.io/blog/2019/08/06/opa-gatekeeper-policy-and-governance-for-kubernetes/">OPA Gatekeeper</a>, <a href="https://kyverno.io/">Kyverno</a> and <a href="https://www.kubewarden.io/">Kubewarden</a> provide powerful mechanisms for Kubernetes policy enforcement. <a href="https://www.sigstore.dev/">Sigstore’s</a> policy controller can enforce artifact attestations and software supply-chain provenance. Kubewarden can execute admission policies compiled to WebAssembly. JFrog has also published an OPA Gatekeeper external-data example capable of validating JFrog Evidence before workloads enter a cluster.</p><p>KATANA is not trying to pretend those projects do not exist.</p><p>In fact, I believe Kubernetes security gets better when these technologies work together. The problem I wanted to solve was more specific.</p><p>I wanted something that treated <strong>container security posture as a first-class admission signal</strong> and made the whole workflow operationally usable:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gx_7vKTz2o--QEnSZtsPng.png" /><figcaption>KATANA Features</figcaption></figure><p>As of today (sept 2026), I have not found an actively maintained open-source project that packages <strong>this exact combination</strong> (live JFrog Xray vulnerability posture, k8s-native admission enforcement, dedicated image policies, dry-run rollout, detections, a nice operator UI and multi-cluster fleet visibility ) (I know… I ask too much maybe) as one focused system.</p><blockquote><strong>“KATANA connects pieces that normally live in different parts of the security stack, and that is the interesting part.</strong>”</blockquote><h3>A deployment becomes a security transaction</h3><p>Inside KATANA, an admission request becomes a small security transaction.</p><p>First, Kubernetes sends the Pod to the webhook.</p><p>KATANA inspects Pod security before evaluating images. This means an obviously unsafe workload can be rejected without requiring an external vulnerability lookup.</p><p>Then the images referenced by the Pod are resolved.</p><p>For each image, KATANA queries JFrog Xray’s artifact summary APIs and converts the response into a normalized security model containing scan state, vulnerability counts, highest severity and human-readable violations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vgxzJx4HsN4tbxzyoACTXQ.png" /></figure><p>The evaluator then applies policy precedence:</p><pre>DENY<br>  ↓<br>WARN<br>  ↓<br>AUDIT<br>  ↓<br>ALLOW</pre><p>A deny wins. Otherwise the strongest matching policy becomes the result.</p><p>Finally, KATANA records the detection and maps the decision back into the Kubernetes AdmissionResponse.</p><p>Conceptually:</p><pre>Pod<br> │<br> ├── securityContext<br> │        │<br> │        ├── root?<br> │        ├── privileged?<br> │        └── privilege escalation?<br> │<br> └── container images<br>          │<br>          ▼<br>      JFrog Xray<br>          │<br>          ▼<br>    ScanSummary<br>          │<br>          ├── scanned?<br>          ├── critical<br>          ├── high<br>          ├── medium<br>          ├── low<br>          └── violations<br>                  │<br>                  ▼<br>             ImagePolicy<br>                  │<br>          ┌───────┴────────┐<br>          ▼                ▼<br>        ALLOW             DENY<br>                            │<br>                            ▼<br>                 Kubernetes rejects Pod</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zFXmBG6m35J9598VlpA_8w.png" /></figure><blockquote><strong>The goal is not to make Kubernetes security complicated but to make a complicated security decision happen automatically.</strong></blockquote><h3>Unknown is not the same as safe</h3><p>One design decision deserves special mention. Suppose Xray returns no vulnerability data for an image. There are two interpretations:</p><pre>0 vulnerabilities</pre><p>and:</p><pre>we have no idea</pre><p>Those are absolutely not the same thing. KATANA explicitly tracks whether the artifact has actually been scanned. That allows policies such as:</p><pre>Require Scanned Image</pre><p>to deny an image when no trustworthy security result exists.</p><p>This sounds obvious. Operationally, it is one of the most important distinctions in the entire project. <strong>Absence of evidence must never silently become evidence of safety.</strong></p><h3>Production and development do not have to behave identically</h3><p>Security policies rarely exist in isolation from context.A critical vulnerability may be unacceptable everywhere. A high-severity vulnerability might block production while generating only visibility during development. A system namespace may need carefully controlled exceptions to avoid breaking Kubernetes itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*x5mxWaO2SBoAWJhvGhkusA.png" /><figcaption>Edditing a policy in Katana v0.5.1</figcaption></figure><p>KATANA therefore supports environment-aware policy behavior and namespace exceptions. One subtle design choice is that the production/development context used during admission is derived from the namespace configuration rather than arbitrary Pod labels.</p><p>Why? Because workload metadata comes from the workload author.</p><p>If a developer can turn:</p><pre>environment: production</pre><p>into:</p><pre>environment: dev</pre><p>and thereby change the security policy evaluating the workload, the security boundary is not particularly meaningful. <strong>Trust decisions should be based on information from the trusted side of the boundary.</strong></p><h3>You should be able to deploy security without breaking production</h3><p>An admission controller is powerful, but that also <strong>makes it dangerous.</strong></p><p>A bug, network outage or badly designed policy placed synchronously in front of the Kubernetes API can become a very efficient way to ruin everybody’s day…</p><p>So KATANA was designed around gradual adoption.The recommended initial configuration runs admission in <strong>dry-run mode</strong>. The webhook sees the workload, the image is evaluated and the policy runs.</p><p>KATANA records:</p><pre>WOULD HAVE DENIED</pre><p>but Kubernetes is still allowed to create the workload.</p><p>Operators can then examine real cluster traffic instead of guessing what enforcement might do. Once confidence is high enough:</p><pre>KATANA_ADMISSION_DRY_RUN=false</pre><p><strong>turns observation into enforcement.</strong></p><p>The repository currently recommends starting with failurePolicy: Ignore, validating real Xray latency and admission behavior, and only later considering fail-closed operation.</p><p>This is deliberate: <strong>Security controls should earn the right to block production.</strong></p><h3>And then, there were hundreds of clusters everywhere,…</h3><p>One cluster is easy, 10 are manageable, hundreds change the scale of the problem completely. Once admission security is deployed across a Kubernetes fleet, the questions change.</p><p>It is no longer only: <em>Did this Pod get blocked?</em></p><p>It becomes something like: <em>Which clusters are enforcing? How many clusters do we have? How do we enforce that company-wide?</em></p><blockquote>Which clusters are still in dry-run?</blockquote><blockquote>Where is Xray unavailable?</blockquote><blockquote>Which policies are blocking the most deployments?</blockquote><blockquote>Are there clusters still running an old KATANA version?</blockquote><blockquote>Which environments are repeatedly attempting to deploy critical images?</blockquote><p>…. and many more…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pu9hnVnpRfwxtGCSe-HLCA.png" /><figcaption>Katana Fleet main dashboard</figcaption></figure><p>So this led to <strong>KATANA Fleet</strong>. Every KATANA instance exports <a href="https://prometheus.io/">Prometheus</a> metrics including admission outcomes, Xray lookup state, severity, policy matches, cluster identity and health.</p><p>The separate fleet console queries those metrics and creates a central view across clusters without requiring a bespoke cluster-registration service. A cluster appears when Prometheus begins receiving KATANA series carrying its cluster identity.</p><p>That means the architecture can evolve naturally from:</p><pre>one cluster<br>    │<br>    ▼<br> KATANA</pre><p>to:</p><pre>Cluster A ── KATANA ──┐<br>Cluster B ── KATANA ──┤<br>Cluster C ── KATANA ──┤<br>Cluster D ── KATANA ──┤──► Prometheus ──► KATANA Fleet<br>Cluster E ── KATANA ──┘</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mdri_-sDS8Ob-vRiU2sDlQ.png" /></figure><p>For organizations operating Kubernetes as an internal platform, this becomes particularly interesting because security stops being configured independently inside every cluster and starts looking like a <strong>fleet-level control plane</strong>.</p><h3>Policy should be Kubernetes-native</h3><p>The first implementation of KATANA stores policies in SQLite because that makes local development and experimentation extremely simple.</p><p>But that does not scale elegantly to multiple replicas or GitOps-managed clusters. So KATANA also supports policies as Kubernetes CRDs:</p><pre>kubectl get imagepolicies.katana.dev</pre><p>That means a security policy can live where platform teams already expect infrastructure configuration to live: Git.</p><ul><li>A change can go through review.</li><li>Argo CD or Flux can deploy it.</li><li>Kubernetes stores the desired state.</li><li>KATANA watches the resource and updates its evaluator.</li><li>No GUI has to become the source of truth.</li></ul><p>The UI is useful and <strong>Git remains authoritative. </strong>That design matters if KATANA is ever going to operate across serious Kubernetes estates.</p><h3>What KATANA is not</h3><p>KATANA is not intended to replace Xray.</p><p>It is not intended to replace runtime security.</p><p>It is not intended to replace CI scanning.</p><p>It is not intended to replace Gatekeeper, Kyverno or Kubewarden for every Kubernetes policy problem. It’s covering a particular use case with an already solution in tyhe market.</p><p>And it certainly does not make a cluster magically secure.</p><p>KATANA addresses one particular question:</p><blockquote><strong><em>Given what we know about this workload and these container images right now, should Kubernetes allow them to execute? That’s it.</em></strong></blockquote><p>That narrow scope is intentional.Security architectures usually become stronger when tools <strong>do one job well and expose clean integration points to the rest of the ecosystem</strong>.</p><h3>Hopefully this is only the beginning</h3><p>The current implementation already includes the Kubernetes admission webhook, JFrog Xray evaluation, configurable policies, Pod security checks, deny / warn / audit, dry-run enforcement, detections, a React administration interface, CRD-backed policies, Prometheus metrics, OIDC support and the multi-cluster Fleet console.</p><p>There is still plenty to build. Persistent external storage and true multi-replica operation are obvious next steps. Certificate lifecycle automation is another. Structured SIEM export, richer artifact resolution and deeper interoperability with OPA/Gatekeeper are already natural directions for the project.</p><p>Beyond that, the architecture opens more interesting possibilities.</p><p>A future admission decision could potentially combine:</p><pre>vulnerability posture<br>        +<br>image signature<br>        +<br>provenance<br>        +<br>SBOM<br>        +<br>VEX / exploitability<br>        +<br>registry trust<br>        +<br>runtime context<br>        +<br>environment<br>        +<br>organizational policy<br>        =<br>        TRUST</pre><p>At that point, an admission controller stops being a collection of YAML rules and it becomes a <strong>trust decision engine for workloads</strong>. That is where I believe this idea gets genuinely interesting.</p><h3>Why release it?</h3><p>Well, because security infrastructure benefits from being inspectable.</p><p>If something has the authority to prevent software from entering your Kubernetes clusters, you should be able to understand what it is doing.</p><p><strong>You should be able to read the code.</strong></p><p>Challenge the assumptions.</p><p>Break it, improve it, add integrations, propose policies, run it locally…</p><p>Then point it at a test cluster, tell me what is wrong with the architecture.<br>Tell me what happens when you run it at a scale I have not tested yet.</p><p>Thats the point.</p><p>KATANA is not being released as a finished answer to Kubernetes security. <br>It’s a small piece to cover a gap and its being released as an argument:</p><blockquote><strong><em>The final security decision should happen as close as possible to the moment of execution. CI can tell us what we believed yesterday. Kubernetes admission can decide what we trust today/now.</em></strong></blockquote><h3>Try KATANA</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I5rNmMh7cvnG2RwEForijQ.png" /><figcaption>Give it a try! ;)</figcaption></figure><p>The project is available here:</p><p><a href="https://github.com/zpol/katana"><strong>https://github.com/zpol/katana</strong></a></p><p>Clone it, Run it. Read the architecture. Look at the policies. Deploy it in dry-run. Send a vulnerable image toward the cluster.</p><p>Watch Kubernetes ask permission.And then try to make the project better. If you arrived here after the talk: <strong>thank you for listening.</strong></p><p>Now the interesting part starts. Open the repository.</p><p>⚔️</p><p>Thanks for reading.</p><p>SPECIAL THANKS: To all the people involved in making sugestions, inspiring, offering guidance, proposing improvements, new features and discovering bugs to make this project live. Thanks everyone!</p><p>Stay tunned for new version upgrades &amp; new features!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4938e83eba06" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Airspace Is Full of Devices You Can’t See, welcome to RF Wardriving]]></title>
            <link>https://medium.com/@keyboardsamurai007/your-airspace-is-full-of-devices-you-cant-see-welcome-to-rf-wardriving-ab1cced331ad?source=rss-5c4a42dcd52e------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab1cced331ad</guid>
            <category><![CDATA[rfhacking]]></category>
            <category><![CDATA[best-hacking-tools]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[wardriving]]></category>
            <dc:creator><![CDATA[KeyboardSamurai]]></dc:creator>
            <pubDate>Wed, 02 Sep 2026 08:35:03 GMT</pubDate>
            <atom:updated>2026-09-02T09:40:11.149Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SrE7B6p2afm9WXcZcMJVpA.png" /></figure><h3>Building RF Hunter: an open-source RF reconnaissance platform for HackRF</h3><p>Turn on a HackRF in the middle of a city and the spectrum immediately comes alive.</p><p>Somewhere around you, cars are transmitting telemetry. Bluetooth devices are advertising their presence. Remote controls transmit short bursts and disappear again. Sensors periodically wake up, send a few bytes and go silent. Aircraft broadcast their position overhead. IoT devices occupy portions of the ISM bands….Most of it is invisible to us, until we start listening. ;)</p><p>The first time you explore the spectrum with a software-defined radio, the waterfall is fascinating. After a while, though, looking at colorful lines stops being enough.</p><p>You start asking different questions: What generated that signal? Have we seen it before? Is it moving? Is it always transmitted from the same location? What modulation is it using? Can we decode it? Can we correlate it with another radio interface?</p><p>And, from a security research perspective, the most interesting question:</p><p><strong>What does this device actually trust?</strong></p><p>Those questions eventually led me to build RF Hunter.<br>GIT repo: <a href="https://github.com/zpol/rf-hunter">https://github.com/zpol/rf-hunter</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aKjuVn5zQvTavfELzTfREA.png" /></figure><p><em>The RF environment around us is considerably more active than it appears.</em></p><h3>From Spectrum Analysis to RF Reconnaissance</h3><p>There are already excellent tools for working with software-defined radio.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*Kx5pTnMmeVeU34iJL0HYAA.png" /></figure><p>Spectrum analyzers let us visualize activity. GNU Radio gives us an extraordinarily powerful signal-processing environment. Protocol-specific projects can decode everything from aircraft transponders to weather stations and automotive sensors.</p><p>But during security research we kept running into a slightly different problem.</p><ul><li>We didn’t just want to analyze a signal.</li><li>We wanted to fully <strong>recon an RF environment</strong>.</li><li>The workflow we had in mind looked more like this:</li></ul><p><strong>SCAN → DETECT → CLASSIFY → TRACK → CORRELATE → INVESTIGATE</strong></p><p>Imagine walking into a controlled RF lab containing twenty unknown wireless devices. Initially, we know almost nothing about them.</p><p>The first task isn’t exploitation, it should be always discovery.</p><p>Which frequencies are active? Which transmissions are persistent? Which are periodic? Which appear only after interacting with a device? Which signals move? Which observations belong to the same physical device?</p><p>That is the problem RF Hunter is intended to explore.</p><h3>Meet RF Hunter</h3><p>RF Hunter is an open-source RF reconnaissance and security research platform built around HackRF and Linux.</p><p>A simple way of describing the idea is: <strong>Wardriving, but for the RF spectrum.</strong></p><p>Traditional wardriving creates an inventory of wireless networks while moving through an environment. RF Hunter applies a similar idea more broadly to radio activity. HackRF provides visibility into the spectrum.</p><p>RF Hunter attempts to add context, at its simplest, the pipeline looks like this:</p><pre>HackRF<br>   |<br>   v<br>Spectrum Sweep<br>   |<br>   v<br>Detection<br>   |<br>   +---------&gt; Fingerprinting<br>   |<br>   +---------&gt; Decoding<br>   |<br>   v<br>Device Tracker<br>   |<br>   +---------&gt; GPS<br>   |<br>   +---------&gt; BLE<br>   |<br>   +---------&gt; Wi-Fi<br>   |<br>   v<br>RF Environment Map</pre><p>The objective is not simply to display another waterfall but to gradually transform anonymous RF energy into structured observations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lo0ULt5toD0VBWl3tmt6Tg.png" /></figure><p><em>RF Hunter turns spectrum observations into entities that can be tracked and investigated.</em></p><h3>Hunting the Spectrum</h3><p>The starting point is spectrum reconnaissance, then RF Hunter uses the HackRF toolchain to sweep configured frequency ranges and identify activity worth investigating.</p><p>The important distinction here is between <strong>energy</strong> and <strong>information</strong>.</p><p>A peak at 433.92 MHz tells us very little, but suppose we repeatedly observe something like this:</p><pre>Frequency:     433.920 MHz<br>Bandwidth:     ~40 kHz<br>Duration:      72 ms<br>RSSI:          -47 dBm<br>Interval:      ~60 seconds<br>Modulation:    likely FSK</pre><p>Now we have characteristics, observe it repeatedly and then we have a pattern. Add location and we have context. Decode the transmission and suddenly <strong>we may have a device.</strong></p><p>This progression is fundamental to RF research:</p><p><strong>ENERGY → SIGNAL → PATTERN → PROTOCOL → DEVICE</strong></p><p>RF Hunter is designed around that transition.</p><h3>433.92 MHz Is a Jungle</h3><p>One of the first places we usually explore is the 433 MHz ISM region.</p><p>It is an excellent reminder of just how much wireless infrastructure exists around us.</p><p>Depending on location, equipment and local spectrum regulations, it is common to encounter short transmissions associated with devices such as sensors, remote controls, weather equipment, telemetry systems and various low-power devices.</p><p>Other parts of the spectrum reveal completely different ecosystems.</p><p>Around 868 MHz in Europe, another collection of IoT and telemetry systems appears.</p><p>At 1090 MHz, aircraft transponders become visible.</p><p>Bluetooth Low Energy introduces another enormous population of devices.</p><p>The interesting part isn’t that these protocols exist.</p><p>The interesting part is building an inventory of what actually exists <strong>around you</strong>.</p><p><em>A live RF environment quickly becomes more useful when detections are treated as observations rather than isolated peaks.</em></p><h3>A Signal Becomes an Entity</h3><p>This is where things become much more interesting ,now imagine that RF Hunter detects the same short transmission repeatedly.</p><p>The first observation gives us frequency and signal characteristics, the next gives us another timestamp, then another…</p><p>If GPS is available, those observations can be associated with positions. So if signal strength changes as the receiver moves, that adds another dimension. Additional interfaces may provide independent observations from BLE or Wi-Fi.</p><p>The conceptual model becomes:</p><pre>RF Signal<br>    |<br>    +---- Frequency<br>    |<br>    +---- RSSI<br>    |<br>    +---- Timestamp<br>    |<br>    +---- Signal characteristics<br>    |<br>    +---- GPS observation<br>    |<br>    +---- BLE context<br>    |<br>    +---- Wi-Fi context<br>    |<br>    v<br>  Tracker<br>    |<br>    v<br>Candidate Device</pre><p>No individual observation necessarily identifies anything. <strong>Correlation is what makes the data useful. </strong>A signal becomes considerably more interesting when it stops being just a frequency and starts becoming an entity.</p><h3>RF Wardriving</h3><p>Adding GPS changes the experiment completely.</p><p>Instead of asking:</p><blockquote><strong>What signals can I receive here?</strong></blockquote><p>we can begin asking:</p><blockquote><strong>Where have I observed this signal?</strong></blockquote><p>That distinction opens up an interesting concept: RF wardriving. Imagine collecting observations while moving through a controlled test environment.</p><p>Each detection contains some combination of:</p><pre>timestamp<br>latitude<br>longitude<br>frequency<br>signal strength<br>classification<br>device fingerprint</pre><p>Plot those observations on a map and the RF environment starts becoming spatial. Stationary infrastructure behaves differently from moving devices.</p><p>Persistent transmitters behave differently from burst transmitters. Repeated observations begin forming trails.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AwVOCU2wQnGQuqIwei9cxg.png" /></figure><p><em>Adding position transforms spectrum reconnaissance into spatial RF reconnaissance.</em></p><p>There is also an important caveat here: Signal strength is not distance.</p><p>RF propagation is affected by antennas, orientation, obstacles, reflections, multipath, transmitter power and a loooong list of environmental factors...</p><p>An RSSI value should therefore be treated as an observation, not as a magical rangefinder. That distinction becomes important once we start doing real experiments.</p><h3>From Detection to Decode</h3><p>Eventually we find something interesting enough to stop scanning.</p><p>Now we want the actual signal. This is where the workflow changes from reconnaissance to investigation.Instead of observing power across a frequency range, we capture IQ samples around a specific transmission.</p><p>Conceptually:</p><pre>Detection<br>   |<br>   v<br>Tune<br>   |<br>   v<br>IQ Capture<br>   |<br>   v<br>Signal Analysis<br>   |<br>   +---- Modulation<br>   |<br>   +---- Symbol timing<br>   |<br>   +---- Framing<br>   |<br>   +---- Encoding<br>   |<br>   v<br>Protocol Decode</pre><p>This transition is going to be a major part of this series.</p><p>Because a waterfall can tell us that something transmitted. IQ samples can tell us <strong>how</strong> it transmitted. And once we understand how, we can start investigating what the protocol actually does.</p><h3>A Good Example: TPMS</h3><p>Automotive Tire Pressure Monitoring Systems are a particularly interesting target for learning RF analysis.</p><p>They are small, wireless, battery powered, they transmit structured telemetry…and, most importantly for a research series, <strong>they provide a nice path from basic spectrum observation all the way to protocol analysis</strong>.</p><p>A decoded observation might eventually look conceptually like:</p><pre>Device type:    TPMS sensor<br>Frequency:      433.92 MHz<br>Sensor ID:      [redacted]<br>Pressure:       2.4 bar<br>Temperature:    27 C<br>RSSI:           -48 dBm</pre><p>A few minutes earlier, the exact same device may have appeared to us as nothing more than a tiny burst on a waterfall.</p><p>That transformation is what makes RF reverse engineering so satisfying.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d9CsCfLAZl_bhY6TWXxHMQ.png" /></figure><p><em>The goal is to move from observing RF energy to understanding the protocol producing it.</em></p><p>We’ll do exactly that in a future article. With real hardware.</p><h3>And Then There Is Replay</h3><p>Receiving is only half of what makes software-defined radio interesting.</p><p>HackRF can also transmit…. &gt;:-&gt; That immediately introduces another class of experiments….as u can guess…</p><p>If we capture a transmission, can we reproduce it EXACTLY? Sometimes the answer is yes. Sometimes replaying the exact same waveform does absolutely nothing. And that difference tells us something about the protocol. A very simple system may accept repeated messages.</p><p>A more sophisticated protocol may incorporate counters, rolling codes, challenge-response mechanisms, cryptographic authentication or other forms of state.</p><p>That gives us another useful research progression:</p><pre>CAPTURE<br>   |<br>   v<br>ANALYZE<br>   |<br>   v<br>DECODE<br>   |<br>   v<br>UNDERSTAND STATE<br>   |<br>   v<br>TEST SECURITY ASSUMPTIONS</pre><p>RF Hunter includes a controlled RF clone/replay laboratory for experiments with hardware and frequencies where transmission is permitted.</p><p>Spoiler image:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*DGXSCTdwwVLXr3_XjoFtng.png" /></figure><p>I’m deliberately not going deeper into that here, since it deserves its own article.</p><h3>The Security Question</h3><p>This is ultimately where we want this project to go.</p><p>Finding a device is interesting, decoding it is better. Understanding the assumptions made by its designers is where security research begins.</p><ul><li>Does the receiver authenticate the transmitter?</li><li>Does a message contain a counter?</li><li>Can frames be replayed?</li><li>Is state synchronized?</li><li>What happens when packets are malformed?</li><li>Can fields contain unexpected values?</li><li>Does the device trust information simply because it arrived over the expected RF channel?</li><li>Are identifiers actually identities, or just numbers transmitted over the air?</li></ul><p>These questions move us away from SDR experimentation and toward vulnerability research. And that is exactly where this blog series is heading, so stay tuned :)</p><h3>Why Build Another RF Tool?</h3><p>RF security tooling is simultaneously incredibly powerful and surprisingly fragmented.</p><p>There are excellent spectrum tools, excellent SDR frameworks, protocol decoders even better hardware. But during research we wanted something closer to a reconnaissance platform. Something we could take into a lab and use to progressively answer:</p><p><strong>What’s here?</strong></p><p><strong>What is it doing?</strong></p><p><strong>Have I seen it before?</strong></p><p><strong>Can I capture it?</strong></p><p><strong>Can I decode it?</strong></p><p><strong>Can I correlate it?</strong></p><p><strong>What does it trust?</strong></p><p>RF Hunter is my attempt at building that workflow.</p><p>It is open source, because we would much rather see other researchers break it, improve it, add protocols and build experiments we haven’t even thought of. So worldwide RF Hackers u are all welcome.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6it5Kex-C_9BExfK_wVO8Q.png" /></figure><h3>This Is Only the Beginning</h3><p>RF Hunter isn’t the conclusion of this project, but the equipment we’re taking into the lab….Over the next articles we’re going to start putting actual RF hardware on the bench.</p><ul><li>TPMS sensors.</li><li>433 MHz devices.</li><li>Remote controls.</li><li>IoT hardware.</li><li>BLE devices.</li><li>868 MHz equipment.</li></ul><p>And whatever other interesting radios we encounter along the way or you suggest. We’ll find the signals, capture them &amp; take them apart.</p><p>Decode the protocols, write our own tooling, look at the hardware, test assumptions. And, where appropriate, start looking for vulnerabilities.</p><p>If somewhere along that path we find something that deserves responsible disclosure(or perhaps even a CVE ) then things will become considerably more interesting.</p><p>For now, the first tool is ready.</p><p><strong>RF Hunter is open source and available on GitHub.</strong></p><p>Break it, improve it, add devices, decoders, send pull requests.<br>And get your HackRF ready!!!</p><p><strong>We’re going hunting.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*38dHsw9zGXDu-SKjcHJqZw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*df9C1Kqcvw_1N2ogixUQMQ.png" /></figure><p><em>RF Hunter is the starting point. The next step is putting real devices on the bench.</em></p><h3>RF Hacking Series</h3><p><strong>#00 — Your Airspace Is Full of Devices You Can’t See</strong><br>Introducing RF Hunter.</p><p><strong>Next: #01 — Stop Looking at the Waterfall: Learning to Hunt RF Signals</strong></p><p><em>DISCLAIMER: This series documents RF security research performed with owned hardware and controlled laboratory environments. Radio transmission is regulated and permitted frequencies, power levels and experimental conditions vary by jurisdiction. The objective is to understand wireless systems and their security properties, not to interfere with third-party communications or infrastructure.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab1cced331ad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Attacker Wasn’t Invisible. Your AWS Logging Was.]]></title>
            <link>https://medium.com/@keyboardsamurai007/the-attacker-wasnt-invisible-your-aws-logging-was-3255c7374b52?source=rss-5c4a42dcd52e------2</link>
            <guid isPermaLink="false">https://medium.com/p/3255c7374b52</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[KeyboardSamurai]]></dc:creator>
            <pubDate>Mon, 31 Aug 2026 10:25:04 GMT</pubDate>
            <atom:updated>2026-08-31T10:25:04.145Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yd8h8LZqpboTVklucC8wMw.png" /></figure><h3>How “cost-optimized” CloudTrail and VPC Flow Logs can turn a perfectly detectable AWS intrusion into an incident nobody can reconstruct.</h3><p>There is a sentence you hear sadly &amp; surprisingly often after a cloud security incident:</p><blockquote>“We don’t have enough information to know what happened…”</blockquote><p>Sometimes that’s true, but sometimes it isn’t. Sometimes the attacker wasn’t particularly sophisticated. They didn’t magically bypass AWS, they didn’t become invisible…<strong>You simply decided not to record what they were doing.</strong></p><p>And months later, when someone finally asks:</p><p>Who enumerated those roles? Who changed that policy? Which credentials were used? What did that EC2 instance connect to? How much data left the VPC? Which S3 objects were accessed? The answer becomes:</p><p><strong>We don’t know. We weren’t logging it.</strong></p><p>It’s not an attacker visibility problem…that’s an architecture decision.</p><h3>Welcome to the Partially Recorded Crime Scene</h3><p>AWS gives defenders several extraordinarily useful sources of telemetry. CloudTrail tells you about actions against the AWS control plane.</p><p>VPC Flow Logs tell you about network flows.</p><p>CloudTrail Data Events can tell you what happened inside certain resources, such as object-level operations against S3.</p><p>None of them is perfect.</p><p>VPC Flow Logs don’t give you packet payloads.</p><p>CloudTrail doesn’t magically tell you attacker intent.</p><p>Data Events can become extremely high volume.</p><p>But that’s missing the point.</p><p>Security telemetry doesn’t need to contain everything. It needs to preserve enough independent pieces of evidence that you can reconstruct what happened. The problem begins when organizations start removing those pieces.</p><p>Usually for a perfectly reasonable reason: <strong>COST</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uxpUEgZj6J6Z-X25la5_iw.png" /></figure><h3>“We Don’t Need Those Events”</h3><p>Imagine an AWS environment containing hundreds of accounts. Millions of API calls. Thousands of workloads. Every log generated eventually becomes storage, processing, indexing, SIEM ingestion and retention.</p><p>Someone looks at the bill, someone notices the amount of telemetry being collected and eventually someone asks the dangerous question:</p><blockquote><em>Do we really need all of this?</em></blockquote><p>Then optimization starts. Perhaps only write events are sent to the SIEM, perhaps read events are discarded because they are considered noisy.</p><p>Perhaps VPC Flow Logs exist only for production VPCs or maybe Flow Logs capture only rejected traffic.</p><p>Maybe S3 Data Events are disabled because object-level operations generate too much volume.</p><p>Perhaps logs are retained for 30 or 90 days because anything longer is considered unnecessary. Individually, every decision can sound reasonable. Collectively, you may have just deleted the attacker’s footprints.</p><h3>Reconnaissance Is Activity</h3><p>Consider what an attacker might do immediately after obtaining valid AWS credentials. They don’t necessarily start by deleting databases. They ask questions.</p><p>Who am I? What can I access? What accounts exist? What instances exist?What networks exist? Which security groups exist? Which roles exist? Which policies exist? Where are the interesting resources?</p><p>In AWS API language, this can look like a stream of perfectly legitimate operations:</p><p>Get*</p><p>List*</p><p>Describe*</p><p>AWS explicitly classifies operations such as DescribeSecurityGroups and DescribeSubnets as read-only management events.</p><p>To an application team, these calls may look like noise. To an attacker, they are a map. This is cloud reconnaissance. Remove enough read telemetry from your security pipeline and you may still see the attacker eventually performing a malicious action.</p><p>But you’ve lost the beginning of the story.</p><p>You see:</p><p><strong>AttachRolePolicy</strong></p><p>But you don’t see the fifteen minutes of IAM enumeration that came before it. <strong>Context disappeared and detection opportunities disappeared with it</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hdk2SENHUgXTUVnJ8PVi4w.png" /></figure><h3>Now Do the Opposite</h3><p>Suppose instead that someone decides read events are important but aggressively filters write activity somewhere downstream.</p><p>Now you can watch the attacker explore the environment.</p><p>Wonderful.</p><p>You see them enumerating IAM, you see them inspecting EC2.You see them discovering network topology. then something changes.</p><p>A role receives additional permissions, a trust policy changes…<br>A new access key appears, a security group changes…a resource is created...And your telemetry suddenly becomes strangely quiet.</p><p>Again: The attacker didn’t disappear, y<strong>our logging boundary did.</strong></p><p>Read and write events describe different parts of an attack. Choosing only one does not produce “optimized visibility.” <strong>It produces asymmetric blindness.</strong></p><h3>CloudTrail Is Your Security Camera for the Control Plane</h3><p>CloudTrail is often discussed like an auditing feature.</p><p>That description massively undersells it.</p><p>In an AWS intrusion, CloudTrail may be one of the closest things you have to CCTV footage.</p><p>It can tell you things such as:</p><ul><li>which API was called</li><li>which identity made the request</li><li>when it occurred</li><li>where the request originated</li><li>which AWS service received it</li><li>whether temporary credentials were involved</li><li>what resources or parameters were involved</li></ul><p>AWS automatically provides the previous 90 days of management-event history.</p><p>That’s useful. But <strong>90 days of regional event history is not a forensic logging architecture</strong>.</p><p>An attacker doesn’t care about your retention policy. An incident discovered on day 91 doesn’t become less important because your evidence expired yesterday.</p><p>For long-term investigation, organizations need deliberate trails, retention and centralization.</p><p>And ideally those logs should live somewhere the compromised workload or even the compromised AWS account cannot casually destroy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EOAuOQ7UaJ_cvNjpmLZ-Gg.png" /></figure><h3>Then Comes the Data Plane</h3><p>Now imagine something more interesting. The attacker discovers an S3 bucket. CloudTrail management telemetry may show activity around the bucket itself.</p><p>But what you actually want to know during the investigation is:</p><p><strong>Which objects did they access?</strong></p><p>That’s where CloudTrail Data Events become important.</p><p>S3 object-level operations such as:</p><p>GetObject</p><p>PutObject</p><p>DeleteObject</p><p>are Data Events.</p><p>And AWS does <strong>not</strong> log most Data Events by default, they are high volume and they cost money. Which makes them exactly the kind of telemetry that gets aggressively optimized.</p><p>Now imagine your investigation six months later:</p><p>Did the attacker discover the bucket? Probably.</p><p>Did they download customers-2026.csv?Unknown.</p><p>Did they download 400 objects? Unknown.</p><p>Did they delete something? Unknown.</p><p>You know the attacker entered the building and you just removed the cameras from the vault.</p><h3>“But We Have VPC Flow Logs”</h3><p>Good. Well, you should.But Flow Logs are frequently misunderstood too.</p><p><strong>&gt;&gt;&gt;&gt;&gt; VPC Flow Logs are not packet captures. &lt;&lt;&lt;&lt;&lt;</strong></p><p>For example, tcpdump might show the beginning of a TCP session like this:</p><pre>10:42:17.318491 IP 10.0.2.15.45872 &gt; 203.0.113.42.443:<br>Flags [S], seq 3948201742, win 64240, length 0</pre><pre>10:42:17.347821 IP 203.0.113.42.443 &gt; 10.0.2.15.45872:<br>Flags [S.], seq 218442931, ack 3948201743, win 65535, length 0</pre><pre>10:42:17.348019 IP 10.0.2.15.45872 &gt; 203.0.113.42.443:<br>Flags [.], ack 1, win 502, length 0</pre><p>The equivalent information in a Flow Log could be reduced to something closer to:</p><pre>10.0.2.15 203.0.113.42 45872 443 6 18 12864 ACCEPT</pre><p>That difference is significant. tcpdump tells you how the conversation happened; Flow Logs mainly tell you that the conversation happened. During an incident, however, that second level of visibility is still extremely valuable. Knowing that a workload suddenly started communicating with an unfamiliar external IP, when that communication began, how much data moved and whether other systems contacted the same destination can be enough to reveal a pattern that would otherwise remain completely invisible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/1*KQ0zMp35B8ExclczB2b6sw.png" /><figcaption>Example of tdpcump traffic</figcaption></figure><p>This is why I tend to describe VPC Flow Logs as limited rather than useless. Compared with a full packet capture, they are undeniably poor in detail.<br>But compared with having no network telemetry at all, they can make the difference between reconstructing part of an attack and having absolutely nothing to work with.</p><p>You aren’t getting HTTP bodies, neither reading TLS traffic…<br>So you’re not getting some magical forensic transcript of every connection.</p><p>What you can get is metadata, and <strong>metadata well used is incredibly powerful</strong>. Depending on your log format, Flow Logs can expose information including:</p><p>source address, destination address, source port, destination port, protocol,packets,bytes,timestamps,ACCEPT or REJECT,traffic direction,AWS service information,TCP flags,network interface,VPC,subnet,instance,traffic path,</p><p>Individually, this can look unimpressive.</p><p>An IP address, 42 MB, ACCEPT. Who cares…?</p><p>Now correlate it with CloudTrail…</p><p>Suddenly you have:</p><p><strong>14:02 </strong>Credentials authenticate.<br><strong>14:03 </strong>IAM enumeration begins.<br><strong>14:05 </strong>EC2 and network discovery.<br><strong>14:08 </strong>A permission boundary changes.<br><strong>14:10 </strong>A new workload appears.<br><strong>14:12 </strong>The workload begins making outbound connections to infrastructure never previously contacted.<br><strong>14:16 </strong>Outbound traffic volume increases dramatically.</p><p>CloudTrail tells you what happened to AWS, who did what, when and from where. Flow Logs tell you what started happening through the network.</p><p>Neither log contains the full story. Together they begin to look like an attack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IrTx-HDb3r7Kz4jl_Lb6hw.png" /></figure><h3>Weak Signals Become Strong Evidence</h3><p>In the last artciles we’ve been talking about how many aparently unrelated metadata or datapoints can be powerful if well combinated. This is where security architecture often goes wrong. Teams evaluate telemetry sources individually.</p><p>“Flow Logs aren’t detailed enough.”</p><p>“CloudTrail has too much noise.”</p><p>“Read events generate too many records.”</p><p>“Data Events are expensive.” Correct.</p><p>But detection doesn’t happen because one magical log contains:</p><p>ATTACKER=true</p><p>Detection happens through correlation, one weak signal means almost nothing. Ten weak signals happening sequentially under the same identity, from the same source, against related resources, within fifteen minutes?That’s different.</p><p>Security visibility is cumulative.</p><h3>The Attacker’s Timeline</h3><p>Imagine compromised developer credentials. Here’s what an extremely simplified sequence could look like.</p><h3>Phase 1: Identity</h3><p>The attacker verifies which principal they obtained. Nothing destructive happens.</p><h3>Phase 2: Reconnaissance</h3><p>* IAM enumeration<br>* EC2 enumeration<br>* VPC enumeration<br>* S3 enumeration</p><p>More read operations, but still nothing obviously destructive.</p><h3>Phase 3: Privilege Escalation</h3><p>The attacker discovers an overly permissive role or policy path. Now write operations begin…Policies change, roles change,..credentials or resources may be created…etc..</p><h3>Phase 4: Resource Access</h3><p>The attacker reaches valuable resources, and object-level operations begin. <strong>Now is when data events become valuable</strong>.</p><h3>Phase 5: Network Activity</h3><p>Compromised workloads communicate externally.</p><p>Network patterns change.<br>Destinations change.<br>Traffic volumes change.<br>Flow Logs begin contributing another dimension.</p><p>Now remove read management events….Phase 2 disappears.<br>Remove write management events….Phase 3 disappears.<br>Remove Data Events….Much of Phase 4 disappears.<br>Remove Flow Logs….Phase 5 becomes significantly harder to reconstruct…<br>which leads to shorten retention… == eventually the entire incident disappears.</p><p>Not because the attacker erased their tracks, but <strong>because you erased them for them.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XvTQ9PUWQns5AREbzHIVMw.png" /></figure><h3>The Most Dangerous Security Control Is the One You Think You Have</h3><p>This produces something worse than having no logging, it produces <strong>false confidence which is even worst:</strong></p><ul><li>A dashboard exists</li><li>A SIEM exists</li><li>CloudTrail exists</li><li>Flow Logs exist</li><li>Alerts exist</li></ul><p>So executives reasonably assume: <em>“If something happens in AWS, we’ll know.” </em><strong>Will you? That question should be tested…not assumed.</strong></p><p>Security teams should periodically run known attack sequences in controlled environments and ask:</p><ul><li>Can we reconstruct this from our telemetry?</li><li>Can we identify the identity?</li><li>Can we reconstruct the enumeration?</li><li>Can we see the permission change?</li><li>Can we identify resource access?</li><li>Can we correlate it with network activity?</li><li><strong>Can we still do this 180 days later? ←!!</strong></li></ul><p>If the answer is no, then your monitoring architecture contains blind spots. And those blind spots should be documented as risks. Not hidden behind the word “<em>optimization</em>.”</p><h3>Cost Optimization Without Security Amputation</h3><p>The answer is not: <strong>send absolutely everything to the SIEM forever… that’s just “ticking a box to complete a task”.</strong></p><p>That would be both expensive and lazy architecture…the better approach is to separate: <strong>Collection</strong> from <strong>Detection</strong> from <strong>Retention</strong>.</p><p>These are not the same problem, raw security telemetry can be stored relatively cheaply in long-term storage. High-value events can simultaneously be forwarded into expensive real-time analytics platforms.</p><p>Different telemetry can have different retention tiers. High-volume Data Events can be scoped using advanced selectors. Flow Logs can use carefully chosen custom fields.</p><p>Historical telemetry can be compressed, partitioned and archived. The goal isn’t to collect everything indiscriminately.</p><p>The goal is to avoid destroying evidence solely because real-time indexing is expensive. Your SIEM doesn’t have to contain five years of AWS telemetry. But that doesn’t mean five years of telemetry must cease to exist.</p><h3>What I Would Consider the Minimum</h3><p>For a serious multi-account AWS environment, I’d want to see at least:</p><ul><li>A centralized logging strategy.</li><li>Organization-wide, multi-Region CloudTrail coverage.</li><li>Both read and write management events.</li><li>Long-term retention independent from the workloads being monitored.</li><li>A dedicated log archive with tightly controlled access.</li><li>CloudTrail log integrity validation.</li><li>Selective Data Events around sensitive resources.</li><li>VPC Flow Logs where network telemetry matters.</li><li>Useful Flow Log fields rather than blindly accepting the minimum format.</li><li>Real-time detections for high-risk operations.</li></ul><p>And most importantly:</p><p><strong>The ability to correlate identity, API activity, resource activity and network behavior.</strong></p><p>AWS itself recommends multi-Region trails and centralized S3 storage, including consideration of a separate log-archive account (usually the Audit account). CloudTrail also supports integrity validation specifically so investigators can determine whether delivered logs were changed or deleted.</p><p>That isn’t compliance theatre, its <strong>preservation of evidence</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eblv2hT2PVWxKtOxFHmyWQ.png" /><figcaption>Example of a well-architected AWS environment with centralized security, logging, observability and network controls across multiple accounts and workloads.</figcaption></figure><h3>Logging Is Not an IT Cost</h3><p>Here’s the cultural problem: logging frequently appears in budgets as infrastructure consumption.</p><p>Storage, Ingestion, Queries, Compute, SIEM licensing….</p><p>So eventually someone tries to optimize it the same way they optimize unused EBS volumes. But security telemetry isn’t simply infrastructure exhaust.</p><p>It is potential evidence! You don’t know which log entry matters until something happens. And unfortunately, once something happens, AWS doesn’t provide a button labelled:</p><p><strong><em>“Generate the logs we decided not to collect six months ago.”</em></strong></p><p>They are gone…</p><h3>The Real Question</h3><p>When organizations discuss reducing logging costs, the question usually sounds like this:</p><blockquote><em>“How much money will we save by disabling this telemetry?”</em></blockquote><p>There’s another question that should be asked immediately afterward:</p><blockquote><strong><em>“What questions will we no longer be able to answer during an incident?”</em></strong></blockquote><p>Maybe the tradeoff is acceptable, …sometimes it genuinely is. But make that decision consciously. Because there is a massive difference between:</p><p><strong>We accept this visibility gap.</strong></p><p>and:</p><p><strong>We didn’t realize we had one.</strong></p><h3>Your AWS Environment May Already Be Telling You the Story</h3><p>* An attacker enumerating IAM.<br>* A strange role assumption.<br>* A policy modification.<br>* An unexpected S3 object access.<br>* A new workload.<br>* An unusual external destination.<br>* An unexpected outbound traffic spike.</p><p>Those events might look unrelated, CloudTrail sees one piece. Data Events see another.Flow Logs see another.Your detection platform sees another.</p><p>Your job is to preserve enough of those pieces that one day you can put them together. Because when the incident response team finally arrives, the worst possible finding isn’t necessarily:</p><p><strong>“The attacker was extremely sophisticated.”</strong></p><p>Sometimes it’s much worse:</p><p><strong>“The attacker left evidence everywhere.</strong></p><p><strong>We just chose not to keep it.”</strong></p><p>Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3255c7374b52" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Burner Phone Fallacy: How Anonymous Can You Really Be?]]></title>
            <link>https://medium.com/@keyboardsamurai007/the-burner-phone-fallacy-how-anonymous-can-you-really-be-865f84f3d3b1?source=rss-5c4a42dcd52e------2</link>
            <guid isPermaLink="false">https://medium.com/p/865f84f3d3b1</guid>
            <category><![CDATA[tracking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[anonymity]]></category>
            <dc:creator><![CDATA[KeyboardSamurai]]></dc:creator>
            <pubDate>Tue, 18 Aug 2026 10:24:37 GMT</pubDate>
            <atom:updated>2026-08-19T06:19:04.680Z</atom:updated>
            <content:encoded><![CDATA[<p><em>You bought the phone with cash. No account. No contract. No name.<br>So nobody can trace it back to you… right?</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kMf6fzMvJwRQPdKlCUc6LQ.png" /></figure><p>Not quite.</p><p>There is a persistent idea that anonymity is something you can buy.</p><p>Get a cheap phone. Pay cash. Use a prepaid SIM. Never log into your personal accounts. Throw the device away when you’re done.</p><p>Congratulations. You’re invisible.</p><p>Except you’re not…</p><p>The interesting part isn’t that burner phones “don’t work.” They absolutely have legitimate privacy uses. The interesting part is <strong>how many independent systems have to know almost nothing about you before, collectively, they know quite a lot.</strong></p><p>So let’s run a thought experiment.</p><p>You want to become untraceable on the Internet.</p><p>How difficult could it possibly be?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JHbFRMse8Xx1Scc5_WuDew.png" /><figcaption><em>The experiment starts with a simple assumption: cash means anonymity.</em></figcaption></figure><h3>Step 1 — Buy the Burner</h3><p>First, we need a device, let’s call it the burner phone.</p><p>We walk into a store, pick up a prepaid handset and pay for it with cash.</p><ul><li>No credit card.</li><li>No debit card.</li><li>No loyalty program.</li><li>No email receipt.</li><li>No obvious connection to our identity.</li></ul><p>It sounds pretty good.</p><p>But cash doesn’t erase the event.</p><p><strong>It only changes where the evidence lives.</strong></p><p>The phone has a serial number. The store has inventory records. The point-of-sale system has a timestamp showing when that particular unit left inventory.</p><p>And then there is the physical world.</p><ul><li>The store may have CCTV.</li><li>The shopping centre may have CCTV.</li><li>The parking area may have CCTV.</li><li>There may be cameras on surrounding streets.</li></ul><p>Suddenly, the problem isn’t:</p><blockquote><em>“Who paid for this phone?”</em></blockquote><p>It’s:</p><blockquote><em>“Who was standing at the counter when this specific phone was sold at that point in time?”</em></blockquote><p>Cash removed one identifier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7qkQijCeovBId6QzL5FyRQ.png" /><figcaption><em>Cash removes the payment identity. It doesn’t remove inventory records, timestamps or cameras.</em></figcaption></figure><h3>Step 2 — The Device Already Has an Identity</h3><p>Now we own the phone. Still anonymous?</p><p>The problem is that a mobile device isn’t just “a phone.”<br>It is a collection of radios, hardware components and identifiers.</p><p>One of the most important is the <strong>IMEI (International Mobile Equipment Identity)</strong>.</p><p>Think of it as an identifier associated with the handset itself.</p><p>Then we have the SIM side of the equation, with identifiers such as the <strong>IMSI (International Mobile Subscriber Identity)</strong>.</p><p>These solve different problems.</p><p>Very simplified:</p><p><strong>IMEI → which device?</strong></p><p><strong>IMSI → which mobile subscription?</strong></p><p>And once the device begins interacting with infrastructure, those identifiers can become part of network records. This is where an important distinction appears:</p><p><strong>Anonymous to a website does not mean anonymous to the network.</strong></p><p>Your browser might not know your real name.</p><p>The cellular infrastructure doesn’t need your name to recognise that the same device has appeared again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1007/1*z0kxpAgnNijaNYBEAtJ9qA.png" /><figcaption><em>Before you create an account, the device already has characteristics that distinguish it from other devices.</em></figcaption></figure><h3>Step 3 — Turn It On</h3><p>This is where things become much more interesting.</p><p>The moment the phone begins communicating with a cellular network, it needs infrastructure.</p><p>And infrastructure generates records.</p><p>The network needs to know enough to provide service: which subscriber or SIM is connecting, which device is involved, which cell is serving it and when those interactions occur.</p><p>Notice what is missing from that sentence.</p><p>Your name.</p><p>It doesn’t necessarily need to know that.</p><p>Imagine a record that effectively says:</p><blockquote><em>Device X appeared near Cell A at 08:13.<br>Later it appeared near Cell B at 08:42.<br>Then near Cell C at 09:07.</em></blockquote><p>Nobody has said who Device X belongs to.</p><p>But we already have something valuable: <strong>a movement pattern.</strong></p><p>Metadata can be extraordinarily revealing precisely because it describes relationships:</p><ul><li>Who communicated.</li><li>When.</li><li>For how long.</li><li>Through which infrastructure.</li><li>From approximately where.</li></ul><p>Sometimes the envelope tells a surprisingly detailed story even without opening the letter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yc7G-r6NZoPZmu0vU7whzw.png" /><figcaption><em>The network doesn’t need the content of a communication to observe that the communication happened.</em></figcaption></figure><h3>Step 4 — Location Is a Correlation Problem</h3><p>People often imagine phone location as a Hollywood-style map with three towers drawing perfect circles around a target.</p><p>Reality is more complicated.</p><p>Depending on the network, available measurements and infrastructure, location estimates can use information associated with serving cells, neighbouring cells, timing, signal characteristics and other network observations…</p><p>The important point for our experiment isn’t whether a device can always be located to an exact chair in an exact building.</p><p>It’s simpler: <strong>radio communication creates spatial evidence.</strong></p><p>And spatial evidence becomes much more powerful when combined with time. Suppose our burner phone repeatedly appears in one area every night.</p><p>At approximately the same time, our normal smartphone appears there too.</p><ul><li>Every morning both devices leave the area.</li><li>They travel through similar cells.</li><li>Eventually they separate.</li><li>At the end of the day, they converge again.</li></ul><p>Neither dataset necessarily says:</p><blockquote><em>“These two phones belong to the same person.”</em></blockquote><p>It doesn’t need to.</p><p>The pattern is doing the talking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WssKiDje-fD8dox7Cp9ivA.png" /><figcaption><em>An unknown device becomes less anonymous when its movement consistently overlaps with a known one.</em></figcaption></figure><h3>Step 5 — Fine. Leave Your Real Phone at Home.</h3><p>Problem solved?</p><p>Better operational separation, certainly. But we haven’t escaped the physical world.</p><p>Imagine you leave your normal phone at home.</p><ul><li>You take only the burner.</li><li>You drive somewhere.</li><li>The burner appears along a sequence of cellular areas.</li></ul><p>Meanwhile, other systems may be observing completely different pieces of reality.</p><ul><li>Traffic cameras.</li><li>Parking systems.</li><li>Automatic Number Plate Recognition in jurisdictions where it is deployed.</li><li>Public transport records.</li><li>Building access systems.</li><li>Retail CCTV.</li></ul><p>None of these systems has to know anything about the burner phone.</p><p>That’s the important part.</p><p><strong>The datasets don’t have to originate from the same system to become useful together.</strong></p><ul><li>One system sees a device.</li><li>Another sees a vehicle.</li><li>Another sees a person.</li><li>Another sees a transaction.</li><li>Another sees a timestamp.</li></ul><p>Correlation does the rest.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Edw10YKL_Hrs-L_v36DrWg.png" /><figcaption><em>Different systems don’t need to identify you independently. Their observations can intersect</em></figcaption></figure><h3>Step 6 — Let’s Forget Cellular. We’ll Use Wi-Fi.</h3><p>So we remove the SIM. No cellular network. We’ll use public Wi-Fi instead.</p><p>Now we’re anonymous. Right?</p><p>We’ve mostly just changed observers. Wi-Fi is still radio. The device still has a network interface. It still discovers networks, associates with access points and exchanges traffic.</p><p>Modern operating systems have introduced privacy protections such as <strong>MAC address randomisation</strong>, which significantly improves resistance to simplistic passive tracking.</p><p>That’s good.</p><p>But privacy engineering is rarely binary.</p><p>Randomising one identifier does not magically make every other observable characteristic disappear. Networks may still observe connection times, session behaviour, traffic characteristics and other metadata.</p><p>And once Internet traffic leaves the local network, another set of systems becomes involved.</p><p>The coffee shop may know nothing about who you are.</p><p>The service you’re connecting to may know nothing about the coffee shop.</p><p>But again: <strong>identity isn’t the only useful identifier.</strong></p><p>Patterns matter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V8VPkEIfQtLSjJvwLsFi4A.png" /><figcaption><em>Changing networks changes who can observe you. It doesn’t eliminate observability.</em></figcaption></figure><h3>Step 7 — The Browser Enters the Room</h3><p>Now we finally reach the Internet.</p><ul><li>No personal Google account.</li><li>No Facebook</li><li>No Instagram</li><li>No Linkedin</li><li>No familiar username.</li></ul><p>We’re careful.</p><p>But websites have spent years trying to distinguish one browser from another for fraud detection, analytics, advertising and security.</p><p>This leads us to <strong>browser fingerprinting</strong>.</p><p>A website may observe a combination of characteristics such as:</p><ul><li>browser and operating-system information</li><li>screen dimensions</li><li>language and locale</li><li>timezone</li><li>supported features</li><li>graphics behaviour</li><li>font availability</li><li>hardware-related characteristics exposed by APIs</li><li>behavioural signals</li></ul><p>Individually, many of these are boring.</p><p>Together, they can become surprisingly distinctive.</p><p>And this introduces another fundamental privacy concept:</p><h3>You don’t always need a permanent identifier if you have enough weak identifiers.</h3><p>A single clue may tell you almost nothing.</p><p>A hundred weak clues may tell you that today’s visitor looks remarkably similar to yesterday’s.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ixMqiZwXw7QKka32i0FhhQ.png" /><figcaption><em>A fingerprint can emerge from the combination of many individually unremarkable characteristics.</em></figcaption></figure><h3>Step 8 — Behaviour Is a Fingerprint Too</h3><p>This is perhaps the most human part of the problem.</p><ul><li>You can replace the phone.</li><li>Replace the SIM.</li><li>Change networks.</li><li>Avoid your usual accounts.</li></ul><p>But then you start behaving like yourself.</p><ul><li>You visit the same niche websites.</li><li>You are active during the same hours.</li><li>You write with the same expressions.</li><li>You make the same spelling mistakes.</li><li>You follow the same topics.</li><li>You move through the world in similar ways.</li></ul><p>Technology can be replaced surprisingly easily.</p><p><strong>Habits are harder to replace.</strong></p><p>This is why anonymity is not simply a hardware problem. It is an operational problem. And humans are remarkably consistent operators.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KzIFS07KZuqP9q2EqtyYwg.png" /><figcaption><em>Change the device and some identifiers disappear. Keep the same behaviour and new correlations emerge</em></figcaption></figure><h3>Step 9 — The Real Enemy Is Correlation</h3><p>This is the central idea of the entire experiment. Most traces are weak on their own.</p><ul><li>A CCTV image may not identify you.</li><li>A cell record may not identify you.</li><li>A browser fingerprint may not identify you.</li><li>A timestamp may not identify you.</li><li>A vehicle observation may not identify you.</li><li>A Wi-Fi session may not identify you.</li></ul><p>But imagine combining:</p><p><strong>Store inventory</strong></p><ul><li><strong>purchase timestamp</strong></li><li><strong>CCTV</strong></li><li><strong>device identifier</strong></li><li><strong>network metadata</strong></li><li><strong>location patterns</strong></li><li><strong>Wi-Fi observations</strong></li><li><strong>browser characteristics</strong></li><li><strong>behaviour</strong></li></ul><p>Now the question changes.</p><p>We’re no longer asking:</p><blockquote><em>“Does this dataset contain my name?”</em></blockquote><p>We’re asking now:</p><blockquote><em>“How many independent observations point toward the same explanation?”</em></blockquote><p>That is a very different problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4jKW3NVv2o28Tv1vTSVehg.png" /><figcaption><em>Privacy rarely fails because one system knows everything. It fails when enough systems know something</em></figcaption></figure><h3>So Is Anonymity Impossible?</h3><p>No. That would be the wrong conclusion. Privacy technologies matter enormously.</p><ul><li>Encryption matters.</li><li>Data minimisation matters.</li><li>Tracker blocking matters.</li><li>Modern browser protections matter.</li><li>MAC randomisation matters.</li></ul><p>Privacy-preserving operating systems and communication systems matter.</p><p>Separating identities and reducing unnecessary data collection matter.</p><p>The lesson isn’t:</p><blockquote><em>“Privacy is pointless.”</em></blockquote><p>It is:</p><blockquote><strong><em>Privacy is a system property, not a product you buy.</em></strong></blockquote><p>A burner phone can remove some links yes, but It cannot magically remove every link around it.</p><p>The same is true of VPNs, private browsers, encrypted messaging applications and almost every other privacy tool.</p><p>Each solves a particular problem.</p><p>Problems begin when we mistake solving <strong>one layer</strong> for solving <strong>the entire system</strong>.</p><h3>The Burner Phone Fallacy</h3><p>The fallacy isn’t believing that burner phones provide privacy. They can. The fallacy is believing that anonymity comes from the object itself.</p><p>Buy phone, insert SIM, become anonymous.Reality is much messier.</p><p>Your anonymity depends on the interaction between:</p><p><strong>the device, the network, the physical world, the software, your behaviour and the datasets that can connect them.</strong></p><p>And that’s what makes privacy engineering so fascinating. The hardest part isn’t always hiding one signal. It’s understanding all the signals you didn’t realise you were generating.</p><h3>One Last Thought</h3><p>Go back to the beginning.</p><p>You walk into a store, you buy a phone with cash, you walk outside, you turn it on.</p><p>At no point did you type your name.</p><p>And yet you may already have created:</p><ul><li>a retail event,</li><li>a timestamp,</li><li>a camera observation,</li><li>a hardware identifier,</li><li>a network event,</li><li>a location observation,</li><li>and the beginning of a behavioural pattern.</li></ul><p>No single breadcrumb necessarily reveals who you are. But breadcrumbs have an interesting property. <strong>They form trails. </strong>And trails can be followed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l6aFLKEh0Kz-leMMbmV67Q.png" /><figcaption><em>The burner phone wasn’t the identity. The trail was.</em></figcaption></figure><p>No conclusions this time, get you owns.. ;)</p><p>I hope you enjoyed the reading. <br>Se you soon</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=865f84f3d3b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[No Network Required: When Nyquist Met Real Hardware — Part 2]]></title>
            <link>https://medium.com/@keyboardsamurai007/no-network-required-when-nyquist-met-real-hardware-part-2-fcb1c2193b1a?source=rss-5c4a42dcd52e------2</link>
            <guid isPermaLink="false">https://medium.com/p/fcb1c2193b1a</guid>
            <category><![CDATA[radio-hackers]]></category>
            <category><![CDATA[data-exfiltration]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[rf-hacking]]></category>
            <dc:creator><![CDATA[KeyboardSamurai]]></dc:creator>
            <pubDate>Tue, 04 Aug 2026 21:42:06 GMT</pubDate>
            <atom:updated>2026-08-04T21:50:25.493Z</atom:updated>
            <content:encoded><![CDATA[<p>Recovering a Near-Ultrasonic Acoustic Channel with Python</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8ShCLBftAnE59xsu3j7kww.png" /></figure><p><a href="https://medium.com/@keyboardsamurai007/no-network-required-building-an-acoustic-data-channel-with-python-for-data-exfil-part-1-02c3798a033c">In Part 1, I built a small acoustic data channel using Python, an ordinary laptop speaker, and a microphone.</a></p><p>The proof of concept could frame a manually supplied synthetic payload, protect it with CRC-16, optionally add Hamming(7,4) forward error correction, modulate the resulting bits using CPFSK, and recover the message from a physical microphone recording.</p><p>The audible version worked.</p><p>The next idea seemed straightforward:</p><blockquote>If the audio system runs at 48 kHz, frequencies below 24 kHz should be available. Why not move the channel close to 20 kHz?</blockquote><p>Mathematically, that statement is reasonable. Physically, it is incomplete.</p><p>A 48 kHz sample rate gives us a theoretical Nyquist frequency of 24 kHz. <br>It tells us which frequencies a sampled signal can represent. It does not tell us which frequencies a particular laptop can reproduce through its tiny speakers, propagate through a room, capture with its microphone, and preserve through the operating system’s audio stack.</p><p>That difference became the central subject of Part 2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RbudnhVkjP5BPdKygucUkQ.png" /><figcaption><em>Figure 1 — Conceptual chain showing where Nyquist stops guaranteeing hardware behaviour. A digitally representable tone must still survive the DAC, amplifier, speaker, room, microphone, ADC, and audio-processing stack.</em></figcaption></figure><h3>A short note about evidence</h3><p>Throughout the project, I label every result by provenance:</p><pre>GENERATED_TX<br>A waveform generated digitally by the transmitter.</pre><pre>SIMULATED_RX<br>Receiver input produced entirely in software.</pre><pre>PHYSICAL_RX<br>A real recording obtained through a physical microphone.</pre><p>This distinction matters.</p><p>A GENERATED_TX spectrogram can prove that the modulator created two clean carriers.</p><p>A SIMULATED_RX result can prove that the receiver logic works under modeled conditions.</p><p>Only PHYSICAL_RX demonstrates that a signal survived the complete physical path.</p><p>A beautiful spectrogram generated from a NumPy array is not proof that a laptop speaker actually emitted a usable signal.</p><h3>The first calibration result was not encouraging</h3><p>The original near-ultrasonic profile used carriers <strong>around 18.5 and 19.5 kHz.</strong></p><p>Both sit below the theoretical 24 kHz Nyquist limit, but the physical calibration between 15 and 21 kHz was weak.</p><p>The project’s detector estimated negative SNR values across the near-ultrasonic sweep. The recorded metadata described the band as:</p><pre>weak_or_unusable</pre><p>That label did not mean that no energy existed above 15 kHz. It meant that, under the calibration method and on the tested speaker-to-microphone path, the probe tones were not rising cleanly above the local detector reference. By comparison, parts of the audible sweep produced positive detector estimates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mW8JMBgORZBf8sK8yXfqyQ.png" /><figcaption><em>Figure 2 — Audible and near-ultrasonic physical calibration on the tested laptop path. The plotted metric is estimated detector SNR, not calibrated sound-pressure level. Provenance: PHYSICAL_RX.</em></figcaption></figure><p>At that point, it would have been tempting to conclude that near-ultrasonic communication was impossible on this hardware.</p><p>That would have been premature.</p><p>Calibration answers a specific question.<strong> It tells us how the detector responds to a controlled frequency sweep.</strong> It does not automatically determine whether a sufficiently slow, redundant, frequency-tolerant protocol can recover a complete frame.</p><p>The negative calibration result was real.Our interpretation of what it implied still needed testing.</p><h3>The audible channel remained the control</h3><p>Before changing the high-frequency configuration, I returned to the audible profile.</p><p>Part 1 had already produced several physical successes:</p><pre>Remote TX → local RX<br>120 ms symbols, 3500/7500 Hz:       8/10</pre><pre>Hamming(7,4), payload HELLO:         4/4</pre><pre>Fast profile, payload DEMO_DEMO_334<br>70 ms symbols, 3000/8000 Hz:         3/3</pre><p>Keep in mind that these are deliberately reported as trial counts, not as universal reliability percentages.They apply only to the documented hardware, room, parameters, and payloads.</p><p>Still, they confirmed something important: framing, CPFSK modulation, playback, physical capture, synchronization, forward error correction, decoding, and CRC validation could all work as one system.</p><p>The problem was not the entire acoustic channel, it was the high-frequency profile.</p><h3>Stop choosing carriers from theory</h3><p>The recovery campaign changed one basic assumption.</p><p>Instead of selecting carriers because they looked attractively close to the edge of human hearing, we selected them from the frequencies the physical calibration suggested were least bad on this hardware.</p><p>The chosen pair was:</p><pre>Carrier 0:        15000 Hz<br>Carrier 1:        16000 Hz<br>Modulation:       CPFSK<br>Symbol duration:  0.25 seconds<br>FEC:              Hamming(7,4)<br>Repeats:          2<br>Amplitude:        0.30</pre><p>This is not a recommended universal profile, its just a profile derived for one laboratory path.</p><p>Thee calibration still reported a negative detector estimate at these frequencies. However, 15 and 16 kHz were materially better candidates than blindly pushing toward 19 or 20 kHz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c8wMki5Zhd2W8oUhx346Uw.png" /><figcaption><em>Figure 3 — Physical 15–21 kHz calibration sweep. The 15/16 kHz recovery carriers and the original theory-driven 18.5/19.5 kHz candidates are highlighted. Provenance: PHYSICAL_RX.</em></figcaption></figure><p>The result is intentionally slow. At 0.25 seconds per symbol, with Hamming expansion and two repetitions, a longer message can require roughly one to three minutes in this workflow.</p><p>That is not an interactive communications system but a laboratory profile designed to answer a narrower question:</p><blockquote>Can a structured, error-checked frame survive this physical path at all?</blockquote><h3>Making the receiver less idealistic</h3><p>The initial detector treated the requested carrier frequencies too literally. Real audio hardware does not necessarily reproduce a requested 15,000 Hz tone at one perfect FFT or Goertzel bin. Small deviations can arise from:</p><ul><li>Clock differences between devices.</li><li>Sample-rate conversion.</li><li>Codec behaviour.</li><li>Audio-driver processing.</li><li>Oscillator tolerance.</li><li>Window alignment.</li><li>Long-frame timing drift.</li></ul><p>The recovery receiver therefore searched a configurable neighborhood around each nominal carrier.</p><p>For this campaign, the search was approximately:</p><pre>f0: 14850–15150 Hz<br>f1: 15850–16150 Hz</pre><pre>Step: 25 Hz<br>Minimum energy ratio: 1.08<br>Band-pass filter: disabled<br>Small local timing-drift search enabled</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vVsspUU21uhcI533IlepAA.png" /><figcaption><em>Figure 4 — Explanatory diagram of the configurable ±150 Hz carrier-neighborhood search used by the recovery profile. The illustrated envelope is conceptual, not a measured spectrum.</em></figcaption></figure><p>Disabling the band-pass filter may sound counterintuitive.</p><p>Filtering often helps, but a poorly matched filter can also attenuate useful energy or add another sensitive parameter to an already weak path. In this particular configuration, local carrier search without the optional filter produced the successful recovery path.</p><p>Not bad for an experimental result. :)</p><h3>The first CRC-valid near-ultrasonic frame</h3><p>The first target was deliberately small:</p><pre>HELLO</pre><p>The payload was manually supplied synthetic text.</p><p>SSH was used only to coordinate playback on the authorized transmitting laptop. It did not carry the payload to the receiving process.</p><p>The actual payload path was:</p><pre>TX laptop speaker<br>        ↓<br>       air<br>        ↓<br>RX laptop microphone</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HrWGafOv2eKBXeh5ibswIQ.png" /><figcaption><em>Figure 5 — Experimental architecture. SSH coordinates playback on the transmitter only; the payload travels through the acoustic path.</em></figcaption></figure><p>Using the calibrated 15/16 kHz profile, the receiver synchronized with the physical recording, decoded the frame, and reported:</p><pre>&gt; Recovered payload: HELLO<br>&gt; CRC VALID</pre><p>The preserved HELLO result is one documented physical trial, so its honest count is:</p><pre>&gt; 1/1 documented trial</pre><p>It is not a reliability benchmark but roof that the recovery profile completed the full physical path at least once under the documented conditions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rHOg7zIPBJu9mt3uLlO9Sg.png" /><figcaption><em>Figure 6 — Redacted live-monitor rendering for HELLO at 15/16 kHz, ending in CRC VALID. Provenance: PHYSICAL_RX. N=1 documented log.</em></figcaption></figure><p>That result changed the conclusion, the original high-frequency profile was weak. The whole near-ultrasonic region was not necessarily unusable.</p><h3>Testing more than one word</h3><p>A single successful HELLO could still hide assumptions about payload length or character handling. The next physical campaign used several manually supplied synthetic strings:</p><pre>user@domain.tld<br>demo_sinclair_2000<br>this_is_working!!!<br>p4$$w0rd</pre><p>The set includes lowercase characters, punctuation, digits, underscores, repeated symbols, and shell-sensitive characters.</p><p>After the quoting issue described below was fixed, all four intended strings were recovered exactly with valid CRCs:</p><pre>&gt; 4/4 intended payloads</pre><p>Again, this is a small functional campaign, not a large-N reliability study (yet) ;)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UfPqnkMGI8U5b0VHCcXYQA.png" /><figcaption><em>Figure 7 — Documented physical payload recoveries. Exact matches after the quoting fix: 4/4 intended strings. One additional pre-fix frame was CRC-valid but contained the modified transmitter input. Provenance: PHYSICAL_RX.</em></figcaption></figure><h3>CRC VALID!! and still the wrong text</h3><p>The most useful failure involved:</p><pre>p4$$w0rd</pre><p>On the first attempt, the receiver returned a CRC-valid frame, but the recovered text was not the literal string I expected.</p><p>At first glance, that sounds impossible.If the acoustic path corrupted the text, why did the CRC pass?</p><p>Because the acoustic path had not corrupted it.The problem occurred before modulation. The payload was passed through a remote shell as part of the SSH playback command. In a typical shell, $$ expands to the shell’s process ID (I should know that….). The remote transmitter therefore received an altered string.</p><p>The transmitter correctly framed that altered input.It calculated the CRC over the altered bytes.The channel carried those bytes successfully.</p><p>The receiver reconstructed exactly what the transmitter had been given, so the CRC was valid.</p><p>The fix was to quote the remote argument using shlex.quote and that’s it. After that change, the literal string reached the transmitter and the physical receiver recovered:</p><pre>p4$$w0rd<br>&gt; CRC VALID</pre><p>This is a useful reminder about what CRC actually proves. CRC validation tells us that the received frame is internally consistent with the frame produced by the transmitter.</p><p>It does not prove that every layer before the transmitter preserved the operator’s intended value.</p><p>The complete path was:</p><pre>Operator input<br>      ↓<br>Local Python process<br>      ↓<br>SSH command construction<br>      ↓<br>Remote shell parsing<br>      ↓<br>Transmitter input<br>      ↓<br>Framing and CRC<br>      ↓<br>Acoustic channel</pre><p>A channel can transport the wrong input perfectly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/0*G_D05zJ2BmuLxh8V.gif" /></figure><h3>What the physical signal looked like</h3><p>The successful HELLO recording also produced a spectrogram derived directly from the physical microphone capture.</p><p>The expected carrier regions around 15 and 16 kHz are visible, along with the imperfections of the real path.</p><p>Unlike a generated waveform, the physical recording includes the effects of the speaker, room, microphone, audio stack, and background environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0CNQIukRPDAaR47Q2-GOdw.png" /><figcaption><em>Figure 9 — Spectrogram excerpt from the HELLO physical capture, with 15/16 kHz guides. The complete file decoded with CRC VALID. The displayed frame boundaries are approximate. Provenance: PHYSICAL_RX.</em></figcaption></figure><h3>Near-ultrasonic does not mean silent but almost…</h3><p>The selected carriers occupy the upper part of the audible range, but the experiment was not perceptually invisible.</p><p>High-pitched beeps could still be heard during playback.</p><p>Several effects may contribute:</p><ul><li>Individual hearing range.</li><li>Speaker distortion.</li><li>Harmonics.</li><li>Intermodulation.</li><li>Abrupt frame boundaries.</li><li>Energy outside the nominal carrier bins.</li></ul><p>Calling the profile “near-ultrasonic” describes the frequency region. It does not prove inaudibility, covertness, or compete stealth but I had to admit taht even with the room in complete silence is almost inaudible.</p><p>This project remains an educational physical-channel PoC, not a claim of an invisible communications technique (yet) ;)</p><h3>Defensive takeaways</h3><p>The properties that help the receiver also make this type of signal structurally detectable.</p><p>A defensive monitor could look for:</p><ul><li>Persistent narrowband tones.</li><li>Alternation between two stable carrier regions.</li><li>Regular symbol durations.</li><li>Repeated frame-like sequences.</li><li>Unusually long high-frequency playback.</li><li>Processes unexpectedly accessing audio devices.</li></ul><p>Potential controls include restricting microphone and speaker access on sensitive systems, disabling unnecessary audio hardware, applying low-pass filtering where high-frequency audio is not needed, and alerting on structured tone sequences.</p><p>Detection should not depend on whether a human operator can hear the signal.</p><p>A tone may be audible to one person, effectively inaudible to another, and still easy to identify algorithmically.</p><h3>Lessons from Part 2:</h3><h3>Nyquist is not a hardware specification</h3><p>A 48 kHz sample rate allows a digital representation below 24 kHz.</p><p>It does not guarantee useful physical response at those frequencies.</p><h3>Calibration should precede carrier selection</h3><p>The original 18.5/19.5 kHz choice came mostly from theory. The working 15/16 kHz profile came from measuring the actual path.</p><h3>A weak calibration does not prove complete impossibility</h3><p>The sweep reported negative detector estimates. A slower profile with FEC, repetitions, neighborhood search, and timing tolerance still produced CRC-valid physical frames.</p><h3>Physical receivers need tolerance</h3><p>Searching around nominal frequencies was more realistic than assuming perfect carrier reproduction.</p><h3>CRC has a limited but important meaning</h3><p>CRC validated the bytes framed by the transmitter. It could not detect that a shell had changed the input before framing…</p><h3>Near-ultrasonic is not synonymous with stealth but almost…</h3><p>The playback produced audible artifacts and remains structurally detectable.</p><h3>Small experiments deserve small claims</h3><p>HELLO has one preserved physical trial.</p><p>The varied-payload campaign recovered four intended strings after the quoting fix. Those results are encouraging, and indicate a potential communication channel can b created. Even they they do not justify “100% reliable” it worked pretty well (best than expected honestly).</p><h3>Conclusion</h3><p>Nyquist defined the theoretical digital boundary. It did not define the usable acoustic channel.</p><p>The original 18.5/19.5 kHz profile performed poorly on the tested hardware. Recovery became possible only after adapting the protocol to the physical path: selecting less attenuated carriers, slowing the symbol rate, adding forward error correction and repetition, searching around nominal frequencies, and tolerating small timing drift.</p><p>Under those documented conditions, five synthetic payloads crossed an ordinary laptop speaker-to-microphone path and were recovered exactly with valid CRCs.</p><p>This is not evidence of a fast, silent, or universally reliable communications channel. It is evidence that a structured, error-checked high-frequency acoustic frame can survive an unmodified consumer-hardware path when the receiver is designed around measured hardware behavior rather than theoretical limits.</p><p>Nyquist told us what the samples could represent.</p><p>The hardware told us what the channel could carry.</p><p>In Part 3, we will examine the receiver in detail: carrier-neighborhood scoring, synchronization, timing-drift correction, confidence metrics, and the practical speed and reliability limits revealed by the physical captures.</p><p>Stay tunned!</p><p>As always, thanks for reading, see you soon.</p><p>Be safe out there.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fcb1c2193b1a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[No Network Required: Building an Acoustic Data Channel with Python for data exfil — Part 1]]></title>
            <link>https://medium.com/@keyboardsamurai007/no-network-required-building-an-acoustic-data-channel-with-python-for-data-exfil-part-1-02c3798a033c?source=rss-5c4a42dcd52e------2</link>
            <guid isPermaLink="false">https://medium.com/p/02c3798a033c</guid>
            <category><![CDATA[data-exfiltration]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[radio-hackers]]></category>
            <category><![CDATA[rf-hacking]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[KeyboardSamurai]]></dc:creator>
            <pubDate>Fri, 31 Jul 2026 11:37:36 GMT</pubDate>
            <atom:updated>2026-07-31T11:37:36.775Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U55tx1S1mynfcgXqIXTAqg.png" /></figure><h3>Beyond the Air Gap — Part 1</h3><p>What happens when a computer has no Internet access, no Bluetooth, no removable storage, and no obvious way to send data out,…but it still has a speaker?</p><p>An air gap removes the communication channels we normally think about. It does not necessarily remove every physical way a machine can interact with the outside world.</p><p>“Sound” is one of those ways.</p><p>Acoustic communication between computers is not a new idea. Researchers have already demonstrated channels using speakers, microphones, cooling fans, and frequencies close to or beyond the upper limit of human hearing.</p><p>Here a nice example: <a href="https://arxiv.org/pdf/1606.05915">https://arxiv.org/pdf/1606.05915</a></p><p>Still, we wanted to explore the problem from a practical angle.</p><blockquote>Could we build a small acoustic data channel using Python, an ordinary laptop speaker, and a microphone?</blockquote><p>Not just a script that plays two tones. We wanted the entire chain:</p><pre>Synthetic payload<br>      ↓<br>Protocol framing<br>      ↓<br>Error detection and correction<br>      ↓<br>Acoustic modulation<br>      ↓<br>Laptop speaker<br>      ↓<br>Physical room<br>      ↓<br>Microphone<br>      ↓<br>Synchronization and demodulation<br>      ↓<br>CRC validation<br>      ↓<br>Recovered payload</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kJ1-QjTYUosJkJmCLiopyQ.png" /><figcaption><em>Architecture of the acoustic data channel. The payload is synthetic and entered manually.</em></figcaption></figure><h3>A deliberately limited threat model</h3><p>This project does not cover how a computer might be compromised or how sensitive information could be collected.</p><p>The starting point is intentionally simple: the program is already running with authorization on the transmitting computer, and the operator manually enters a harmless test message such as:</p><pre>HELLO<br>DEMO-LAB-2027<br>DEMO_DEMO_334<br>Username@blah.tld:Pas$w0rd<br>...</pre><p>The software does not read files, browser data, credentials, cookies, environment variables, clipboard contents, SSH keys, or any other personal information.</p><p>It also contains no persistence, exploitation, privilege escalation, stealth installation, remote control, or automated collection mechanisms.</p><p>What we built is an <strong>acoustic data channel</strong>.</p><p>In a real threat scenario, such a channel could theoretically become the final transport stage of an exfiltration chain. This experiment deliberately stops before that point and transmits only synthetic laboratory data.</p><p>One decision that became increasingly important was keeping the evidence clearly separated into four categories:</p><pre>GENERATED_TX     A digitally generated transmission signal<br>SIMULATED_RX     A received signal created in software<br>PHYSICAL_RX      A real microphone recording<br>PHYSICAL_REPLAY  A verified replay of a physical recording</pre><p>That distinction matters because a perfect waveform generated by NumPy proves very little about the real world.</p><p>It does not prove that the laptop speaker can reproduce it accurately. It does not prove that the signal can survive the room. And it certainly does not prove that a microphone can recover the original message.</p><h3>Turning bits into sound</h3><p>The first version of the channel used a simple mapping:</p><pre>3500 Hz → 0<br>7500 Hz → 1</pre><p>During each symbol interval, the speaker plays one of the two frequencies.</p><p>This is Binary Frequency Shift Keying, or <a href="https://en.wikipedia.org/wiki/Frequency-shift_keying">BFSK</a>.</p><p>The basic idea is straightforward. The receiver divides the recording into time windows, measures the energy around both carrier frequencies, and decides whether each window represents <strong>a zero or a one.</strong></p><p>But sending raw bits is not enough.</p><p>A real receiver does not automatically know when the transmission begins. It does not know where the first bit is, how long the message should be, or whether the reconstructed bytes are correct.</p><p>So we added a small &amp; simple protocol:</p><pre>PREAMBLE | SYNC | VERSION | LENGTH | PAYLOAD | CRC16</pre><p>The preamble helps the receiver locate a possible transmission inside a longer recording.</p><p>The synchronization word reduces accidental detections.</p><p>The version and length fields allow the frame to be parsed safely.</p><p>Finally, CRC-16-CCITT provides an integrity check.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NsQxheW2aCZmgtgZP01nIA.png" /><figcaption><em>Frame format used by the proof of concept: preamble, synchronization word, version, payload length, payload, and CRC-16.</em></figcaption></figure><p>The CRC became one of the most important parts of the project.</p><p>Without it, a decoder can print a few recognizable characters and make the result look more successful than it really was.</p><p>In this implementation, a message is accepted <strong>only when the frame is structurally valid and the calculated CRC matches the value carried in the transmission.</strong></p><p>The meaningful result is not:</p><pre>&quot;We recovered something that looks like HELLO&quot;</pre><p>It is:</p><pre>CRC VALID</pre><h3>Moving from BFSK to CPFSK</h3><p>The first BFSK implementation generated every symbol as a separate sine wave.</p><p>That is easy to code, but it can introduce abrupt transitions. Resetting the phase or fading every individual symbol creates additional spectral energy outside the intended carrier frequencies.</p><p>These transitions show up clearly in a spectrogram.</p><p>We later added Continuous-Phase Frequency Shift Keying, or CPFSK.</p><p>With CPFSK, the phase continues from one symbol into the next. The waveform does not restart whenever the transmitted bit changes. Only the instantaneous frequency changes.</p><p>The difference is easier to understand visually:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iuUpsGkiiTmG5PETSS9EKw.png" /><figcaption><em>Generated BFSK and CPFSK spectra for the same synthetic frame. This is generated evidence, not a physical microphone capture.</em></figcaption></figure><p>CPFSK did not magically make the channel reliable or invisible.</p><p><strong>It also did not prove that near-ultrasonic transmission would be inaudible.</strong> In my measurements, it was not automatically better in every spectral metric. What it did provide was a cleaner foundation for experimenting with synchronization, timing recovery, and real acoustic transmission.</p><h3>Receiving the signal with Goertzel</h3><p>The receiver does not need to calculate the entire frequency spectrum for every bit.</p><p>It only needs to answer two questions:</p><ul><li>How much energy is present around the zero carrier?</li><li>How much energy is present around the one carrier?</li></ul><p>For that, we used the <a href="https://en.wikipedia.org/wiki/Goertzel_algorithm">Goertzel algorithm</a>.</p><p>Goertzel is particularly useful when only a few known frequencies matter. Instead of calculating a complete FFT for every symbol, it efficiently estimates the energy around selected frequencies.</p><p>For each symbol window, the receiver calculates values such as:</p><pre>energy_zero<br>energy_one<br>energy_ratio<br>confidence</pre><p>If the zero carrier is clearly stronger, the symbol is interpreted as 0.</p><p>If the one carrier dominates, it becomes 1.</p><p>If the result is too close to call, the symbol is marked as uncertain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Rqjp-PsPH1H0ltkysc4MQ.png" /><figcaption><em>Goertzel energy measured around the two carriers. This simulated example explains how the detector makes its decisions.</em></figcaption></figure><p>The receiver also calculates a soft value:</p><pre>(E1 - E0) / (E1 + E0 + ε)</pre><p><strong>A strongly negative result means the zero carrier dominates. A strongly positive result means the one carrier dominates. Values close to zero indicate uncertainty.</strong></p><p>This soft information is useful during synchronization because it preserves more information than immediately reducing every symbol to a hard zero or one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xsSqt1LNntns3xAtYGzQkg.png" /><figcaption><em>Decoded symbols and detector confidence from a simulated receiver run.</em></figcaption></figure><h3>Synchronization turned out to be the hard part</h3><p>Generating the waveform was relatively easy.</p><p>Finding the frame inside a real microphone recording was much harder.</p><p>The receiver may start recording before the transmitter begins. The operating system introduces latency. The speaker and microphone may not use exactly the same clock. The audio stack may resample the stream.</p><p>In other words, the receiver cannot safely assume:</p><pre>sample 0 = first sample of the first symbol</pre><p>Instead, it searches across possible starting offsets and looks for the best match with the expected preamble.</p><p>It also tests small variations around the configured symbol duration.</p><p>For example, if the nominal symbol duration is 70 milliseconds, the receiver may evaluate nearby candidates:</p><pre>68.5 ms<br>69.0 ms<br>69.5 ms<br>70.0 ms<br>70.5 ms<br>71.0 ms<br>71.5 ms</pre><p>This may seem like a tiny difference, but timing error accumulates.</p><p>A symbol window that is only slightly misaligned at the beginning of a frame can be badly displaced by the time the receiver reaches the final bytes.</p><p>The software therefore searches for the combination of timing offset, estimated symbol duration, and preamble correlation that produces the most plausible frame.</p><p>The CRC remains the final judge.</p><h3>The perfect simulation trap</h3><p>In simulation, the channel worked almost immediately.</p><p>We could generate the waveform in memory, attenuate it, delay it, mix in Gaussian noise, and pass the result directly to the decoder.</p><p>Under those controlled conditions, BFSK and CPFSK both recovered short messages with:</p><pre>CRC valid<br>BER = 0</pre><p>The project eventually grew to 93 passing tests covering:</p><ul><li>Protocol framing</li><li>CRC calculation</li><li>Hamming encoding and decoding</li><li>BFSK and CPFSK generation</li><li>Phase continuity</li><li>Goertzel detection</li><li>Frequency offsets</li><li>Timing offsets</li><li>Clock drift</li><li>Preamble synchronization</li><li>Provenance validation</li><li>Replay integrity</li><li>Transmission safety limits</li></ul><p>The simulation proved that the software components worked together.</p><p>It did not prove that the physical channel would work.</p><p>A real audio path introduces effects that a simple simulation does not fully reproduce:</p><ul><li>Uneven speaker response</li><li>Codec and amplifier filtering</li><li>Microphone response</li><li>Automatic gain control</li><li>Echo cancellation</li><li>Noise suppression</li><li>Reflections from walls, tables, and screens</li><li>Background noise</li><li>Sample-rate conversion</li><li>Hardware latency</li><li>Clock mismatch</li></ul><p>The generated waveform was clean.</p><p>The room was not (AC machines, general noise,etc…)</p><h3>From a generated signal to a physical recording</h3><p>The first real microphone captures made the difference obvious.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9up1WsfG_NQHBGVijNbx-Q.png" /><figcaption><em>A generated transmitter signal compared with a real microphone recording. The physical signal is weaker and contains room and hardware effects.</em></figcaption></figure><p>The digital reference contained two clean, clearly separated carriers.</p><p>The physical capture contained uneven amplitudes, environmental noise, reflections, harmonics, and timing uncertainty.</p><p>That lower spectrogram was the signal the receiver actually had to decode.</p><p>At that point, the project stopped being mostly about waveform generation.</p><p>It became a synchronization and signal-recovery problem.</p><h3>The first physical tests</h3><p>We ran several physical test campaigns.</p><p>Some used playback and recording in the same general computer environment. Later tests used a second laptop as the acoustic transmitter.</p><p>In the two-computer setup, SSH was used only to start playback on the authorized transmitter. The message itself travelled through the room as sound.</p><h3>Campaign A: local audible test</h3><p>The initial physical configuration used:</p><pre>Modulation: CPFSK<br>Carrier 0: 3500 Hz<br>Carrier 1: 7500 Hz<br>Symbol duration: 120 ms</pre><p>The result was:</p><pre>6 CRC-valid frames from 10 trials</pre><p>This proved that the complete physical path worked, but it was far from perfectly reliable.</p><h3>Campaign B: separate transmitter and receiver</h3><p>The next campaign used another laptop as the transmitter.</p><p>With a broadly similar configuration, the result improved to:</p><pre>8 CRC-valid frames from 10 trials</pre><p>This was encouraging, although ten trials are still far too few to make a broad reliability claim.</p><h3>Campaign C: Hamming(7,4)</h3><p>We then added optional Hamming(7,4) forward error correction.</p><p>A small test using the payload HELLO produced:</p><pre>4 CRC-valid frames from 4 trials</pre><p>That result was promising, but four successful attempts do not prove a universal 100% success rate.</p><h3>Campaign D: a faster profile</h3><p>A later configuration used:</p><pre>Carrier 0: 3000 Hz<br>Carrier 1: 8000 Hz<br>Symbol duration: 70 ms<br>Modulation: CPFSK</pre><p>With the payload:</p><pre>DEMO_DEMO_334</pre><p>the receiver recovered:</p><pre>3 CRC-valid frames from 3 trials</pre><p>The complete transmission took roughly 12 seconds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*tvNnMAyHqHcWUqQ2X1WDog.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YP1rPWKb4mU9c3CwESmNfg.png" /><figcaption><em>Results from the physical campaigns, shown with the original trial counts.</em></figcaption></figure><p>We kept the failed trials as well as the successful ones.</p><p>That matters because almost any unreliable channel can look good if only the best recording is selected after enough attempts.</p><p>For every useful experiment, we wanted to preserve:</p><ul><li>Raw microphone audio</li><li>Configuration metadata</li><li>Decoder output</li><li>CRC failures</li><li>Synchronization failures</li><li>Successful frames</li></ul><h3>Adding forward error correction</h3><p>Hamming(7,4) converts four data bits into a seven-bit codeword.</p><p><strong>The extra bits allow the receiver to calculate a syndrome and attempt to repair a single-bit error.</strong></p><pre>4 data bits<br>     ↓<br>7-bit Hamming codeword<br>     ↓<br>Acoustic transmission<br>     ↓<br>Syndrome calculation<br>     ↓<br>Possible one-bit correction</pre><p><strong>But Hamming does not replace the CRC.</strong></p><p>A non-zero syndrome means the received codeword is inconsistent. It does not guarantee that every repair attempt restores the original data.</p><p>Some multi-bit errors can lead to an incorrect correction.</p><p>For that reason, the software records values such as:</p><pre>syndrome_corrections_attempted<br>codewords_with_nonzero_syndrome<br>post_fec_crc_valid</pre><p>The message is still trusted only when its CRC is valid.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-gXiXJNlJEknc6yTYRXOxw.png" /><figcaption><em>Comparison between a ten-trial non-FEC campaign and a separate four-trial Hamming(7,4) campaign.</em></figcaption></figure><p>The FEC test looked good, but it was not a controlled comparison.</p><p>The payloads and trial counts were different. A proper benchmark would need the same hardware, distance, message, volume, symbol duration, and number of attempts for both configurations.</p><h3>Searching for the speed limit</h3><p>The original physical profile used 120 milliseconds per symbol.</p><p>That gives a raw rate of approximately:</p><pre>1 / 0.120 = 8.33 bits per second</pre><p>The usable payload rate is lower because the transmission also carries a preamble, synchronization word, metadata, CRC, and optional FEC.</p><p>The 120 ms profile was reasonably stable, but it felt slow during a live demonstration.</p><p>So we started reducing the symbol duration.</p><p>The resulting physical tests looked like this:</p><pre>120 ms → 8/10 in the earlier two-computer campaign<br>80 ms  → 2/2<br>70 ms  → 3/3<br>60 ms  → failed during the initial sweep<br>50 ms  → failed during the initial sweep<br>40 ms  → 2/3</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KF1kr9rZgnQK-uAuSxxDwA.png" /><figcaption><em>Physical results at different symbol durations. The curve is not monotonic, and the trial counts remain small.</em></figcaption></figure><p>The strange part is that the results were not monotonic.</p><p>Forty milliseconds succeeded twice in three attempts, while 50 and 60 milliseconds failed during the initial sweep.</p><p>That might sound contradictory, but a room is not an ideal digital channel.</p><p>Changing symbol duration also changes:</p><ul><li>Frequency resolution</li><li>The number of cycles inside each symbol</li><li>Alignment with audio-buffer boundaries</li><li>Accumulated clock drift</li><li>The relationship between the detector window and reflections</li><li>Interaction with microphone processing</li><li>Synchronization behaviour</li></ul><p>The 70 ms profile became the preferred demo configuration.</p><p>Not because it had been proven universally optimal, but because it delivered three CRC-valid frames in three attempts and reduced the transmission of DEMO_DEMO_334 to around 12 seconds.</p><h3>Why these results cannot be generalized</h3><p>It would be tempting to describe the result as a reliable acoustic modem operating at roughly 14 bits per second xD.</p><p>That would be misleading, since the behaviour depends on the entire physical chain:</p><pre>Software<br>→ Audio API<br>→ Operating-system mixer<br>→ Codec<br>→ Amplifier<br>→ Speaker<br>→ Room<br>→ Microphone<br>→ Input codec<br>→ Audio processing<br>→ Receiver</pre><p>Changing any of the following could produce a different result:</p><ul><li>Laptop model</li><li>Speaker design</li><li>Microphone</li><li>Volume</li><li>Input gain</li><li>Distance</li><li>Orientation</li><li>Room geometry</li><li>Background noise</li><li>Automatic gain control</li><li>Echo cancellation</li><li>Sample-rate conversion</li><li>Operating-system audio stack</li></ul><p>The most accurate conclusion is much narrower:</p><blockquote><em>On the tested hardware, in the documented laboratory environment, short synthetic payloads were successfully transmitted through an audible &amp; non-audible acoustic channels and recovered with a valid CRC.</em></blockquote><h3>Making the evidence reproducible</h3><p>The repository includes a verified physical recording at:</p><pre>output/samples/replay/rx.wav</pre><p>The associated metadata contains:</p><ul><li>Provenance</li><li>Timestamp</li><li>Git commit</li><li>SHA-256 hash</li><li>Sample rate</li><li>Carrier frequencies</li><li>Symbol duration</li><li>Modulation</li><li>FEC mode</li><li>Synchronization mode</li><li>Decoder settings</li></ul><p>Before accepting the recording as physical evidence, the replay tool:</p><ol><li>Loads the metadata.</li><li>Validates its schema.</li><li>Calculates the WAV file’s SHA-256 hash.</li><li>Compares it with the stored hash.</li><li>Confirms that the provenance is physical.</li><li>Reconstructs the original receiver configuration.</li></ol><p>The replay is rejected if the metadata is missing, the hash does not match, the provenance is not physical, or the decoder configuration is incomplete.</p><p>The capture can be decoded again with:</p><pre>python -m src.replay \<br>  --input-wav output/samples/replay/rx.wav</pre><p>The interface clearly identifies the operation as:</p><pre>PHYSICAL CAPTURE REPLAY</pre><p>It is not presented as a live transmission.</p><h3>What the experiment actually demonstrated</h3><p>Under controlled conditions, using the tested hardware, a short synthetic payload could be:</p><ol><li>Encoded into a structured frame.</li><li>Protected with CRC and optional Hamming(7,4).</li><li>Modulated using CPFSK.</li><li>Played through a normal computer speaker.</li><li>Propagated through a room.</li><li>Recorded with a microphone.</li><li>Synchronized and demodulated.</li><li>Reconstructed with a valid CRC.</li></ol><p>The experiment did not demonstrate that the channel:</p><ul><li>Works on every laptop</li><li>Is reliable over long distances</li><li>Is inaudible</li><li>Is undetectable</li><li>Can replace a conventional network</li><li>Always benefits from Hamming correction</li><li>Uses settings that transfer directly to another room</li><li>Can reliably operate close to 20 kHz on consumer hardware</li></ul><p>The interesting part was not generating two tones with Python.</p><p>That was easy.</p><p>The hard part was getting a structured digital message to survive the speaker, the codec, the room, the reflections, the microphone, and the timing uncertainty.</p><blockquote><em>The hardest part was not encoding data into sound. It was getting the physical world to preserve it.</em></blockquote><h3>Defensive lessons</h3><p>An acoustic channel is not a practical substitute for a normal network.</p><p>It is slow, fragile, hardware-dependent, and relatively easy to disrupt once defenders know what to look for.</p><p>Still, it demonstrates a broader point:</p><blockquote><em>Removing traditional network interfaces does not automatically remove every possible output channel.</em></blockquote><p>Useful defensive measures include disabling audio hardware where it is not needed, restricting access to playback devices, and monitoring for persistent narrowband signals with regular symbol-like timing.</p><p>A defensive detector could look for:</p><ul><li>Stable narrow frequency peaks</li><li>Alternation between two carrier regions</li><li>Repeated symbol durations</li><li>Long sequences of structured tones</li></ul><p>This would not be malware detection. It would be a signal-analysis heuristic.</p><p>High-frequency channels may also be reduced with low-pass filtering where frequencies above a chosen cutoff are not needed.</p><p>More broadly, air-gap threat models should consider physical channels beyond Ethernet, Wi-Fi, Bluetooth, and removable storage.</p><p>Possible channels include sound, light, heat, electromagnetic emissions, mechanical vibration, power consumption, fans, displays, and status LEDs.</p><h3>Next: when Nyquist meets real hardware</h3><p>At a sample rate of 48 kHz, the mathematical Nyquist limit is 24 kHz.</p><p>That can create the impression that a laptop should be able to transmit comfortably at 18, 19, or 20 kHz.</p><p>My physical tests showed why that assumption is wrong.</p><p>The laptop speaker, audio codec, amplifier, microphone, and input processing all imposed practical limits well below the theoretical digital boundary.</p><p>In Part 2, we will look at:</p><ul><li>Physical calibration between 15 and 21 kHz</li><li>Why the near-ultrasonic channel failed on the tested hardware</li><li>The difference between generated and physical evidence</li><li>Why a 48 kHz sample rate does not guarantee a usable 24 kHz channel</li><li>Audible leakage and spectral artefacts</li><li>Detection strategies</li><li>Low-pass mitigation</li></ul><p><strong>Next: <em>When Nyquist Meets Real Hardware: Why the Near-Ultrasonic Channel Failed</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MC75S8yi7a8sKSxeBLWblw.png" /></figure><h3>Source code and evidence</h3><p>The complete educational proof of concept, source code, tests, generated samples, simulation results, and redacted physical evidence are available here:</p><p><a href="https://github.com/zpol/acoustic-channel-poc/">https://github.com/zpol/acoustic-channel-poc/</a></p><p>The project is intended for authorized laboratory research, defensive security education, and manually supplied synthetic payloads.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=02c3798a033c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>