<?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 Dedi Husni @dedsec on Medium]]></title>
        <description><![CDATA[Stories by Dedi Husni @dedsec on Medium]]></description>
        <link>https://medium.com/@husnidedi436?source=rss-55f51bd95784------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*98VU4qcfiwWtVNQ-X4ksJQ.jpeg</url>
            <title>Stories by Dedi Husni @dedsec on Medium</title>
            <link>https://medium.com/@husnidedi436?source=rss-55f51bd95784------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 21:42:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@husnidedi436/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[Unveiling the WinPot ATM Jackpotting Kill Chain A Reverse Engineering Analysis]]></title>
            <link>https://medium.com/@husnidedi436/unveiling-the-winpot-atm-jackpotting-kill-chain-a-reverse-engineering-analysis-c554f7b7040a?source=rss-55f51bd95784------2</link>
            <guid isPermaLink="false">https://medium.com/p/c554f7b7040a</guid>
            <category><![CDATA[threat-hunting]]></category>
            <category><![CDATA[winpot-jackpotting]]></category>
            <category><![CDATA[reverse-engineering]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[digital-forensics]]></category>
            <dc:creator><![CDATA[Dedi Husni @dedsec]]></dc:creator>
            <pubDate>Fri, 04 Sep 2026 07:13:54 GMT</pubDate>
            <atom:updated>2026-09-07T02:16:37.128Z</atom:updated>
            <content:encoded><![CDATA[<p>Decompile specific FUNC reverse engineering and forensic analysis of a modular ATM jackpotting toolkit utilized in recent physical attacks against financial institution infrastructures. The toolkit consists of two interdependent binaries <strong>tasker.exe</strong> an environment preparation and <strong>ot1.exe</strong> the primary jackpotting payload, identified as a variant of the <strong>WinPot malware family</strong></p><p>Cybercriminal employ operational kill chain. <strong>tasker.exe</strong> is deployed first to silently neutralize USB endpoint protections and ensure OS stability. Once the environment is blinded, <strong>ot1.exe</strong> is executed to provide the on-site with a casino-slot-style graphical user interface (GUI) to directly hijack the ATM’s XFS middleware and dispense cash. Finally, tasker.exe is re-executed as a kill-switch to wipe malicious processes from memory</p><p><strong>Operational Kill Chain</strong></p><p>Based on the binary structures and execution flow, the attack follows three-phase methodology:</p><ol><li><strong>Infiltration &amp; Vanguard:</strong> breaches the ATM fascia and connects a USB drive. <strong>tasker.exe</strong> is executed to kill security monitoring without triggering a Blue Screen of Death (BSOD).</li><li><strong>Payload Execution:</strong> <strong>ot1.exe </strong>is launched, loading the WinPot GUI. Selects the target cassette and initiates the dispense command.</li><li><strong>Cleanup:</strong> After cash is collected, tasker.exe is run again to forcefully terminate ot1.exe from memory. The USB is removed, leaving the ATM in a clean, seemingly operational state</li></ol><p><strong>Malware-as-a-Service (MaaS) License</strong></p><p>The binary indicating it is distributed under a MaaS syndicate model to rogue operators.</p><p>Mechanism: Function <strong><em>FUN_004013b0</em></strong> acts as a definitive Kill-Switch. It extracts the current local time of the ATM and compares it against a hardcoded expiration date (determined during analysis to be <strong>February 10, 2026</strong>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xJljOfm9iweX_n02yJ8y1Q.png" /><figcaption>Decompile <em>FUN_004013b0 (tasker.exe)</em></figcaption></figure><p><strong>Anatomy and Operational Role</strong></p><p>Local Privilege Escalation (Kernel Exploitation) The binary executes a targeted attack <strong>CVE-2020–17087 </strong>The payload triggers a vulnerability in the Windows cryptographic driver, confirmed by the debug string Triggering the overflow in bcrypt Its sole objective is to force the ATM’s Windows OS to elevate the rogue USB program from standard User rights to NT AUTHORITY\SYSTEM</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QeLFN4u0gBxmQUBxE0kGxQ.png" /><figcaption>tasker.exe (Define strings Triggering the overflow in bcrypt)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GbiVYgL0AliFSMVIXu-eDQ.png" /><figcaption>( tasker.exe ) Decompile FUN 004015d0 : Part of the Kernel-level Local Privilege Escalation (LPE) chain. This is the definitive when the malware hijacks control of the Windows operating system from within.</figcaption></figure><p>tasker.exe functions as a dual-purpose environment sweeper and emergency kill-switch. Its primary goal is to ensure the payload can execute without interference from endpoint detection systems or causing system crashes that would trigger offline alerts.</p><p><strong>The Whitelist Evaluation (FUN_00401000) on tasker.exe</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*imBPeR6wHDDDlmku46jpFA.jpeg" /><figcaption>FUN_00401000 tasker.exe <em>local_10c</em></figcaption></figure><p><em>iVar3 = </em><strong><em>FUN_0040100</em></strong><em>0(</em><strong><em>local_10c</em></strong><em>);<br> if (iVar3 == 0) {<br> iVar3 = FUN_004010b0(local_10c);<br> if (iVar3 == 0) {</em></p><p>The <strong>local_10c </strong>variable contains the name of the currently running process. The program throws it to <strong>FUN_00401000</strong> . If the function returns 0 (no match in the list of vital Windows processes (<strong>Whitelist </strong>such as csrss.exe), execution continues to the next stage</p><p><strong>&amp;PTR_s_svchost.exe_0040c000</strong> command that instructs the program to start reading memory from address 0040c000</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gWhs6krIfA-UHYHGsKuFsg.png" /><figcaption>(tasker.exe) PTR_s_svchost.exe_0040c000</figcaption></figure><p>The memory block reveals a hardcoded list of 10 critical Windows processes that the malware explicitly shields from termination:<br> 1. svchost.exe <br> 2. dwm.exe <br> 3. csrss.exe <br> 4. wininit.exe <br> 5. services.exe <br> 6. lsass.exe <br> 7. winlogon.exe <br> 8. explorer.exe <br> 9. runtimebroker.exe <br> 10. searchindexer.exe</p><p><strong>Targeted Evasion (The Blacklist)</strong></p><p>Processes not on the whitelist are passed to a termination function <strong>(FUN_004010b0)</strong>. ​It specifically hunts and silently terminates USB protection software using TerminateProcess. Target strings identified in the binary include <strong>usbsecure.exe , usb disk security — version 2.0.exe</strong></p><p><strong>ot1.exe (The Jackpotting Payload / “WinPot”)</strong></p><p>ot1.exe is the core execution module. It does not interact with the OS kernel directly; instead, it utilizes Dynamic API Loading to hook into legitimate ATM middleware.</p><p><strong>Bridging the Execution Gap: Deconstructing the WinPot GUI</strong></p><p>Utilizing Resource Hacker on the <strong>ot1.exe </strong>payload exposes a graphical user interface (GUI) explicitly designed to abstract the complexities of API hooking away from the on-site operator.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W7n1YX63_jHP_k9L5tEy-Q.png" /><figcaption>graphical user interface (GUI) <strong>ot1.exe</strong></figcaption></figure><p><strong>The Slot Machine UX (Malware-as-a-Service)</strong><br>The interface, identified by the string caption WinPot adopts a highly visual, casino-slot-machine theme :) :) . It features four distinct “SPIN” buttons alongside a primary <strong>“SCAN”</strong> button. This UX architecture is a classic hallmark of the <strong>Malware-as-a-Service (MaaS</strong>) operational model. It drastically lowers the technical barrier to entry, allowing unskilled to execute the physical heist without needing to interact with a command-line terminal. The operator simply presses a GUI button until the physical cassette is emptied</p><p><strong>XFS Hijacking and Cash Dispensation (ot1.exe)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mdyCrZqlwIxHQt5FLs2YNA.jpeg" /><figcaption>Ghidra Decompile View Of WinPot ATM Malware Jacckpotting (Cash Dispensation ot1.exe)</figcaption></figure><p>The primary WinPot payload bridges the gap between a user-friendly graphical interface and low-level hardware manipulation. By initializing a casino-themed GUI (Dialog ID 0x64) :)) , the malware abstracts the complexities of API hooking, allowing unskilled on-site to operate the attack vector without utilizing command-line interfaces.</p><p><strong>Forensic Artifacts: Static String Analysis of ot1.exe</strong></p><p><strong>The Middleware Hitlist</strong><br>Embedded in plain text within the binary’s data section is the complete suite of targeted XFS middleware functions: <strong>CscCngOpen</strong>, <strong>CscCngStatusRead, CscCngDispense, CscCngTransport, and CscCngReset</strong>. The hardcoding of these specific API exports confirms that WinPot is not a generic destructive trojan, but a precision tool custom-engineered to interface directly with the proprietary hardware abstraction layer of specific ATM vendor models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HRafrt99V-M6OkhchL2HYg.jpeg" /><figcaption>targeted XFS middleware</figcaption></figure><p><strong><em>Defensive Implications for Financial Institutions</em></strong><br><em>The architectural sophistication of this threat — combining time-bound execution controls, dynamic XFS API resolution, and targeted security assassinations — demonstrates that legacy, signature-based endpoint protections on self-service banking terminals are insufficient. Defending against this class of physical-to-logical attack requires a defense-in-depth strategy encompassing rigorous physical USB port security, immutable application control (Zero Trust whitelisting), and behavioral monitoring capable of detecting unauthorized hooks into middleware libraries.</em></p><p><strong>Indicators of Compromise (IOCs)</strong><br>Malware-as-a-Service (MaaS) ATM campaigns, file hashes frequently change per deployment. However, the static strings, target libraries, and GUI artifacts remain consistent across the campaign.</p><p><strong>Host-Based Artifacts &amp; Strings</strong></p><p><strong>Targeted Assassination (Blacklist Strings):</strong><br><em>usb disk security — version 2.0<br>usbsecure.exe<br>ot1.exe</em></p><p><strong>Self-Preservation (Whitelist Strings):</strong><br><em>svchost.exe, dwm.exe, csrss.exe, wininit.exe, services.exe, lsass.exe, winlogon.exe, explorer.exe, runtimebroker.exe, searchindexer.exe</em></p><p><strong>File Hashes (MD5):</strong></p><p><em>ot1.exe : 8fbaec1101254d6acbe2346f1748808d</em></p><p><em>tasker.exe : 95819f17e68b48fa2cc1793bb8ee5305</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c554f7b7040a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unmasking BeaverTail: A Forensic Deep Dive into the Lazarus Group’s Fake Recruiter Campaign (APT38)]]></title>
            <link>https://medium.com/@husnidedi436/unmasking-beavertail-a-forensic-deep-dive-into-the-lazarus-groups-fake-recruiter-campaign-apt38-db38141327f1?source=rss-55f51bd95784------2</link>
            <guid isPermaLink="false">https://medium.com/p/db38141327f1</guid>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[malware-analysis]]></category>
            <category><![CDATA[lazarus]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Dedi Husni @dedsec]]></dc:creator>
            <pubDate>Fri, 21 Aug 2026 08:36:36 GMT</pubDate>
            <atom:updated>2026-08-21T08:36:36.244Z</atom:updated>
            <content:encoded><![CDATA[<p>The Lazarus Group (APT38) is escalating its attacks on the Web3 and cryptocurrency sectors through highly sophisticated social engineering campaigns. By masquerading as tech recruiters on LinkedIn, these state-sponsored threat actors trick developers into cloning weaponized GitHub repositories.This report unpacks their infection chain: a stealthy <strong>Node.js dropper (BeaverTail) </strong>cleverly concealed within a standard <strong>tailwind.config.js </strong>file, which paves the way for the devastating InvisibleFerret infostealer. Read on for a complete forensic breakdown of their Tactics, Techniques, and Procedures (TTPs) alongside actionable Indicators of Compromise (IoCs) and YARA rules</p><p><strong>The Bait: Fake Repositories</strong></p><p>The attack initiates through threat actor outreach on LinkedIn, posing as tech recruiters. Enticed victims are instructed to clone a GitHub repository <strong>hxxps://github[.]com/michalcaladanxyz/caladanecomvp.git </strong>to complete a technical test.<em> Repository github already take down by github</em> .At a glance the project structure looks highly convincing :</p><p>The <strong>README.md </strong>file describes the <strong>Caladanecomvp-project </strong>as a full-stack Web3 application featuring a React/TypeScript frontend and Node.js/Express backend</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CikjF5QnzPe7It1YjHdulQ.png" /><figcaption>README.md Caladanecomvp-project</figcaption></figure><p>In the package-lock.json file (named “Lumanagi-eco-mvp2”), there are legitimate cryptocurrency library dependencies such as <strong>ethers </strong>and<strong> axios</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*gEZRyQRT9lQy2OsxRxkJxg.png" /><figcaption>package-lock.json Lumanagi-eco-mvp2</figcaption></figure><p><strong>The Silent Dropper: tailwind.config.js</strong></p><p>​The actual malware injection (BeaverTail) is hidden in a highly unexpected location: <strong>tailwind.config.js</strong>. This configuration file contains heavily obfuscated JavaScript designed to automatically execute when the victim runs standard commands like <strong>npm run start </strong>or <strong>npm run build</strong></p><p>Static analysis using a code beautifier revealed a highly specific decryption scheme:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a341jrn5oshdU72ds26mkQ.png" /><figcaption>tailwind.config.js</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WozxW3BeNPberbamZrPZ7w.png" /><figcaption>two strange strings</figcaption></figure><p>A string <strong>NDcuMTc1MzguOTIu====</strong> was found. After being rearranged through custom functions and base64-decoded, it points to the Command and Control (C2) <strong>IP: 38.92.47[.]175</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uFuKa9asQ0f7b0wrxDcc2w.png" /><figcaption>string NDcuMTc1MzguOTIu====</figcaption></figure><p>Another string <strong>MTEuMTk5NDUuNDMu====</strong>, was extracted and reassembled into the primary C2 <strong>IP: 45.43.11[.]199</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/619/1*U-7Q9DAro0Yy9F6HeYitkQ.png" /><figcaption>string <strong>MTEuMTk5NDUuNDMu====</strong></figcaption></figure><p>This Living off the Land (LotL) technique ensures the malicious IPs remain undetected by traditional Antivirus or EDR solutions during static scanning.</p><p><strong>Execution &amp; InvisibleFerret Infostealer</strong></p><p>Upon execution, <strong>tailwind.config.js </strong>process profiles the victim’s endpoint (checking OS, hardware, and username) and beacons to [http://45.43.11](http://45.43.11)[.]199:1244/s/90284f2a56f2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c5M1iukSh7tOExHGCe7TJA.png" /><figcaption>execution, <strong>tailwind.config.js</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SiKA2Rq7BXiT8bMArDFjEQ.png" /><figcaption>ZT3NjcuMjAzLjcuMjA1LFpVMVJJT2s5</figcaption></figure><p>Network traffic analysis uncovered a memory text snippet: <strong>ZT3NjcuMjAzLjcuMjA1LFpVMVJJT2s5</strong>. Removing the ZT3 key and decoding the rest reveals a secondary C2 IP (67.203.7[.]205) and a Campaign ID Token (ZU1RIOk9)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jmQ1pEheMLR4thCY4bzPDg.png" /><figcaption>Campaign ID Token ZU1RIOk9</figcaption></figure><p>Connecting to this new infrastructure, the malware downloads a Python-based second-stage payload known as InvisibleFerret. Additional scripts like brow_ZU1RIOk9.py and gjs_ZU1RIOk9.js are executed to :</p><p>Scan local directories and steal browser profiles across Chrome, Brave, Opera, Edge, and Mozilla. Extract passwords, cookies, and crypto wallet storage extensions .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mwqAo8dZ-N-0pW2SOETDuw.png" /><figcaption>brow_ZU1RIOk9.py and gjs_ZU1RIOk9.js</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6V9vGUCzLIwUbpxNK47J-A.jpeg" /><figcaption>Exfiltrate the stolen data back to DPRK servers via POST requests to the /uploads and /keys directories</figcaption></figure><p>ACK/Heartbeat pattern C2 , The server provides an HTTP/1.1 200 OK response by echo back the exact timestamp value sent by the target (1766694022662) Linked to DPRK Lazarus part of stage loader stealer malware take UUID hardware , OS specification including geolocation network information &amp; extract username information</p><p><strong>Indicators of Compromise (IoCs)</strong></p><p>For SOC analysts and Threat Hunters, integrate these IoCs into your security perimeters to mitigate the BeaverTail campaign:</p><p><strong>C2 IP Addresses:</strong></p><p>​45.43.11[.]199</p><p>​38.92.47[.]175</p><p>​67.203.7[.]205</p><p><strong>File Hashes (MD5):</strong><br>62bca2de9acef63752efbf8bd01a6850 tailwind.config.js<br>Size : 8206 bytes</p><p>f93409ed05725791095bec325a86c2f8 brow_ZU1RIOk9.py<br>Size : 149.44 KB</p><p>4256440894992d712f246687f66d2a3a main_ZU1RIOk9.py<br>Size : 8.11 KB</p><p>52c207bf13d9940c331518d04cdcb43e pay_ZU1RIOk9.py<br>Size : 32.35 KB</p><p>bf7c7c42b837e9b9b18d1211407a963a gjs_ZU1RIOk9.js<br>Size :26.71 KB</p><p>743a17bba9aeef61887423a076b07a94 njs_ZU1RIOk9.js<br>Size : 30.15 KB</p><p>6ad14e1550cf048efd29311034f65aa6 main.810f06c7.js<br>Size : 1.87 Mb</p><p><strong>YARA Rules for Threat Hunting :</strong></p><p>To proactively hunt for BeaverTail and InvisibleFerret remnants within your environment, deploy the following custom YARA rules</p><p><strong>Rule 1: BeaverTail Node.js Dropper</strong></p><pre>rule APT38_Lazarus_BeaverTail_Dropper {<br>    meta:<br>        description = &quot;Detects heavily obfuscated BeaverTail Node.js dropper hiding inside tailwind.config.js or similar files&quot;<br>        author = &quot;Dedi Husni&quot;<br>        date = &quot;2025-12-26&quot;<br>        reference = &quot;Lazarus Fake Recruiter Campaign&quot;<br><br>    strings:<br>        // Obfuscated C2 IP chunks<br>        $c2_ip_chunk1 = &quot;NDcuMTc1MzguOTIu====&quot; ascii wide<br>        $c2_ip_chunk2 = &quot;MTEuMTk5NDUuNDMu====&quot; ascii wide<br>        <br>        // Campaign Token &amp; Pre-decoded C2 string<br>        $campaign_token = &quot;ZU1RIOk9&quot; ascii wide<br>        $b64_c2_string = &quot;ZT3NjcuMjAzLjcuMjA1LFpVMVJJT2s5&quot; ascii wide<br><br>    condition:<br>        uint16(0) != 0x5A4D and // Ignore file PE Executable (.exe/.dll)<br>        filesize &lt; 500KB and<br>        2 of them<br>}</pre><p><strong>Rule 2: InvisibleFerret Python Loader</strong></p><pre>ule APT38_Lazarus_InvisibleFerret_PyLoader {<br>    meta:<br>        description = &quot;Detects the InvisibleFerret Python loader utilizing Base85 decoding and fileless in-memory execution&quot;<br>        author = &quot;Dedi Husni&quot;<br>        date = &quot;2025-12-26&quot;<br>        reference = &quot;Lazarus Fake Recruiter Campaign&quot;<br><br>    strings:<br>        // Explicit Campaign ID assignment<br>        $token_var = &quot;sType = &#39;ZU1RIOk9&#39;&quot; ascii wide<br>        <br>        // Base85 decode routine<br>        $b85_module = &quot;import base64 as T&quot; ascii wide<br>        $b85_decode = &quot;T.b85decode&quot; ascii wide<br>        <br>        // In-memory execution<br>        $exec_trigger = &quot;exec(po)&quot; ascii wide<br>        <br>        // Obfuscated payload variable array (common prefix)<br>        $payload_var = &quot;_mw=&quot; ascii wide<br><br>    condition:<br>        uint16(0) != 0x5A4D and // Ignore file PE Executable (.exe/.dll)<br>        filesize &lt; 200KB and<br>        4 of them<br>}</pre><p><strong>Recommendations &amp; Lessons Learned</strong></p><p><em>A Zero Trust approach must extend beyond production infrastructure into the Software Development Life Cycle (SDLC). Developers are strongly urged to verify recruiter identities and never run unverified code (such as npm install or npm start) on primary workstations. Always utilize isolated virtual machines or sandboxes when evaluating third-party repositories</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db38141327f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>