<?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 Foxx C-B on Medium]]></title>
        <description><![CDATA[Stories by Foxx C-B on Medium]]></description>
        <link>https://medium.com/@FoxxCB?source=rss-566ded14292b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*M_M0bIVTakn8UoEO</url>
            <title>Stories by Foxx C-B on Medium</title>
            <link>https://medium.com/@FoxxCB?source=rss-566ded14292b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 13:30:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@FoxxCB/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[Lock/Door Bypasses, and Physical Penetration Testing for Red Teamers and Entry Specialists]]></title>
            <link>https://medium.com/@FoxxCB/lock-door-bypasses-and-physical-penetration-testing-for-red-teamers-and-entry-specialists-6c5872f7860a?source=rss-566ded14292b------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c5872f7860a</guid>
            <category><![CDATA[lock-picking]]></category>
            <category><![CDATA[physical-security]]></category>
            <category><![CDATA[red-team-methodology]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[hacking-training]]></category>
            <dc:creator><![CDATA[Foxx C-B]]></dc:creator>
            <pubDate>Mon, 19 Aug 2024 03:06:15 GMT</pubDate>
            <atom:updated>2025-11-04T22:17:25.145Z</atom:updated>
            <content:encoded><![CDATA[<h3>whoami</h3><p>I<strong>’m Foxx, an Offensive Security Engineer. Most days I’m working behind a keyboard, but sometimes I get to have some fun on engagements that involve physical penetration testing as well! If you were hanging out in the Lockpicking Village at Defcon 32 this year, there’s a good chance you saw me jumping between a few tables trying every lock I could get my hands on.</strong></p><p>I’ll be linking TONS of resources throughout this article I found helpful when I was learning about this subject, tools I use and prefer, etc.</p><p>Before we continue, I’ll add a couple of disclaimers:</p><p><strong>These methods are intended to be used by professionals in a permissive, legal, and morally necessary way. I’m not responsible for my readers, these methods are already out there. <em>Please don’t be stupid.</em> Stay safe and legal with your lockpickng, bypasses, etc. Know your local laws, scope and SOW, as well as your Moral Right to Entry.</strong></p><p><strong>***I am not affiliated with Sparrows, Covert Instruments, Pat Watson, or his company “<em>Uncensored Tactical</em>” in any way. Just love and recommend their stuff!***</strong></p><p>For more on Moral Right to Entry, and other general entry specialist subjects, please read Pat Watson’s book “<em>Tactical Lock Picking: A Systemized Approach for Responding to Locked Obstacles During Emergencies</em>”. While this feels primarily geared towards Law Enforcement, it’s invaluable for developing assessment methodology for evaluating a situation quickly. I am not 100% confident if the kindle version is still for sale.</p><p><a href="https://www.amazon.com/Tactical-Lock-Picking-Systemized-Emergencies/dp/1734825405?ref_=ast_author_dp">Tactical Lock Picking: A Systemized Approach for Responding to Locked Obstacles During Emergencies</a></p><p>This book may have been superseded by his new one here:<br><a href="https://www.amazon.com/Tactical-Lock-Picking-Foundations-Volumes-ebook/dp/B0CFM6N2CR/ref=sr_1_1?crid=7S605JC1TJE3&amp;dib=eyJ2IjoiMSJ9.BaGGphwhr12G4iwiv4kY5YaCJnRYW8vE9O07F1R652Q.Gya9lBpHrgwTFi6IMWBgeemGL_dkZVKDV8n_S6vV3zg&amp;dib_tag=se&amp;keywords=Pat+Watson+tactical+lock&amp;qid=1723657853&amp;s=digital-text&amp;sprefix=pat+watson+tactical+lock%2Cdigital-text%2C118&amp;sr=1-1">https://www.amazon.com/Tactical-Lock-Picking-Foundations-Volumes-ebook/dp/B0CFM6N2CR/ref=sr_1_1?crid=7S605JC1TJE3&amp;dib=eyJ2IjoiMSJ9.BaGGphwhr12G4iwiv4kY5YaCJnRYW8vE9O07F1R652Q.Gya9lBpHrgwTFi6IMWBgeemGL_dkZVKDV8n_S6vV3zg&amp;dib_tag=se&amp;keywords=Pat+Watson+tactical+lock&amp;qid=1723657853&amp;s=digital-text&amp;sprefix=pat+watson+tactical+lock%2Cdigital-text%2C118&amp;sr=1-1</a></p><h3>Lockpicking Basics — Parts of a Lock</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AnRL6JwkbBnXuP9ckxO-ag.jpeg" /><figcaption>Diagram of a padlock</figcaption></figure><p>Let’s get some basic terminology out of the way:</p><p><strong>Lock body</strong> — The body of the lock. Typically the largest part of the lock, the body contains the plug as well as holes for the shackle, holes for the pin stacks, springs, etc.</p><p><strong>Plug </strong>— This part of the lock contains the keyway, as well as the pin stacks. When a key is fully inserted, the plug rotates with the key, in the body of the lock.</p><p><strong>Keyway</strong> — Where the key is inserted in the lock</p><p><strong>Shear Line</strong> — A shear line is the line between the plug and the body of the lock, or where they meet. Critical for lockpicking.</p><p><strong>Pins / pin stack</strong> — Pins are what the key/pick raises and lowers to open the lock. In each <strong>pin stack</strong>, there are two pins: A <strong>key pin</strong>, which is what the key physically touches, and a <strong>driver pin</strong>, which is what needs to be brought above the shear line to “set”. The driver pin sits on top of the key pin. The space between the pins in the stack must meet the shear line in order for the plug to rotate freely.</p><h3>How does a lock open?</h3><p>When a key is inserted fully into a lock, the ridges on the key raise the various pin stacks so that the driver pin is above the shear line, and the key pin is below it. When the pin stack is perfectly aligned to the shear line, the space between the pins in the pin stack allows for rotation of the plug, so rotating the key to turn the plug separates the pin stack and allows the lock to open.</p><h3>How does lockpicking work? <em>Why</em> does lockpicking work?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FtwhVeq8KnzBSncJ4i5R9g.jpeg" /><figcaption>From left to right, here are two Tension Wrenches of different thicknesses, two hook picks of different shapes, and two rakes of different styles.</figcaption></figure><p>Speaking simply, <em>lockpicking is the act of imitating all the actions of key to open a lock, without the key.</em> When we pick a lock, we must raise the individual pin stacks to meet the shear line while applying rotational force to the plug. A Tension Wrench, as pictured above, will be inserted in the top or bottom of the keyway. A pick, pictured above, will be inserted near the middle of the keyway. The lockpicker will apply somewhat light to medium clockwise rotational tension on the tension wrench, and subsequently the plug, and use the pick to push upwards on the the various pin stacks. The pin stack he or she is looking for will provide some resistance when pushed upwards, the others will not. This pin is “binding”. The pin is binding because <em>it is the largest/thickest pin in the plug that has not been set yet. </em>The rotation of the plug means the binding pin is pinched in the shear line. When appropriate rotational pressure is applied with appropriate upwards force on the pin stack, this pin will “set”, or slide above the shear line. When a pin sets, there will be an audible click and some tactile feedback on the pick and/or the tension wrench. The plug may rotate slightly in the direction of tension as well. After this pin has been set, the next widest pin will be binding. The lockpicker’s job now is to maintain tension so that the set pin will remain set, and to go hunting for the next binding pin. Lockpicking is a very tactile and audible task. A lock will provide more audible AND tactile feedback while in a vise. There are many cheap, excellent vises available on Amazon, or at your local hardware store. Get one for your desk!</p><p><strong><em>Lockpicking works because the pins in the lock are not all the same width/thickness</em></strong>, and can be “set” in order of binding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rlEOBfiFtL5fsYybcKaatw.jpeg" /><figcaption>A 40-thousandths of an inch thick tension wrench (in Bottom of Keyway position) from Covert Instruments and a Sparrows Dark Shift hook pick inserted in a Masterlock model 140, in a vise.</figcaption></figure><p>The brief description above describes Single Pin Picking, or SPP, which is the method of trying to set one pin stack at a time.</p><p>Raking is slightly different, accomplished with a different shape of pick, likely with lighter tension applied. In raking, the rake pick is moved back and forth, up and down, in and out of the key way in an effort to set all the pins more quickly, without targeting any of them at once, in contrast to SPP. A few pictures above, I have a “city rake” and a “triple peak rake” pictured. You can see that the city rake, the 2nd to last item from the right, is shaped loosely like a key, with ridges at varying heights. Often a lockpicker will rock a city rake up and down while fully inserted in the keyway in an effort to mimic the original key’s shape, while pulsing the tension they are applying up and down slightly. A multi-peaked rake will be used differently, with more of a scrubbing in and out motion. This is done rather quickly, with light tension, in attempt to set many pins at once.</p><p>Start with <a href="https://covertinstruments.com/products/the-fng">this set</a>. The FNG, or “F*****g New Guy,” from Covert Instruments is an excellent, very affordable way to start learning lockpickng. It comes with a clear acrylic lock for practice, a hook, a 5-peak “quint” rake, and a tension wrench for $9.50</p><h3>Hold on, isn’t this a physical pentesting article?</h3><p>Yes, and the basics are over, I promise. I’m not here to hand-hold basics of lockpicking. While I’d love to answer any questions or comments below, the fastest way to get into a building you’re performing a physical security assessment on will often NOT be with slow, potentially difficult, SPP (Single-Pin Picking). You’ll likely be trying to find another way past the lock such as a bypass, or raking for a short time if other options feel exhausted. You should be looking for the path of least resistance: Badly installed doors or locks, padlocks with well-known vulnerabilities and/or flaws you can spot at a glance.</p><h3>Let’s talk about some padlock bypasses</h3><p>There may be several ways to get into any given padlock, short of having the key. One is to know your locks at a glance; when I see a Masterlock 140 or 150, or any Masterlock with 40mm printed on the body, I know that I’ll be reaching for a comb pick to open it as a first step.</p><h3>Comb Picks — Padlock Bypass</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IAn2RQ1A6V3s-jAMuXLMcA.jpeg" /><figcaption>Combs on my Covert Instruments Covert Companion and two double-sided comb picks from my Sparrows Dark Shift XX expansion.</figcaption></figure><ul><li><a href="https://www.sparrowslockpicks.com/products/dark-xx?_pos=4&amp;_sid=18359df5b&amp;_ss=r">DARK XX</a></li><li><a href="https://covertinstruments.com/products/covert-companion-1?_pos=1&amp;_sid=743786d84&amp;_ss=r">Covert Companion™ - Locksmith Tool Accessories</a></li><li><a href="https://www.amazon.com/gp/product/B00004SQL7/ref=ppx_yo_dt_b_search_asin_image?ie=UTF8&amp;psc=1">Master Lock 140D Padlock, 1 Pack, Brass</a></li></ul><p>A comb pick works by lifting <em>both</em> pins in the pin stack above the shear line. Then, just apply rotational tension to the plug. You can do this by twisting the comb pick like a key once lifting is done, but that can easily bend it if your lift height is improper. If I’m having trouble turning it with just the comb, I like using a thin tension wrench alongside the comb to turn the plug to avoid extra wear or damage. My 140 is a bit worn from physical (and verbal) abuse and can stick when trying to comb it.</p><p>As linked above, a Masterlock 140 is a 4-pin lock.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dtLBaDT6e8ZLPRknq2X_hQ.jpeg" /><figcaption>A double-sided Sparrows Dark Shift expansion set comb opens a Masterlock 140 very easily! Turning tool helps when it sticks.</figcaption></figure><p>This technique is mostly about knowing which locks are vulnerable, and being able to use your best judgement. If a lock has a restrictively-small or oddly-shaped keyway, there is a good chance a comb pick may get stuck to the point of damaging your tool or the lock.</p><h3>Padlock Shims/Shimming Bypasses</h3><p>In cheap locks with poor manufacturing tolerances where there is excessive space or “play” (wiggle room) between the shackle and the body of the lock, a padlock shim or two may be able to open the lock without touching the keyway at all.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jIm-WtdfU3hl3I5oKqXVSQ.jpeg" /><figcaption>Note the excessive space between the shackle of the padlock and the body of the padlock. This lock may be vulnerable to shimming!</figcaption></figure><p>As pictured above, I found a lock in my collection that is very likely vulnerable to shimming.</p><p>This was the lock model — <strong>The one you receive may not be vulnerable</strong>. I have also found that several transparent acrylic “practice” locks I have are vulnerable to this bypass.</p><p><a href="https://a.co/d/4mrPygp">https://www.amazon.com/gp/product/B09MTF9MCV/ref=ppx_yo_dt_b_search_asin_image?ie=UTF8&amp;psc=1</a></p><p><a href="https://covertinstruments.com/products/padlock-shims?_pos=1&amp;_sid=b56841ed3&amp;_ss=r">Padlock Shims - Locksmith Tools &amp; Accessories</a></p><p>When shimming a padlock, a shim or two is placed between the shackle and the body of the padlock:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cRrTXc0dMjDT9ZppN2aLcQ.jpeg" /><figcaption>Shims have been inserted on the inside of both sides of the shackle</figcaption></figure><p>It may take some side-to-side wiggling/swiveling and a good amount of downward force to get these in there. The point of the shim should be on the <em>inside</em> of the shackle. Once fully inserted, you may be able to simply pull upwards on the shackle and have the lock pop open!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n7M0CL-VZV4ZziQhP1o_tw.jpeg" /><figcaption>A padlock, opened by shimming.</figcaption></figure><p>Note the small cut-out in the left side of the shackle. This is where the shackle rests as part of the locking mechanism. Similar to the old “credit card trick” of opening “live” locked doors, we are slipping the shim between the shackle and the locking mechanism to bypass the lock entirely, eliminating the need to pick this lock and possibly waste time. <strong>More on the aforementioned door bypass later.</strong></p><p>Also note the scratches and dings on the inside of the lock body where the shackle goes; <strong>this method can cause slight damage to a lock</strong>. Shims themselves are also not bulletproof. They must be thin and slightly flexible to fit in this space, and may break after one or two uses, or break easily if an improper size of shim is used for the lock.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*94aC77nN9wk9XegDbUEWFg.jpeg" /><figcaption>Padlock shims come and go. Buy in bulk!</figcaption></figure><h3><strong>Shank/Pawl Bypass — Padlock Bypass</strong></h3><p>A shank bypass involves using a thin, straight tool to reach to the back of the lock and pull the pawl holding the hasp/shackle down. Often you will need to push the hasp in towards the body of the lock.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/268/1*TKciFWr1oRDzVqN1D0MHkw.gif" /><figcaption>A video of the motion needed; at the end you can see the pawl retract away from the shackle. The acrylic lock pictured is NOT vulnerable to this bypass, but serves to illustrate the internal action we’re trying to accomplish.</figcaption></figure><p>Some <strong>combination locks</strong> are vulnerable to a very similar attack with a very similar tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m-vibRrzONvgthozxtdQnQ.jpeg" /><figcaption>The bypass driver on my Covert Companion</figcaption></figure><p>A rather thin tool with a “C”-shaped head is inserted in the lock between the body of the lock and (typically) the first or third combination wheel. You are feeling for a small bar on the inside and lifting upwards, relative to the position of the wheels.</p><p>One I obtain a vulnerable lock I will update this section with pictures!</p><p>Not all padlock are vulnerable to the aforementioned bypasses, so basic SPP and raking should be practiced exhaustively. You’ll always need another plan if the current attack method fails. <strong>But what if your barrier to entry is not a padlock at all?</strong></p><h3>Door bypasses</h3><h3>Push-bar bypass and Thumb-Turn deadbolt bypass with J-Tool — Commercial door bypass</h3><p>A successful entry from a recent physical pentest of mine!</p><p>Typically used to turn a deadbolt from the outside, this can also be used to pull open a “push-to-exit” door from the outside! This commercial door has quite the gap, a push bar to exit, and a deadbolt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*tb56U_wHvmmWaOzd7tk_DQ.png" /><figcaption>Push-bar on a poorly-spaced commercial door</figcaption></figure><p>After raking the lock for the lower deadbolt (it opened after about 3 seconds of work), I still couldn’t pull to open this door. I tried to slip the latch, but the latch was poorly lubricated, old, and wasn’t budging with limited leverage and a mini-jim tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BqmziFHy1zSvtd-qjDo2og.jpeg" /><figcaption>J-Tool (Covert Instruments)</figcaption></figure><p>On observing the push bar, I pulled on the door to the right and pushed on the door to the left to widen the gap, slipped the J-tool in between, positioned it over the push bar, and pulled backwards. The door popped right open! This could also easily work on man-gates with similar construction.</p><p>Again, and as you can see in the picture, this tool is <em>intended</em> for a different purpose. It can turn the thumb-turn deadbolt of a commercial door from the outside as well. The bottom half of the handle rotates and turns the two-prong bit on the end. The tip is very flat as to make passing the tool through a door easy.</p><h3>Latch Slipping — Door Bypass</h3><p>Slipping a latch is mechanically very similar to how we performed the padlock shim slipping bypass earlier — we’re getting a tool between the actual locking mechanism and a part of the lock that will move when force is applied. This is likely the <strong>latch bolt</strong>, the angled part of the bolt that retracts as the door is closed due to the curved angle of the strike plate. When it reaches its resting position, it will slide into the strike plate, which covers a recessed cavity in the door. In the case of a door, we’re sliding, or “slipping”, a Jim tool downwards between the latch and the “Strike Plate”. This works well if your tool can access the angled part of the latch bolt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/1*21Q2_LF4nNLcUwm_Vm_RQQ.png" /><figcaption>An angled latch bolt</figcaption></figure><p>A small amount of terminology may need to be explained everything:</p><p><strong>“Live” Door</strong> — A door that can open from one side in it’s locked state, but not the other. The “live” handle will open the lock when pulled downwards (or upwards, if installed upside-down), but the “dead” handle will not. In a similar vein:</p><p><strong>“Live” Bolt </strong>— A bolt that can be moved with force; it will also retract when the live handle is pulled downwards.</p><p><strong>“Dead” Bolt </strong>— You likely have this above your home’s front door handle. A “Dead” bolt, when properly installed and fully extended, cannot be moved with direct contact to the bolt. <em>(I may cover deadbolt “walking” later, an attack that can be performed against improperly installed OR not fully-latched deadbolts)</em></p><p><strong>Jim Tool</strong> — Ever seen a movie where a character uses a credit card or something similar to slide locked door open? Same concept. A tool that is “slipped” in between a live bolt and the strike plate, to open the door without attacking the keyway. Please read the mechanical usage in the previous paragraph.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LCjZcEixJP-_gembEFVKHg.png" /><figcaption>I have two Jims in my main case; One Sparrows Flex Pass and one Jim from the Sparrows Dark Shift Expansion Set, both visible on the top left.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*ojW4SEg4IbojGtRjDRW8eA.gif" /><figcaption>Latch Slipping demonstration</figcaption></figure><p>A flexible tool, in the case here my Sparrows Flex Pass was slipped behind the curved latch bolt for this door. It is pulled downwards, which can take some force. Depending on the age of the door, this can be very difficult. When working with old locks/keyways or old latches, a small can of WD-40 goes a long way!</p><h3>Deadbolt “Walking” — Door Bypass</h3><p>If a deadbolt has been improperly installed (not enough space to fully extend) OR improperly latched, this attack can work! It is slightly time-consuming, but invaluable. You may be able to use a mini-jim with a handle to perform this attack, but it is commonly done with a thin knife.</p><p>A deadbolt is only “dead” if it has been fully extended. There will be a *click* at the point of fully extension. To be clear, this attack only works when the deadbolt is “live” and hasn’t been properly installed or fully extended.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*gNCX59vRFDx11DX3fJY2Ww.gif" /><figcaption>A video example of me “walking” a residential deadbolt. This is being performed from the inside for instructional purposes; this door is not vulnerable from the outside, and the thumb-turn wouldn’t be visible.</figcaption></figure><p>The tip of the knife is placed against the furthest left part of the deadbolt (for this video example), pressed in, and rotated right, away from the frame, and then released. Start from the left again! The process is repeated until the deadbolt is fully open. It can take a while, depending on how much room you have between the door and the frame, or how much area of the deadbolt you are able to move per “walk”.</p><p>Using this method may cause minimal scratching to a deadbolt. It requires a moderate amount of force to do it correctly. However, applying excessive force will likely damage your knife. If you prefer to damage the edge rather than the tip, you can use the knife’s edge on top of the deadbolt instead of the side facing the attacker, following the same process. This assumes you have enough space between the door and the frame.</p><h3>Hinge Pin Removal — Door Bypass</h3><p>If the hinges (where the pin is housed) for the target door are facing the attacker, they have been installed on the wrong side and the door is likely vulnerable. While this attack is usually performed with a punch tool and a hammer, there are some spring-loaded hinge pin removal tools available that are compact, and don’t require a hammer, which saves valuable space and reduces weight in your bag.</p><p><a href="https://a.co/d/hXa37yk">https://a.co/d/hXa37yk</a></p><p>This attack is pretty self-explanatory. Start using the tool or a punch and a hammer from under the hinge. If you see the hinge pin rising, you’re making progress. Some hinges are NOT vulnerable to this attack, and have hinge-pin retention screws.</p><p>As it’s not very easy to re-hang a door with one person, <strong>this bypass is best done with a teammate.</strong> It can be damaging to the pins or the hinges if performed improperly, so caution should be taken!</p><h3>That’s it…for now</h3><p>While there are other bypasses I could speak of, I strongly prefer to only speak to techniques and tools I have used myself so I’ll be updating this article or making a part 2 at a later time. Please ask any questions you may have in the comments!</p><p>Thank you all for reading!</p><p>-Foxx</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c5872f7860a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My DFIR Process — Windows Forensics and Malware Analysis — WinTransfer.exe aka All.exe]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@FoxxCB/my-dfir-process-windows-forensics-and-malware-analysis-wintransfer-exe-aka-all-exe-f0828ac2b66a?source=rss-566ded14292b------2"><img src="https://cdn-images-1.medium.com/max/1062/1*-V0-lVw06Jn0k0JfpPoG3A.png" width="1062"></a></p><p class="medium-feed-snippet">I was recently contracted to perform a forensic investigation of a home PC for a client who was socially engineered into allowing a&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@FoxxCB/my-dfir-process-windows-forensics-and-malware-analysis-wintransfer-exe-aka-all-exe-f0828ac2b66a?source=rss-566ded14292b------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@FoxxCB/my-dfir-process-windows-forensics-and-malware-analysis-wintransfer-exe-aka-all-exe-f0828ac2b66a?source=rss-566ded14292b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0828ac2b66a</guid>
            <category><![CDATA[malware-analysis]]></category>
            <category><![CDATA[forensics]]></category>
            <category><![CDATA[malware]]></category>
            <category><![CDATA[dfir]]></category>
            <category><![CDATA[scam]]></category>
            <dc:creator><![CDATA[Foxx C-B]]></dc:creator>
            <pubDate>Mon, 15 Apr 2024 23:30:00 GMT</pubDate>
            <atom:updated>2024-04-15T23:30:00.327Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How to get started in Bug Bounty in 2024!]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@FoxxCB/how-to-get-started-in-bug-bounty-in-2024-708754094de9?source=rss-566ded14292b------2"><img src="https://cdn-images-1.medium.com/max/1024/1*pfOxHqX1ZS9K7lZ0jeuSJA.jpeg" width="1024"></a></p><p class="medium-feed-snippet">A list of all my current favorite educational resources for Bug Bounty!</p><p class="medium-feed-link"><a href="https://medium.com/@FoxxCB/how-to-get-started-in-bug-bounty-in-2024-708754094de9?source=rss-566ded14292b------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@FoxxCB/how-to-get-started-in-bug-bounty-in-2024-708754094de9?source=rss-566ded14292b------2</link>
            <guid isPermaLink="false">https://medium.com/p/708754094de9</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <dc:creator><![CDATA[Foxx C-B]]></dc:creator>
            <pubDate>Sun, 24 Mar 2024 18:18:23 GMT</pubDate>
            <atom:updated>2024-03-24T18:26:42.332Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[HTB CTF Cyber Apocalypse 2024 Phreaky Write-up — Medium Difficulty Forensics challenge]]></title>
            <link>https://medium.com/@FoxxCB/htb-ctf-cyber-apocalypse-2024-phreaky-write-up-medium-difficulty-forensics-challenge-b6acb2463cbf?source=rss-566ded14292b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6acb2463cbf</guid>
            <category><![CDATA[hackthebox]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[hackthebox-writeup]]></category>
            <category><![CDATA[infosec]]></category>
            <dc:creator><![CDATA[Foxx C-B]]></dc:creator>
            <pubDate>Thu, 14 Mar 2024 17:46:51 GMT</pubDate>
            <atom:updated>2025-01-17T17:57:04.938Z</atom:updated>
            <content:encoded><![CDATA[<h3>HTB CTF Cyber Apocalypse 2024 Phreaky Write-up — Medium Difficulty Forensics challenge</h3><p>Phreaky was a medium difficulty Forensics challenge in Hack The Box’s Cyber Apocalypse 2024 CTF, and my first experience reconstructing attachments by ripping them from SMTP packets! Let’s get into the details:</p><p>When we extract the challenge zip we are given phreaky.pcap to analyze:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/121/1*k57_NluJF4Z_MCRRnIaWFw.png" /></figure><p>After 2,750 packets of fluff, we start to get into the interesting parts of this packet capture file. We can see emails being sent from caleb@thephreaks.com to resources@thetalents.com:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OvhS_jG5r5lxabtu62v2xA.png" /></figure><p>The size of this packet should be eye-catching to the analyst. It is 1514 bytes in size with a large payload that is easily recognizable at first glace as base64, WITH a password in the subject line. Right click on any packet in this stream&gt;follow&gt;TCP Stream reveals the email in its entirety, and some information about the format of the attachment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*Rd5GKtUHixagcLP8Y6Ek9g.png" /></figure><p>Next, we copy the large base64-encoded body below the Content-ID and paste it to a file on our attacker workstation. I saved it as a file called pt1.b64 for easy recognition. Copy the password as well, as you will need it later.</p><p>We know from the TCP stream that this base64 encoded payload is in fact a .zip file once decoded, so simply cd into your working directory for this challenge and run:</p><pre>base64 -d pt1.b64 &gt; pt1.zip</pre><p>This will base64 decode the payload and output it into a .zip file as caleb@thephreaks.com intended! Once we open this file, we can see a .pdf titled “phreaks_plan.pdf.part1”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*k41UEDXHC34Eo_z-o3mfFg.png" /></figure><p>When we try to drag this file out of the zip archive, we are prompted for the password from earlier. Alt-tab back to Wireshark and copy the password, and paste it above. Part 1 is complete!</p><p>We now have a PDF file that the system recognizes as a .pdf due to <a href="https://en.wikipedia.org/wiki/List_of_file_signatures">Magic Bytes</a>. However, it is incomplete. There are 15 emails in the capture we need to repeat the above process for so that we have all 15 parts of this pdf ready to assemble.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*oWMD0stONDUl9AMF1E0V8Q.jpeg" /></figure><p>After following 15 TCP streams, copying and decoding the base64-encoded .zip files, I have a hell of a lot of files in my working directory. But it is time for our last major step; assembling the parts into a PDF!<br>Our current .pdf.part files are really just text files that need to be combined. I really didn’t want to do this by hand, so I scripted it!</p><pre>for i in range(1, 16): #one for each pdf.part<br>    print(f&quot;phreaks_plan.pdf.part{i}&quot;)</pre><p>then:</p><pre>python3 print.py &gt; files.txt</pre><p>Looping through these filenames and cat-ing out the contents for each line in files.txt can be done by this assemble.sh script:</p><pre>#!/bin/bash<br><br>if [ ! -f files.txt ]; then<br>    echo &quot;Error: files.txt not found.&quot;<br>    exit 1<br>fi<br><br>if [ ! -f phreaks_plan.pdf ]; then<br>    touch phreaks_plan.pdf<br>fi<br><br>while IFS= read -r filename; do<br>    if [ -f &quot;$filename&quot; ]; then<br>        cat &quot;$filename&quot; &gt;&gt; phreaks_plan.pdf<br>        echo &quot;Content of $filename appended to phreaks_plan.pdf&quot;<br>    else<br>        echo &quot;Error: $filename not found.&quot;<br>    fi<br>done &lt; files.txt<br><br>echo &quot;All files processed.&quot;</pre><pre>chmod +x assemble.sh #to make above script executable</pre><p>then run assemble.sh as root.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*XYCMY6DS6Xq4feAdBGhwMQ.png" /></figure><p>You now have appended phreaks_plan.pdf with the contents of all 15 parts. Simply open the PDF to retrieve the flag!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/838/1*DxrVseb3mC-cEEKArEn-gw.png" /></figure><p>This challenge was my favorite that I solved due to how much I learned. Extracting multiple parts of one file by ripping them from TCP streams was a load of fun and I can’t wait for HTB’s next public CTF!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6acb2463cbf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mitigate Zoom CVE-2024–24691]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@FoxxCB/mitigate-zoom-cve-2024-24691-1d639dff7ab7?source=rss-566ded14292b------2"><img src="https://cdn-images-1.medium.com/max/690/1*nSIg8TvnRuJGC44O-j4q-A.png" width="690"></a></p><p class="medium-feed-snippet">Mitigating Zoom CVE-2024&#x2013;24691</p><p class="medium-feed-link"><a href="https://medium.com/@FoxxCB/mitigate-zoom-cve-2024-24691-1d639dff7ab7?source=rss-566ded14292b------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@FoxxCB/mitigate-zoom-cve-2024-24691-1d639dff7ab7?source=rss-566ded14292b------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d639dff7ab7</guid>
            <category><![CDATA[zoom]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[sysadmin]]></category>
            <dc:creator><![CDATA[Foxx C-B]]></dc:creator>
            <pubDate>Thu, 15 Feb 2024 18:16:42 GMT</pubDate>
            <atom:updated>2024-03-06T19:56:21.849Z</atom:updated>
        </item>
    </channel>
</rss>