<?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 Simpler Hacking on Medium]]></title>
        <description><![CDATA[Stories by Simpler Hacking on Medium]]></description>
        <link>https://medium.com/@simplerhacking?source=rss-ee27cbd0e520------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8YHnJbWK4BSym2I5MkcTnA.png</url>
            <title>Stories by Simpler Hacking on Medium</title>
            <link>https://medium.com/@simplerhacking?source=rss-ee27cbd0e520------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 12:24:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@simplerhacking/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 Ultimate Guide to Password Spraying Tools for Hackers & Penetration Testers (+ Password…]]></title>
            <link>https://simplerhacking.medium.com/the-ultimate-guide-to-password-spraying-tools-for-hackers-penetration-testers-password-764ad761aefa?source=rss-ee27cbd0e520------2</link>
            <guid isPermaLink="false">https://medium.com/p/764ad761aefa</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[red-team]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Simpler Hacking]]></dc:creator>
            <pubDate>Sun, 18 Aug 2024 18:58:00 GMT</pubDate>
            <atom:updated>2024-08-18T18:58:00.980Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Ultimate Guide to Password Spraying Tools for Hackers &amp; Penetration Testers (+ Password Spraying Tool for Google Accounts)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qAxdi6zU6r23tCSvbnaoPw.jpeg" /></figure><h3>Password spraying is pretty important and continues to be a key technique in offensive security.</h3><p><em>Here are some of my personal favorites straight from my hard drive:</em></p><h3>The best one: TeamFiltration</h3><ul><li><strong>Description:</strong> TeamFiltration stands out as a cross-platform framework offering a comprehensive suite of features, from enumeration and spraying to exfiltrating and backdooring O365 AAD accounts. Its versatility makes it a go-to tool for numerous scenarios, blending power with ease of use across multiple categories.</li><li><strong>Language:</strong> C#</li><li><a href="https://github.com/Flangvik/TeamFiltration">Link</a></li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FGpZTQHLKelg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DGpZTQHLKelg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FGpZTQHLKelg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/426e8556cde53634725a16ae0f223898/href">https://medium.com/media/426e8556cde53634725a16ae0f223898/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Foo2isrbfYmg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Doo2isrbfYmg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Foo2isrbfYmg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/33c3f3f17ab053e7918f04203e2ff618/href">https://medium.com/media/33c3f3f17ab053e7918f04203e2ff618/href</a></iframe><h4>Note:</h4><p>If you’ve managed to compromise an Office 365 account, TeamFiltration can help you maximize the value of those credentials. Once deployed, it can exfiltrate a variety of sensitive data from the target’s Office 365 environment, including:</p><ul><li><strong>Teams</strong>: Extract chat logs, contact lists, and shared attachments.</li><li><strong>Outlook</strong>: Retrieve emails and associated attachments.</li><li><strong>Azure AD/GraphAPI</strong>: Gather comprehensive user, group, and tenant information.</li><li><strong>OneDrive</strong>: Access synced files, both user-specific and those shared via SharePoint.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tkBm-wyw_aiZZ8jKgMZCIg.png" /><figcaption>Amazing Tool from @Flangvik</figcaption></figure><h3>CredMaster</h3><ul><li><strong>Description:</strong> CredMaster elevates password spraying by integrating Amazon AWS passthrough proxies, ensuring that the requesting IP address shifts dynamically with each authentication attempt. This setup, which includes the automatic creation of FireProx APIs, adds a layer of evasion and complexity, making it a formidable tool in any operator’s arsenal.</li><li><strong>Language:</strong> Python</li><li><a href="https://github.com/knavesec/CredMaster">Link</a></li></ul><h3>TREVORspray</h3><ul><li><strong>Description:</strong> TREVORspray is a comprehensive and modular password spraying tool. It includes advanced features such as multi-threading, SSH proxying, and customizable loot modules. TREVORspray’s flexibility and breadth of capabilities make it one of the most feature-rich tools in the market, suitable for complex operations requiring precision and adaptability.</li><li><strong>Language:</strong> Python</li><li><a href="https://github.com/blacklanternsecurity/TREVORspray">Link</a></li></ul><h3>git-rotate</h3><ul><li><strong>Description:</strong> Git-rotate leverages GitHub Actions for a sophisticated method of IP rotation during O365 password spraying. This unique approach requires a complex setup but offers significant advantages in evasion, making it a valuable tool for operators seeking to remain undetected while conducting large-scale password spraying attacks.</li><li><strong>Language:</strong> Python</li><li><a href="https://github.com/dunderhay/git-rotate">Link</a></li></ul><h3>Go365</h3><ul><li><strong>Description:</strong> Go365 is specialized for user enumeration and password guessing attacks against Office365 (now Microsoft365) environments. Unlike many other tools, Go365 utilizes a unique SOAP API endpoint on login.microsoftonline.com, giving it an edge in accessing information that might be missed by more conventional tools.</li><li><strong>Language:</strong> Go</li><li><a href="https://github.com/optiv/Go365">Link</a></li></ul><h3>Spray365</h3><ul><li><strong>Description:</strong> Spray365 is a password spraying tool focused on Microsoft accounts, particularly Office 365/Azure AD. It is distinguished by its innovative “execution plan” approach, which allows for a strategic and phased attack. The tool also integrates several evasion techniques, making it a powerful option for those targeting these environments.</li><li><strong>Language:</strong> Python</li><li><a href="https://github.com/MarkoH17/Spray365">Link</a></li></ul><h3>spraycharles</h3><ul><li><strong>Description:</strong> Spraycharles is a robust tool designed for low and slow password spraying. It’s built to operate over extended periods by spraying at intervals, making it ideal for avoiding detection. The framework is highly extensible, with plugin-based functionality that allows it to adapt dynamically rather than relying on static indicators.</li><li><strong>Language:</strong> Python</li><li><a href="https://github.com/Tw1sm/spraycharles">Link</a></li></ul><h3>RagingRotator</h3><ul><li><strong>Description:</strong> RagingRotator is engineered for brute force attacks against Office 365, incorporating IP rotation via AWS gateways to enhance its evasion capabilities. The tool’s design emphasizes persistence and stealth, making it suitable for sustained attack campaigns against high-value targets.</li><li><strong>Language:</strong> Go</li><li><a href="https://github.com/nickzer0/RagingRotator">Link</a></li></ul><h3>MSOLSpray</h3><ul><li><strong>Description:</strong> MSOLSpray is one of the original password spraying tools for Microsoft Online accounts (Azure/O365). Despite its age, it remains a reliable and effective tool in any operator’s toolkit, offering simplicity combined with effectiveness, especially in environments where traditional methods are still viable.</li><li><strong>Language:</strong> PowerShell</li><li><a href="https://github.com/dafthack/MSOLSpray/">Link</a></li></ul><h3>MSOLSpray.py</h3><ul><li><strong>Description:</strong> A Python port of the original MSOLSpray, this tool brings the same functionalities to a more flexible scripting environment. It is particularly useful for operators who prefer Python for its versatility and ease of integration with other tools and scripts.</li><li><strong>Language:</strong> Python</li><li><a href="https://github.com/MartinIngesen/MSOLSpray">Link</a></li></ul><h3>Omnispray</h3><ul><li><strong>Description:</strong> Omnispray is a modern tool designed to replace older tools like o365spray. It offers a modular framework that expands enumeration and spraying capabilities beyond just a single target or application, providing a more comprehensive approach to password spraying and account enumeration.</li><li><strong>Language:</strong> Python</li><li><a href="https://github.com/0xZDH/Omnispray">Link</a></li></ul><h3>Trident</h3><ul><li><strong>Description:</strong> Trident was a Google Cloud-based password spraying tool designed for multiple Identity Providers (IdPs). Though it has been archived, its architecture and approach remain a great reference for building cloud-native spraying tools.</li><li><strong>Language:</strong> Go</li><li><a href="https://github.com/nodauf/GoMapEnum">Link</a></li></ul><h3>GoMapEnum</h3><ul><li><strong>Description:</strong> GoMapEnum offers an all-in-one framework for password spraying, enumeration, and more. Its versatility and broad feature set make it a valuable addition to any toolkit, particularly for those who operate across multiple targets and need a reliable, multi-purpose tool.</li><li><strong>Language:</strong> Go</li><li><a href="https://github.com/nodauf/GoMapEnum">Link</a></li></ul><h3>SprayCannon</h3><ul><li><strong>Description:</strong> SprayCannon is an obscure yet interesting password spraying tool written in Crystal. While its use of the Crystal language may be unusual, it brings a unique approach to password spraying that might offer unexpected advantages in niche scenarios.</li><li><strong>Language:</strong> Crystal</li><li><a href="https://github.com/CausticKirbyZ/SprayCannon">Link</a></li></ul><h3>SprayingToolkit</h3><ul><li><strong>Description:</strong> SprayingToolkit is a collection of Python scripts aimed at optimizing password spraying attacks against platforms like Lync/S4B and OWA. Although the toolkit has been archived, its methods for speeding up and streamlining attacks remain relevant for those looking to refine their techniques.</li><li><strong>Language:</strong> Python</li><li><a href="https://github.com/byt3bl33d3r/SprayingToolkit">Link</a></li></ul><h3>AzurePasswordSprayer</h3><ul><li><strong>Description:</strong> Written in Rust, AzurePasswordSprayer is designed for high-performance password spraying against Azure/Office 365 accounts. Its multi-threaded approach and lack of connection attempts make it particularly effective for large-scale operations where speed and efficiency are paramount.</li><li><strong>Language:</strong> Rust</li><li><a href="https://github.com/boringthegod/AzurePasswordSprayer">Link</a></li></ul><h3>SSOh-No</h3><ul><li><strong>Description:</strong> SSOh-No is a versatile tool designed for user enumeration, password spraying, and brute-force attacks against organizations using Azure AD or Office 365. Its comprehensive approach makes it a valuable asset for penetration testers targeting these environments.</li><li><strong>Language:</strong> Go</li><li><a href="https://github.com/optionalCTF/SSOh-No">Link</a></li></ul><p>Other resources I found interesting on Password Spraying:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FOJTSHaY-t54%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DOJTSHaY-t54&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FOJTSHaY-t54%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e927259d4d327640a5afd81318812631/href">https://medium.com/media/e927259d4d327640a5afd81318812631/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FUPFG-fvIOLw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DUPFG-fvIOLw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FUPFG-fvIOLw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9d8ba2b218d2b11914eea6a80d10ebb7/href">https://medium.com/media/9d8ba2b218d2b11914eea6a80d10ebb7/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Foo2isrbfYmg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Doo2isrbfYmg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Foo2isrbfYmg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/33c3f3f17ab053e7918f04203e2ff618/href">https://medium.com/media/33c3f3f17ab053e7918f04203e2ff618/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FWPnFnPkOWIg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DWPnFnPkOWIg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FWPnFnPkOWIg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1a4d268919d62f38a07f3e18b227330f/href">https://medium.com/media/1a4d268919d62f38a07f3e18b227330f/href</a></iframe><h3>Coming soon:</h3><h3>My Password Spraying Tool for Google Suite?</h3><p>I’ve been inside all summer and currently have been developing a password spraying tool specifically tailored for the vast ecosystem of Google Suite applications. I’m suprised something like this doesn’t exist.</p><p>This tool is engineered to meet those complex security challenges posed by Google’s expansive range of services, offering capabilities for security professionals and red team operators. Tools like <strong>Holehe</strong> has set a new standard by systematically checking whether an email is associated with accounts across more than 300 different sites, including major platforms like Twitter, Instagram, and eBay. By leveraging the forgotten password function, it retrieves valuable information without even alerting the target.</p><figure><img alt="Password Spraying for Google" src="https://cdn-images-1.medium.com/max/1024/1*IDFzKo96ggB0JTphOjot4w.png" /><figcaption>I couldn’t find one either so I decided to just make my own :)</figcaption></figure><p>This tool in essence is designed to systematically target over 30 different Google Suite applications, including but not limited to Gmail, Drive, Calendar, Meet, and Docs. It allows for precise targeting of individual applications as well as comprehensive campaigns spanning the entire Suite, so that no potential entry point is overlooked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6jDk3GL9cC3VI26Fsp6OAQ.png" /><figcaption>Architecture (V1).</figcaption></figure><h3>Reasons why it’s difficult to create a Google Password Spraying Tool:</h3><h3>(via my notes)</h3><ul><li><strong>Google’s 2024 Advanced Protections and defenses like rate limiting, CAPTCHA, and multi-factor authentication</strong></li><li><strong>Requires innovative strategies to bypass adaptive security measures.<br>Exploring potential weaknesses within Google’s robust ecosystem is challenging but necessary.</strong></li><li><strong>Similar to vulnerabilities found in other large platforms like Outlook.<br>Configurable timing and proxying, essential for tools targeting platforms like Office 365, are particularly difficult with Google’s dynamic response strategies</strong></li><li><strong>Successful logins from unusual locations can trigger additional security checks.</strong></li><li><strong>Requires extensive trial and error to understand and circumvent Google’s evolving security mechanisms.</strong></li><li><strong>Continuous adaptation is essential as Google’s defenses change over time.</strong></li><li><strong>Google often prompts for additional security checks based on login patterns, making scripting and automation difficult.</strong></li><li><strong>Tool must adapt to unpredictable security validations and responses.<br>Monitoring and limiting login attempts across single and multiple accounts.</strong></li><li><strong>Strategies needed to avoid triggering account locks or delays by spreading attempts across time and different IPs.</strong></li><li><strong>Defensive AI &amp; ML algorithms (Obviously)</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MobDqx9_tb1vTNsF3hMfwA.jpeg" /><figcaption>Iteration V1</figcaption></figure><p>The bulk of my time is figuring out features such as ip rotation, traffic obfuscation, and randomized request timing are built in to minimize detection risks and maximize campaign longevity. (Blocked in 10 secs for too many requests). Using novel enumeration techniques, the tool intelligently identifies valid user accounts across various Google services similar to something like the OSINT tools of Holehe or Sherlock. Once enumeration is complete, it proceeds with highly targeted password spraying, taking into account application-specific security mechanisms and implementing dynamic strategies to bypass them. Understanding that every engagement is unique, this tool is built on a modular framework. Users can easily extend its capabilities, adding custom modules for specific Google services or integrating additional features to suit particular operational requirements. This flexibility ensures the tool can evolve.</p><figure><img alt="G Suite Password Sprayer" src="https://cdn-images-1.medium.com/max/702/1*M2hj5XZIr0D6gP9wkCV_3A.png" /></figure><p>Also Logging and comprehensive analytics provide deep insights into the execution of spraying campaigns. Users can monitor the effectiveness of their efforts, view detailed success/failure/stall rates across different applications, and make data-driven adjustments in real-time to enhance the overall impact of their operations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7RpWbDxHIfPz_zscsucmwQ.jpeg" /><figcaption>Web UI for users???</figcaption></figure><p><strong>If anyone has any particular expertise regarding this project or would like to try a demo of the current iteration of the tool feel free to contact me: info@simplerhacking.com</strong></p><p>Follow me on Github: <a href="https://medium.com/u/ee27cbd0e520">Simpler Hacking</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YCWABoPzC5Y0XqDepWVamg.png" /><figcaption>Follow me at: <a href="https://github.com/simplerhacking">https://github.com/simplerhacking</a></figcaption></figure><blockquote>Remember, this content is for educational purposes to understand the technical aspects of red team operations. Unauthorized use of such techniques is illegal and unethical. Always ensure you have proper authorization and are compliant with legal and ethical standards in cybersecurity practices.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=764ad761aefa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hacking .ZIP and .MOV Top-Level Domains for Advanced Browser-Based Secret Ransomware Attacks]]></title>
            <link>https://simplerhacking.medium.com/hacking-zip-and-mov-top-level-domains-for-advanced-browser-based-secret-ransomware-attacks-39bb9f36f820?source=rss-ee27cbd0e520------2</link>
            <guid isPermaLink="false">https://medium.com/p/39bb9f36f820</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[red-team]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[ransomware]]></category>
            <category><![CDATA[chatgpt]]></category>
            <dc:creator><![CDATA[Simpler Hacking]]></dc:creator>
            <pubDate>Sat, 08 Jun 2024 02:11:49 GMT</pubDate>
            <atom:updated>2024-06-08T02:11:49.773Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hacking .ZIP and .MOV Top-Level Domains for Advanced Browser-Based Secret Ransomware Attacks</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*r4w0W03AiO5iA0WS84BbCQ.png" /><figcaption>An example of a Malware disguised as a .ZIP file coming from the domain Microsoft-file.zip</figcaption></figure><h3>Context:</h3><p>The introduction of .zip and .mov top-level domains (TLDs) by Google has opened up a new avenue for potential cyber threats. This research thesis explores the implications of these new TLDs, their potential for exploitation by malicious actors, and the importance of proactive measures to mitigate the risks associated with these new attack vectors.</p><h3>Background on Top-Level Domains (TLDs)</h3><p>Top-level domains (TLDs) are the highest level in the hierarchical Domain Name System (DNS) structure. As defined by Cloudflare, “In the DNS (Domain Name System) hierarchy, a top-level domain (TLD) represents the first stop after the root zone. In simpler terms, a TLD is everything that follows the final dot of a domain name. For example, in the domain name ‘google.com,’ ‘.com’ is the TLD”. The Internet Corporation for Assigned Names and Numbers (ICANN) oversees the allocation and management of TLDs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dvKwCuug3kwC-Fm72UOpyQ.gif" /></figure><h3>The Introduction of .zip and .mov TLDs</h3><p>On May 3, 2023, Google announced that they would begin offering websites with .zip and .mov TLDs.</p><p>These TLDs, which have been available since 2014, were previously more expensive and less accessible.</p><p>The .zip TLD is derived from the popular file compression format, while .mov is an MPEG 4 container file primarily associated with Apple’s QuickTime program. (Common among all users.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*pHHSgK6NTvZ81rWLz6AXjg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*Zjf5fr9UeUuV8hc4ZcDjJQ.jpeg" /></figure><h3>Potential Risks and Attack Vectors</h3><blockquote>Phishing and Social Engineering</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/359/1*hE3JOeTEVBcWeXdVtGeQ5w.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/257/1*__skiu42VPChhXwF7cPgeg.gif" /><figcaption>Advanced Toolkits like <a href="http://www.simplerhacking.com/"><strong>EvilGoPhish</strong></a> and <strong>Evilginx 3.3</strong> can deliver these deceptive files very effectively.</figcaption></figure><p>The introduction of .zip and .mov TLDs presents a new opportunity for malicious actors to conduct phishing and social engineering attacks. Attackers may exploit users’ familiarity with these file extensions to trick them into clicking on malicious links disguised as legitimate files. For example, an attacker could send an email purporting to be from a colleague, containing a hyperlink ending with “.zip” that leads to a phishing landing page or a malware download.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*PDwxUN0p2zxaLk8Oiwz7pg.png" /><figcaption>Popular .ZIP &amp; .MOV formats disguised as legit downloads</figcaption></figure><h3>Malware Distribution</h3><p>Malicious actors may leverage the trust associated with .zip and .mov file extensions to distribute malware. By crafting convincing email campaigns or social media posts, attackers can lure unsuspecting users into downloading and executing malicious software disguised as harmless compressed files or video content. Once executed, the malware can propagate throughout the network, establish command and control (C2) channels, or exfiltrate sensitive data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4LVAwso_aUVfSt4uBgwTLA.gif" /><figcaption>Malware :(</figcaption></figure><h3>Credential Theft</h3><p>The use of .zip and .mov TLDs can also facilitate credential theft attacks. Attackers may create phishing websites that mimic popular services, such as Google Drive or Dropbox, and prompt users to enter their login credentials to access a purported file.</p><p>These fake login pages can be designed to closely resemble the legitimate services, making it difficult for users to detect the deception.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/1*DmgOO4pIhtyoPRtA6D0Yhg.gif" /><figcaption>Identity theft is no joke.</figcaption></figure><h3>Mitigation Strategies</h3><p>URL Filtering and Blocking<br>To defend against the risks posed by .zip and .mov TLDs, organizations should implement robust URL filtering and blocking mechanisms. Spam filters should be configured to block all .zip and .mov URLs originating from external sources. This proactive measure can help prevent malicious emails containing these TLDs from reaching end-users’ inboxes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*Hyc4j8oW3zCr3UddZm72mQ.gif" /></figure><h3>User Education and Awareness Training</h3><blockquote>For ALL corporations this is critical!</blockquote><blockquote>Everything starts with training!!!</blockquote><p>User education and awareness training play a crucial role in mitigating the risks associated with .zip and .mov TLDs. Organizations should ensure that their user base is informed about the latest threats and trained to identify potential phishing attempts. Innovative courses are key to improving knowledge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*ANetCjDj3e5ch2389Zy10w.gif" /><figcaption>The more you know, the better prepared you can be.</figcaption></figure><p>Users should be encouraged to exercise caution when encountering .zip or .mov file extensions in hyperlinks, especially in unsolicited emails or messages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*x2p2gqGLCo5ev8wLPm-BLw.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BWumRQetPHscFNqaU-qm9Q.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*kSw1n5bjxKMmXYqNa41siQ.gif" /></figure><h3>Quick note on Multi-Factor Authentication (and Access Controls)</h3><p>People swear by MFA but its not the end all be all to the solution as you can use EvilGoPhish (a reverse-proxy MiTM framework) to bypass it. In the screenshot below I show you how to do this easily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yx33gVMwRv0xdyEkj6e4NA.jpeg" /><figcaption>More advanced hackers can still completely bypass MFA. To see how to do this: <a href="https://www.simplerhacking.com/courses/evilgophish-masterclass-course"><strong>CLICK HERE</strong></a></figcaption></figure><p>Use other forms of human-based authentication. By requiring additional factors beyond usernames and passwords, such as biometric data or hardware tokens, organizations can reduce the risk of unauthorized access even if user credentials are compromised.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*14jgyMepDzV851Cvk3s6JQ.jpeg" /></figure><h3>Conclusion:</h3><blockquote>The introduction of .zip and .mov TLDs by Google presents a new attack vector that malicious actors may exploit.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*RVX9CpeoU2-t6mVr6c5olg.jpeg" /></figure><p>The potential for phishing, malware distribution, and credential theft demands proactive measures from organizations and individuals alike. By implementing URL filtering, conducting user education and awareness training, and enforcing strong access controls, the risks associated with these new TLDs can be effectively mitigated. Ongoing research and collaboration among the community will be essential to staying ahead of evolving threats and ensuring the security of online experiences.</p><p><strong>Anyways, I hope you learned something.</strong></p><p><strong>Until next time…</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*EDTt4cxchBVPJULc.gif" /></figure><p>Subscribe for more articles and insights. <strong>Peace.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39bb9f36f820" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Steal Okta Administrator Tokens with Modlishka and Reverse-Proxy Phishing Mastery]]></title>
            <link>https://simplerhacking.medium.com/how-to-steal-okta-administrator-tokens-with-modlishka-and-reverse-proxy-phishing-mastery-9d0f86913f11?source=rss-ee27cbd0e520------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d0f86913f11</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[evilgophish]]></category>
            <category><![CDATA[red-team]]></category>
            <dc:creator><![CDATA[Simpler Hacking]]></dc:creator>
            <pubDate>Wed, 29 May 2024 10:18:15 GMT</pubDate>
            <atom:updated>2024-05-29T10:18:15.244Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xwNkf38iEvn5vsDmqwIruw.jpeg" /></figure><h3>Introduction &amp; Context:</h3><p>From working in various Red Teams for various companies, many engagements operate under the <strong>“assumed breach”</strong> model, which assumes that an endpoint in the target enterprise is already compromised or the organization is breached in some way.</p><p>This approach is beneficial for two primary reasons:</p><ol><li><strong>Time Efficiency</strong>: Breaching a network can be time-consuming, particularly for smaller teams.</li><li><strong>Realism</strong>: Given sufficient time and resources, an advanced threat actor will likely penetrate your network eventually.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2dj2zVoNlIUa5Ay1sileGw.png" /><figcaption>Assumed Breach model for Penetration Testers. Red Seige has a great presentatiion on this.</figcaption></figure><p>This model allows Red Teams to focus on the later stages of the cyber kill-chain, where more significant impacts can be made upon the organization. However, testing an organization’s defenses against initial intrusions remains critical, often achieved through phishing attacks.</p><p>Modlishka, a sophisticated phishing tool, has become indispensable for Red Teams aiming to bypass modern security measures like multi-factor authentication (MFA).</p><h3>Powerful Reverse-Proxy Phishing Kits for Bypassing MFA Through Cookie Stealing</h3><p><strong>EvilProxy, Modlishka, Evilginx, and EvilGoPhish</strong> are renowned reverse-proxy phishing tools used to bypass Multi-Factor Authentication (MFA) by stealing session cookies.</p><p>These tools act as man-in-the-middle (MITM) proxies, capturing credentials and session tokens by relaying communications between the victim and the target service.</p><ul><li><strong>EvilProxy</strong>: Known for cross-platform support and easy configuration, excels in session hijacking.</li><li><strong>Modlishka</strong>: Offers flexible JSON configurations, URL rewriting, and multi-domain proxying. <em>(This article’s focus)</em></li><li><strong>Evilginx</strong>: Features pre-built phishlets and user-friendly interface, effective for phishing simulations.</li><li><strong>EvilGoPhish</strong>: My personal favorite for long-term engagements. Enhanced phishlet support, performance, and tool integration for large-scale campaigns.</li></ul><figure><img alt="EvilGoPhish Mastery Course Reverse-Proxy Diagram" src="https://cdn-images-1.medium.com/max/1000/1*uAAQiC8mjAKqR9tXLOeiSA.jpeg" /><figcaption>EvilGoPhish3&#39;s Reverse-Proxy Phishing Framework SOURCE: <a href="https://www.simplerhacking.com/courses/evilgophish-masterclass-course"><strong><em>EvilGoPhish Mastery</em></strong></a><strong><em> (2024)</em></strong></figcaption></figure><h3>Focusing on Modlishka</h3><p>Modlishka, developed by Piotr Duszyński, is a powerful HTTP(S) reverse proxy that allows attackers to bypass common MFA mechanisms. By acting as a man-in-the-middle, Modlishka proxies all requests to the target service and responses to the victim client, capturing both credentials and session tokens. This capability significantly enhances the effectiveness of phishing attacks, even against systems protected by MFA.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TnhLNkfL96v-TWbjpfGcbg.png" /><figcaption>All credit goes to the creator of this fantastic tool.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kW64pwe4xIiMbxWPy_ycYg.png" /><figcaption>Download the Package from GO: <a href="https://pkg.go.dev/github.com/drk1wi/Modlishka">HERE</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*C1vcHpZsCfjzf3zF0UkWJw.png" /></figure><h4>Step-by-Step Instructions for Novices</h4><ol><li><strong>Update Your System</strong></li><li>Ensure your system’s package list is up-to-date and upgrade all existing packages:</li></ol><pre>sudo apt update &amp;&amp; sudo apt upgrade -y</pre><p><strong>Install Necessary Dependencies</strong></p><p>Install Git and Go (the programming language used to build Modlishka):</p><pre>sudo apt install git -y<br>wget https://golang.org/dl/go1.20.6.linux-amd64.tar.gz<br>sudo tar -xvf go1.20.6.linux-amd64.tar.gz<br>sudo mv go /usr/local<br>echo &#39;export PATH=$PATH:/usr/local/go/bin&#39; &gt;&gt; ~/.profile<br>source ~/.profile</pre><p><strong>Verify Go Installation</strong></p><pre>go version</pre><p><strong>Clone the Modlishka Repository</strong></p><p>Use Git to clone the Modlishka repository from GitHub:</p><pre>git clone https://github.com/drk1wi/Modlishka.git</pre><pre>cd Modlishka</pre><p><strong>Build Modlishka</strong></p><p>Use Go to build the Modlishka application:</p><pre>make</pre><p><strong>Generate SSL Certificates</strong></p><ol><li>If you don’t have SSL certificates, you can generate self-signed certificates for testing purposes:</li></ol><pre>openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout key.pem -out cert.pem</pre><p><strong>Create Configuration File</strong></p><ol><li>Create a configuration file named config.json. Here’s a basic template you can use:</li></ol><p><strong><em>{ &quot;proxyDomain&quot;: &quot;your-malicious-domain.com&quot;, &quot;listeningAddress&quot;: &quot;0.0.0.0&quot;, &quot;listeningPort&quot;: &quot;443&quot;, &quot;target&quot;: &quot;target-domain.com&quot;, &quot;targetResources&quot;: &quot;.*&quot;, &quot;controlURL&quot;: &quot;control&quot;, &quot;controlCredentials&quot;: &quot;admin:password&quot;, &quot;plugins&quot;: &quot;all&quot;, &quot;certificates&quot;: { &quot;certFile&quot;: &quot;cert.pem&quot;, &quot;keyFile&quot;: &quot;key.pem&quot; } }</em></strong></p><p>Replace your-malicious-domain.com with your domain, target-domain.com with the target domain, and set your desired controlCredentials.</p><ol><li><strong>Run Modlishka</strong></li><li>Start Modlishka using the configuration file you created:</li></ol><pre>./dist/proxy -config config.json</pre><h3>How to phishing Okta Single Sign-On:</h3><h3>Let’s start with context:</h3><p><strong>Okta</strong> is a <strong>Single Sign-On</strong> (<strong>SSO</strong>) provider used by many enterprises and this makes it a prime phishing target for adversaries around the world.</p><p>The primary purpose of Okta is to provide organizations with a comprehensive identity and access management (IAM) solution. Okta allows businesses to effectively manage user identities, authentication, and authorization across various applications and systems. It simplifies user onboarding, and provides secure access to resources.</p><p>In Okta, the term “tenant” is commonly referred to as an “org” (organization).</p><h3>Okta Organization (Org)</h3><p>In Okta, an “org” (short for organization) is a dedicated instance within Okta where user identity and access management are centralized. An org serves as a comprehensive hub for managing various aspects of identity security, including user accounts, authentication policies, and application integrations.</p><p>TLDR: So essentially, the Okta org is the central system that handles user logins, profiles, and access to applications, ensuring secure authentication and authorization processes.</p><p>This is important.</p><h3>Okta Users (People)</h3><p>Users in Okta are individuals who have accounts within the Okta platform. These user accounts are managed by administrators and include unique identifiers and attributes like usernames, email addresses, and profile information. Users can belong to different groups and associate multiple devices for authentication purposes. Additionally, users can be assigned specific admin roles, granting them various permissions within the Okta org.</p><h3>Key Aspects:</h3><blockquote>1. Unique Identifiers:</blockquote><blockquote>Each user has a unique identifier within Okta.</blockquote><blockquote>2. Attributes:</blockquote><blockquote>3. User attributes include usernames, email addresses, etc.</blockquote><blockquote>4. Groups: Users can be organized into groups to streamline management.</blockquote><blockquote>5. Admin Roles:</blockquote><blockquote>Users can be assigned roles with specific administrative privileges.</blockquote><h3>Okta Groups</h3><p>Groups in Okta are used to organize users based on common attributes or access requirements. This organizational structure allows administrators to efficiently assign permissions, policies, and access controls to multiple users simultaneously. Groups can be created based on departments, roles, or other relevant criteria, and they can also define which directories (such as Active Directory or LDAP) will serve as the source of truth for user data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*N0GtRAYWOf8fsyDnoqQNRA.gif" /></figure><p>Key Aspects:</p><p>By integrating applications with Okta, organizations can manage user access and authentication centrally. This integration supports Single Sign-On (SSO), allowing users to access multiple applications with a single set of credentials.</p><blockquote>Note: <strong>Administrators </strong>can set session duration limits, idle timeouts, and conditions for session termination to enhance security. Thus why attackers target said accounts more often than others.</blockquote><p>Key Aspects:</p><p><strong>Session Duration Limits: </strong>Define how long a session can remain active.</p><p><strong>Idle Timeouts: </strong>Specify the idle time before a session is terminated.</p><p><strong>Custom Actions: </strong>Configuration actions upon session termination</p><h3>Authentication Policy</h3><p>Authentication Policy in Okta encompasses rules and controls that govern the authentication process. These policies can enforce requirements such as password complexity, multi-factor authentication (MFA), and geographic location restrictions.</p><p>An Okta org serves as the central hub for managing user identity and access management within your application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dPErlPlnZunjFlXUrz2sGg.jpeg" /></figure><h3>The Important Shit:</h3><h3>How do you access an Okta account?</h3><p>In Okta, there are three (3) main ways to authenticate against the web UI and the Okta API:</p><h3>1. SSWS Token</h3><h3>2. Access Token</h3><h3>3. Session ID (sid)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RswmH5IlojfFKHSllJS3Zw.gif" /><figcaption>So how to bypass this screen?</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DWK8Foet4tXmEadrygqQEQ.png" /></figure><p>To illustrate Modlishka’s capabilities, I’ll examine a practical engagement involving the phishing of Okta Single Sign-On (SSO) page using Modlishka.</p><p>The domain code42.c42-sso.com is used to host the reverse proxy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nIK61uSlxZKRSlwcdifWTQ.jpeg" /></figure><h4>Initial Setup and Challenges</h4><p>Simply pointing Modlishka at code42.okta.com does not work initially. The login functionality on the proxied page fails to render, as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A5CF_ReEXmcEl-cj21VJfw.png" /><figcaption>Burpsuite FTW!</figcaption></figure><p>Using Burp Suite (the g.o.a.t. software) to inspect the HTTP response reveals that the login script is loaded from a separate source, and its integrity is verified using a sha384 hash value. Modlishka automatically replaces the target domain with the malicious domain (code42.c42-sso.com), causing the integrity check to fail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DwykWiCT_OWxOcPRkuH2Zw.png" /><figcaption>The request failed so I need to change some stuff around.</figcaption></figure><h4>Creating Replacement Rules</h4><p>Modlishka’s flexibility allows users to create rules that match and replace text in the response before it is served to the victim. By creating a rule to replace mainScript.integrity with mainScript.integrityKitten, the integrity check is bypassed. <br>}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uqafLREpkGexcThyuHXXQA.jpeg" /><figcaption>Now I bypassed the error. The switch stops the browser from verifying the integrity of the dynamic javascript resource it loads to render the login page.</figcaption></figure><p>With the integrity checks removed, the login functionality renders correctly on the fake site. Pretty much the last step is ensuring the victim interacts with a page that appears legitimate.</p><h3>Handling Dynamic Resource Loading</h3><p>Modlishka automatically rewrites URLs from the target to the malicious URL, but sometimes pages need to dynamically load resources from the real domain. Similar to sub_filters in Evilginx &amp; <a href="https://www.simplerhacking.com/courses/evilgophish-masterclass-course">EvilGoPhish</a>. Additional replacement rules are necessary to replace the replacement URL with the original URL. This process can be tedious but is essential for accurately emulating the functionality of any site.</p><p>You technically COULD just use Chrome debugger on Google Chrome (F12) but you will just have to search using CTRL+F to find the string that needs to be replaced. Then check the breakpoints in the ‘Sources’ tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EUjE3pcE3HEVcGzW83V0oA.png" /><figcaption>Don’t have Burpsuite? Use Chrome Debugger (Red Teamers should have Burpsuite &amp; understand it IMO).</figcaption></figure><h3>Browser-Specific Issues and Solutions</h3><p>After authenticating and providing 2FA, the user was redirected back to the login page instead of the Okta home page. Chrome was dropping the valid Okta session token after authentication, a problem traced to Chrome’s handling of SameSite=None cookies that aren’t also set with the Secure flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/838/1*qMZBw9WNGMo3SSw7vMAU7A.png" /><figcaption>site vs. origin example</figcaption></figure><p>Before the SameSite mechanism was introduced, browsers would send cookies in every request to the domain that issued them, even if the request was triggered by an unrelated third-party website. SameSite works by enabling browsers and website owners to limit which cross-site requests, if any, should include specific cookies. This can help to reduce users’ exposure to CSRF attacks, which induce the victim’s browser to issue a request that triggers a harmful action on the vulnerable website.</p><p>It’s sorta complicated but its an important feature that aids in stopping cookie-based attacks.</p><h3>Advanced Replacement Rules and Proxy Customization</h3><p>To ensure the proxy works seamlessly across various platforms, additional replacement rules and proxy customizations might be required. This includes handling JavaScript, CSS, and other dynamically loaded resources. Red Teams can use tools like Burp Suite to inspect and fine-tune responses further.</p><p>Removing the above lines ensures that the Secure flag remains intact, allowing Chrome to handle cookies correctly.</p><h3>Collecting Login Credentials</h3><p>Developing a regular expression (regex) for collecting login credentials is crucial for ensuring that Modlishka captures the necessary data when victims authenticate to the malicious proxied site.</p><ol><li><strong>Using Burp Suite</strong>: Capture and analyze the login request to understand the parameters being submitted.</li><li><strong>Creating Regex Patterns</strong>: Use tools like RegExr to craft precise patterns that match the login credentials.</li></ol><p><strong>Regex</strong>:</p><pre>&quot;user=([^&amp;]+)&amp;password=([^&amp;]+)&quot;</pre><h3>Real-World Application and User Journey</h3><p>The provided screenshots illustrate the user journey and the effectiveness of the Modlishka proxy.</p><ol><li><strong>Proxied Login Page</strong>: The proxied page at code42.c42-sso.com looks identical to the legitimate Okta login page.</li><li><strong>Real and Proxied Page After Submitting Credentials</strong>: Upon submitting credentials, the data is captured and processed by Modlishka, demonstrating successful phishing.</li><li><strong>Real and Proxied User Home Page After 2FA</strong>: The final step shows the user being redirected to the Okta home page after successful 2FA, with session tokens captured.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bGKp-BB861qpNKAQwTW9uQ.png" /></figure><h3>Demonstrating the Control Panel</h3><p>Modlishka provides a control panel to view captured credentials and tokens. This interface is invaluable for monitoring phishing campaigns and analyzing captured data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F7R3e5OLQlKZCLxl-Nh4Pg.jpeg" /><figcaption>My dashboard.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5tXt0RHSMMJsmMB8XZ57kQ.gif" /></figure><h3>Practical Engagement and Real-World Applications</h3><p>The final product closely mimics the real login page, collecting both credentials and session tokens. Modlishka’s control panel provides a comprehensive interface to view captured data and manage the phishing campaign.</p><blockquote>Fixing the Cookie Issue</blockquote><p>Modlishka’s default behavior is to remove the Secure flag from cookies. By modifying the source code in proxy.go at line 230, we can prevent Modlishka from stripping the Secure flag, enabling the reverse proxy to function correctly across all major browsers. Otherwise it would not work correctly.</p><pre>if strings.HasPrefix(cookie, &quot;Secure; &quot;) {<br>  cookie = strings.TrimPrefix(cookie, &quot;Secure; &quot;)<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oh5G9waQBL6za-40U4HbAA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J0D1xzn3htqjyX88M-yXOw.jpeg" /><figcaption>TRIVIA TIME: Which is the authentic login page? (cue 30 second timer…)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*FJ-zHP7kO0Vk8LTRn1HSuA.gif" /><figcaption>5 seconds left to answer…</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*ZcPZUVZ6ZQY8GBU66qzWCA.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xe1mKcGpyIz-YmiVVaPhSQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QBq-HVENuL4cP8ZKGHPK2w.jpeg" /><figcaption>The proxied page on the right.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/535/1*hgyVd4PDCmNZV_1Fq-gtdQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*1RNzlyCwfVejSkxIQPh6Yw.jpeg" /><figcaption>By checking the URL, you can see that one is indeed my fake. While the other is real. Both are secure connection.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HK2Od8ofXOIsoVImYMafdw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wP-LBh_Owoue8NewCTd6zA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xwW79d04gsmLbjVVom8Oew.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*zhVaggpQ7VrSwZX5L60yDQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*potWzshbQx_mQf5vCcOkJQ.png" /><figcaption>The proxied login on the right. The login was successful. Cookies were captured and sent to Modlishka.</figcaption></figure><p>You can program Modlishka to capture any required data using REGEX. The process is straight forward. For this example, I grabbed got the cookies to keep it simple. Like we discussed earlier,</p><h3>1. SSWS Token 2. Access Token 3. Session ID (sid)</h3><p>are what is required to bypass the SSO login screen.</p><h4>You might be thinking:</h4><h4>“SH, how did you know that those 3 were important to the login?”.</h4><p>I honestly just do what Kuba Gretzky (the creator of Evilginx Mastery) calls “Cookie <a href="https://en.wikipedia.org/wiki/Whac-A-Mole">Whac-A-Mole</a>”. Which is the process of simply authenticating your login, then deleting each of your cookies using the Cookie Editor Extension and seeing at which point you get logged out i.e. “losing the session and have to log back in”. This process can be tedious as you’ll need to log into the portal and reauthenticate it many times (if you have MFA on, most companies require it).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*lPEFRhhSPdUMScvekhmG-w.jpeg" /></figure><p>That’s how you can figure out what cookies are important and need to be captured whether you’re using <strong>Modlishka</strong> or <strong>Evilginx3</strong> or <strong>EvilGoPhish</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AHimKTelTON2lG3QZxNqdA.png" /><figcaption>I use Cookie <a href="https://en.wikipedia.org/wiki/Whac-A-Mole">Whac-A-Mole</a> method to find which cookies are important to a website’s login.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xPTOCxIYXf2dC7dESHc95Q.jpeg" /><figcaption>Checking Modlishka, we see that the uid, username &amp; cookies have been captured. :)</figcaption></figure><h3>How to bypass MFA:</h3><h3>You would now download the Cookie Editor Extension:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*antHgc1k5Xml8PMUCifNBQ.png" /></figure><p>First navigate to the original login page URL. First CLEAR ALL COOKIES then take your cookie from Modlishka &amp; inject it into the browser by clicking “IMPORT”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/187/1*Gtws1pTLMz23wy8mEaWPnA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*V9f-kp4iWLdu3iqssvtSKQ.png" /></figure><p>After that hit refresh.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*py45dAu0eAvfo77xCWwQ1A.png" /><figcaption>Boom! We successfully logged in as the user.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*37Y9wU4cDtiTCkYxLePFqQ.png" /><figcaption>Logging into the victim’s dashboard.</figcaption></figure><p>After successful authentication and token capture, victims can be redirected to the actual service or a custom landing page, depending on the campaign’s objectives.</p><p>And you will completely bypass all MFA protections.</p><p>There will be no password prompt or anything. Pretty crazy stuff.</p><h3>TLDR (Victim POV) :</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*k5LkxoalVLk1OYMV3coEqA.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*k5LkxoalVLk1OYMV3coEqA.gif" /><figcaption>After an admin finds out, its too late already. They have free-reign over the account &amp; depending on the permissions we discussed before, can do real damage.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*xVK5XgfhMWLv7jTwKLx8ew.gif" /></figure><p>These type of attacks are largely caused by MFA Fatigue and human flaws (among many many other things, obviously).</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FlH8tBEgPOis%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DlH8tBEgPOis&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FlH8tBEgPOis%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1bcd9d7742ab2faca4fd901978c4332c/href">https://medium.com/media/1bcd9d7742ab2faca4fd901978c4332c/href</a></iframe><p>Believe me when I tell you, people working in Big Tech are exhausted by lunchtime.</p><h3>Having to go through and check every single link, credential submission, valid sub-domain, valid TLD, scan URLs, squinting closely as every character is:</h3><h3>FUCKING EXHAUSTING.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*j3pRUUGSQmvkXwR0cE78QA.gif" /><figcaption>No one has the energy to check to make sure every link is valid. That’s why attacks like these are so powerful.</figcaption></figure><h3>Enhancing Organizational Security Posture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3VKvUPql7viX-UwsWp9z1A.png" /><figcaption>Popular phishing types.</figcaption></figure><p>The insights gained from using Modlishka can significantly enhance an organization’s security posture. By understanding how attackers can bypass MFA and other security measures, organizations can implement more effective defenses. This includes:</p><ol><li><strong>Strengthening MFA</strong>: Using hardware-based MFA solutions like U2F.</li><li><strong>Improving User Awareness</strong>: Conducting regular phishing awareness training.</li><li><strong>Enhancing Monitoring</strong>: Implementing robust monitoring and logging to detect anomalous behavior.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/1*ylw_TbqyMO7iE33YwCYfJw.jpeg" /></figure><h3><strong>Leveraging Protection Models &amp; Products</strong>:</h3><h3>What I use:</h3><blockquote>Many products currently exist to help quarantine and detect threats. It can be exhausting trying to find the best platform.</blockquote><blockquote>I’ll try to simplify the process for you.</blockquote><p>I’ve currently been using</p><p><strong>Crowdstrike Falcon:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/1*Anomlmyp_iXPHFqbuc53Fg.gif" /><figcaption>A great product.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2YM5H1jAjC9AkOYWogkI2g.gif" /><figcaption>We used the <a href="https://www.simplerhacking.com/courses/evilginx-course">Evilginx Professional Masterclass</a> course. In the defensive section, this was used as an example for combatting Evilginx3, EvilGoPhish &amp; EvilProxy reverse-proxy phishing attacks. You can view the demo: <a href="https://www.simplerhacking.com/courses/evilginx-course">HERE</a></figcaption></figure><p>&amp; <strong>Palo Alto Networks Prism</strong>.</p><p>Palo Alto Networks Prisma is a comprehensive cloud-delivered security suite that helps secure public cloud environments, SaaS applications, internet access, mobile users, and remote locations. It consists of several components, including Prisma Access, Prisma Cloud, and Prisma SD-WAN.</p><p>Both have their pros &amp; cons.</p><p>PANW Prism was used as an example for combatting Evilginx3, EvilGoPhish &amp; EvilProxy reverse-proxy phishing attacks in Evilginx Professional Masterclass.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AvOSavZPDgb_6MxCY0F8lA.jpeg" /><figcaption><strong>You can view the course lesson: </strong><a href="https://www.simplerhacking.com/courses/evilginx-course"><strong>HERE</strong></a></figcaption></figure><h4><strong>For </strong>specifically<strong> enterprise phishing &amp; business email compromise attacks:</strong></h4><p>I‘ve been using KnowBe4’s new <strong>PhishER Plus</strong> — an anti-phishing protection suite.</p><p>To learn how we can make such a claim, get a product demonstration of the new PhishER add-on, PhishER Plus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/312/0*KB-zQmdqKgbcH8WA.png" /></figure><h3>Why I use it:</h3><ul><li><strong>Block email threats</strong> that have bypassed all other email security filters or systems<strong> before </strong>they reach your users’ mailboxes with the Global Blocklist</li><li><strong>Isolate malicious emails</strong> that already bypassed your mail filters through automated quarantine with <strong>Global PhishRIP</strong></li><li>Crowdsource threat intelligence from <strong>10+ million KnowBe4 trained users</strong></li><li><strong>Save time and budget</strong> by reducing the volume of remediation efforts handled by your SOC Team</li><li>Leverage the power of <strong>triple-validated threat intelligence</strong> to protect your organization from new attacks</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2YM5H1jAjC9AkOYWogkI2g.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zJ_7MxLR_Y_5Mnn9BKyJDg.gif" /></figure><h3>Want a Full Tutorial on MFA Phishing? :</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DUAo6qCu7bVhvhwIixuyWw.jpeg" /><figcaption>Check out the free training module: <a href="https://www.simplerhacking.com/courses/Modlishka"><strong>HERE</strong></a></figcaption></figure><p><a href="https://www.simplerhacking.com/courses/Modlishka">Advanced AiTM Phishing with Modlishka (2024 Training)</a></p><p>Modlishka represents a significant advancement in phishing techniques, providing a robust tool for bypassing MFA and capturing both credentials and session tokens. Its flexibility and power make it an invaluable asset for Red Teams and penetration testers. However, with great power comes great responsibility. Ethical use, strict adherence to legal guidelines, and a focus on improving organizational security are paramount when using this tool.</p><p>By leveraging Modlishka, you can provide a realistic assessment of an organization’s security measures, helping to identify weaknesses and implement stronger defenses.</p><p>This research highlights the importance of continuous security improvement and staying ahead of potential threats in an ever-evolving cybersecurity landscape.</p><h3><strong>Conclusion:</strong></h3><p>With all the long ass articles I write, I hope you learned something new.</p><p>If you want to learn how these attacks work and how to deploy them yourself completely uncensored, check out my company <strong>www.SimplerHacking.com</strong></p><p>We offer Cybersecurity courses <strong>without the bullshit, censorship </strong>&amp; <strong>fluff</strong> that modern security courses do.</p><p><strong>Our courses are not that Udemy or Coursera bullshit. </strong>We test real companies and hide nothing. No “Group Lab” or “Case Study” BS.</p><p>They are created specifically for those who want to break into the Cybersecurity industry and get paid shitloads of money.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*pLyS4RoBbyFOGtXKdsvHGA.gif" /><figcaption><a href="https://www.simplerhacking.com/pages/evilgophish-course">EvilGoPhish Mastery</a> releases this Friday!</figcaption></figure><p>You can find me on Github:</p><p><a href="https://github.com/simplerhacking">simplerhacking - Overview</a></p><p>Until next time…</p><h4><a href="https://github.com/simplerhacking">— SH</a></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d0f86913f11" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Link Manipulation & Domination: How Hackers Trick Billionaire Executives into Downloading…]]></title>
            <link>https://simplerhacking.medium.com/link-manipulation-domination-how-hackers-trick-executives-into-downloading-ransomware-cb1d5e09f4f6?source=rss-ee27cbd0e520------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb1d5e09f4f6</guid>
            <category><![CDATA[ransomware]]></category>
            <category><![CDATA[phishing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Simpler Hacking]]></dc:creator>
            <pubDate>Mon, 20 May 2024 07:10:14 GMT</pubDate>
            <atom:updated>2024-05-20T07:13:52.604Z</atom:updated>
            <content:encoded><![CDATA[<h3>Link Manipulation &amp; Domination: How Hackers Trick Billionaire Executives into Downloading Ransomware</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2TxTlFRJMGRSRqeZQexieg.jpeg" /><figcaption><a href="https://knowyourmeme.com/memes/it-really-do-be-like-that-sometimes">It Really Do Be Like That Sometimes</a>.</figcaption></figure><p><strong>Advanced Link Manipulation Techniques: Unveiling the Hidden Dangers</strong></p><p>Hello everyone, this is SH from <a href="https://github.com/simplerhacking">SimplerHacking</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LWcz0tQ8zWF1trGr_WMfeA.png" /></figure><p>With all of the articles I write and the long <a href="https://www.simplerhacking.com/collections">courses</a> I make, I always try to explain the context of whatever we are doing/learning.</p><p>If find this topic interesting so I thought I would write an entire article about it. Hopefully you can learn a thing or two here.</p><p>Context: As technology continues to advance at an exponential rate, so do the techniques employed by malicious actors to deceive and exploit unsuspecting users. Tactics have become so sophisticated that even individuals with the highest of IQ points still get tricked without even knowing it.</p><p>In this comprehensive research blog post, we will delve into the intricacies of link manipulation, exploring the various methods used by advanced attackers and the potential consequences of falling victim to these deceptive practices.</p><h3>Understanding the Anatomy of a URL</h3><p>Before we dive into the complexities of link manipulation, it is essential to understand the basic structure of a URL (Uniform Resource Locator).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*tVxhPuWlJRlt7nIbWP_VVg.png" /><figcaption>A single link broken down.</figcaption></figure><p>A typical URL consists of several components:</p><h3><strong>1. Scheme:</strong></h3><p>The scheme indicates the protocol used to access the resource, such as HTTP or HTTPS. In modern browsers, HTTP-only websites are flagged as insecure, as the traffic between the user and the website is unencrypted, making it vulnerable to interception and eavesdropping.</p><h3><strong>2. Subdomain:</strong></h3><p>The subdomain is an optional part of the URL that precedes the domain name. It can be used to organize and segment different sections of a website. For example, “mail.example.com” and “blog.example.com” are subdomains of the main domain “example.com”.</p><h3><strong>3. Domain:</strong></h3><p>The domain is the primary identifier of a website. It is the core part of the URL and is typically purchased from a domain registrar. Examples of domains include “google.com”, “facebook.com”, and “amazon.com”.</p><h3><strong>4. Top-Level Domain (TLD):</strong></h3><p>The TLD is the last part of the domain name, such as “.com”, “.org”, or “.net”. It indicates the purpose or the organization behind the website. It is crucial to note that a domain with a different TLD can be owned by a completely different entity, even if the domain name appears similar.</p><h3><strong>5. Path and Query Parameters:</strong></h3><p>The path and query parameters follow the domain and TLD, separated by a forward slash (“/”). They provide additional instructions to the website, specifying the exact resource or page to be accessed. While these components are essential for navigating within a website, they are not the primary focus when it comes to link manipulation.</p><h3>Level 1: Basic Link Manipulation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*AQ-YdxMw2Q6PcUoZk_ZCKA.gif" /></figure><p>Basic Link Manipulation Techniques At the most fundamental level, link manipulation involves the use of deceptive domain names and subdomains to trick users into believing they are visiting a legitimate website. Attackers employ various techniques to achieve this:</p><p><strong>Subdomain Spoofing:</strong> In this technique, attackers create a subdomain that mimics a well-known brand or service. For example, an attacker might register the domain “evil.com” and create a subdomain called “msn”, resulting in a URL like “msn.evil.com”. At first glance, users might mistake this for an official Microsoft website, when in reality, it is controlled by the attacker.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AsrcNwZKVpif_N1jOxwtqA.png" /></figure><h3>Typosquatting: An Attacker’s Favorite Tool</h3><p><em>Typosquatting</em>, also known as URL hijacking, relies on common typing errors made by users. Attackers register domain names that are slight variations of popular websites, capitalizing on mistakes such as missing or extra characters, or replacing characters with visually similar ones. For instance, “microsotf.com” (missing the letter “f”) or “microso0ft.com” (replacing the letter “o” with the number “0”) could be registered by an attacker to deceive users.</p><p>Everyone knows this, its pretty basic in the context of cyber attacks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/583/1*pTZDAXiRTmivjRyKGCSxfw.jpeg" /><figcaption>“Just checking the URL” is no longer that simple, companies use a shit ton of subdomains for services.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*237fWBTPfeIMo3cZHZIedg.jpeg" /><figcaption>Just by navigating to Google’s login screen, you see how many URLs &amp; Domains are being utilized. It’s hard to tell what’s legit anymore.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wSSbyuT3ylGwJaJ60YDZBQ.png" /><figcaption>Tools like DNStwist (Native Kali Linux) allow you to generate 1000s of similar domains instantly.</figcaption></figure><p>Combo Squatting: Combo squatting combines subdomain spoofing and typosquatting techniques. An example of this would be “microsoft.evil.com.example.com”, where the attacker creates a multi-level subdomain that appears to be associated with the legitimate Microsoft domain but is actually controlled by the owner of “example.com”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/992/1*BOaG2vbi1TSVlXnY-fgepw.gif" /><figcaption>This is one of the most popular tools for domain generation.</figcaption></figure><h3><strong>Level 2:</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*Z2jm1Oo7kBUYMCIUZ4WwUA.jpeg" /></figure><h3>IP Address Obfuscation:</h3><p>In more advanced cases, attackers may leverage IP address obfuscation to conceal the true destination of a link. Every website is hosted on a server with a unique IP address, which is translated from the domain name by the Domain Name System (DNS). Attackers can manipulate links by replacing the domain name with its corresponding IP address, making it harder for users to recognize the true nature of the website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VCe71E6rlTmV8MtAK4X2fg.png" /><figcaption>You can use free tools like Bobby-Table’s <a href="https://github.com/bobby-tablez/IP-Obfuscator">IP-Obfuscator</a> to easily do this.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ap2vRH7Y3wmQvcfsrlk9Pg.png" /><figcaption>The result you get. Scary stuff.</figcaption></figure><p>IP addresses can be represented in different formats, such as the traditional dotted-decimal notation (e.g., 192.0.2.1), hexadecimal format, or even the newer IPv6 format, which uses colons and hexadecimal digits. By obfuscating the IP address, attackers can bypass domain-based security measures and make it challenging for users to identify the actual destination of the link.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*aKe6ov3NypxCq8yxIEIkxA.png" /><figcaption>IP Obfuscator is a simple tool written in python to convert an IP into different obfuscated forms. This tool will help you to obfuscate host addresses into integer, hexadecimal or octal form.</figcaption></figure><h3>Level 3:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*0VlsAR6bSk8YZtbBM6t8zw.gif" /></figure><p><strong>Exploiting Top-Level Domains (TLDs)</strong> As the number of available TLDs continues to expand, attackers have found new opportunities to deceive users. By registering domains with deceptive TLDs, attackers can create convincing phishing websites that closely resemble legitimate ones.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z7tVo9dsLEK4aJXDhg2OVQ.png" /></figure><p>Malicious URL below appears nearly the same from the legitimate URL:</p><p><strong>Evil URL</strong><br><strong>https://github.com∕kubernetes∕kubernetes∕archive∕refs∕tags∕@v1271.zip</strong></p><p><strong>Legit URL </strong><a href="https://github.com/kubernetes/kubernetes/archive/refs/tags/v1.27.1.zip"><strong>https://github.com/kubernetes/kubernetes/archive/refs/tags/v1.27.1.zip</strong></a></p><p>In an email client, we could make it even more convincing, and change the size of the @ operator to a size 1 font, that makes it visually non-existent for the user, but still present as part of the URL!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NuxKmR-PMlsUjpl6-sk_cw.gif" /><figcaption>And Boom! Our Malware.exe file literally just got downloaded from the registered evil URL. It’s that easy.</figcaption></figure><p>For example, an attacker might register the domain “google.tech” to impersonate the popular Google Docs service, which uses the domain “docs.google.com”. Similarly, if a “.docs” TLD becomes available in the future, an attacker could potentially register “google.docs” to create an even more convincing phishing domain.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FPMcVYHQIoF8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DPMcVYHQIoF8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FPMcVYHQIoF8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/dd5ca8c2ef006b61296b1faf654687cd/href">https://medium.com/media/dd5ca8c2ef006b61296b1faf654687cd/href</a></iframe><p>Furthermore, attackers can exploit subdomains offered by legitimate services to host malicious content. Platforms like Cloudflare and Azure provide subdomains such as “pages.dev” and “.azurefd.net”, respectively, which can be used by attackers to create seemingly trusted links. For instance, an attacker could register “microsoft-login.pages.dev” to impersonate a Microsoft login page, leveraging the credibility of the Cloudflare subdomain.</p><h3>Level 4:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*-3she_zImnBcG8B2HO2HUQ.gif" /></figure><p><strong>URL Obfuscation</strong> and <strong>Homograph Attacks</strong> URL obfuscation techniques take link manipulation to a more sophisticated level. Attackers employ various methods to conceal the true destination of a link, making it difficult for users to detect any suspicious activity.</p><p><strong>URL Obfuscation</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TkRQhhrmRmslF-kT5gydbw.png" /></figure><p><strong>Homograph Attacks:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YsklMeg91KOeEf8eww5MQA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*bcV92nrVi7cxIKZvkZ9XhQ.png" /></figure><p>One common technique is the use of the “@” symbol in the URL. When a URL contains an “@” symbol, the text before the “@” is disregarded, and the actual domain being visited is the one that follows the symbol. For example, in the URL “<a href="https://www.amazon.com@evil.com/">https://www.amazon.com@evil.com</a>&quot;, the user is actually visiting “evil.com” and not “amazon.com”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*8sVbh0fSInSF3S2UacjfTA.gif" /><figcaption>an AI Homograph Attack Generator (Proof of Concept)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TAldanoDLMKRMSgEGChstg.png" /></figure><p>Homograph attacks are another technique that relies on the use of visually similar characters. Attackers can replace certain characters in a legitimate URL with ones that look almost identical but have different underlying Unicode values. For instance, the letter “a” (U+0061) can be replaced with the Cyrillic letter “а” (U+0430), which looks the same but is a different character. This technique can be used to create a visually indistinguishable URL that leads to a malicious website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*kOq28OOjL9iulKYtvxABAA.png" /></figure><pre>Let&#39;s look at an example of a domain name.<br><br>washingtonpost.com<br><br>vs<br><br>wаshingtonpost.com<br><br>Can you tell the difference? Well, let&#39;s translate both of these to purely ASCII:<br><br>washingtonpost.com<br><br>vs<br><br>xn--wshingtonpost-w1k.com</pre><h3>Level 5:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*HpIkrj0FOLtJ9UisEI6HDw.gif" /></figure><blockquote>Ok this is where things get out of control.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*tUGP_4iJjIkisxT85zqLYw.jpeg" /></figure><p>Short URL Services and Redirection Chains Short URL services, such as Bitly and TinyURL, have become increasingly popular due to their ability to condense long URLs into shorter, more manageable links.</p><p>Imagine you want to share an interesting Amazon item like the “Archie McPhee Tin Foil Hats for Conspiracy Cats.”</p><p>The original URL you’d need to share is quite long and looks weird:</p><p><a href="https://www.amazon.com/Archie-McPhee-Foil-Hats-Conspiracy/dp/B07C169XZT/ref=asc_df_B07C169XZT/?tag=hyprod-20&amp;linkCode=df0&amp;hvadid=241981090934&amp;hvpos=1o2&amp;hvnetw=g&amp;hvrand=1444417195024070507&amp;hvpone=&amp;hvptwo=&amp;hvqmt=&amp;hvdev=c&amp;hvdvcmdl=&amp;hvlocint=&amp;hvlocphy=9011683&amp;hvtargid=pla-457215596399&amp;psc=1"><em>https://www.amazon.com/Archie-McPhee-Foil-Hats-Conspiracy/dp/B07C169XZT/ref=asc_df_B07C169XZT/?tag=hyprod-20&amp;linkCode=df0&amp;hvadid=241981090934&amp;hvpos=1o2&amp;hvnetw=g&amp;hvrand=1444417195024070507&amp;hvpone=&amp;hvptwo=&amp;hvqmt=&amp;hvdev=c&amp;hvdvcmdl=&amp;hvlocint=&amp;hvlocphy=9011683&amp;hvtargid=pla-457215596399&amp;psc=1</em></a></p><p>To make this easier, you can use a URL shortener like bit.ly. Simply paste the long URL into bit.ly, click “Shorten,” and you’ll get a much more manageable link:</p><p><a href="https://amzn.to/2Re4EN1"><em>https://amzn.to/2Re4EN1</em></a></p><blockquote><em>The shortened link doesn’t look as weird right?</em></blockquote><blockquote><em>Much better than that long ass string above.</em></blockquote><p>This shortened link achieves the same goal, directing users to the Amazon item, but it’s much easier to share and doesn’t look like a long elaborate string in syntax.</p><p>If this was used for say a malicious purpose, that’s how it would work.</p><h4>However, attackers can exploit these services to obfuscate the true destination of a link and evade detection by URL analysis tools.</h4><p>Here are the top 10 most currently abused URL shorteners according to <a href="http://www.surbl.org/tld">SURBL</a>:</p><ul><li>bit.ly</li><li>bit.do</li><li>ow.ly</li><li>goo.gl</li><li>x.co</li><li>rebrand.ly</li><li>tinyurl.com</li><li>t.co</li><li>is.gd</li><li>ht.ly</li></ul><p>Honorable Mentions:</p><ul><li>app.link</li><li>cutt.ly</li><li>clck.ru</li><li>soo.gd</li><li>we.tl</li><li>1drv.ms</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*l9b4yLDBk3Wkb6kXXIxB3A.png" /><figcaption>A phishing email and the shortened URL redirects to a Suntrust credential harvesting page.</figcaption></figure><p>When a user clicks on a shortened URL, they are redirected to the original long URL. Attackers can take advantage of this redirection process by creating a chain of redirects, making it difficult to trace the final destination. They can combine short URLs with the previously mentioned techniques, such as URL obfuscation and homograph attacks, to create highly deceptive links.</p><h3>Depending on the speed of the user’s internet connection, once the link is clicked the redirection happens within a millisecond. Making impossible to catch what actually just happened to the untrained eye.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/463/1*W0dzNAaOjhu--ffrEVGkZQ.png" /><figcaption>The attacker is using Bitly’s service to not raise any red flags. Once the link is clicked the redirection is instant.</figcaption></figure><p>Moreover, attackers can use JavaScript and other client-side scripting techniques to manipulate the redirection process further. By crafting malicious scripts, they can dynamically change the destination URL after the initial redirection, making it even harder for security tools and users to detect the true nature of the link.</p><h3>Understanding JavaScript</h3><p>JavaScript is a versatile and widely-used programming language in production environments. It enables developers to create dynamic and interactive content for websites and web applications. As a client-side scripting language, it runs directly within a user’s web browser, making web pages more responsive and enhancing the web experience.</p><p>JavaScript can:</p><ul><li>Manipulate HTML elements.</li><li>Control the Document Object Model (DOM).</li><li>Interact with other web technologies (such as CSS).</li></ul><p>These functions provide rich user interfaces, form validation, and dynamic content updates.</p><p>The language has become an essential component of modern web development due to its flexibility, ease of use, and compatibility with various platforms. In fact, according to the <a href="https://survey.stackoverflow.co/2022/#section-most-popular-technologies-programming-scripting-and-markup-languages"><strong>2022 Stack Overflow Developer Survey</strong></a>, JavaScript has been the most popular programming language among developers for the tenth consecutive year.</p><p>Python is still better. :)</p><p>Anyways, to better understand JavaScript’s role in web applications, it is helpful to familiarize yourself with the browser’s developer console. This built-in tool in web browsers allows you to inspect, debug, and analyze the HTML, CSS, and JavaScript code running on a web page.</p><p>To access the developer console in your browser, follow these steps:</p><ul><li>For Chrome: Press Ctrl + Shift + J (Windows/Linux) or Cmd + Opt + J (Mac).</li><li>For Firefox: Press Ctrl + Shift + K (Windows/Linux) or Cmd + Opt + K (Mac).</li><li>For Safari: Press Cmd + Opt + C (Mac) after enabling the Develop menu in Safari’s preferences.</li><li>Right-click and select the “Inspect” or “Inspect Element” option in all browsers.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*mipFy-Uk6i2XgIqr.png" /></figure><p>The developer console provides various tabs and panels for different purposes, such as:</p><ol><li><strong>Elements</strong> (or Inspector): Inspect and modify the HTML and CSS of a web page.</li><li><strong>Console</strong>: Execute JavaScript commands and view error messages or logs.</li><li><strong>Sources</strong> (or Debugger): Debug JavaScript code using breakpoints and step-by-step execution.</li><li><strong>Network</strong>: Monitor network requests and analyze performance bottlenecks.</li></ol><p>By exploring the developer console, you can gain insights into how JavaScript interacts with other web technologies and learn to debug and optimize your web applications or search for vulnerabilities.</p><p><em>This is just a simple way to move stuff around on the website’s page.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*RGzA-Bsix1jc4zrAY7uCQg.gif" /><figcaption>Weaponizing Javascript can be fun and rewarding.</figcaption></figure><h3>The Consequences of Link Manipulation:</h3><p>Falling victim to link manipulation can have severe consequences for both individuals and organizations.</p><p>You know all these already but:</p><p><strong>Phishing and Credential Theft:</strong> Deceptive links can lead users to fake login pages designed to steal their credentials. Once an attacker obtains a user’s login information, they can gain unauthorized access to sensitive accounts, compromising personal and financial data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*BV-KGf63tZH8Evpepx9jVA.gif" /><figcaption>Tools like <strong>EvilGoPhish3</strong> use these tactics to bypass MFA security. You can learn more on these tools: <a href="https://www.simplerhacking.com/pages/evilgophish-course"><strong>HERE</strong></a></figcaption></figure><p><strong>Automatic Malware Installation: </strong>Manipulated links can redirect users to websites that host malicious software, such as viruses, trojans, or ransomware. By inadvertently downloading and executing these malicious files, users can compromise the security of their devices and networks.</p><p>Remember that time you tried to download that free PC game and then your computer suddenly got all slow…</p><p>That shit was Malware.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/377/1*91Cu0FWPV4p1Q3j-p2m_Cg.gif" /><figcaption>Congratulations.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*b8nCVokQ8wOHR3ZmpIFEgw.gif" /></figure><p>Financial Fraud: Attackers can use link manipulation techniques to create convincing phishing websites that mimic legitimate banking or e-commerce platforms. By tricking users into entering their financial information, attackers can conduct fraudulent transactions and steal funds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*tsgKnu0GaP6tiOk3_u0DRQ.gif" /></figure><p><strong>Reputational Damage: </strong>For organizations, falling victim to link manipulation can lead to reputational damage. If customers or clients are deceived by malicious links associated with the organization’s brand, it can erode trust and credibility, potentially leading to loss of business and revenue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rwtvzDu-X7fiyz8axfSW8A.jpeg" /><figcaption>Reputation WREKT.</figcaption></figure><p>Mitigation Strategies To protect against link manipulation attacks, both individuals and organizations can employ several mitigation strategies:</p><ol><li>User Education and Awareness: Educating users about the risks of link manipulation and teaching them to identify suspicious URLs is crucial. Users should be encouraged to verify the authenticity of links before clicking on them, especially if they are received from untrusted sources or contain unusual characters or subdomains.</li><li>URL Analysis Tools: Implementing URL analysis tools that can detect and flag potentially malicious links can help prevent users from accessing deceptive websites. These tools can examine the structure and components of a URL, comparing them against known patterns and blacklists to identify suspicious activity.</li><li>Multi-Factor Authentication (MFA): Enabling MFA adds an extra layer of security, even if a user’s credentials are compromised through link manipulation. By requiring additional factors, such as a one-time code or biometric verification, MFA can prevent unauthorized access to sensitive accounts.</li><li>Domain Monitoring: Organizations should actively monitor their domain names and variations to identify any suspicious registrations or subdomains that could be used for link manipulation. By proactively identifying and taking action against malicious domains, organizations can reduce the risk of their brand being exploited.</li><li>Browser Security Features: Modern web browsers offer built-in security features that can help detect and warn users about suspicious URLs. Ensuring that browsers are kept up to date and have these security features enabled can provide an additional layer of protection against link manipulation attacks.</li><li><strong>Shortening Service Verification:</strong> When encountering shortened URLs, users should employ URL unshortening services to reveal the original long URL before proceeding. However, it is essential to remain cautious even after unshortening, as attackers can still employ techniques to conceal the true destination.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/659/1*eJdSZNNK93dMSWTG8q8urA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Te7iiuENfB6P12alBm7UxQ.png" /><figcaption>AI has led to the creation of many tools that can unshorten and find malicious URLs automatically. Find it <a href="https://www.coze.com/store/plugin/7361220748280741893?from=explore_card"><strong>HERE</strong></a></figcaption></figure><h3>Conclusion</h3><p><strong>Link manipulation</strong> poses a significant threat to online security, as attackers continually evolve their techniques to deceive and exploit unsuspecting users. By understanding the various levels of link manipulation, from basic subdomain spoofing to advanced URL obfuscation and redirection chains, individuals and organizations can better protect themselves against these malicious practices.</p><p>Implementing a combination of user education, technical controls, and proactive monitoring is essential to mitigate the risks associated with link manipulation. By staying vigilant and adopting a multi-layered approach to security, we can create a safer online environment and reduce the impact of these deceptive tactics.</p><p>If you work in Red Teaming or Penetration Testing and want to learn how to use these tactics and combine them for Ransomware &amp; Phishing engagements, I suggest checking out <a href="https://www.simplerhacking.com/pages/evilgophish-course"><strong>EvilGoPhish Mastery (2024)</strong></a>. It’s mainly for Advanced users though.</p><p>Check out the course: <a href="https://www.simplerhacking.com/pages/evilgophish-course">HERE</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tfPTZNXrG_8dfqpIxPk9XQ.png" /><figcaption>If you’re interested in learning how to use these tactics discussed for advanced MFA phishing &amp; smishing, check out the course: <a href="https://www.simplerhacking.com/pages/evilgophish-course"><strong>HERE</strong></a></figcaption></figure><p><strong>Anyways, I hope you learned something.</strong></p><p><strong>Until next time…</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*mGXx3jyzI-4unXcVhuzKMg.gif" /><figcaption>Subscribe for more articles and insights. Peace.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tR_tmkT4l2JNH7wosiuSjg.gif" /><figcaption><a href="https://simplerhacking.medium.com/">Click to Return to Main Menu</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb1d5e09f4f6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Crack Any Modern Password with AI & Deep-Learning in under 60 minutes]]></title>
            <link>https://simplerhacking.medium.com/how-to-crack-any-modern-password-with-ai-deep-learning-in-under-60-minutes-d3bce8b1a4e1?source=rss-ee27cbd0e520------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3bce8b1a4e1</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Simpler Hacking]]></dc:creator>
            <pubDate>Sat, 11 May 2024 17:27:50 GMT</pubDate>
            <atom:updated>2024-05-18T08:19:09.599Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to Crack Any Modern Password using AI and Deep-Learning</h3><p>Hello everyone, this is SH aka <a href="https://github.com/simplerhacking">SimplerHacking</a>.</p><p>With all of the articles I write and the long <a href="https://www.simplerhacking.com/collections">courses</a> I make, I always try to explain the context of whatever we are doing/learning. So here we go:</p><p>Password cracking is obviously the oldest attack in the book.</p><p>Since everything is online now, a password is needed to login.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*JMP0tE6DEayHNOqmTYzd3Q.jpeg" /><figcaption><strong>Hacking Skill: will be increased +1 by the end.</strong></figcaption></figure><h3>The First Known Password Hack</h3><p>The story of the first password hack is pretty interesting. In 1966, Allan Scherr, a graduate student from the legendary MIT, found himself constrained by the allotted computing time he received, which was insufficient for his research needs. Students were only allowed to use the computer for a total of 4 hours a week. His ingenuity led him to a loophole within the system that allowed him to print out confidential files, including the master password file. This breach gave Scherr access to every user’s password on the system. Alan could see who and how much of the weekly computer time they were using the system. He then used multiple accounts to get pretty much unlimited computer time, using 4 hours of one student’s time, then jumping to another’s. He distributed the exploit to his friends, as well. They also hacked into their teacher’s accounts and trolled them by leaving funny messages.</p><p>It was not until decades later at a college reunion that Scherr would reveal his pioneering act in password hacking. He never knew his actions catalyzed the current age of security, and computer scientists began the race to develop password standards that could keep up with increasingly complex operating systems from being breached.</p><h3>The Origins of Hashing</h3><p>Hashing as a concept in computer science involves taking an input (or ‘message’) and using an algorithm to generate a fixed-size string of bytes, typically a digest that appears random. The original intent of hashing was to facilitate quicker data retrieval but evolved significantly over time to enhance security.</p><blockquote>Hashing passwords is a crucial method used to secure sensitive information. It involves processing plain text passwords through a cryptographic algorithm, transforming them into a sequence of seemingly random characters. These algorithms employ “one-way functions” designed to be computationally straightforward to execute but exceedingly challenging to reverse-engineer or “crack.”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kxPndJGcOpzOF7hMoSWIGw.gif" /></figure><p>Context: The basic principles of hashing were first applied in areas like data retrieval and storage before being adapted for securing passwords. As mentioned earlier, Robert Morris’s work in the UNIX system brought hashing to the forefront of cybersecurity. This was crucial during a period when digital systems were becoming integral to operations in academia, business, and government, all of which demanded robust security measures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/726/1*IbirBgK_r3GB5dOg04k2lA.png" /><figcaption>GPUs crack at record speeds.</figcaption></figure><h3>Evolution to Bcrypt Hashing</h3><blockquote>From Simple Hashing to Cryptographic Hash Functions:</blockquote><p>The transition from basic hashing algorithms to those suitable for password protection involved making them secure enough to withstand various attack vectors, including brute-force attacks. Early password security relied on simple hash functions without salt, making them vulnerable to rainbow table attacks and other forms of cryptanalysis.</p><h3>Introduction of Bcrypt:</h3><p>Bcrypt was introduced by Niels Provos and David Mazières in 1999, specifically designed to enhance password security. It incorporates several elements to thwart attackers:</p><ul><li>Salt: Bcrypt uses a salt to defeat precomputed rainbow table attacks.</li><li>Adaptive Function: Bcrypt includes a cost factor, which determines how many times the hashing function is executed. This cost factor can be increased as hardware capabilities improve, thereby maintaining a high security standard over time.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*s0E5bwWbZBkiYgUSeeiQmw.png" /><figcaption>Hackers may be excited when something like this is released. Until they see that Bcrypt.</figcaption></figure><p><strong>I like to think of Hashing as adding a layer of security that functions similarly to two-factor authentication (2FA) — [well kinda].</strong> Though technically distinct in purpose and mechanism. While 2FA involves using two different methods of verifying a user’s identity, hashing acts as a formidable barrier that complicates unauthorized access to passwords. Here’s how hashing adds this significant layer of security, creating substantial hurdles for anyone attempting to decipher passwords from their hashed forms:</p><p>The Importance of Password List Quality: While the sheer size of a password list can be tempting, Focus on lists that have been compiled from actual data breaches or those that have been carefully crafted based on real-world password usage patterns.</p><p>Notable Password Lists :</p><ol><li>RockYou: The RockYou password list, derived from a data breach in 2009, contains over 14 million passwords. Although it’s an older list, it still holds value due to the common password patterns and human behavior it represents.</li><li>Probable Wordlists: This collection of wordlists, available on GitHub (<a href="https://github.com/berzerk0/Probable-Wordlists">https://github.com/berzerk0/Probable-Wordlists</a>), offers a range of password lists sorted by probability. These lists are based on real-world password datasets and can be highly effective for cracking.</li><li>Weakpass: The Weakpass wordlist is another notable option known for its effectiveness in password cracking scenarios.</li><li><strong>Rocktastic (We’ll be using this!): Developed by Nettitude Labs, Rocktastic is a curated wordlist based on the RockYou list but enhanced with additional permutations and real-world patterns. It contains over a billion words and can be a valuable asset for comprehensive cracking attempts.</strong></li><li>Hashmob, Hashes.org, and HashKiller: These resources offer a variety of password lists that can be useful for cracking purposes.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uf1AJCz7DKsL2C0tvWTnHQ.png" /><figcaption>For this tutorial, I’m using Rocktastic. If you want to go full tilt check out <a href="https://weakpass.com/all-in-one"><strong>this</strong></a><strong> </strong>custom list.</figcaption></figure><blockquote>Bonus: If you really want to go all out with password cracking, I recommend checking <a href="https://weakpass.com/all-in-one">https://weakpass.com/all-in-one</a> list. Its a enormous enormous file, that’s been updated with all recent breaches regularly.</blockquote><p><strong>Rulesets and Customization: </strong>In addition to wordlists, rulesets play a crucial role in optimizing the cracking process. Rulesets define the modifications and transformations applied to the words in the list during the cracking attempt. Some notable rulesets include:</p><p><strong>Handling Large Wordlists: </strong>When dealing with massive wordlists in the range of 30–50 GB, having the appropriate hardware resources becomes crucial. A dedicated server equipped with powerful GPUs can significantly accelerate the cracking process. However, it is important to strike a balance between the size of the wordlist and the efficiency of the cracking operation.</p><p>So in many cases, targeted and well-curated lists may yield better results than relying solely on enormous lists.</p><p>Memory Considerations and Probabilistic Models: Password cracking is memory-intensive, often requiring substantial computational resources. When working with extensive wordlists, managing memory efficiently becomes paramount. Probabilistic models, such as Markov chains or neural networks, can help prioritize the most likely password candidates, reducing memory consumption and improving cracking efficiency.</p><h3>Hashing as a Defensive Layer</h3><h4>One-Way Transformation:</h4><ol><li>Hashing transforms plaintext passwords into a fixed-size, unintelligible string of characters. This process is deterministic, meaning the same input (password) always produces the same output (hash), but crucially, it’s designed to be a one-way function. Unlike encryption, where the original data can be retrieved with the correct key, hashed data cannot be reversed back into the original plaintext through any direct means. This one-way nature means that even if a hacker obtains the hashed passwords, they cannot simply reverse the hash to discover the original password.</li></ol><h4>2. Complexity and Computation:</h4><p>Good hashing algorithms are computationally intensive to calculate, especially those designed for password security like <strong>bcrypt</strong>, <strong>scrypt</strong>, or <strong>Argon2</strong>. These algorithms can be configured to require significant computing resources, which drastically slows down the process of generating a single hash. For a hacker, this means that attempting to crack a password through brute force (trying every possible combination) becomes time-consuming and resource-intensive. This added complexity acts much like a second factor in 2FA, significantly increasing the effort needed to breach security.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wriJeGU91Fqr9J7xA5ipXw.png" /></figure><h4>3. Salting and Key Stretching:</h4><p>To further enhance the security offered by hashing, techniques such as salting and key stretching are used:</p><ul><li>Salting adds random data to each password before it is hashed. This ensures that even if two users have the same password, their hashes will be different. It also prevents the use of precomputed tables (rainbow tables) to speed up cracking.</li><li>Key stretching techniques like PBKDF2 involve repeating the hashing process multiple times before storing the final hash. This process requires more computational power for each password attempt, thus significantly slowing down mass password cracking attempts.</li></ul><h3>Hashing &amp; Cryptography is really complicated shit…</h3><h3>You can read more about endlessly.</h3><h3>Enough talking, I will now teach you my method of cracking hashes.</h3><figure><img alt="SimplerHacking.com" src="https://cdn-images-1.medium.com/max/640/1*9_FCtU39zXYzFQSoiAERtw.gif" /><figcaption>So let’s get into the non-complicated part.</figcaption></figure><h3>Password cracking still works.</h3><h3>So how does one crack a hash?</h3><p>Password cracking involves attempting to guess or discover passwords by systematically trying different combinations of characters until a match is found. This process can be performed using various methods, such as dictionary attacks, brute-force attacks, or hybrid attacks.</p><p>The effectiveness of password cracking depends on several factors:</p><ol><li>strength of the password,</li></ol><p>2. the character size (however long in _________________)</p><p>3. the quality of the wordlist used,</p><p>4. the computational power available. (Nvidia FTW)</p><p>In this part of the article, we focus on utilizing the <strong>Rocktastic</strong> wordlist, a comprehensive collection of passwords, in combination with the power of cloud computing infrastructure provided by Vast.ai. By leveraging the capabilities of Hashcat, a popular password cracking tool, and the computational resources of Vast.ai, we demonstrate an efficient and effective method for cracking passwords.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SrAh52877kdiIXM47q0n_Q.jpeg" /></figure><h3>Our Tools:</h3><h3>1. An updated &amp; upgraded wordlist</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HONQU6JXw9PLcjDvd8cICw.png" /><figcaption>Our wordlist will be huge, The link is below.</figcaption></figure><h3>2. Hashcat</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*Q5UCWZXnO88o9m7peALkrA.png" /><figcaption>Hashcat</figcaption></figure><h3>3. A cloud computing GPU with Vast.ai</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/1*wEd_s_sN6z2SXhOsuLYFrw.jpeg" /><figcaption>Vast.AI — My go-to for cloud computing &amp; AI projects</figcaption></figure><h3>Setting Up the Environment</h3><p>To begin the password cracking process, we first need to set up the necessary environment. In this article, we utilize Vast.ai, a cloud computing platform that provides access to powerful GPU instances. Vast.ai allows users to rent GPU resources on-demand, making it an ideal choice for computationally intensive tasks like password cracking. They are cheap and fast. They are also not drain your wallet expensive like the other crap providers that I see getting advertised.</p><p>To set up the environment on <strong>Vast.ai</strong>, follow these steps:</p><ol><li>Sign up for a Vast.ai account at <a href="https://vast.ai/">https://vast.ai</a>.</li><li>Search for the <a href="https://cloud.vast.ai/?ref_id=133026&amp;template_id=f5642d0497fb13b82568f78e865352c2"><strong>Hashcat Cuda Template</strong></a> and click select.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iwqHTJCcXdtxuqCoW0i8sw.png" /><figcaption>Make sure to pick this one, its easy setup!</figcaption></figure><p>3. Configure your instance — Set your Disk Space to 200 GB+</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/513/1*YghjkiCy1HXA_daxwoYvjA.png" /><figcaption>Allocate at least 200 GB.</figcaption></figure><p>4. Select your GPU type — I’m using <strong>4x RTX 4090</strong></p><p><em>I chose the 4x RTX 4090 config so I don’t waste any time waiting for Hashcat to try all the passwords. (It will be trying over 1 billion using our wordlist!)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Q6j4UFAA6VJSHP0M_lDYQ.png" /><figcaption>This attack cost me around $5 to run from start to finish.</figcaption></figure><p><strong>(I find this the most time efficient, 4 RTX 4090s is very fast.)</strong></p><blockquote>I RECOMMEND USING SOMETHING ABOVE 2x 4090 RTX BECAUSE EVERYTHING ELSE WILL TAKE TOO LONG.</blockquote><p>5. After your instance is setup, you must now generate and connect your SSH keys.</p><p>Windows 10+ has native SSH support if you use the Windows Powershell to both generate the ssh key and to connect to the instance.</p><h3>We’ll use Windows Powershell — Its easy.</h3><p>Windows offers typical SSH access through the Powershell. The typical SSH linux commands will work in the Powershell.</p><h3>Step 1 — Open the Windows Powershell terminal</h3><p>Click on the search bar in the bottom right and type in Powershell. Click on the Windows Powershell icon to open up a new session.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*qHl0DP0NRRKgRo-4jgbnIQ.png" /><figcaption>I’m using Windows Powershell here. or You can just use PuTTY like a normal person :)</figcaption></figure><h3>Step 2 — Run the SSH Key generation command if you do not already have a default ssh key (id_rsa)</h3><p>Run the ssh key generation command in the terminal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YgmPfqwhxLp4mCTLv815vg.jpeg" /></figure><p>ssh-keygen -t rsa</p><p>You will be prompted to enter a file in which to save the key.</p><p>Hit <strong>enter</strong> to save in the default directory.</p><p>You’ll be asked for a passphrase. Press <strong>enter</strong> again to for no passphrase.</p><p>Next you will need to copy the contents of the public SSH key to paste into your Vast account. Use the following command to output the public key and copy it to your clipboard:</p><p>Get-Content $env:USERPROFILE.sshid_rsa.pub | Set-Clipboard</p><h3>Step 3 — Add SSH Key To Your Vast.AI Account</h3><p>Go back to your account page of Vast and go to instances and then Add/Remove SSH Keys section. It should be empty, click add new SSH key. Paste the SSH key CTRL+V (Its already saved to your clipboard remember)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/347/1*-2wWMxMRV99eBMgJBg36_Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/1*y1QFsnD5fdgjcUpzc2XSAA.png" /><figcaption>Go to your instance and click Add/Remove SSH Keys</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/0*rcwWb2zQTuuLIaiP.png" /><figcaption>Then just add your SSH key that’s already in your clipboard.</figcaption></figure><p>Any instances you create will now have your ssh key attached to the instance. Now you’re pretty much done, Last step.</p><h3>Step 4 — Find the SSH connection string</h3><p>Go to the instances page and look for a bright blue button that says ‘Open SSH Interface’ on the instance card.</p><p>Click it and you should see a screen similar to this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/0*b1HBxgQHWmDNnpLs.png" /></figure><p>Now copy the <strong>Direct SSH Connect</strong> string only. My Example:</p><p><strong>ssh -p 42114 </strong><a href="/service/mailto:root@1.160.174.125"><strong>root@1.160.174.125</strong></a><strong> -L 8080:localhost:8080</strong></p><p>Copy the string and paste it into your open Powershell window.</p><h3>Step 5 — Connect via Powershell</h3><p>Copy the SSH connection string into Powershell. When it prompts you for anything just say ‘yes’.</p><p>If you see yourself logged into a vast.ai container you have connected successfully!</p><p>You should get this message. Now we can jump right into Hashcat.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AQYMQvlAqixAVj5m-CFXpA.png" /><figcaption>All done.</figcaption></figure><p>Downloading our wordlist: My favorite list to use is the Rocktastic word list. It is a filterd compilation of just about all single passwords from breaches. Its huge (over 15 GB &amp; 10000000s lines). Since the file is so large, we need to extract it via a Torrent. Here’s how we do is.</p><h3>Install a BitTorrent Client</h3><p>You’ll need a command-line torrent client that can run on your Linux-based Vast.ai instance. aria2c is a lightweight and versatile command-line download utility that supports BitTorrent. You can just copy all of this code.</p><ol><li>Connect to your Vast.ai instance via SSH.</li><li>Install aria2:</li></ol><p>sudo apt update &amp;&amp; sudo apt install aria2 -y</p><h3>Step 2: Download the Wordlist via BitTorrent</h3><p>Now, use aria2c to download the Rocktastic wordlist from the provided BitTorrent link.</p><ol><li>Start the download</li></ol><p>aria2c &#39;https://labs.nettitude.com/torrents/Rocktastic12a.rar.torrent&#39; --seed-time=0</p><ul><li>The --seed-time=0 option tells aria2c to stop seeding immediately after downloading. Adjust this based on your preference or policies.</li></ul><ol><li>Monitor the download progress directly in your terminal. aria2c provides detailed information about download speeds and ETA.</li></ol><h3>Step 3: Extract the Wordlist</h3><p>Since the file is likely compressed (as indicated by the .rar extension in the torrent link), you’ll need to extract it:</p><ol><li>Install unrar if not already installed:</li></ol><p>sudo apt install unrar -y</p><ol><li>Extract the RAR file:</li></ol><ul><li>unrar x Rocktastic12a.rar</li><li>This command will help you see the extracted files and confirm the size and integrity of the wordlist.</li></ul><ol><li>Move the unzipped wordlist so Hashcat knows which wordlists to use:</li></ol><pre>mv /root/Rocktastic12a /root/hashcat/wordlists/</pre><p>I installed and extracted the list to Root. If not installed in root. Just replace the paths with the actual path and filename of the extracted Rocktastic wordlist.</p><p>Prepare Your Hash File</p><ol><li>enter Hashcat directory with cd hashcat</li></ol><p>2. Navigate to:</p><p>hash.txt</p><p>3. Find the hash you want to crack: example format</p><p><em>$2a$10$ec/C471sB0WPKXIUDbs8AuDgCg7D3p3YlkixgsWxxzKOq91O4bbhe</em></p><p>Create the hash file using the following command:</p><ul><li>echo &#39;$2a$10$ec/C471sB0WPKXIUDbs8AuDgCg7D3p3YlkixgsWxxzKOq91O4bbhe&#39; &gt; hash.txt</li></ul><h3>Run Hashcat</h3><ol><li>After extracting the wordlist, run Hashcat to start cracking the bcrypt hash using the following command:]</li></ol><p>cd hashcat</p><p>copy &amp; paste this command:</p><p>hashcat -m 3200 -a 0 -o /root/cracked.txt /root/hash.txt /root/Rocktastic12a --workload-profile 4</p><p>Command breakdown:</p><blockquote>-m 3200: Specifies the hash mode for bcrypt.</blockquote><blockquote>-a 0: Indicates a straight attack mode using the wordlist.</blockquote><blockquote>-o /root/cracked.txt: Specifies the output file for storing cracked passwords.</blockquote><blockquote>/root/hash.txt: The path to the file containing the bcrypt hash.</blockquote><blockquote>/root/Rocktastic12a: The path to the extracted Rocktastic wordlist.</blockquote><blockquote>--workload-profile 4: Sets Hashcat to use the highest performance workload profile.</blockquote><blockquote>--force: Forces Hashcat to ignore warnings and start cracking. (Optional)</blockquote><h3><strong>Hashcat will now try to crack the password using the custom wordlist.</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YlZnuokPJcJXIpmwwkoyxw.png" /><figcaption>For the Rocktastic wordlist, 4x RTX 4090s will take 1 hour or less at minimum. The more hardware, the faster the speed at which Hashcat will take to try all of them.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*X__bWJw73q1-2i-Qf5r8QQ.gif" /></figure><h3><strong>Success!</strong></h3><h3><strong>Now we need to view the cracked password.</strong></h3><p>Once Hashcat finishes running and successfully cracks the password, follow these steps to view the cracked password:</p><ol><li>In the terminal or PowerShell window connected to your Vast.ai instance, navigate to the directory where you ran the Hashcat command.</li><li>Locate the output file specified in the Hashcat command. In the previous example, the output file was set to /root/cracked.txt using the -o option.</li><li>Open the output file using a text editor or display its contents in the terminal. You can use the cat command followed by the file name to display the contents:</li></ol><ul><li>cat /root/cracked.txt</li></ul><ol><li>The cat command will display the contents of the cracked.txt file in the terminal. The cracked password will be shown next to the corresponding hash. For example, if the bcrypt hash was:</li></ol><pre>$2a$10$ec/yb026P20C7iufnCotblkHd41bb3lW3y7fml6</pre><h4>The output in the cracked.txt file might look like this:</h4><pre>$2a$10$ec/yb026P20C7iufnCotblkHd41bb3lW3y7fml6:cracksword1</pre><p>cracksword1 is the actual password that was successfully cracked by Hashcat.</p><p>Make note of the cracked password for your reference.</p><p>That’s it! By following these steps, you can easily view the cracked password that Hashcat has successfully recovered.</p><h3>Defensive Strategies: Best practices for password security include:</h3><ol><li>Using long, complex passwords that include a mix of uppercase and lowercase letters, numbers, and special characters.</li><li>Avoiding common or easily guessable passwords, such as “password123” or “qwerty.”</li><li>Using unique passwords for each account to minimize the impact of a single compromised password.</li><li>Regularly updating passwords, especially if there is suspicion of a breach or unauthorized access.</li><li>Implementing multi-factor authentication whenever possible to add an extra layer of security.</li></ol><p>Organizations should also implement strong password policies and educate their users about the importance of password security. Regular security audits and penetration testing can help identify weaknesses in password practices and guide improvements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8JCBlUof0xmuWNmJ.png" /></figure><p>Connect with me on <a href="http://www.github.com/simplerhacking">Github</a> or <a href="http://www.simplerhacking.com/">my website</a> for more resources, tutorials &amp; advanced tools.</p><p>Check out the community patreon for more non-public hacking tutorials and custom tools I use daily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/154/0*-VsdPcpNq2WEPJmt" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/527/0*rlQC8hYmdCgkmh3h" /></figure><blockquote>Join the Patreon: <a href="http://www.patreon.com/SimplerHacking">www.patreon.com/SimplerHacking</a></blockquote><h3>Enroll in our free training lessons &amp; webinars: <a href="http://www.simplerhacking.com/courses">www.simplerhacking.com/courses</a></h3><h3>- SH</h3><p><em>Owner of </em><a href="http://www.simplerhacking.com/"><em>www.SimplerHacking.com</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*JMP0tE6DEayHNOqmTYzd3Q.jpeg" /><figcaption><strong>Hacking Skill: increased +1</strong></figcaption></figure><p>Thanks for reading.</p><p>Subscribe for more. Until next time…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3bce8b1a4e1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bypassing Email Authentication in 2024: Strategies for Red Teams and Penetration Testers Facing…]]></title>
            <link>https://simplerhacking.medium.com/bypassing-email-authentication-in-2024-strategies-for-red-teams-and-penetration-testers-facing-34c95c467bcd?source=rss-ee27cbd0e520------2</link>
            <guid isPermaLink="false">https://medium.com/p/34c95c467bcd</guid>
            <category><![CDATA[social-media]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[email-marketing]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Simpler Hacking]]></dc:creator>
            <pubDate>Tue, 12 Mar 2024 03:32:30 GMT</pubDate>
            <atom:updated>2024-03-12T03:32:30.791Z</atom:updated>
            <content:encoded><![CDATA[<h3>Bypassing Email Authentication in 2024: Strategies for Red Teams and Penetration Testers Facing Gmail and Yahoo’s Security Protocol Updates</h3><p>So in 2024, Gmail and Yahoo introduced new email protocols aimed at enhancing web security and reducing spam and phishing and such.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3muhOKMYsJP-CMsuWBJKJQ.gif" /></figure><p>These updates are significant for anyone sending emails, especially bulk senders and companies, as they transition several best practices into mandatory protocols that you have to abide by to be able to send mail.</p><p>Understanding and complying with these changes is crucial for maintaining email deliverability and avoiding penalties.</p><h3>2024 Requirements of Email Authentication Protocols</h3><p>The most notable change is the enforcement of stricter email authentication protocols, including <strong>SPF (Sender Policy Framework)</strong>, <strong>DKIM (DomainKeys Identified Mail), </strong>and <strong>DMARC (Domain-based Message Authentication, Reporting, and Conformance</strong>).</p><figure><img alt="SPF, DMARC, DKIM Hacking" src="https://cdn-images-1.medium.com/max/600/1*ynODymkP_nMJWZ3Qw1aorw.gif" /><figcaption>Email Authentication holy trinity.</figcaption></figure><p>These protocols are designed to verify the sender’s identity, ensuring that emails are sent from authorized domains and have not been tampered with during transmission. Bulk senders, defined as those sending more than 5,000 emails per day to Gmail or Yahoo addresses, must implement these protocols to avoid being blocked.</p><ul><li>*SPF** helps prevent email spoofing by specifying which IP addresses are allowed to send emails on behalf of your domain.<br>**DKIM** adds a digital signature to each email, verifying its authenticity.<br>**DMARC** uses SPF and DKIM to provide a comprehensive email authentication approach, reporting discrepancies and non-compliance.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lUCJWmaIrn7k0Dhkh61s9g.gif" /></figure><h3>Spam Complaint Rate Threshold</h3><p>Another significant update is the lowering of the acceptable spam complaint rate. To ensure the quality of emails reaching users, senders must maintain a spam complaint rate below 0.1% and never exceed 0.3%. This requires senders to refine their targeting strategies, personalize content, and continuously monitor feedback from recipients.</p><h3>Enhanced DNS Protocols and Email Security Compliance</h3><p>The updates also include requirements for enhanced DNS protocols and reverse DNS (rDNS) setups, crucial for improving email traceability and reducing the risk of email fraud. Sending domains must have a clear and verifiable link to their corresponding IP addresses, comply with RFC 5322 standards, properly configure PTR records, and use TLS connections.</p><h3>One-Click Unsubscribe Option</h3><p>A new requirement for a one-click unsubscribe option in emails has been introduced, empowering recipients to easily opt out of receiving emails. This change is expected to decrease the number of spam complaints and is considered a best practice for email senders.</p><h3>Impact and Compliance</h3><p>These updates have a significant impact on bulk email senders, requiring them to adapt their email strategies accordingly. Compliance with these new protocols is essential for maintaining email deliverability and avoiding penalties such as emails being marked as spam or completely blocked by Gmail and Yahoo.</p><h3>For senders, especially those handling bulk emails, it’s crucial to:</h3><blockquote>- Implement SPF, DKIM, and DMARC for email authentication.<br>- Monitor and maintain a low spam complaint rate.<br>- Ensure compliance with enhanced DNS protocols and email security standards.<br>- Include a one-click unsubscribe option in emails.</blockquote><p>If you don’t do these they will ban you quickly. (cough, cough, SendGrid.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UZsNmy3Qz-gTF3vCOVZiFg.jpeg" /><figcaption>SendGrid used to be great for engagements (not so much anymore sadly. MailGun is my preferred.)</figcaption></figure><p>By adhering to these new requirements, senders can not only achieve greater deliverability of their emails but also build their reputation as reputable newsletter senders, benefiting from maximum newsletter deliverability in the long term.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*wRMDr-F65KxtuSkygJz-4A.gif" /><figcaption>Why you came here I assume.</figcaption></figure><h3>Here are some ideas for how current email security can be bypassed:</h3><ol><li>Exploit misconfigurations in SPF records to send emails from allowed IP addresses that aren’t properly secured.</li></ol><p>2. Leverage weaknesses in DKIM implementations, such as weak cryptographic keys or lack of key rotation, to forge valid signatures.</p><p>3. Take advantage of DMARC policies set to “p=none” (monitoring mode) rather than “p=quarantine” or “p=reject” to spoof domains without triggering hard failures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uPu0wQKEDxsZMxXqRrULEA.jpeg" /></figure><p>By carefully studying targets’ authentication setups and identifying gaps, testers can craft convincing spoof emails that pass SPF, DKIM, and DMARC checks.</p><h3>Evading Spam Filters</h3><h4>With Gmail and Yahoo lowering their spam tolerance to 0.1% before risking the “danger zone”, Red Teams must craft phishing emails that are highly targeted and engaging to avoid triggering spam complaints. Tactics include:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/279/1*epbj-4gTUrm1WyDmacYLcg.png" /><figcaption>Always check your email content’s spam score before sending.</figcaption></figure><blockquote>Personalizing emails with each recipients’ names (less generality) , job titles, or other publicly available info to increase relevance and trust.</blockquote><blockquote>Impersonating trusted brands, executives, or internal departments to lend legitimacy and urgency to the message.</blockquote><blockquote>Crafting compelling subject lines and content that play on curiosity, fear, or greed to drive interaction.</blockquote><blockquote>Hosting phishing pages on reputable cloud services or compromised sites to evade URL blacklists and malware scans.</blockquote><h3>Advanced Techniques (for nerds)</h3><h3>HTML smuggling to bypass updated email security</h3><p><a href="https://www.feroot.com/education-center/what-is-html-smuggling/"><strong>HTML smuggling</strong></a> uses a combination of HTML5 and JavaScript to construct and deliver malicious files, such as weaponized Office documents, directly in the victim’s browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*iO4-EyA4rrtLRi6AnKSCvg.png" /><figcaption><strong>Using HTML Smuggling to use HTML5 and JavaScript to inject or extract data acrosss network boundaries.</strong></figcaption></figure><ol><li>By encoding the malicious payload in the HTML/JavaScript itself, attackers can bypass perimeter-based content filters that rely on detecting suspicious MIME types or attachments.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*6jFh_uqlJ_Qg25TAp10riw.png" /></figure><p><a href="https://dwaves.de/2022/04/13/from-html5-javascript-blob-technique-to-ransomeware-js-is-evil-when-it-is-allowed-to-do-more-than-gui-animations/"><strong><em>JavaScript Blobs</em></strong> allow creating file-like objects on the client-side, which can then be downloaded using the HTML5 download attribute, without ever sending the actual file over the network.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1sHexjeFVowXGn77F7Q70w.png" /><figcaption><strong>HTML Smuggling </strong>in a nutshell.</figcaption></figure><p>To evade detection by signature-based scanners, attackers can employ various JavaScript obfuscation techniques, such as encryption (e.g., RC4), code obfuscation, or esoteric coding styles (e.g., JSFuck).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Epxh6b8iwe_yOzwbuqwLw.png" /><figcaption>JSFuck.</figcaption></figure><p>In the context of the stricter 2024 protocols, <strong>HTML smuggling can be combined with email spoofing techniques</strong> (e.g., exploiting SPF/DKIM/DMARC weaknesses) to create convincing phishing emails that pass authentication checks.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FNQw5YpiOAwc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DNQw5YpiOAwc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FNQw5YpiOAwc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a37a8304a61c1d4c85db5119cce32a2e/href">https://medium.com/media/a37a8304a61c1d4c85db5119cce32a2e/href</a></iframe><h3>Abusing Unsubscribe Mechanisms</h3><h4>The mandatory one-click unsubscribe feature in the 2024 protocols opens up new possibilities for reconnaissance and social engineering. Red Teams can:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/586/1*Q2C6QWSwxcYR6GsBoyBOJQ.png" /><figcaption>Gmail one-click unsubscribe button to make customers waste less time.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nrY2ISk4e1cK2Oo8Jh1UZg.png" /></figure><h3><strong>Send phishing campaign emails with unsubscribe links that direct to credential harvesting pages or malware downloads, exploiting users’ trust in the unsubscribe process.</strong></h3><h3><strong>Combining this with a attack pretext scenario like Evilginx3 can be very very effective.</strong></h3><figure><img alt="Evilginx3 Phishlets" src="https://cdn-images-1.medium.com/max/1024/1*G6yAnNvU8OC4iQMK5sYRng.png" /><figcaption>Check out Evilginx3’s latest version.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*imwJpTMSiko0DoE515fiUA.png" /><figcaption><a href="https://www.simplerhacking.com/courses/evilginx-course">If you want to learn how to configure &amp; deploy enterprise attacks with Evilginx3</a>, recommend this training.</figcaption></figure><p>2. Track which users unsubscribe from phishing campaigns to identify more security-aware individuals and refine target lists for future attacks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NJOGRTbgBKNDLdEzqk_smw.png" /><figcaption>Tracking user engagement periodically is essential. Always save your campaign results!</figcaption></figure><p>3.<strong> Flood targets</strong> with unsubscribe requests from spoofed emails to overwhelm and distract them, increasing the chances of a real phishing email slipping through.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cGCfrJt3GSFB00VghXRhWA.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q-dMfnwEoYUt7p5SlBpyFw.png" /><figcaption>GoPhish IOCs. Remove for better results.</figcaption></figure><p>While providing an <strong>unsubscribe</strong> option is meant to empower users, in the hands of a creative attacker it can become another vector for compromise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hhr5y-jM1PKJTpzVBBWSrw.jpeg" /><figcaption>Utilizing the one click unsubscribe button as a vector.</figcaption></figure><h3>Adapting Infrastructure</h3><h4>To ensure phishing emails are delivered in the new email landscape, Red Teams must also evolve their attack infrastructure to meet the protocols’ technical requirements, including:</h4><ol><li>Configuring mail servers to use TLS connections for email transmission</li></ol><p>2. Setting up valid forward and reverse DNS (FCrDNS) for sending IPs</p><p>3. Rotating IPs and domains frequently to avoid reputation damage from spam complaints.</p><p>4. Hosting phishing pages on HTTPS sites with valid SSL certificates to convey legitimacy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*teyB4FZqkLrBbwTyBvcv0g.gif" /></figure><p>By aligning attack infrastructure with the new protocols, testers can ensure their phishing emails have the best chance of reaching targets’ inboxes.</p><blockquote>Conclusion</blockquote><blockquote>By combining old school phishing tactics with new creative abuse of the new authentication filtering, and unsubscribe requirements, testers can continue to campaigns that educate and challenge organizations’ human firewalls. The key is to adapt infrastructure, further personalize content, and continuously iterate to stay one step ahead of defenses. In email security, the most effective teams will be those that can turn obstacles into opportunities.</blockquote><blockquote>Have questions? Email Me: info@simplerhacking.com</blockquote><blockquote><a href="https://tracxn.com/d/companies/simpler-hacking/__sSYE6en_u0SEV6qTZssF17Qfe8uSQOPx1npmUSebVL4">- SH</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*I03lSEA6kRzEUwCy9IEGvw.gif" /></figure><p><em>Citations:<br></em><a href="https://www.computersolutionseast.com/blog/cybersecurity-trends/gmail-yahoo-announces-policy-for-2024/"><em>https://www.computersolutionseast.com/blog/cybersecurity-trends/gmail-yahoo-announces-policy-for-2024/</em></a><em><br></em><a href="https://www.entrust.com/blog/2024/02/google-and-yahoos-new-email-requirements-and-recommendations/"><em>https://www.entrust.com/blog/2024/02/google-and-yahoos-new-email-requirements-and-recommendations/</em></a><em><br></em><a href="https://www.acymailing.com/2024-email-compliance-guide-whats-new-in-gmail-and-yahoo/"><em>https://www.acymailing.com/2024-email-compliance-guide-whats-new-in-gmail-and-yahoo/</em></a></p><p><em>Sources to learn more:<br></em><a href="https://blog.google/products/gmail/gmail-security-authentication-spam-protection/"><em>https://blog.google/products/gmail/gmail-security-authentication-spam-protection/</em></a><em><br></em><a href="https://www.buzzstream.com/blog/google-yahoo-email-requirements/"><em>https://www.buzzstream.com/blog/google-yahoo-email-requirements/</em></a><em><br></em><a href="https://www.omnisend.com/blog/gmail-yahoo-update/"><em>https://www.omnisend.com/blog/gmail-yahoo-update/</em></a><em><br></em><a href="https://woodpecker.co/blog/gmail-rules-changes-february-2024/"><em>https://woodpecker.co/blog/gmail-rules-changes-february-2024/</em></a><em><br></em><a href="https://www.spiceworks.com/marketing/marketing-automation/guest-article/googles-february-gmail-updates/amp/"><em>https://www.spiceworks.com/marketing/marketing-automation/guest-article/googles-february-gmail-updates/amp/</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34c95c467bcd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What the Mercedes-Benz Hack means for the security of AI & Self-Driving Cars]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://simplerhacking.medium.com/what-the-mercedes-benz-hack-means-for-the-security-of-ai-self-driving-cars-8e8df2fc555a?source=rss-ee27cbd0e520------2"><img src="https://cdn-images-1.medium.com/max/754/1*7FOzrPWMR31S72nMFi4Psg.jpeg" width="754"></a></p><p class="medium-feed-snippet">Mercedes-Benz recently suffered a data breach that exposed internal source code and other proprietary information after an employee&#x2026;</p><p class="medium-feed-link"><a href="https://simplerhacking.medium.com/what-the-mercedes-benz-hack-means-for-the-security-of-ai-self-driving-cars-8e8df2fc555a?source=rss-ee27cbd0e520------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://simplerhacking.medium.com/what-the-mercedes-benz-hack-means-for-the-security-of-ai-self-driving-cars-8e8df2fc555a?source=rss-ee27cbd0e520------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e8df2fc555a</guid>
            <category><![CDATA[tesla]]></category>
            <category><![CDATA[self-driving-cars]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Simpler Hacking]]></dc:creator>
            <pubDate>Tue, 30 Jan 2024 13:34:09 GMT</pubDate>
            <atom:updated>2024-01-30T13:34:09.981Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Comparing Nvidia RTX Series, Laptops, & best GPUs for Hacking + Cybersecurity]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://simplerhacking.medium.com/comparing-nvidia-rtx-series-laptops-best-gpus-for-hacking-cybersecurity-f0f10d362bd5?source=rss-ee27cbd0e520------2"><img src="https://cdn-images-1.medium.com/max/600/1*GI3Pgbov3jKI09PatwmXoA.jpeg" width="600"></a></p><p class="medium-feed-snippet">I recently have been doing a lot of hashing with my Nvidia GPU recently. Being in this industry made me look a little deeper into the main&#x2026;</p><p class="medium-feed-link"><a href="https://simplerhacking.medium.com/comparing-nvidia-rtx-series-laptops-best-gpus-for-hacking-cybersecurity-f0f10d362bd5?source=rss-ee27cbd0e520------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://simplerhacking.medium.com/comparing-nvidia-rtx-series-laptops-best-gpus-for-hacking-cybersecurity-f0f10d362bd5?source=rss-ee27cbd0e520------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0f10d362bd5</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[passwords]]></category>
            <category><![CDATA[cracking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Simpler Hacking]]></dc:creator>
            <pubDate>Mon, 01 Jan 2024 13:14:24 GMT</pubDate>
            <atom:updated>2024-01-01T13:14:24.335Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Using ChatGPT, Claude.AI, & Generative AI]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://simplerhacking.medium.com/using-chatgpt-claude-ai-748cae57bd96?source=rss-ee27cbd0e520------2"><img src="https://cdn-images-1.medium.com/max/1280/1*bzO8tccCNLdnKKL3QrmkmQ.jpeg" width="1280"></a></p><p class="medium-feed-snippet">How Hackers Use ChatGPT, Claude.AI for Cyber Threats: Tactics, AI Hacking Insights.</p><p class="medium-feed-link"><a href="https://simplerhacking.medium.com/using-chatgpt-claude-ai-748cae57bd96?source=rss-ee27cbd0e520------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://simplerhacking.medium.com/using-chatgpt-claude-ai-748cae57bd96?source=rss-ee27cbd0e520------2</link>
            <guid isPermaLink="false">https://medium.com/p/748cae57bd96</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Simpler Hacking]]></dc:creator>
            <pubDate>Sat, 16 Dec 2023 14:57:05 GMT</pubDate>
            <atom:updated>2023-12-20T02:32:28.844Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Advanced Phishing Unveiled: Mastering Evilginx 3 for Robust AD FS and MFA Security]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://simplerhacking.medium.com/advanced-phishing-unveiled-mastering-evilginx-3-for-robust-ad-fs-and-mfa-security-252ee135eb9c?source=rss-ee27cbd0e520------2"><img src="https://cdn-images-1.medium.com/max/2100/1*DfrAiHxexJcIA5WS665j1Q.jpeg" width="2100"></a></p><p class="medium-feed-snippet">n phishing simulations and real-world attacks, understanding the intricacies of AD FS and MFA is critical. Attackers using advanced tools&#x2026;</p><p class="medium-feed-link"><a href="https://simplerhacking.medium.com/advanced-phishing-unveiled-mastering-evilginx-3-for-robust-ad-fs-and-mfa-security-252ee135eb9c?source=rss-ee27cbd0e520------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://simplerhacking.medium.com/advanced-phishing-unveiled-mastering-evilginx-3-for-robust-ad-fs-and-mfa-security-252ee135eb9c?source=rss-ee27cbd0e520------2</link>
            <guid isPermaLink="false">https://medium.com/p/252ee135eb9c</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[malware]]></category>
            <category><![CDATA[phishing]]></category>
            <dc:creator><![CDATA[Simpler Hacking]]></dc:creator>
            <pubDate>Wed, 06 Dec 2023 10:22:28 GMT</pubDate>
            <atom:updated>2023-12-11T03:33:06.474Z</atom:updated>
        </item>
    </channel>
</rss>