<?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 Aalok Tomer on Medium]]></title>
        <description><![CDATA[Stories by Aalok Tomer on Medium]]></description>
        <link>https://medium.com/@aaloktomer8?source=rss-09345c207a3f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wamfDQbuUvbM3xyY65YyJg.jpeg</url>
            <title>Stories by Aalok Tomer on Medium</title>
            <link>https://medium.com/@aaloktomer8?source=rss-09345c207a3f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 12:06:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aaloktomer8/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[Hacking ATM’s in Movies vs. Reality: How Much is Hollywood Lying?]]></title>
            <link>https://medium.com/@aaloktomer8/hacking-atms-in-movies-vs-reality-how-much-is-hollywood-lying-5ca2ef4eb4d0?source=rss-09345c207a3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ca2ef4eb4d0</guid>
            <dc:creator><![CDATA[Aalok Tomer]]></dc:creator>
            <pubDate>Mon, 10 Feb 2025 12:18:05 GMT</pubDate>
            <atom:updated>2025-02-10T12:18:05.547Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Introduction: The Hollywood Fantasy</strong></h3><p>In movies, ATMs have always been a popular target for hackers. Hollywood has made ATM hacking appear simple, whether it involves a hacker inserting a secret USB to get control or entering a magic code to make the machine vomit forth cash. How much of it is real, though?</p><p>In order to determine how accurate — or absurd — Hollywood’s depiction of ATM hacking is, we will dissect well-known ATM hacking scenarios from films and television series and contrast them with actual hacking methods.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*ONp3zB5kqTWBBcgPOGqtJQ.png" /></figure><p><strong>Movie ATM Hacks: Breaking Down the Myths</strong></p><p>Hollywood enjoys making hacking appear simple, but let’s check to see if any of these well-known methods could truly be effective:</p><ol><li><strong>USB Malware Attack (The “Jackpot” Myth)</strong></li></ol><p><strong>Movie Version:</strong> A hacker inserts a USB into an ATM, types some commands, and suddenly, money starts pouring out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*pVQYssNK7Tc62u0Lfq_hvA.jpeg" /></figure><p><strong>Reality:</strong> This technique, called <strong>jackpotting</strong>, is real but not as easy as it looks in movies. In actual cases:</p><ul><li>Hackers install malware onto an ATM’s operating system (usually running Windows).</li><li>The malware tricks the machine into dispensing cash continuously.</li><li>However, modern ATMs have <strong>tamper-proof systems</strong> to prevent unauthorized USB access.</li></ul><p><strong>Real Case:</strong> In 2018, a group of hackers successfully used jackpotting in the U.S. to steal cash from ATMs using a malware called <strong>Ploutus-D</strong>.</p><p><strong>2. Brute Force PIN Guessing (The “0000 Trick”)</strong></p><p>Movie Version: After entering a few arbitrary PINs, the hacker gains access to a bank account in a matter of seconds.</p><p><strong>Reality:</strong></p><ul><li>Most banks have <strong>PIN retry limits</strong> (3–5 wrong attempts before the card is locked).</li><li>Banks use <strong>encryption</strong> to protect PINs, making brute force attacks unrealistic.</li><li>However, weak passwords <strong>(1234, 0000, 1111)</strong> can still be exploited, which is why some attacks on stolen card databases work.</li></ul><p><strong>Real Case:</strong> In 2012, Mexican hackers took out $2 million by guessing weak PINs and using stolen debit card information.</p><p><strong>3. Magnetic Strip Cloning (The “Easy Card Clone”)</strong></p><p><strong>Movie Version:</strong> A hacker makes a phony ATM card by swiping a card through a tiny device and copying the information.</p><p><strong>Reality:</strong> This is <strong>real</strong>, but with limitations:</p><ul><li><strong>Skimming devices</strong> can be attached to ATM card readers to steal magnetic stripe data.</li><li>The hacker needs to <strong>capture the PIN separately</strong> (using a hidden camera or a fake keypad).</li><li>Most modern cards use <strong>chip-and-PIN (EMV)</strong>, which makes cloning harder (but not impossible).</li></ul><p><strong>Real Case:</strong> A hacking group in Europe used <strong>skimmers and tiny cameras</strong> on ATMs to steal card details and withdraw <strong>millions of euros</strong> before they were caught.</p><p><strong>4. Over-the-Air Remote Hacks (The “Wireless Takeover”)</strong></p><p><strong>Movie Version:</strong> With a laptop in hand, a hacker remotely connects to an ATM and gains complete control.</p><p><strong>Reality:</strong></p><ul><li><strong>Old ATMs connected via insecure networks</strong> were once vulnerable to <strong>man-in-the-middle attacks</strong>.</li><li>However, modern ATMs use <strong>encrypted VPNs</strong>, making this attack nearly impossible today.</li></ul><p><strong>Real Case:</strong> In 2017, Russian hackers breached ATM networks <strong>remotely</strong>, modifying withdrawal limits and draining accounts.</p><h3><strong>How ATM’s Actually Work</strong></h3><p>Let’s first examine how ATMs work before moving on to actual hacks:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/555/1*L4HhaZ22R5nlh4_BHbuctg.jpeg" /></figure><p><strong>1. The Hardware Components</strong></p><ul><li><strong>Card Reader</strong> — Reads magnetic stripes and EMV chips.</li><li><strong>PIN Pad</strong> — Encrypted keypad for secure PIN entry.</li><li><strong>Cash Dispenser</strong> — The part that holds and releases money.</li><li><strong>Network Connection</strong> — Connects to banks via the internet or dedicated lines.</li></ul><p><strong>2. Security Features in Modern ATMs</strong></p><p>To prevent attacks, banks have introduced:</p><ul><li><strong>Chip-and-PIN (EMV)</strong> — Harder to clone than magnetic stripes.</li><li><strong>End-to-End Encryption</strong> — Protects PINs and transactions.</li><li><strong>Tamper Detection</strong> — Shuts down ATMs if unauthorized access is detected.</li><li><strong>Anti-Skimming Tech</strong> — Disrupts skimmers using jamming signals.</li></ul><h3>Real ATM Hacks That Actually Happened</h3><p><strong>Hollywood might exaggerate things, but here are some real ATM hacks:</strong></p><ol><li><strong>Attacks by Jackpotting (The Cash Spitting ATM)</strong></li></ol><ul><li>To force ATMs to dispense all cash, hackers infected them with malware.</li><li>Cybercriminals use it globally, but particularly in the U.S. and Europe.</li><li><strong>Countermeasure:</strong> To identify questionable ATM activity, banks are now using AI.</li></ul><p><strong>2. Security Features in Modern ATMs</strong></p><ul><li>While shimmers target chip cards, skimmers collect data from magnetic strips.</li><li>frequently used to steal PINs using phony keypads or webcams.</li><li><strong>Countermeasures:</strong> include anti-skimming devices and contactless payments.</li></ul><p><strong>3. Black-Box Attacks (Bypassing ATM Software)</strong></p><ul><li>Hackers attach a “black box” — an external device — to the cash dispenser of an automated teller machine.</li><li>makes the machine release money by sending fictitious signals.</li><li><strong>Countermeasures:</strong> To identify illegitimate commands, ATMs now communicate encryptedly.</li></ul><h3>Can You Hack an ATM Today? (Without Getting Arrested?)</h3><p><strong>Ethical ATM Hacking &amp; Penetration Testing</strong></p><ul><li>Many cybersecurity researchers <strong>test ATM security legally</strong> by working with banks.</li><li>Ethical hackers use <strong>penetration testing tools</strong> to find vulnerabilities and help improve security.</li></ul><p><strong>How Banks Protect Against Hackers</strong></p><ul><li><strong>Updating ATM software regularly</strong> to patch vulnerabilities.</li><li><strong>Using AI-powered fraud detection</strong> to identify suspicious transactions.</li><li><strong>Biometric authentication</strong> (like fingerprint scanners) to improve security.</li></ul><h3>Conclusion: Hollywood vs. Reality</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*l6nY25YsyV_4pukRfAELnw.png" /></figure><h3>Final Thoughts</h3><ul><li>Hollywood <strong>exaggerates ATM hacking</strong> for dramatic effect, but some techniques are real.</li><li>Banks have <strong>advanced security measures</strong>, but hackers constantly evolve.</li><li>Ethical hacking helps improve ATM security, making it harder for cybercriminals to succeed.</li></ul><h3>What Can You Do to Stay Safe?</h3><ul><li>Use <strong>chip-based cards</strong> and avoid old magnetic stripe cards.</li><li>Check ATMs for <strong>hidden cameras or skimmers</strong> before inserting your card.</li><li>Use <strong>mobile payments</strong> or contactless cards when possible.</li><li>Monitor bank statements for <strong>suspicious transactions</strong>.</li></ul><p><strong>So, the next time you see someone hack an ATM in 10 seconds in a movie, you’ll know the truth! What’s the craziest ATM hack you’ve seen in a movie? Let me know in the comments!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ca2ef4eb4d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hacking on a Budget: Building a Rubber Ducky with Raspberry Pi Pico]]></title>
            <link>https://medium.com/@aaloktomer8/hacking-on-a-budget-building-a-rubber-ducky-with-raspberry-pi-pico-8233a0497d8f?source=rss-09345c207a3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/8233a0497d8f</guid>
            <dc:creator><![CDATA[Aalok Tomer]]></dc:creator>
            <pubDate>Fri, 07 Feb 2025 07:32:16 GMT</pubDate>
            <atom:updated>2025-02-07T07:32:16.023Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction </strong><br>You’ve undoubtedly heard of the Hak5 Rubber Ducky, a potent tool that automates keystroke injection for penetration testing, if you’ve ever wanted to try out USB HID assaults. But the original Rubber Ducky can cost a lot of money.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*LyAHVdIfRJC19dAGYtof0Q.png" /><figcaption>Comparison Raspberry Pi Pico and a Hak5 Rubber Ducky</figcaption></figure><p>Good news! A Raspberry Pi Pico, a small microcontroller that is inexpensive and powerful in terms of automation and ethical hacking, can be used to create a do-it-yourself Rubber Ducky.</p><p>I’ll show you how to transform a Raspberry Pi Pico into a USB Rubber Ducky in this tutorial, so you can automate keystrokes and run payloads like the real thing.</p><h3>What is a USB Rubber Ducky?</h3><p>A <strong>USB Rubber Ducky</strong> is a device that looks like a regular USB flash drive but acts as a <strong>keyboard</strong>, injecting pre-programmed keystrokes at high speed. This makes it useful for penetration testers to test system security by executing commands, opening backdoors, or exfiltrating data.</p><p>A Raspberry Pi Pico can <strong>mimic a keyboard (HID device)</strong> and execute scripts when plugged into a target machine, making it a perfect budget-friendly alternative.</p><h3>What You’ll Need</h3><h4>Hardware Requirements</h4><ul><li>Raspberry Pi Pico (or Pico W)</li><li>Micro USB cable</li><li>A computer (Windows, Linux, or macOS)</li><li>(Optional) A case or enclosure</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WNACVHt7jGRB1FX5zp7ouA.jpeg" /></figure><h4>Software Requirements</h4><ul><li>CircuitPython for Raspberry Pi Pico</li><li>Adafruit HID library</li><li>A text editor (VS Code, Thonny, or any Python-compatible editor)</li></ul><h3>Step 1: Setting Up the Raspberry Pi Pico</h3><h4>Install CircuitPython on Raspberry Pi Pico</h4><ol><li>Download the latest CircuitPython UF2 file for Raspberry Pi Pico from <a href="https://circuitpython.org/">CircuitPython’s official site</a>.</li><li>Connect the Pico to your PC while holding the BOOTSEL button.</li><li>A new drive named RPI-RP2 should appear.</li><li>Drag and drop the UF2 file onto this drive.</li><li>The Pico will reboot and mount as a CircuitPython drive (CIRCUITPY).</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tbzdyCgWNX8GMuTGWXm21Q.png" /><figcaption>CircuitPython download page</figcaption></figure><h4>Install Adafruit HID Library</h4><ol><li>Download the <strong>Adafruit CircuitPython HID library</strong> from <a href="https://github.com/adafruit/Adafruit_CircuitPython_HID">Adafruit’s GitHub</a>.</li><li>Extract the ZIP file and find the adafruit_hidfolder.</li><li>Copy this folder to the lib directory inside the CIRCUITPY drive.</li></ol><h3>Step 2: Writing the Payload Script</h3><p>Now, let’s write a simple script that <strong>opens Notepad and types a message</strong> automatically.</p><ol><li>Open a text editor and create a new Python file (code.py).</li><li>Copy and paste the following script:</li></ol><p><strong>import time<br>import usb_hid<br>from adafruit_hid.keyboard import Keyboard<br>from adafruit_hid.keycode import Keycode</strong></p><p><strong>kbd = Keyboard(usb_hid.devices)</strong></p><p><strong>time.sleep(2) # Give time for the device to be recognized</strong></p><p><strong># Open Notepad (Windows)<br>kbd.send(Keycode.GUI, Keycode.R)<br>time.sleep(0.5)<br>kbd.send(Keycode.N, Keycode.O, Keycode.T, Keycode.E, Keycode.P, Keycode.A, Keycode.D)<br>kbd.send(Keycode.ENTER)<br>time.sleep(1)</strong></p><p><strong># Type a message<br>kbd.send(Keycode.H, Keycode.E, Keycode.L, Keycode.L, Keycode.O)<br>kbd.send(Keycode.SPACE)<br>kbd.send(Keycode.W, Keycode.O, Keycode.R, Keycode.L, Keycode.D)<br>kbd.send(Keycode.ENTER)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jS5NmfESgUZMlG6ZAYRZLQ.png" /></figure><h3>Step 3: Creating Advanced Payloads</h3><p>Now that you have a basic script, you can experiment with more advanced <strong>hacking techniques</strong>:</p><p><strong>Reverse Shell Execution</strong> — Automate command execution to open a shell.<br><strong>WiFi Password Stealer</strong> — Retrieve saved WiFi credentials from Windows.<br><strong>Exfiltrating Data</strong> — Copy files to a remote server.<br><strong>Keystroke Logger</strong> — Capture user keystrokes for security testing.</p><p>An example of an advanced payload that launches PowerShell and runs a command is as follows:</p><p><strong>kbd.send(Keycode.GUI, Keycode.R) <br>time.sleep(0.5) <br>kbd.send(Keycode.P, Keycode.O, Keycode.W, Keycode.E, Keycode.R, Keycode.S, Keycode.H, Keycode.E, Keycode.L, Keycode.L) <br>kbd.send(Keycode.ENTER) <br>time.sleep(1) <br>kbd.send(Keycode.C, Keycode.M, Keycode.D) <br>kbd.send(Keycode.ENTER)</strong></p><h3>Ethical Considerations</h3><p>⚠️ <strong>Important</strong>: This project is meant for <strong>educational and ethical hacking purposes only</strong>. Misuse of these techniques for unauthorized access or malicious activities is illegal. Always have <strong>permission</strong> before testing on any system!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XyQZqEBmB7ox7AN2WifNqQ.png" /><figcaption>WARNING</figcaption></figure><h3>Conclusion</h3><p>With a <strong>Raspberry Pi Pico</strong>, some simple Python scripts, and a little creativity, you can build your own <strong>USB Rubber Ducky</strong> at a fraction of the cost. Whether you’re a cybersecurity student, ethical hacker, or just love tinkering with hardware, this is a great budget-friendly way to explore <strong>USB HID attacks</strong> and <strong>automation</strong>.</p><p>💬 <strong>What do you think?</strong> Have you tried building a Rubber Ducky with a Raspberry Pi Pico? Drop your thoughts in the comments!</p><p>🔗 <strong>Follow me for more hacking projects and cybersecurity content.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8233a0497d8f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>