<?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 urhnrblpntstr on Medium]]></title>
        <description><![CDATA[Stories by urhnrblpntstr on Medium]]></description>
        <link>https://medium.com/@urhnrblpntstr?source=rss-1255e72cd617------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*02kFlTiyahN2T21HJYzxUA.jpeg</url>
            <title>Stories by urhnrblpntstr on Medium</title>
            <link>https://medium.com/@urhnrblpntstr?source=rss-1255e72cd617------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 08:14:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@urhnrblpntstr/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[The Rise of the Vibe Hacker: When Prompting Becomes Penetration Testing]]></title>
            <link>https://meetcyber.net/the-rise-of-the-vibe-hacker-when-prompting-becomes-penetration-testing-45bb2b418b90?source=rss-1255e72cd617------2</link>
            <guid isPermaLink="false">https://medium.com/p/45bb2b418b90</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[urhnrblpntstr]]></dc:creator>
            <pubDate>Mon, 16 Mar 2026 07:16:10 GMT</pubDate>
            <atom:updated>2026-03-16T07:16:10.237Z</atom:updated>
            <content:encoded><![CDATA[<p>The tech world is obsessed with “Vibe Coding.” You’ve seen it: a developer leans back, describes a complex app in plain English, and watches an LLM manifest the entire codebase in seconds. The friction of programming — the syntax, the compilers, the arcane debugging rituals — is dissolving. In its place: intent, language, conversation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*62t0llkgdz-BRoe4v43BPQ.png" /><figcaption>Image 1. Illustration of a Vibe Coder (AI Generated)</figcaption></figure><p>But as the barrier to creation collapses, a new discipline is emerging in the corners of the security world. One that doesn’t care about your firewall.</p><p><strong>Welcome to the era of Vibe Hacking.</strong></p><h3>From Logic Bugs to Linguistic Leaks</h3><p>In the old world, hacking was a game of rigid logic. You hunted for a missing bracket, an unvalidated input, a classic buffer overflow. It was math versus math — deterministic, traceable, patchable.</p><p>Vibe Hacking is the meta-evolution of that model. It’s not just attacking a chatbot with a clever prompt. It’s attacking the AI-generated logic of an entire infrastructure — the training biases, the shortcut tendencies, the worldview baked in through billions of tokens. If a system was built on a vibe, it can be dismantled by understanding the <em>flavor</em> of that AI’s logic. The attack surface isn’t a port. It’s a disposition.</p><h3>The Methodology of the Vibe Hacker</h3><p>Vibe Hackers don’t start with a port scanner. They study the <em>Digital Temperament</em> of a target.</p><p><strong>Model Fingerprinting.</strong> Just as a master thief knows which brand of lock is easiest to pick, a Vibe Hacker identifies which LLM generated a company’s codebase. Does the code <em>feel</em> like GPT-4? Claude 3.5? A fine-tuned Llama? Each model carries its own hallucination patterns and lazy shortcuts. Knowing the model means knowing its blind spots.</p><p><strong>Semantic Drift.</strong> A Vibe Hacker feeds a system “dissonant” information — data that looks correct but is phrased to trigger a specific bias in the AI’s processing logic. The model hallucinates a back door that was never coded. The exploit lives in the gap between what the system was trained to understand and what was actually meant.</p><p><strong>Prompt Injection as Social Engineering.</strong> Vibe Hacking treats software like a human target. Using specific linguistic triggers, a hacker convinces an automated defense system that a malicious payload is a critical system update. The attack doesn’t bypass authentication. It <em>persuades</em> it. The machine doesn’t get compromised — it gets convinced.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dmCGfrZoKjZnaKJQTHw5lg.png" /><figcaption>Image 2. Illustration of a Vibe Hacker (AI Generated)</figcaption></figure><p>Consider a concrete example closer to home: an AI-written firewall trained predominantly on modern codebases. It has learned, implicitly, that threats look like modern threats. Feed it a sophisticated attack dressed in legacy COBOL syntax, and it may wave the payload through — not because it failed to scan, but because nothing in its training associated “old-looking code” with danger. The bias isn’t in a config file. It’s in the model’s sense of what malicious <em>feels</em> like.</p><h3>The Semantic Zero-Day</h3><p>The most unsettling part of Vibe Hacking is its unpredictability. Traditional patches fix specific lines of code. There is no patch for a vibe.</p><p>This is the <strong>Semantic Zero-Day</strong> — not a bug in the code, but a flaw in how the AI understands the world.</p><p>A security AI trained extensively on corporate communications learns, implicitly, that polite executives do not exfiltrate data. A hacker who maps this bias can mask a data extraction script inside a series of courteous-sounding API calls. The system flags nothing. It wasn’t bypassed — it was persuaded.</p><p>There is no CVE number for this. No Patch Tuesday. The vulnerability lives in language, in meaning, in the gap between what was said and what was intended.</p><h3>Building a Vibe Defense</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qxp1E9SdC44PxYdlhv-cXg.png" /><figcaption>Image 3. Vibe Defense as the counterpart (AI Generated)</figcaption></figure><p>So what does the other side look like? Defending against <em>Vibe Hacking</em> requires rethinking security at the semantic layer. Three approaches are taking shape.</p><p><strong>Adversarial Vibe Checking</strong> — deploying a second AI model whose sole purpose is to probe the logic of AI-generated code, hunting for the bias patterns and trained assumptions that a human reviewer would never think to question.</p><p><strong>Hard Logic Audits</strong> — returning, deliberately, to deterministic rule-based verification layers that sit beneath the AI stack. Not to replace AI-generated infrastructure, but to create a floor of predictable, un-persuadable logic that no amount of linguistic drift can compromise.</p><p><strong>Semantic Red Teaming</strong> — running offensive Vibe Hacking exercises against your own systems before an adversary does. If your security posture was shaped by an AI, someone on your team needs to think like a Vibe Hacker.</p><h3>The Human Edge in a Synthetic World</h3><p>We are building a world where AI makes everyone a creator. That’s the promise. The risk is that we are also building infrastructure that shares the same cognitive architecture as the models that generated it — and that architecture can be manipulated with language.</p><p>The <em>Vibe Hacker</em> is not a new kind of programmer. They are a new kind of rhetorician. Someone who understands that in a world of AI-built systems, the most powerful exploit isn’t malware.</p><p>It’s knowing the right words.</p><blockquote>As long as we build on patterns and language, the greatest vulnerability will always be meaning itself. The question isn’t whether Vibe Hacking becomes mainstream. It’s whether defenses arrive first.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45bb2b418b90" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/the-rise-of-the-vibe-hacker-when-prompting-becomes-penetration-testing-45bb2b418b90">The Rise of the Vibe Hacker: When Prompting Becomes Penetration Testing</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Me and My Claude: Bypassing Static Security Checks in Android Applications]]></title>
            <link>https://meetcyber.net/me-and-my-claude-bypassing-static-security-checks-in-android-applications-4286e673ea88?source=rss-1255e72cd617------2</link>
            <guid isPermaLink="false">https://medium.com/p/4286e673ea88</guid>
            <category><![CDATA[ai-assisted-hacking]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[android-security]]></category>
            <category><![CDATA[reverse-engineering]]></category>
            <category><![CDATA[mobile-app-security]]></category>
            <dc:creator><![CDATA[urhnrblpntstr]]></dc:creator>
            <pubDate>Fri, 13 Mar 2026 07:01:02 GMT</pubDate>
            <atom:updated>2026-03-13T07:01:02.369Z</atom:updated>
            <content:encoded><![CDATA[<h3>Me and My Claude:<br>Bypassing Static Security Checks<br>in Android Applications</h3><h3>What Is Static Security in Android?</h3><p>Modern Android applications don’t just live in Java or Kotlin. The most security-conscious apps push their defenses deep into static analysis targets — compiled C/C++ libraries that run directly on the processor, far from the reach of standard instrumentation tools.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZqmEZVhMkkPVUyRC.png" /><figcaption>Image 1. Ghidra Software Reverse Engineering (SRE)</figcaption></figure><p>Static security checks are a layered fortress. At the surface, you have Java-layer detections that are straightforward to spot and patch. But beneath that, inside .so shared libraries, sit the real defenders:</p><ul><li><strong>Root detection</strong> — identifies whether the device has been rooted by checking for su binaries, Magisk, or modified system properties.</li><li><strong>Emulator detection</strong> — checks hardware fingerprints, sensor availability, and build properties to detect emulated environments.</li><li><strong>SSL pinning</strong> — hardcodes expected certificate hashes to prevent MITM traffic inspection, even with a custom CA installed.</li><li><strong>RASP (Runtime Application Self-Protection)</strong> — a commercial-grade SDK like Zimperium that monitors the application’s own integrity at runtime.</li></ul><p>Bypassing all four simultaneously, especially when they’re implemented statically, is a non-trivial challenge — the kind that typically eats up hours of manual smali surgery and static binary analysis. That’s where Claude came in.</p><h3>Analyzing the APK with MobSF</h3><p>The first step was static analysis. I ran the target .apk through <strong>MobSF (Mobile Security Framework)</strong> — an open-source automated analysis platform that decompiles, disassembles, and scans Android packages for security issues.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/0*7Bzm6fd-kg8du7PE" /><figcaption>Image 2. Mobile Security Framework (MobSF)</figcaption></figure><p>What it surfaced was a layered defense-in-depth stack:</p><p>01 Root Detection — RootBeer (Static)libToolChecker.so · RootBeerNative.()</p><p>02 Emulator Detection — Explicit Java CheckEmulatorDetector.isEmulator() · returns boolean</p><p>03 SSL Pinning — Custom TrustManagerlibnativelib.so · SSLCertificateConfigurator.getTrustManager()</p><p>04 Zimperium RASP — Static Library Loadlibdesignationplants.so · FastestIyy.e()</p><p>Four layers. Two static-layer, two Java-layer. A well-designed defense stack — the kind an enterprise banking or fintech app would deploy. On its own, manually patching this would mean hours of smali editing, recompilation, and re-signing cycles. I had a better idea.</p><h3>Handing It to Claude Sonnet 4.6</h3><p>I fed Claude the full MobSF report alongside the decompiled smali source trees. The prompt was deliberate: analyze each security layer, identify the minimal invasive patch needed to neutralize it, and specify the exact smali method to target. No guessing. No bruteforce. Surgical precision.</p><p>Claude’s approach was methodical. It reasoned about each layer independently, then considered cross-layer dependencies — for example, whether neutralizing Zimperium’s library load might affect the root detection check that loads after it. Here’s what it produced:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*6DP5ahORd0xQRdYB1ZVB1g.png" /><figcaption>Image 3. Bypass methodology and implementation</figcaption></figure><p>Each bypass was clean and minimal. No full class rewrites, no complex hook chains. Claude understood that the least-invasive approach — patching a single smali instruction — is also the most reliable. Surgical over nuclear.</p><p><em>What the smali patch looks like</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/826/1*UcxfSlHLorynOFBJKsJxtg.png" /><figcaption>Image 4. Smali patch</figcaption></figure><h3>What This Means for Security Researchers</h3><p>The time savings here aren’t marginal. They’re transformational. Traditionally, bypassing a four-layer static security stack requires deep expertise in smali, ARM assembly, and static binary analysis — knowledge that takes years to accumulate. Claude compresses that expertise into an accessible interface.</p><p>This doesn’t mean AI replaces the researcher. Understanding <em>why</em> a bypass works — why nulling a KeyStore falls back to the system TrustManager, why patching &lt;clinit&gt; prevents library load — still requires human intuition and threat modeling. But the mechanical labor? The tedious cross-referencing and incremental patching cycles? AI eats that for breakfast.</p><p>The implication for blue teams is equally clear: static detection layers, no matter how well-implemented, are increasingly commoditized attack surfaces. Defense needs to move toward behavioral and runtime detection strategies that can’t be neutered by a smali patch.</p><h3>Closing Thoughts</h3><p>What used to take a security researcher 4–6 hours of manual smali archaeology — cross-referencing decompiled source, tracing call chains, experimenting with patches — Claude resolved in a single prompt. Not because it guessed, but because it reasoned about the dependency graph of each security layer with the same logic a senior pentester would apply.</p><p>Four layers of static Android security. One AI session. Total time from analysis to working patch: roughly 45 minutes, compared to an estimated half-day doing it manually. The patches were minimal, non-destructive, and precise — exactly what good reverse engineering looks like.</p><p>Did this save your time too?</p><p><em>If you’re doing Android pentesting or mobile security research, I’d love to hear how you’re incorporating AI into your workflow — or where you’ve found its limits.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4286e673ea88" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/me-and-my-claude-bypassing-static-security-checks-in-android-applications-4286e673ea88">Me and My Claude: Bypassing Static Security Checks in Android Applications</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When the Key Lives in the Request: Breaking Client-Side AES Encryption in a Real Web Application]]></title>
            <link>https://meetcyber.net/when-the-key-lives-in-the-request-breaking-client-side-aes-encryption-in-a-real-web-application-36a8555f3900?source=rss-1255e72cd617------2</link>
            <guid isPermaLink="false">https://medium.com/p/36a8555f3900</guid>
            <category><![CDATA[encryption]]></category>
            <category><![CDATA[burpsuite]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[application-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[urhnrblpntstr]]></dc:creator>
            <pubDate>Fri, 06 Mar 2026 07:01:01 GMT</pubDate>
            <atom:updated>2026-03-06T15:13:24.826Z</atom:updated>
            <content:encoded><![CDATA[<p>Encryption has always felt like my biggest enemy as a pentester. When it is implemented correctly, it blocks every shortcut and forces real work. It demands creativity, patience, and respect. But when it is implemented poorly, it becomes nothing more than decoration — a shiny badge on a fragile system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*fVF42P2Y19rd2KTe.png" /><figcaption>Image 1. Binary analysis</figcaption></figure><p>I have seen applications proudly claim strong encryption while hiding the key inside the same binary they distribute to users. I have seen encoding presented as encryption, client-side protection trusted blindly, and secure protocols weakened by careless validation. In those moments, the problem is not cryptography. The problem is design. Encryption without architecture is theater.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*Z6IREwr1F8Ds0FBx" /><figcaption>Image 2. How does encryption work?</figcaption></figure><p>Security cannot rely on the hope that no one will look. Someone will decompile the app. Someone will inspect the traffic. Someone will trace the memory. Security by obscurity assumes silence. Security by design assumes scrutiny — and survives it.</p><p>The difference between a breach and resilience is rarely the algorithm. It is where the keys live, where validation happens, and whether the system was built expecting to be attacked.</p><p>Encryption is not security. Correct implementation is.</p><p>And when security is truly designed — not decorated — encryption stops being my advantage. It becomes the attacker’s obstacle.</p><p>Let see the unseen.</p><p>It started like most of my pentesting engagements — fire up Burp Suite, browse the target application, and start reading traffic. The application looked polished on the surface. Login flows were smooth, API calls were firing cleanly, and at a glance, nothing screamed “easy win.” But something was off about the request bodies. Instead of clean JSON parameters, there was a wall of encoded ciphertext being sent to the server on nearly every sensitive operation. Someone had put in real effort to make this look protected.</p><p>The response bodies were similarly opaque — no readable JSON, just a dense blob of characters that clearly wasn’t raw data.</p><p>My first instinct was respect. Client-side encryption is at least an attempt at defense-in-depth, and seeing it deployed at this level told me someone had thought about security. My second instinct was curiosity. Because client-side encryption — no matter how it’s implemented — has a fundamental weakness: the client has to be able to encrypt. And if the client can encrypt, so can I.</p><p>What I ended up uncovering was a textbook case of security theater: the application used AES encryption via a JavaScript library called slowAES, but shipped the encryption key alongside the ciphertext in the same request. The response body used a layered encoding of JSON compressed with gzip, then wrapped in base64. Neither layer was truly protective. Both were reversible. And by the end of the engagement, I had a custom Burp Suite extender — built with Claude Sonnet 4.6 — that could decrypt and decode everything in real time.</p><h3>A Quick Primer on AES and slowAES</h3><p>AES, the Advanced Encryption Standard, is the gold standard of symmetric encryption. Adopted by NIST in 2001, it operates on fixed block sizes (128 bits) with key lengths of 128, 192, or 256 bits. It’s used everywhere — from TLS handshakes to disk encryption to your password manager. When implemented correctly, AES is essentially unbreakable through brute force alone.</p><p>The critical word there is <em>correctly</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/0*nVmBf3GjEspyTnOl.jpg" /><figcaption>Image 3. Symmetric encrytption</figcaption></figure><p>AES is a symmetric cipher, meaning the same key is used to both encrypt and decrypt data. This is efficient and fast, but it introduces a fundamental problem: key distribution. If both the sender and receiver need the same key, how do you share it securely in the first place? In a well-designed system, you solve this through key exchange protocols — Diffie-Hellman, for example — or by deriving the key from something only the server and a legitimate user know, like a session token or a hardware-backed credential.</p><p>SlowAES is a pure JavaScript implementation of AES. It was originally written as an educational tool — a readable, understandable implementation of the AES algorithm without native browser dependencies. It supports the standard modes (CBC, CTR, OFB) and can handle PKCS7 padding. It’s legitimate cryptography, and the algorithm itself is sound.</p><p>The name “slow” is honest — it’s not optimized for performance. But slowness wasn’t the problem here. The problem was how the key was managed. Or rather, how it wasn’t.</p><h3>The Critical Security Flaw: The Key is Already in the Parameter</h3><p>Here’s where the security model collapsed entirely — and honestly, it was more elegant in its failure than I expected.</p><p>When I intercepted a typical request and looked at the encrypted parameter value, it wasn’t just a blob of ciphertext. It had a very deliberate structure. After some staring and a few minutes of pattern recognition, the format revealed itself:</p><pre>(length)h(shared_key)h(ciphertext)</pre><p>A concrete example of what this looks like in practice:</p><pre>32hA3f9b2c1d8e4f7a0b5c6d9e2f1a4b7ch7k9mP2qR5sT8uV1wX4yZ...</pre><p>Breaking that down: the first segment is a number representing the length of the shared key that follows. Then the letter h acts as a delimiter. Next comes the shared key itself — the actual AES key used to encrypt the data. Another h delimiter. And finally, the ciphertext.</p><p>Everything I needed to decrypt the payload was sitting right there in the parameter string, self-contained and self-describing. I didn’t need to find the key elsewhere in the request, correlate it with another header, or reverse-engineer a key derivation function. The format was essentially a self-decrypting package — it carried its own instructions for how to read it.</p><p>Let that sink in for a moment. The application encrypted the request parameters, which at a surface level looks like a security measure. But whoever designed this format also decided to bundle the decryption key directly into the same parameter, separated by nothing more than a single character delimiter. Since this was an HTTPS connection, a passive network observer still couldn’t intercept it in transit. But any proxy sitting in the middle — including Burp Suite in a pentesting context — can read the full parameter and trivially parse out the key.</p><p>The mental model the developers may have had was something like: “We encrypted the data, so even if someone intercepts it, they can’t read it.” That mental model only holds if the key is secret. When the key is embedded in the same value as the ciphertext, separated by a delimiter that’s visible in plaintext, you haven’t protected anything in any meaningful security sense. You’ve just made the data slightly less immediately readable. The lock, the key, and the instructions for how to use the key are all in the same envelope.</p><p>What made this particularly interesting from an analysis standpoint was the length prefix. It suggests this format was intentionally designed — someone thought about how the receiving end would parse this structure. The length field tells the parser exactly how many characters to read for the key before hitting the delimiter. It’s a well-formed protocol. It just happens to be a protocol that completely undermines the security goal it was supposed to serve.</p><p>This is a textbook case of “encryption without key confidentiality” — the algorithm is sound, the implementation of AES via slowAES works correctly, but the key management is fatally flawed. The security of any symmetric cipher is entirely dependent on the secrecy of the key, not the strength of the cipher itself. Ship the key with the ciphertext, and the cipher becomes decoration.</p><p>The response body encoding — JSON compressed with gzip, then base64-encoded — added a layer of obscurity to the output side, but obscurity is not security. Any attacker who can observe the response can reverse all three transformations: base64 decode, decompress with gzip, parse JSON. No keys required at all.</p><h3>Step-by-Step Proof of Concept</h3><p>Here’s how I walked through the exploitation from initial observation to full decryption.</p><p><strong>Step 1: Identify the encryption library.</strong> Browsing the application’s JavaScript source files (loaded in the browser, fully readable), I found slowaes.js referenced directly. The library was imported and used to encrypt form parameters before they were sent. No obfuscation, no minification that couldn&#39;t be read.</p><p><strong>Step 2: Intercept a request.</strong> With Burp Suite’s proxy active, I captured a POST request to a sensitive endpoint. The encrypted parameter value looked like random noise at first glance — until I noticed a repeating pattern. There were numbers near the start, and the letter h appeared as a separator at predictable positions. After a few samples, the structure was unmistakable: (length)h(shared_key)h(ciphertext).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-yN2unCAAu3H41Kh2n-0Lg.png" /><figcaption>Image 4. Burpsuite Repeater</figcaption></figure><p><strong>Step 3: Parse the format and decrypt.</strong> With the structure understood, extracting the key was a matter of splitting on the delimiter. I wrote a quick Python parser to pull everything apart and feed it into AES decryption:</p><pre>from Crypto.Cipher import AES<br>import base64<br>import json<br><br>def parse_and_decrypt(param_value):<br>    # Format: (key_length)h(shared_key)h(ciphertext)<br>    first_h = param_value.index(&#39;h&#39;)<br>    key_length = int(param_value[:first_h])<br><br>    rest = param_value[first_h + 1:]       # everything after first &#39;h&#39;<br>    shared_key = rest[:key_length]<br>    ciphertext_b64 = rest[key_length + 1:] # skip second &#39;h&#39;<br><br>    key = shared_key.encode()<br>    ciphertext = base64.b64decode(ciphertext_b64)<br><br>    # AES CBC mode — IV is the first 16 bytes of ciphertext<br>    iv = ciphertext[:16]<br>    cipher = AES.new(key, AES.MODE_CBC, iv)<br>    plaintext = cipher.decrypt(ciphertext[16:])<br><br>    # Strip PKCS7 padding<br>    pad_len = plaintext[-1]<br>    plaintext = plaintext[:-pad_len]<br>    return json.loads(plaintext)<br>    <br># Example: param = &quot;32hA3f9b2c1d8e4f7a0b5c6d9e2f1a4b7ch&lt;base64_ciphertext&gt;&quot;<br>print(parse_and_decrypt(param))</pre><p>The output was clean, readable JSON — the actual parameter values the user had submitted.</p><p><strong>Step 4: Decode the response.</strong> Taking the response blob from Burp, I reversed the encoding stack:</p><pre>import base64<br>import gzip<br>import json<br><br>response_blob = &quot;H4sI...&quot; <br>decoded = base64.b64decode(response_blob)<br>decompressed = gzip.decompress(decoded)<br>data = json.loads(decompressed)<br>print(json.dumps(data, indent=2))</pre><p>Clean, readable application data. Account details, transaction histories, user configurations — whatever the endpoint was designed to return, now fully visible.</p><p><strong>Step 5: Modify and re-encrypt.</strong> To demonstrate the full impact, I modified the decrypted request payload, re-encrypted it using slowAES with the same key format the application expected, and sent it through Burp’s Repeater. The server accepted it without complaint. I could now send arbitrary encrypted payloads that the server would treat as legitimate.</p><p>This moved the vulnerability from “confidentiality broken” to “integrity broken” — a critical finding.</p><h3>Building the Burp Extensions with Claude Sonnet 4.6</h3><p>Doing this manually through Python scripts is effective for a proof-of-concept, but it’s slow for a full pentest engagement. Every time you want to test a new request, you’re copying ciphertext out of Burp, running a script, reading the output, modifying it, re-encrypting, and pasting it back. It works, but it’s tedious and error-prone.</p><p>I decided to build a Burp Suite extensions that would automate the entire pipeline — intercepting requests and responses, decrypting and decoding them inline, and presenting the plaintext directly in Burp’s UI. And I used Claude Sonnet 4.6 to write most of the code.</p><p>The conversation I had with Claude was iterative and productive. I started by describing the problem:</p><blockquote>“I have a web application that uses client-side AES encryption via the slowAES JavaScript library. The encrypted parameter follows this format: (hex_length)h(shared_key)h(ciphertext) where all segments are hex-encoded. The AES key is derived from the shared key by right-shifting the last 16 bytes by 1 bit and appending the reversed bytes at index 3–13. The full shared key is used as the IV. Decryption uses CBC mode with slowAES-compatible unpadding that mirrors the JS unpadBytesOut behavior. Please write a complete Python script that: (1) parses the parameter format, (2) derives the AES key, (3) decrypts using a pure Python port of slowAES CBC that matches the original JS behavior exactly, (4) re-encrypts modified plaintext back into the valid parameter format using a freshly generated 32-byte random shared key, and (5) wraps everything into a Burp Suite extension with a UI tab for both decryption and encryption. Do not use any external crypto libraries — implement the AES S-box, key expansion, and CBC mode from scratch to match slowAES behavior precisely.&quot;</blockquote><p>Claude analyzed the intercepted parameter format (hex_length)h(shared_key)h(ciphertext), reverse-engineered the key derivation logic by reading the application&#39;s unobfuscated JavaScript source, and reconstructed the full encryption scheme — split the parameter on h, interpret the first segment as a hex-encoded length, extract the shared key and ciphertext as hex byte arrays, derive the AES key by right-shifting the last 16 bytes of the shared key and appending the reversed bytes at index 3–13, use the full shared key as the IV, run CBC decryption using a pure Python port of the slowAES algorithm matching the original JS behavior including its custom unpadding logic, then convert the result back to a readable string trimmed to the expected length — and mirrored the entire process in reverse for re-encryption, generating a fresh 32-byte random shared key each time to produce a valid forged parameter that the server accepts without complaint.</p><p>For the response decoding, I gave Claude the encoding stack (base64 → gzip → JSON) and it wrote the decoder and wired it into a separate response-processing tab.</p><p>The result was a clean, functional Burp extensions that turned every encrypted request into readable plaintext with zero manual effort. Loading it in Burp’s Extensions tab, it worked on the first try — a testament to how well Claude Sonnet 4.6 handles applied security tooling.</p><p>The full source code for the extensions is available on my GitHub:</p><p><a href="https://github.com/urhnrblpntstr/burp-extensions-collection.git">GitHub - urhnrblpntstr/burp-extensions-collection: Some of my collection Burpsuite Extender.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w7RhQrG1Z4bo9FgwjQdW0w.png" /><figcaption>Image 5. slowAES Parameter Decryptor/Encryptor</figcaption></figure><p>The <strong>slowAES Parameter Decryptor/Encryptor </strong>extension handles:</p><ul><li>Automatic detection and parsing of the (length)h(shared_key)h(ciphertext) parameter format</li><li>AES-CBC decryption using the extracted shared key</li><li>hex-length parsing, key derivation (shared_key[-16:] &gt;&gt; 1 + reversed shared_key[3:13]), shared_key-as-IV, slowAES-compatible unpadding, and bidirectional encrypt/decrypt.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DfH3R9GeAEY1FKb76jN-Rw.png" /><figcaption>Image 6. BGJ Decoder</figcaption></figure><p>The <strong>BGJ Decoder</strong> extension handles:</p><ul><li>Base64 → gzip → JSON decoding of response bodies</li><li>Clean pass-through for non-matching traffic</li><li>A custom editor tab showing plaintext for both requests and responses</li></ul><h3>Closing Thoughts</h3><blockquote>“Security is only as strong as its weakest assumption. Here, the assumption was that sending a lock with its own key made the contents safe.”</blockquote><p>Client-side encryption is not inherently wrong. There are legitimate use cases — end-to-end encrypted messaging, local-first applications, zero-knowledge architectures. But all of those designs share a common principle: <strong>the server never sees the key, and neither does the request.</strong></p><p>When the key lives in the request body alongside the data it was used to encrypt, you have not achieved confidentiality. You’ve added friction — enough to deter casual observation, not enough to deter any motivated attacker. The encoding on the response added a second layer of friction, but nothing more.</p><p>The encryption is broken not because AES is weak — but because the key derivation logic, the IV, and the ciphertext all travel together in a single parameter. Anyone who reads the JavaScript source can reconstruct the exact same decrypt_q() function and silently read or tamper every request.</p><p>The lesson for developers building similar features isn’t “don’t use AES” or “don’t use slowAES.” AES is a fine algorithm. The lesson is to understand what encryption actually protects and what it doesn’t. Key management is not a detail — it is the entire security model. Get the key distribution wrong, and no algorithm in the world will save you.</p><p>And for the pentesters reading this: when you see encryption on the wire, don’t walk away. Ask where the key comes from. Ask whether the client is generating it, receiving it, or deriving it. The answer to that question will tell you more about the actual security of the system than any cryptographic specification ever could.</p><p><em>Found this insightful? Follow me for more writeups on web application security, reverse engineering, and the tools I build along the way.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36a8555f3900" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/when-the-key-lives-in-the-request-breaking-client-side-aes-encryption-in-a-real-web-application-36a8555f3900">When the Key Lives in the Request: Breaking Client-Side AES Encryption in a Real Web Application</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Road to Comptia PenTest+ (PT0–003): Tactical Playbook]]></title>
            <link>https://meetcyber.net/road-to-comptia-pentest-pt0-003-tactical-playbook-6fb4abe9f700?source=rss-1255e72cd617------2</link>
            <guid isPermaLink="false">https://medium.com/p/6fb4abe9f700</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[comptia-certifications]]></category>
            <category><![CDATA[pt0-003]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[urhnrblpntstr]]></dc:creator>
            <pubDate>Fri, 27 Feb 2026 13:53:30 GMT</pubDate>
            <atom:updated>2026-03-03T13:42:38.020Z</atom:updated>
            <content:encoded><![CDATA[<h3>Road to CompTIA PenTest+ (PT0–003): Tactical Playbook</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PogC3IZZNsKsD75DsBNubA.png" /></figure><p>There’s a saying in the security world: <em>a great penetration tester isn’t just someone who knows the tools — they’re someone who knows how to think.</em> That distinction matters more than most people realize when you’re preparing for CompTIA’s PenTest+ (PT0–003) certification.</p><p>I’ve been building what I call a <strong>Tactical Playbook</strong> — a structured, mission-driven approach to mastering every phase of the penetration testing lifecycle. It’s not just exam prep. It’s a way of developing the organized, methodical mindset that real-world security assessments demand.</p><p>Here’s how I broke it down.</p><h3>Why “Mission Files”?</h3><p>A penetration test is, at its core, an operation. You have objectives, constraints, targets, and timelines. You gather intelligence, exploit weaknesses, and report findings to decision-makers. That framing — operational, deliberate, phase-by-phase — is exactly why I chose to organize my study material into <strong>Mission Files</strong> rather than chapters or flashcard decks.</p><p>Each Mission File corresponds to a critical phase of the PenTest+ pathway. Together, they form a complete picture of what it means to execute a high-level security assessment — from the first conversation with a client all the way to the final report.</p><h3>The Mission Files</h3><p><strong>Mission 0: Pre-Test</strong> Before anything else, you need a baseline. This mission covers the foundational knowledge required to even begin thinking like a penetration tester — networking fundamentals, basic security concepts, and the mental model that ties everything together.</p><p><strong>Mission 1: Penetration Testing — Before You Begin</strong> Scoping, rules of engagement, legal considerations, and threat modeling. The work you do before you ever touch a keyboard often determines whether an engagement succeeds or fails.</p><p><strong>Mission 2: Applying Pre-Engagement Activities</strong> This is where theory meets paperwork — and paperwork matters. NDAs, statements of work, permission to test. Understanding these documents protects both the tester and the client.</p><p><strong>Mission 3: Enumeration and Reconnaissance</strong> Intelligence gathering is the backbone of any successful engagement. Passive recon, OSINT techniques, DNS enumeration, and footprinting — knowing your target before they know you’re watching.</p><p><strong>Mission 4: Scanning and Identifying Vulnerabilities</strong> Active scanning, service enumeration, and vulnerability identification using tools like Nmap, Nessus, and Nikto. This phase transforms raw recon into actionable attack surface.</p><p><strong>Mission 5: Conducting PenTest Attacks</strong> The heart of the operation. Exploitation techniques, privilege escalation, lateral movement, and maintaining access. This is where the methodology gets put to the test.</p><p><strong>Mission 6: Web-Based Attacks</strong> SQL injection, XSS, CSRF, directory traversal, and more. Web applications remain one of the most targeted attack surfaces, and this mission covers them thoroughly.</p><p><strong>Mission 7: Enterprise Attacks</strong> Active Directory attacks, credential harvesting, Kerberoasting, Pass-the-Hash, and pivoting through enterprise environments. This is the territory where real engagements live and die.</p><p><strong>Mission 8: Specialized Attacks</strong> Wireless attacks, IoT vulnerabilities, social engineering, and physical security assessments. Modern penetration testing extends far beyond the network perimeter.</p><p><strong>Mission 9: Performing Penetration Testing Tasks</strong> Pulling it all together — scripting, automation, custom payloads, and executing full-chain attacks in simulated environments. Practical application of everything learned.</p><p><strong>Mission 10: Reporting and Recommendations</strong> The mission isn’t over until the report is written. Documentation, risk ratings, executive summaries, and remediation guidance. A finding that can’t be communicated clearly might as well not exist.</p><p><strong>Final Mission: Practice Exam</strong> Full simulation under exam conditions. Timed, realistic, and unforgiving — exactly the way it should be.</p><h3>More Than an Exam</h3><p>I want to be clear about something: the PenTest+ certification is a means, not an end. The real goal of this playbook is to build the <em>thinking patterns</em> that make someone effective in the field — the ability to move through an engagement systematically, adapt when things don’t go as planned, and always know what phase you’re in and what comes next.</p><p>The exam will test your knowledge. The methodology will carry you through your career.</p><h3>Access the Full Playbook</h3><p>Want to explore the Tactical Playbook in full detail? I’ve made the entire Notion site publicly accessible — every Mission File, notes, tools, and resources included.</p><p>🔗 <a href="https://macawboy.notion.site/Road-to-Comptia-PenTest-PT0-003-1f4ceb10572e802fab37f636ca629658">Road to CompTIA PenTest+ (PT0–003) — Tactical Playbook</a></p><p>Feel free to bookmark it, reference it during your studies, or use it as a template for building your own structured study system.</p><h3>Final Thoughts</h3><p>If you’re on your own road to PenTest+, I hope this breakdown gives you a useful mental map for the journey. Break it into phases. Treat each topic like a mission with objectives to complete. And remember that the certification is just one milestone — the mindset you build along the way is what will actually make you dangerous (in the best possible way).</p><p>I genuinely hope everything I’ve shared here makes sense. And if you’re studying for the PT0–003 right now — good luck. You’ve got this.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6fb4abe9f700" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/road-to-comptia-pentest-pt0-003-tactical-playbook-6fb4abe9f700">Road to Comptia PenTest+ (PT0–003): Tactical Playbook</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>