<?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 Kasika Ibrahim on Medium]]></title>
        <description><![CDATA[Stories by Kasika Ibrahim on Medium]]></description>
        <link>https://medium.com/@kasika101?source=rss-b750540ae3eb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*N_Z6cAqak0Nj0doS</url>
            <title>Stories by Kasika Ibrahim on Medium</title>
            <link>https://medium.com/@kasika101?source=rss-b750540ae3eb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 23:11:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kasika101/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[Behind Phishing]]></title>
            <link>https://medium.com/@kasika101/behind-phishing-a175d3007c60?source=rss-b750540ae3eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/a175d3007c60</guid>
            <category><![CDATA[phishing-awareness]]></category>
            <category><![CDATA[malware]]></category>
            <category><![CDATA[phishing]]></category>
            <dc:creator><![CDATA[Kasika Ibrahim]]></dc:creator>
            <pubDate>Tue, 18 Aug 2026 09:56:38 GMT</pubDate>
            <atom:updated>2026-08-18T09:56:38.078Z</atom:updated>
            <content:encoded><![CDATA[<p>What happens on the attacker&#39;s side when you click that suspicious link on your email?</p><p>When you receive an email that reads, “Your Microsoft 365 password is about to expire. Click to verify your account, or a new salary increase file called salary_increase.exe.pdf.”</p><p>Most people are told not to click these links, but have you ever wondered what happens when you click the links?</p><p>We will cover two types of phishing.</p><ol><li>Credential harvesting phishing.</li><li>malware deployment phishing.</li></ol><h3>CREDENTIAL HARVESTING</h3><p>You get an email reading:</p><p>Your Microsoft 365 password is about to expire. Click here to verify your account.</p><p>Or you get a message claiming someone shared a video with you and you should log in to your social media account to watch the video.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*Ffb4XXhz7YcwHd3j_yK-rg.png" /><figcaption>a fake social media login example</figcaption></figure><p>Creators on TikTok and YouTube often receive emails or texts promising sponsorship deals. To “verify” their identity and access the offer, they are asked to log in with their account details.</p><p>Many people click these links and enter their information without realizing they have just handed their credentials to an attacker.</p><p>The goal of this attack is to collect different kinds of credentials. They might include:</p><ol><li>An account login credentials (username and password)</li><li>Banking details</li><li>specific information like your mother&#39;s name, your maiden name, and your pet&#39;s name</li><li>personal details like your phone number</li></ol><p>E.G.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*7RhOK8TZz7wAOhIUGJNMfQ.png" /><figcaption>a fake Google login account that collects an email and a password</figcaption></figure><h4>WHAT HAPPENS ON THE ATTACKERS&#39; END</h4><p>First let us digest the code on these fake pages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*QguDgiSQZsOUB8_jBY6qLg.png" /><figcaption>code example</figcaption></figure><p>Behind the fake login page above is a simple script. When a victim submits their details, the page quietly collects:</p><ul><li>Email and password</li><li>User-agent (browser and device information)</li><li>Language settings</li><li>Screen resolution</li><li>Timestamp</li></ul><p>The purpose of collecting this additional information is to provide the attacker with more context about the victim and the environment in which the phishing page was accessed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*PQSejhHJACTucAiepDQ0Ig.png" /></figure><p>The details are then sent to the attacker through a Discord webhook, and the victim is redirected to their account.</p><p>On the attacker&#39;s end, the following information is received:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/541/1*Sw2mjG-Y_AK8WCHYiYW8dQ.png" /><figcaption>Not a real email and password</figcaption></figure><p>If the stolen credentials are valid and the targeted account does not have sufficient additional protection, like MFA, the attacker may attempt to authenticate to the account.</p><p>This can potentially give them access to services associated with that account.</p><p>ATTACK CHAIN</p><p>The victim receives an email.<br>↓<br>Clicks link<br>↓<br>Phishing infrastructure<br>↓<br>Fake login page<br>↓<br>The victim submits credentials.<br>↓<br>Credentials captured<br>↓<br>The attacker attempts account access.</p><h3>Malware Deployment</h3><p>Instead of asking for your login details, some phishing emails try to get you to download and open a file. You get a Q3_Bonus_Report.docx, which is actually malware hidden. Attackers sometimes place malicious files inside password-protected archives because automated security scanners may have difficulty inspecting the archive contents without the password. The password is often provided with the email.</p><p>The goal of this attack may vary, and it includes but is not limited to:</p><ul><li>Install a remote access tool so the attacker can control the machine</li><li>Steal saved passwords, browser cookies, and files</li><li>Encrypt files for ransomware</li><li>Use the infected computer to send more phishing emails</li><li>Mine cryptocurrency or join a botnet</li></ul><h4>WHAT THE ATTACKERS SEE</h4><p>On the attackers&#39; side, the process is monitored through a C2 panel. The C2 panels include Sliver, Cobalt Strike, Havoc, and Mythic</p><p>On the attackers&#39; side, they set up a listener that waits for a call back when the file is executed. This happens when the file is downloaded and clicked.</p><p>example of a successful attack on the attackers&#39; side</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/682/1*R5__l1XEd4nxLU_0JMnw8w.png" /><figcaption>a sliver successful payload</figcaption></figure><p>Executing commands on the attacker&#39;s side</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*0MOZATzzvRSDjPBeih9Frw.png" /></figure><p>On the victim&#39;s side, we get to know if the file is executed when any of the following happens:</p><ol><li>A window briefly opens</li><li>An error message appears</li><li>Unknown background processes start running</li><li>A document opens</li></ol><h4>Attack Chain</h4><p>Phishing email</p><p>↓The victim clicks the link.</p><p>↓ Malicious file downloaded</p><p>↓ Victim opens or executes the file</p><p>↓ Malicious code runs</p><p>↓ Connection to attacker infrastructure</p><p>↓ Command and control</p><p>↓ Shell / further post-exploitation</p><h4>Persistance</h4><p>The attackers use a couple of persistence methods to ensure that a simple reboot will not end the attack, and every time the computer runs, the attack continues. They include:</p><ol><li>Registry Run/RunOnce keys</li></ol><p>2. Scheduled tasks</p><p>3. Startup folder entries</p><p>4. WMI event subscriptions</p><p>5. Malicious Windows services</p><h4>WHY IT WORKS</h4><p>Phishing succeeds not because users are careless, but because the attacks are genuinely convincing. Modern credential harvesting pages are perfect replicas of legitimate sites. The URLs are designed to look plausible at a glance. The emails arrive with correct branding, professional language, and a sense of urgency that bypasses careful thinking.</p><p>The most dangerous phishing campaigns are not the obvious ones. They are the ones that arrive at exactly the right moment when you are busy, distracted, or already expecting a message from that sender.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a175d3007c60" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SLIVER C2]]></title>
            <link>https://medium.com/@kasika101/sliver-c2-c6a9e7d393f0?source=rss-b750540ae3eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6a9e7d393f0</guid>
            <dc:creator><![CDATA[Kasika Ibrahim]]></dc:creator>
            <pubDate>Sat, 08 Aug 2026 12:13:35 GMT</pubDate>
            <atom:updated>2026-08-08T12:13:35.991Z</atom:updated>
            <content:encoded><![CDATA[<p>What is Sliver</p><p>It is a modern C2 framework that helps solve the following problems:</p><p>→ a cross-platform solution</p><p>→ secure end-to-end communication</p><p>→ High customizability for implants</p><h3><strong>Call-back protocols</strong></h3><p>These are the basic commands that malware uses to call back home. They include:</p><h4>DNS</h4><p>Commands and data get encoded with DNS queries and responses.</p><p>PROS</p><ol><li>It is easy to bypass the firewall with it</li><li>does not require internet for implant</li></ol><p>Cons</p><ol><li>slow</li><li>It can be detected using DNS traffic</li></ol><h4>HTTP and HTTPS</h4><p>The implants talk to your listener just like a browser. This makes the implants look like they are browsing an HTTP website.</p><p>Pros</p><ol><li>It is fast and highly encrypted</li><li>blends with normal traffic</li></ol><p>Cons</p><ol><li>can be detected using Ja3</li></ol><h4>MTLS</h4><p>It is a method that makes sure that both sides of the network prove who they are.</p><p>Pros</p><ol><li>It is the most secure</li><li>It is fully encrypted</li><li>It is simple and direct</li><li>It is fast</li></ol><p>Cons</p><ol><li>unique; hence, it is easy to detect</li><li>It needs a non-standard port; hence, it can be detected easily</li></ol><p>Attack example</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/1*1sbLboSwd1za3xCM9jNsRw.png" /><figcaption>starting sliver</figcaption></figure><p>We use the generate command to create a payload.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*A3NZsKHyzxFlOOsVAXeDxg.png" /><figcaption>generating a payload</figcaption></figure><p>We set up a listener.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/1*iugWTpYZRHk65aHZ5Xw30Q.png" /><figcaption>setting up a sliver listener</figcaption></figure><p>We use a Python 3 server to access the payload.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*z_OkxNgYB4W3sH4P_BrqBg.png" /><figcaption>python3 server for the payload</figcaption></figure><p>We get a response on our machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/1*bhhvEy4PS7zYMJxdJPy8Wg.png" /><figcaption>acceptance response</figcaption></figure><p>Let us create a file called &quot;hacked&quot; on the desktop that will appear on the victim&#39;s machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*AQvnFk3rFfPy2h_Mg7H7sg.png" /></figure><p>on the Windows machine</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*AQvnFk3rFfPy2h_Mg7H7sg.png" /></figure><p>Links that contain a download of this malware will cause home or work machines to be infected</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6a9e7d393f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OAUTH 2.0]]></title>
            <link>https://medium.com/@kasika101/oauth-2-0-a302af1944e7?source=rss-b750540ae3eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/a302af1944e7</guid>
            <dc:creator><![CDATA[Kasika Ibrahim]]></dc:creator>
            <pubDate>Sat, 25 Jul 2026 19:44:04 GMT</pubDate>
            <atom:updated>2026-07-26T10:02:20.891Z</atom:updated>
            <content:encoded><![CDATA[<p>What is OAUTH</p><p>OAuth is a process that allows an application to access specific user data without the need of authentication or the user&#39;s password. <br>Basically the client gets authorized to act on your data without ever seeing your credentials.</p><h4><strong><em>Simple example</em></strong></h4><p>Imagine that you are hiring a personal chef. The chef will need access to your kitchen so that they can cook for you.</p><p>→ Without OAuth, you will need to give the chef your house keys, your kitchen keys, and access to the whole house so that they can cook for you.</p><p>→ With OAuth, the only thing that you need is to give the chef your kitchen keys through a multi-step format, which is the chef arrives at your door and knocks, they identify themselves as the chef, and they request access to the kitchen. You allow access to the kitchen by unlocking your main door and showing them where the kitchen is. They get to the kitchen, do what got them to the kitchen, and then they leave, having only access to the kitchen.</p><h4>Practical example</h4><p>You want Calendly to automatically check your availability and book meetings on your Google Calendar. Without OAuth, you would give Calendly your full Google email and password. Calendly can now read all your emails and access your Google Drive; they can even change your Google account settings. With OAuth, you click &quot;connect with Google&quot; inside Calendly; Google shows you exactly what Calendly is asking for, e.g., create events, see your calendar events. You grant these permissions by clicking allow.</p><p>OAuth was built to solve the password-sharing issue and full unrestricted access that is given to third-party applications.</p><h4>How does OAuth 2.0 work?</h4><p>OAuth 2.0 was originally developed as a way of sharing access to specific data between applications. It works by defining a series of interactions between three distinct parties, namely a client application, a resource owner, and the OAuth service provider.</p><ol><li>client application—The Cook, Calendly</li><li>Resource owner—You, my data in my Google</li><li>Oauth service provider—YOU at the door or gate, Google</li><li>Resource server—The kitchen, Google</li></ol><p>OAuth has two major types</p><h4><strong>1. Authorization Code Grant Type.</strong></h4><p>This is the most secure of the two flows, and it has 7 major steps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AzNPBHZsxbAIpoX7mVorzg.jpeg" /></figure><p><strong>steps</strong></p><h4>1. Authorization Request</h4><p>The client sends a request to the /authorization endpoint asking for permission to access specific data.</p><p>It contains the following parameters:</p><ol><li>client_id -&gt; unique identifier for the client</li><li>redirect uri -&gt; where the client will be redirected to</li><li>response type -&gt; what the response application is expecting</li><li>scope -&gt; what subset of data the app wants to access</li><li>state -&gt; unique value tied to the current session</li></ol><p><em>The chef arrives at your house, knocks on the door, and says, &quot;Hi, I’m the chef you hired. Here’s my ID (</em><strong><em>client_id</em></strong><em>). Please let me into the kitchen only (</em><strong><em>scope</em></strong><em>). After you decide, send me back to the side door (</em><strong><em>redirect_uri</em></strong><em>). Also, here’s a secret note so we both know this is the same visit (</em><strong><em>state</em></strong><em>).”</em></p><h4>2. user login consent</h4><p>The user is presented with a login page with the specific data that the application wants to access. The user then chooses to accept or deny.</p><p><em>You look through the peephole, confirm it’s really the chef, and decide whether to give him kitchen access or not.</em></p><h4>3. Authorization code grant</h4><p>if the user clicks accept, the browser redirects to the callback endpoint.</p><p><em>You accept. Instead of giving the chef the actual kitchen key right away, you hand him a temporary paper slip (</em><strong><em>the authorization code</em></strong><em>) and tell him to go to the side door.</em></p><h4>4. Access token request</h4><p>A server-to-server post request is sent in the /token endpoint. It takes place in a secure endpoint; hence, it cannot be observed.</p><p><em>The chef takes the paper slip to a secure back office (</em><strong><em>server-to-server</em></strong><em>) and says, &quot;Here&#39;s the temporary slip you gave me. Please exchange it for the real kitchen key.”</em></p><h4>5. access token grant</h4><p>An access token is granted if everything is done as expected.</p><p><em>The back office checks the slip, confirms everything is correct, and gives the chef the real kitchen key (</em><strong><em>the access token</em></strong><em>). Sometimes they also give a spare key that lasts longer (</em><strong><em>the refresh token</em></strong><em>).</em></p><h4>6. API call</h4><p>The application fetches the user data from the resource server.</p><p><em>The chef uses the kitchen key to open the kitchen door and starts cooking.</em></p><h4>7. resource grant</h4><p>It verifies tokens and verifies that it belongs to the current client application</p><p><em>The kitchen lock checks the key. If it’s valid and belongs to this chef, it opens and lets him work only in the kitchen.</em></p><h4>2. Implicit code grant type</h4><p>It is a less secure and very simple type of OAuth.</p><p>All its communication happens via browser redirects</p><p>STEPS</p><ol><li>Authorization request</li><li>user login and consent</li><li>access token grant</li><li>API call</li><li>resource grant</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a302af1944e7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>