<?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 sushil phuyal on Medium]]></title>
        <description><![CDATA[Stories by sushil phuyal on Medium]]></description>
        <link>https://medium.com/@1337mickey?source=rss-e56503fa57d5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*rSj9wPTUUfX94i25eFKLGA.jpeg</url>
            <title>Stories by sushil phuyal on Medium</title>
            <link>https://medium.com/@1337mickey?source=rss-e56503fa57d5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 21:17:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@1337mickey/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[Cookie Jar Overflow: A New Threat to HttpOnly Cookies in XSS Vulnerable Applications]]></title>
            <link>https://infosecwriteups.com/cookie-jar-overflow-a-new-threat-to-httponly-cookies-in-xss-vulnerable-applications-9ceac4041082?source=rss-e56503fa57d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ceac4041082</guid>
            <category><![CDATA[web-app-security]]></category>
            <category><![CDATA[session-hijacking]]></category>
            <category><![CDATA[httponly-cookie]]></category>
            <category><![CDATA[xss-attack]]></category>
            <category><![CDATA[cookie-jar-overflow]]></category>
            <dc:creator><![CDATA[sushil phuyal]]></dc:creator>
            <pubDate>Sun, 08 Dec 2024 08:27:45 GMT</pubDate>
            <atom:updated>2024-12-08T09:56:30.540Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JublJlxgcjpHMxx4Oytl9A.png" /></figure><p>Cross-Site Scripting (XSS) is often considered a beautiful attack due to its elegance and effectiveness in exploiting vulnerabilities within web applications. As security professionals and ethical hackers, we frequently encounter XSS vulnerabilities, and the excitement of discovering one is often paired with the dread of an HttpOnly flag. When we find an XSS vulnerability, one of the primary obstacles we face is the HttpOnly flag. The HttpOnly flag, when set on cookies, restricts access to those cookies from client-side JavaScript, thus adding a layer of protection against attacks that aim to steal session cookies. This makes it significantly harder for attackers to compromise user sessions using XSS alone. So, we generally chain it with CSRF to leverage the impact of XSS.</p><p><strong>However, what if I told you that we can still hijack HttpOnly cookies using a basic XSS attack?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*gBErwAPkmbO9WLGNJdOFIA.jpeg" /></figure><p>Everything has its storage, and cookies are no exception. In the case of Chrome, the cookie jar is limited to 4096 bytes per domain. This means that the total size of all cookies set for a given domain cannot exceed this limit. When a JavaScript function generates more than 500 cookies for the same domain, the browser will begin deleting the oldest cookies in the jar to accommodate new ones, effectively pushing the size of the cookie storage. Now, here’s where an attacker can take advantage of this behavior. In scenarios where an attacker can manipulate cookies or inject additional cookies (for instance, through XSS), the browser’s cookie jar mechanism becomes an opportunity for exploitation. As cookies are automatically deleted to make space for newer ones, the attacker can leverage this process to overflow the cookie jar, leading to potential vulnerabilities that can be exploited. By carefully crafting the cookies and controlling their contents, an attacker could gain access to or interfere with critical session data, making this a powerful avenue for malicious actions.</p><p>Consider the following JavaScript snippet:</p><pre>&lt;img src=&quot;x&quot; onerror=&quot;for(let i=999;i--;)document.cookie=`c${i}=${i};Secure`;document.cookie=&#39;PHPSESSID=1337mickey&#39;;&quot;&gt;</pre><p>In this example, the JavaScript generates 999 cookies with random values. After these cookies are set, the last cookie (PHPSESSID=1337mickey) is manually created, mimicking the session ID of the victim.</p><p>Session IDs are typically generated by browsers and later linked to the user’s session by the application. By injecting the victim’s session ID (PHPSESSID), the attacker can hijack the session, effectively taking over the victim&#39;s account.</p><p>This attack takes advantage of the cookie jar overflow behavior. Since browsers automatically delete the oldest cookies when the storage limit is reached, the attacker can carefully craft the overflow process to ensure that the last cookie generated is the one containing the victim’s session ID. This opens the door to session fixation and account takeover.</p><p>Let’s try to replicate the attack in the lab created by me:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*FqTzgbB_yJ-6XXDXeX5yuw.png" /></figure><p>When you log in to the system, the PHP session ID (PHPSESSID) is stored in your browser’s cookies to maintain the session state. This session ID is crucial for the application to link your authenticated session with your actions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-8gP2KmYwz-_F1YDroyYcg.png" /><figcaption>before exploit</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/999/1*w0ELktmiVgyZM8wQfU97mQ.png" /></figure><p>Before we can exploit this, we need to find a vulnerability in the application. In this case, the <strong>search feature</strong> on the dashboard page is vulnerable to <strong>Reflected XSS</strong>. Reflected XSS occurs when user-supplied input is immediately included in the output response, allowing an attacker to inject malicious scripts into the page.</p><pre>https://example.com/dashboard.php?search=&lt;img src=&quot;x&quot; onerror=&quot;for(let i=999;i--;)document.cookie=`c${i}=${i};Secure`;document.cookie=&#39;PHPSESSID=1337mickey&#39;;&quot;&gt;</pre><p>What this payload does is generate a large number of cookies using a loop. After 999 cookies are generated, it sets the session cookie PHPSESSID=1337mickey. The key part here is that the PHPSESSID cookie will override the session ID stored in the browser, and the session ID used by the attacker is now set to 1337mickey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DuHaQGqNfh8aoeLGmZOMIw.png" /></figure><p>At this point, the victim may be logged out of the application and might think it’s a glitch or session timeout. They log in again, but now something crucial has happened: the browser has stored the session ID (1337mickey) in its cookies.</p><p>Now, as the attacker, you can use the PHPSESSID=1337mickey session ID stored in your browser to authenticate as the victim. With this session ID, you effectively have full access to the victim&#39;s account, and the attack is complete.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OJhnkKuaQENvZ-dv_3_kYQ.png" /><figcaption>account takeover successful</figcaption></figure><p><strong>Feel free to suggest and follow!</strong></p><p>Your feedback and suggestions are always welcome. If you have any questions or ideas to improve the content, don’t hesitate to reach out.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ceac4041082" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/cookie-jar-overflow-a-new-threat-to-httponly-cookies-in-xss-vulnerable-applications-9ceac4041082">Cookie Jar Overflow: A New Threat to HttpOnly Cookies in XSS Vulnerable Applications</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hijacking your JavaScript using prototype pollution]]></title>
            <link>https://infosecwriteups.com/hijacking-your-javascript-using-prototype-pollution-8caeac16b13f?source=rss-e56503fa57d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/8caeac16b13f</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[xss-attack]]></category>
            <category><![CDATA[prototype-pollution]]></category>
            <dc:creator><![CDATA[sushil phuyal]]></dc:creator>
            <pubDate>Sat, 13 Apr 2024 05:22:05 GMT</pubDate>
            <atom:updated>2024-04-13T05:22:05.341Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7vI5QP-KWdWHjt-QWErYcA.png" /></figure><p>In JavaScript, prototypes are a fundamental concept that underpins inheritance and object-oriented programming. They act as blueprints that define the properties and methods that objects created from a constructor function can access. Imagine you have a bunch of colorful toys (objects) in JavaScript. Prototypes are like the special things each type of toy can do. Lions (objects) have sounds (methods), like a lion can roar (a method). When a lion gives birth to a new cub (another object), it already knows how to roar because it learned the trick from the “lion prototype” (kind of like a super lion!). This way, all the lions can roar without needing to be taught one by one.</p><pre>// Imagine this is a box of building blocks for making animals (constructor function)<br>function Animal(name, sound) {<br>  this.name = name; // Defines a property &quot;name&quot; for each animal<br>  this.sound = sound; // Defines a property &quot;sound&quot; for each animal<br>}<br><br>// This is the special trick all animals learn (method added to the prototype)<br>Animal.prototype.makeSound = function() {<br>  console.log(this.name + &quot; says &quot; + this.sound);<br>};<br><br>// Now you can create specific animals (objects) using the Animal blueprint<br>const cat = new Animal(&quot;Cat&quot;, &quot;Meow&quot;);<br>const dog = new Animal(&quot;Dog&quot;, &quot;Woof&quot;);<br><br>// Even though you didn&#39;t define &quot;makeSound&quot; for each animal, they can use it!<br>cat.makeSound(); // Output: Cat says Meow<br>dog.makeSound(); // Output: Dog says Woof<br><br>// This is because they inherited the &quot;makeSound&quot; trick from the Animal prototype</pre><p>Prototypes act like blueprints for creating objects. We define a function like Animal to set the basic properties (name, sound) for animal objects. Instead of writing the same “makeSound” function for each animal, we add it to the Animal.prototype. This is like a shared instruction sheet. So, when we create specific animals (cat, dog) using the Animal blueprint, they inherit the “makeSound” trick and can make their sounds without needing it written out individually! This saves time and keeps our code organized.</p><p>Prototype pollution is a JavaScript vulnerability that arises when an attacker can inject properties (key-value pairs) into built-in JavaScript object prototypes. These prototypes serve as blueprints for objects created using them. By manipulating prototypes, attackers can modify the behavior of all objects that inherit from those prototypes, potentially leading to unauthorized access, privilege escalation, or even remote code execution. Imagine objects in JavaScript as houses. Each house is built based on a blueprint (prototype). Prototype pollution is like a trickster vandalizing the town’s main blueprint (a built-in object prototype) by adding hidden doors or secret compartments (malicious properties). Now, every new house built using that blueprint inherits these hidden features, potentially compromising security or causing unexpected behavior in the entire town (your application).</p><pre>let user = {}; // Object to represent a user<br><br>function createUser(username) {<br>  user.username = username; // Potentially vulnerable if username is not sanitized<br>}<br><br>createUser(&quot;admin__proto__={admin: true}&quot;); // Attacker injects a property into the prototype<br><br>let anotherUser = {}; // Another object created later<br>console.log(anotherUser.admin); // Inherits the admin property, potentially granting unauthorized access</pre><p>The vulnerability lies in the way “admin__proto__={admin: true}” is handled. By not sanitizing the username, the attacker injects a property named “proto” (which defines the prototype inheritance chain) along with the actual username (“admin”). This modifies the prototype of the user object, adding an “admin” property with a value of true. Since new objects like anotherUser inherit from the polluted prototype, they unexpectedly gain access to the “admin” property, potentially granting unauthorized privileges if the application relies on it for access control.</p><p>Now, here’s where things get interesting regarding chaining to JavaScript injections. Let’s say the application uses this admin property for access control, assuming that only administrators have access to certain features or data. Since anotherUser inherits from the polluted prototype of user, it unexpectedly gains access to the “admin” property. This situation potentially grants unauthorized privileges to anotherUser, as evidenced by the console.log(anotherUser.admin) statement, which outputs true.</p><p>To explain how prototype pollution can be chained with JavaScript injections to exploit vulnerabilities, let’s create an example scenario where an attacker leverages both techniques to carry out a malicious attack. Imagine a web application that has a user profile feature where users can customize their profile with a bio section. The application allows users to input text for their bio, which is then displayed on their profile page. Here’s a simplified example code snippet representing this scenario:</p><pre>let userProfile = {};<br><br>function updateBio(newBio) {<br>  userProfile.bio = newBio; // Update user&#39;s bio<br>}<br><br>// User input obtained from a form field<br>let userInputBio = &quot;I love coding!&quot;;<br><br>updateBio(userInputBio); // User updates their bio<br><br>// Display the user&#39;s bio on their profile page<br>console.log(&quot;User&#39;s Bio:&quot;, userProfile.bio);</pre><p>Now, let’s see how an attacker can exploit this application using prototype pollution chained with JavaScript injections:</p><ol><li><strong>Prototype Pollution:</strong> The attacker first exploits the prototype pollution vulnerability to manipulate the behavior of the Object prototype. They inject a new property into the prototype chain that alters the behavior of all objects inheriting from it.</li></ol><pre>Object.prototype.attackFunction = function() {<br>  // Malicious code executed by the attacker<br>  console.log(&quot;Executing malicious code...&quot;);<br>  // Example: Send user data to attacker-controlled server<br>  // sendUserDataToAttacker(this);<br>};</pre><p>2. <strong>JavaScript Injection:</strong> Next, the attacker injects a script into the user’s bio input field. They craft the bio text in such a way that it triggers the malicious attackFunction added to the prototype chain.</p><pre>// User input crafted by the attacker<br>let userInputBio = &quot;I love hacking! &lt;img src=&#39;x&#39; onerror=&#39;this.attackFunction()&#39;&gt;&quot;;<br><br>//In this example, the attacker injects an &lt;img&gt; tag with an onerror attribute that calls the attackFunction when the image fails to load (onerror event).</pre><p>3. Chained Exploitiation: When the user updates their bio with the malicious input provided by the attacker, the updateBio function executes, and the attacker’s injected code gets triggered due to the prototype pollution affecting all objects, including userProfile. This action can lead to various malicious activities, such as stealing user session data, redirecting users to phishing sites, or performing actions on behalf of the user without their consent.</p><pre>updateBio(userInputBio); // Malicious code executed due to prototype pollution and JavaScript injection</pre><p>By chaining prototype pollution with JavaScript injections, the attacker gains unauthorized access to execute arbitrary code within the context of the application, leading to serious security implications such as XSS attacks and unauthorized data manipulation. It underscores the importance of thorough input validation, sanitization, and secure coding practices to mitigate such vulnerabilities in web applications.</p><p>Mitigating the risks of prototype pollution and JavaScript injection requires a comprehensive approach involving stringent input validation, secure coding practices, and proactive security measures. Robust input sanitization and validation mechanisms must be implemented to filter out malicious payloads and prevent attackers from injecting harmful code. Utilizing features like Object.freeze() for object immutability and ensuring proper object initialization can mitigate the impact of prototype pollution attacks. Regular security audits, code reviews, and developer training on secure coding practices are crucial for identifying and addressing vulnerabilities early in the development lifecycle. Implementing Content Security Policy (CSP) adds an additional layer of protection by controlling script execution on web pages. By combining these strategies, organizations can significantly reduce the likelihood of exploitation and enhance the overall security of their web applications against these types of threats.</p><p>Prototype pollution and JavaScript injection vulnerabilities pose significant risks to web applications, allowing attackers to manipulate object behavior, execute malicious code, and compromise sensitive data. By chaining prototype pollution with JavaScript injections, attackers can exploit vulnerable applications in creative and damaging ways, such as performing cross-site scripting (XSS) attacks and unauthorized data manipulation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8caeac16b13f" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/hijacking-your-javascript-using-prototype-pollution-8caeac16b13f">Hijacking your JavaScript using prototype pollution</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Demystifying Array Injections]]></title>
            <link>https://infosecwriteups.com/demystifying-array-injections-934042f50132?source=rss-e56503fa57d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/934042f50132</guid>
            <category><![CDATA[arrays]]></category>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[vulnerability]]></category>
            <dc:creator><![CDATA[sushil phuyal]]></dc:creator>
            <pubDate>Fri, 12 Apr 2024 05:22:52 GMT</pubDate>
            <atom:updated>2024-04-12T05:22:52.251Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3hVoBBc2j_BAeFGsl01-tA.png" /></figure><p>In the world of programming, arrays are fundamental data structures. They act like containers that store a fixed size collection of items, all of the same data type. Imagine an array of integers, like a shopping list where each item is a number. Technically, each item has a designated location in memory, identified by an index (a number starting from 0). This allows for efficient access using the index, similar to how you find a specific item on your grocery list. Imagine you have a shoebox to store your favorite things. An array in programming is like a shoebox for your computer. But instead of shoes, it can hold a collection of similar items, like all your socks!</p><pre>// Array to store names of visitors<br>let visitors = [&quot;Alice&quot;, &quot;Bob&quot;, &quot;Charlie&quot;];</pre><p>Those [] box like structure are arrays in the programming. Each item in the array has a unique number, like an index number, to tell it apart from others. The first item usually starts at index 0. So, to access “Alice” in our visitors array, we would use visitors[0]. They are a powerful tool to organize data and user information in a web application, making it easier to work with.</p><p>Array Injection is a cybersecurity vulnerability that involves manipulating array parameters to change a program’s behavior or circumvent security measures. It can lead to unauthorized access, data breaches, or other malicious outcomes. It exploits weaknesses in how web applications handle lists of data, like arrays. Imagine a grocery list app that lets you add items but doesn’t check them carefully. An attacker could create a seemingly normal item that secretly hides malicious code. When the app processes this “tainted” item, it might be tricked into revealing sensitive information or even running unintended actions. A real-world example involved a hotel reservation system vulnerable to array injections. Attackers injected code that stole guest data like names, addresses, and credit cards. This highlights the importance of secure coding practices to prevent such vulnerabilities and protect user information.</p><p><strong>vulnerable code:</strong></p><pre>function checkPrivileges(roles) {<br>  if (roles.includes(&quot;admin&quot;)) {<br>    // Grant admin privileges<br>  } else {<br>    // Redirect to unauthorized page<br>  }<br>}</pre><p>This function is supposed to check if a user has admin privileges based on the roles array passed to it. It uses the .includes method to see if the string “admin” exists within the roles array.</p><p><strong>Problem in the code:</strong><br>The issue lies in how the code blindly trusts the roles array. It doesn’t perform any checks on the format or contents of the array before using it. Lets see the attacker injection now:</p><pre>// Malicious array with unexpected structure<br>let craftedRoles = [&quot;user&quot;, [&quot;admin&quot;, []]];<br>checkPrivileges(craftedRoles); // Might grant admin privileges</pre><p>When checkPrivileges receives craftedRoles, it uses the .includes method. <br>.includes starts iterating through craftedRoles. It encounters “user” first, which doesn’t grant admin access. But then it reaches the second element, the nested array. Some JavaScript implementations might treat nested arrays differently. In a vulnerable scenario, the .includes method might incorrectly traverse the nested array, essentially seeing “admin” within the roles array. Due to this unexpected behavior, the if condition (roles.includes(“admin”)) might evaluate to true, granting the user admin privileges even though they shouldn’t have them. This is how an attacker can exploit an array injection vulnerability.</p><p>There are many cases of array injections like:</p><ul><li><strong>Length Tampering:</strong> This is like stuffing too many tools into the toolbox, breaking the latch. The extra tools (unexpected array length) might cause problems or even let the attacker sneak in something malicious (code injection).</li><li><strong>Type Juggling:</strong> Imagine the toolbox accepts only screwdrivers but the attacker puts in a spoon (wrong data type). A poorly designed toolbox might accept the spoon anyway, causing confusion (bypassing validation) or letting the attacker use the spoon for something unintended (manipulating logic).</li><li><strong>Index Tampering: </strong>It’s like changing the labels on the compartments. The attacker might swap the “screwdriver” label with “hammer” to trick you into grabbing the wrong tool (accessing unauthorized data).</li></ul><p>In 2018, a hotel chain’s reservation system fell victim to array injection. Attackers discovered they could inject malicious code disguised as normal text within a reservation field. This code exploited the application’s vulnerability, allowing them to steal sensitive guest data like names, addresses, and even credit card details. This incident emphasizes the importance of secure coding practices to prevent array injections and safeguard user information in web applications. Also in 2017, a popular e-commerce platform suffered a data breach due to an array injection vulnerability. Attackers targeted a product search function that accepted user input without proper validation. By crafting a special search query with a maliciously structured array, they tricked the application into revealing internal server data. This data potentially included usernames, hashed passwords, and even customer purchase history. The breach exposed millions of users and highlighted the need for stricter input validation to prevent array injections from compromising sensitive information.</p><p>To fortify web applications against array injection attacks, developers can implement several mitigation strategies. Input validation is key, ensuring only expected data types and formats are accepted. Employing strict type checking further strengthens defenses. Additionally, using libraries and frameworks with known secure coding practices reduces the risk of vulnerabilities. Finally, staying updated with security best practices and promptly patching discovered weaknesses keeps applications a step ahead of attackers.</p><p>Array injections pose a sneaky threat to web applications, exploiting weaknesses in how they handle data lists. By carefully crafting malicious code disguised as normal user input, attackers can gain unauthorized access to sensitive information or manipulate application logic. Real-world cases like the hotel reservation system breach demonstrate the potential damage. To fortify defenses, developers should prioritize secure coding practices, including input validation, strict type checking, and leveraging secure libraries. By staying vigilant and implementing these measures, web applications can become fortresses against array injection attacks and safeguard user data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=934042f50132" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/demystifying-array-injections-934042f50132">Demystifying Array Injections</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I hacked Biometric machine just by using a calculator]]></title>
            <link>https://infosecwriteups.com/how-i-hacked-biometric-machine-just-by-using-a-calculator-794e4254cedb?source=rss-e56503fa57d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/794e4254cedb</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[biometrics]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[funny]]></category>
            <dc:creator><![CDATA[sushil phuyal]]></dc:creator>
            <pubDate>Tue, 02 Apr 2024 06:33:58 GMT</pubDate>
            <atom:updated>2024-04-08T04:22:24.007Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cOV3zV5Ui4yrJdbm-xpI1A.png" /></figure><p>Imagine this: You’re surrounded by colleagues carefully placing their thumbs on a seemingly secure biometric attendance machine. But you, the security curious kid, notice and triggers a sudden urge to investigate. A playful smile spreads across my face as i thought about different possibilities. Curious? Get ready, because we’re about to explore how a basic calculator app might (in some cases, not always) bypass a biometric system, depending on the device’s security measures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/0*UeT4cvOhbfVDsVGv.jpg" /></figure><p>Let’s set the scene. We’re in a place that used a specific brand of attendance machine which was ZKTeco (some random version). This machine records employee arrivals and departures. Now, I, the curious security enthusiast, can’t resist a little investigation. I’ve seen some complex hacking tutorials online, but they require a laptop and enough time to attract unwanted attention. Not ideal in a public setting. Then, a glimmer of hope! I stumble upon a particular video — a hacker using a simple calculator app to bypass the login! Sounds too fictional to be true, right? Well, that’s the beauty of security adventures. I decided to give it a shot. The login screen demanded a username and PIN. The username, I discover through some reconnaissance was likely the default “8888”. But the PIN — that’s a whole different story. It’s a long, random string of numbers, seemingly impossible to crack through brute force as it was almost 8–9 numbers and had 100,000,000 combinations of pins if we just took it as 8 numbers of PIN.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/564/0*GMS2Jex-frcOTKy7.jpg" /></figure><p>I discovered into the world of (possibly made-up) mathematical formulas. And read a secret equation that was said to unlock the PIN’s secrets. Here’s where things got a little fuzzy (because, you know, plausibility). The formula involved subtracting the current time in 24-hour format from a large number (like 9999) and then multiplying the result by itself.</p><p>For instance, if the current time is 4:26 PM (which is 1626 in 24-hour format), the calculation would be:</p><pre>9999 - 1627 = 8371<br>8371 * 8371 = 70,073,641</pre><p>And there I had it! I got a special PIN (70073641 in this case) that was supposed to work with the username 8888. This PIN will work for 1 minute. Wait for the clock to reach 04:27 PM, and it will be valid until 4:28 PM. We used 4:27 to save some time and do calculations at 4:26 PM itself, then used that key at the right time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N86h6cseSHU9wcdjw8bveg.png" /></figure><h3>Now, before you grab your phone and try this on every attendance machine you encounter.</h3><p><strong>This is purely for educational purposes. Messing with attendance systems in real life can have serious consequences. In the real world of security, responsible disclosure is key. If you find a vulnerability, you should report it to the vendor so they can patch it.</strong></p><p>Well, folks, this tale shows how even a simple calculator can become a sneaky security wizard! It reminds us to stay curious, think creatively, and never underestimate the power of imagination. But hey, in the real world, let’s keep it ethical and responsible. Playing Sherlock with security is cool, but causing chaos isn’t! So, keep those brains buzzing, but also keep it safe and legit.</p><p>Don’t forget to share, like and follow. Until next time. Happy hacking!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=794e4254cedb" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/how-i-hacked-biometric-machine-just-by-using-a-calculator-794e4254cedb">How I hacked Biometric machine just by using a calculator</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Driving Centers in Nepal: Unintentional Contributors to Security Challenges]]></title>
            <link>https://1337mickey.medium.com/driving-centers-in-nepal-unintentional-contributors-to-security-challenges-1f5ad9db7b43?source=rss-e56503fa57d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f5ad9db7b43</guid>
            <category><![CDATA[data-breach]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[hacker]]></category>
            <dc:creator><![CDATA[sushil phuyal]]></dc:creator>
            <pubDate>Fri, 10 Nov 2023 13:54:24 GMT</pubDate>
            <atom:updated>2023-11-10T14:51:35.847Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k00QArIe5T9kydqdaWZqwg.png" /></figure><p>A data dump refers to the bulk transfer of data from one system to another, often involving the extraction and storage of a large amount of information in a single operation. In the context of Nepalese cyberspace, a data dump could occur in various scenarios, such as a security breach or a cyberattack on government or private databases. Nepal, like many other countries, faces challenges in securing its digital infrastructure against cyber threats. A data dump in the Nepalese cyber space could result in the unauthorized disclosure of sensitive information, potentially compromising the privacy and security of individuals, businesses, or government entities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Kgw53Eey2YWBN9ZB" /></figure><p>The Electronic Transactions Act, 2063 (2008) (ETA) serves as Nepal’s primary legislation governing electronic transactions and cybercrime. Despite lacking a dedicated section on data breach and privacy, the ETA incorporates relevant provisions to address these concerns. Section 44 prohibits unauthorized access, destruction, or alteration of computer source code, potentially prosecuting those breaching data systems. Section 45 prohibits unauthorized access to computer systems, databases, and networks, applicable to data breaches. Section 46 criminalizes damage to computer systems, addressing cyberattacks causing harm to data systems. General provisions like Section 47 prohibit the publication of morally objectionable material online. The ETA empowers the government to investigate cybercrimes, as seen in Section 51 granting the Controller access to relevant materials.</p><p>In the context of Nepal, an emerging security challenge in police and intelligence investigations is the inadvertent contribution of driving centers. Many of these centers, in their promotional activities, are posting results containing personal information on their social media platforms without considering the potential consequences. This practice poses a significant threat to individuals’ privacy and becomes a hurdle in police and intelligence operations. In the age of increasing cybercrime, law enforcement heavily relies on KYC (Know Your Customer) documents associated with SIM cards and bank accounts to track down suspects. However, the indiscriminate sharing of personal data by driving centers complicates this process, potentially leading to the misuse of sensitive information. As part of the broader issue, it emphasizes the need for regulatory measures and awareness campaigns to ensure responsible data handling by institutions that deal with personal information. As you can see below of a demo data I found from one of the driving center:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*rifve2oNL6rGq7XaWQFPYw.png" /></figure><p>The example I’ve provided, involving the posting of a passout paper for a driving license on social media platforms, is indeed a concerning manifestation of digital harm. The inclusion of personal details such as citizenship information and date of birth in such images poses a serious threat to individuals’ privacy and security. Furthermore, the additional instance of posting images of a license paper containing an address, coupled with displays of valuable items like gold ornaments, introduces the risk of physical harm to the person involved. This kind of online behavior not only jeopardizes personal safety but also underscores the potential for misuse of sensitive information by malicious actors. It emphasizes the urgent need for driving centers and other institutions handling personal data to adopt stringent data protection measures and for authorities to implement and enforce regulations that deter such irresponsible sharing of sensitive information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/521/1*6pQAOuM_IdV60Z6CBsSM3w.png" /></figure><p>talking about challenge on investigation, one can use that data in the portal of government to fetch the information of an individual from <a href="https://applydl.dotm.gov.np/license-check">https://applydl.dotm.gov.np/license-check</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KYy3C6aX0-P-u0YU1JiMxg.png" /></figure><p>after filling the information in the portal:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*GXuraXk4ZWZUcYO9Lbpbeg.png" /></figure><p>It contains the legal document of a person, which could aid criminals in cybercrime attempts and identity theft. The major issue impacting security investigations in Nepal is identity theft.</p><p>Lets fight against cyber crime together, Jay Nepal.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f5ad9db7b43" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Right to Privacy in Nepal: Is the Government Upholding It?]]></title>
            <link>https://1337mickey.medium.com/the-right-to-privacy-in-nepal-is-the-government-upholding-it-387714f56a30?source=rss-e56503fa57d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/387714f56a30</guid>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[privacy-act-nepal]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[government]]></category>
            <category><![CDATA[nepal]]></category>
            <dc:creator><![CDATA[sushil phuyal]]></dc:creator>
            <pubDate>Tue, 18 Jul 2023 11:26:59 GMT</pubDate>
            <atom:updated>2023-07-18T11:26:59.929Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xt6Ham8B9DQ0UVYiqx6_cQ.png" /></figure><p>We’re in the age of information, and many people are worried about the risks of having their personal information exposed, even if they don’t fully understand why it’s dangerous. We’ve witnessed the arrest of individuals responsible for data breaches. However, I want to explore a thought-provoking question: What if the government itself jeopardizes the privacy of its citizens?</p><p>In Nepal, <a href="https://www.lawcommission.gov.np/en/wp-content/uploads/2019/07/The-Privacy-Act-2075-2018.pdf">the Privacy Act of 2075 (2018)</a> explicitly addresses the protection of personal information. According to section 3.c.4 of the act, citizenship is recognized as one’s personal information. Furthermore, chapter 9, section 19.1 emphasizes that “Every person shall have the right to maintain privacy of the matter relating to any of his or her personal information, document, correspondence, data or character that remained in electronic means.” However, the question remains: Is this right to privacy being upheld in practice?</p><p>It’s concerning to hear about your experience with the Department of Transport Management’s Facebook pages. If they are publishing the results of the written driving license exams, including sensitive personal data such as citizenship numbers, it does seem to violate the privacy provisions outlined in the Privacy Act. This situation raises valid concerns as anyone with access to the Facebook profile of यातायात ब्यवस्था कार्यालय can obtain citizenship and other personal information.</p><p>With the obtained information attacker can do so many things, but for a demo I took my own personal information and did some digging to find the date of birth and other information&#39;s.</p><p><strong>Note: I used my own information for research, and none else was involved</strong></p><p>I took my citizenship from the page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ulF5FlLgNYYBmg3j5Xx4A.png" /><figcaption>Posted result of written exam by DOTM branches in facebook</figcaption></figure><p>After taking the citizenship of mine I went to the election commision website, and entered by citizenship number after converting it to Nepali font.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dPpEIgMyiB4g9SzUmubkqA.png" /><figcaption>form being filled with my citizenship number</figcaption></figure><p>It’s concerning to hear that after filling out certain information, anyone can gain access to your voter ID card, including the serial number and date of birth. It’s crucial to recognize that such sensitive information can be misused if it falls into the wrong hands. It’s important to handle this information responsibly. Safeguarding personal information is essential to protect yourself from potential misuse or identity theft.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*idPwIkvkOreKMjrESRhG2A.png" /><figcaption>Obtained information looks really scary for OSINT</figcaption></figure><p>In addition to highlighting the issues surrounding the improper handling of personal information, I would like to propose some suggestions that could help protect sensitive data. Please note that these suggestions are solely my personal opinion:</p><ol><li>Implement SMS Alerts: Instead of publicly displaying sensitive information, such as driving license exam results or other personal data, a more secure approach would be to send SMS alerts directly to the applicants’ mobile devices. This way, individuals can receive their results privately without the risk of their information being exposed to unauthorized parties.</li><li>Exclude Citizenship Numbers: When it comes to publishing applications or results, it is advisable to exclude the display of citizenship numbers. Citizenship numbers are highly sensitive and should be treated with utmost confidentiality. By omitting them from public view, the risk of identity theft or misuse can be significantly reduced.</li></ol><p>By adopting these measures, we can better safeguard personal information and protect individuals from potential privacy breaches or misuse. It’s important for organizations to prioritize the security and privacy of their constituents’ data to maintain trust and compliance with privacy regulations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=387714f56a30" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Nepal’s Unemployment Crisis: Tackling Scams and Building a Better Future]]></title>
            <link>https://1337mickey.medium.com/nepals-unemployment-crisis-tackling-scams-and-building-a-better-future-ad64bfd8ec?source=rss-e56503fa57d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad64bfd8ec</guid>
            <category><![CDATA[job-hunting]]></category>
            <category><![CDATA[mlm]]></category>
            <category><![CDATA[scam]]></category>
            <category><![CDATA[unemployment]]></category>
            <category><![CDATA[nepal-economy]]></category>
            <dc:creator><![CDATA[sushil phuyal]]></dc:creator>
            <pubDate>Wed, 07 Jun 2023 15:18:36 GMT</pubDate>
            <atom:updated>2023-06-07T15:18:36.366Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*iIrKDXhPjIu5266CG1v-JA.png" /></figure><p>The state of unemployment in Nepal is a significant issue, with the unemployment rate standing at 5.10%, surpassing the South Asian average of 3.70%. Nepal faces challenges in generating sufficient employment opportunities as a developing country with a small economy heavily reliant on agriculture, which employs around 60% of the workforce but offers low wages. Additionally, the Nepali youth’s aspirations for rapid wealth accumulation, driven by their exhaustion with living in poverty and their desire for a better life, contribute to the high unemployment rate. Addressing these factors and implementing strategies for job creation and improved economic prospects are crucial to combat unemployment in Nepal.</p><p>Furthermore, due to poor education and teaching methodologies, many youths lack necessary skills but aspire to earn a significant amount of money. This makes them vulnerable to falling for scams, such as MLM and networking businesses, frauds, and other deceptive schemes promising quick wealth. During my research, I visited police stations and discovered numerous cases of youth being scammed in the name of job vacancies. These activities have caught my attention before, but it became more concerning after watching a YouTube video by <a href="https://www.youtube.com/watch?v=SaQyr5LNq_I">Saugat Gyawali</a>. Upon further investigation, I found several similar cases online. You may have also come across such posts on your Facebook walls, seeking victims for scams.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*WRxxeEDvH_lSdqddhVr0kQ.png" /><figcaption>scam post seeking for victims</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/0*_OcS6cOrtWehHhmn.jpg" /></figure><p>One notable case occurred on January 14, 2021, when the Metropolitan Police Crime Division arrested a 23-year-old individual named Mr. Shiva Khadka for scamming 43 youths in the name of job vacancies. The victims were asked to pay registration fees or training fees ranging from 1500 to 3500 rupees, with promises of earning Rs. 30,000 to Rs. 40,000. However, it turned out to be a scam. Mr. Shiva operated this fraudulent scheme through a Facebook group named “Job Vacancy.” While this particular case may be from 2021, such scams are unfortunately prevalent nowadays. It is crucial to be aware that legitimate companies do not typically ask for cash payments, and it is unrealistic to expect to make significant money overnight or become rich within a few months. Stay vigilant and cautious, as scams targeting job seekers continue to be a prevalent issue in Nepal and elsewhere. <a href="https://myrepublica.nagariknetwork.com/news/police-arrest-job-scam-fraudster/">[more read on the case]</a></p><p>Another alarming incident involved a lottery scam that defrauded over a dozen people in Nepal of approximately Rs150 million (around $1.3 million). The scammers utilized social media platforms to deceive victims into believing they had won a lottery, subsequently demanding deposits into bank accounts under their control. The Metropolitan Crime Division in Kathmandu apprehended three individuals involved in this fraudulent activity: Ramesh Khadka, Bisheshwar Prasad Tiwari, and Sandip Kalwar. Investigations suggest that a Nigerian national named Peter Herman, currently residing in India, masterminded the scam. Herman is also suspected of orchestrating another theft of over Rs48.5 million (approximately $380,000) by hacking into the accounts of two Nepali banks. Police are actively investigating the case and anticipate further arrests to be made. <a href="https://kathmandupost.com/national/2019/12/12/police-arrest-three-persons-for-defrauding-around-rs150-million-through-social-media-platforms">[more read on the case]</a></p><p>The issue of unemployment in Nepal demands immediate attention and effective strategies to create employment opportunities and improve economic prospects. With a higher-than-average unemployment rate and a youth population yearning for better lives, the vulnerability to scams and fraudulent schemes targeting job seekers becomes evident. Insufficient job opportunities, a reliance on low-wage agriculture, and inadequate education and skills training further exacerbate the problem. It is crucial for the government, educational institutions, and society as a whole to address these challenges by implementing policies that foster job creation, enhance vocational training, and promote entrepreneurship. Additionally, raising awareness about the tactics used by scammers and fostering financial literacy will empower individuals to make informed decisions and protect themselves from falling victim to fraudulent activities. By taking collective action, Nepal can work towards alleviating unemployment and creating a brighter future for its citizens.</p><p>And this is just the tip of an ice berg, our youths are getting scammed in multiple ways, which I will be writing in the future. Thank you for the read. Hoping for a follow. ❤</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad64bfd8ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unveiling the Truth: An Investigation into the Case of Manoj Dhamala]]></title>
            <link>https://infosecwriteups.com/unveiling-the-truth-an-investigation-into-the-case-of-manoj-dhamala-4aee44cd779e?source=rss-e56503fa57d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/4aee44cd779e</guid>
            <category><![CDATA[scam]]></category>
            <category><![CDATA[cyber-kill-chain]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[case-study]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[sushil phuyal]]></dc:creator>
            <pubDate>Sun, 30 Apr 2023 04:43:40 GMT</pubDate>
            <atom:updated>2024-01-14T11:16:04.536Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*XAY_sneKlxKPWKF5TIhv0Q.png" /></figure><p>A few weeks ago, I was introduced to Manoj Dhamala, a social media influencer who currently resides in Sydney and is the owner of a digital marketing company called M.D. Creation. With an impressive following of 463K, his audience primarily consists of individuals in the field of digital marketing. During a digital forensic lecture by our instructor, Mr. Monil Adhikari, he shared an intriguing incident involving the cyberkill chain. Mr. Adhikari, however, was still in the process of investigating how the incident occurred, piquing my curiosity and prompting me to explore the case further on my own.</p><p>Upon visiting his profile, we came across a Facebook post:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*nohjkShe-y5N8UOgBissgg.png" /></figure><p>The post appears to be entirely normal and published by Onlinekhabar. However, upon hovering over the post.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*26Oc6-JA16p4s3pYO9J05g.png" /></figure><p>Upon clicking the post, it opened a Google site:</p><blockquote><a href="https://sites.google.com/view/15414132"><strong><em>https://sites.google.com/view/15414132</em></strong></a>.</blockquote><p>This led to a mystery in solving the case, as it was unclear how a different URL was displayed on the post and opened a different page. Initially, I thought it might be OG (Open Graph) manipulation, where the preview image could be faked but not the URL. However, with the help of Aashish Bhandari (Awebisam), we delved further into the case. The investigation began with Burp Collaborator, where I previewed the collaborator link on Facebook, and it was hit in the Burp by Facebook crawlers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/619/1*QQu48jrxgsEg8vWNPVbDQw.png" /></figure><p>After previewing it, Burp received DNS and HTTP requests from the crawlers with a specific user-agent, which was identified as <strong><em>“facebookexternalhit”.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*oUpGpmdQ6C5lERe-y4KF-Q.png" /></figure><p>Now, a PHP script was written as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F6xaIsT84Ykaw5wNatnjnA.png" /></figure><p>The PHP script was designed to identify the user-agent for the Facebook crawler and redirect it to a recent breach post from TechPana. However, as regular users do not have the same user-agent, they would be redirected to the site that was deployed for demonstration purposes. This site now appears to be a legitimate post.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*-2_Dvw-dDeHPSyLc_9iIOA.png" /></figure><p>However, it should be noted that the post does not redirect to the same original post, but instead redirects to casestudy.sushilphuyal.com.np. This was the crux of the Manoj Dhamala case. It is crucial to inspect links carefully before clicking on them, as attackers may create fake previews to lure victims into clicking malicious links. Further information about the malware being spread may be covered in future articles, but for now, it is important to stay vigilant and avoid clicking on suspicious links to stay safe.</p><p>For those who didn’t understand the PHP script:</p><p>This is a PHP script that uses conditional statements to redirect Facebook crawlers with the user-agent “facebookexternalhit” to a specific URL, while displaying a message for all other users.</p><p>The script begins with an if-statement that checks if the user-agent string in the HTTP header contains the text “facebookexternalhit”. If it does, the script uses the header() function to redirect the crawler to the URL “<a href="https://www.techpana.com/2023/142047">https://www.techpana.com/2023/142047</a>&quot;.</p><p>If the user-agent string does not contain “facebookexternalhit”, the script enters the else-statement and displays an HTML page with a message that an attacker could potentially use to create a fake preview on Facebook and deliver phishing content.</p><p>In summary, this script is designed to protect against potential attacks by redirecting Facebook crawlers while alerting users of the risks associated with fake previews and phishing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4aee44cd779e" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/unveiling-the-truth-an-investigation-into-the-case-of-manoj-dhamala-4aee44cd779e">Unveiling the Truth: An Investigation into the Case of Manoj Dhamala</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The High Cost of Bug Hunting: How Children’s Mental Health is Being Compromised]]></title>
            <link>https://1337mickey.medium.com/the-dark-side-of-bug-bounty-programs-how-childrens-mental-health-is-being-spoiled-139297e95dd?source=rss-e56503fa57d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/139297e95dd</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[nepal]]></category>
            <dc:creator><![CDATA[sushil phuyal]]></dc:creator>
            <pubDate>Mon, 10 Apr 2023 09:33:51 GMT</pubDate>
            <atom:updated>2023-04-10T09:38:17.716Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/626/0*qS4vwUf25bxrD0xV.jpg" /></figure><h3>Introduction:</h3><p>Bug hunting has also become a lucrative business in Nepal, with some children earning substantial amounts of money through bug bounty programs. While this may seem like a positive thing, it has led to some children becoming addicted to the rewards and losing sight of the bigger picture. In recent years, bug bounty programs have become increasingly popular in Nepal as a means of identifying security vulnerabilities in software and websites. While these programs incentivize ethical hackers to report vulnerabilities for monetary rewards, they have also had a negative impact on children’s mental health. Many children have become addicted to the rewards and have lost sight of the bigger picture. This blog explores the dark side of bug bounty programs and advocates for a well-rounded approach to cyber security that prioritizes education, awareness, and action.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OCJiUxIawn7ds7YP.jpeg" /></figure><p>Bug hunting has become an addiction for many children in Nepal, leading to feelings of isolation, depression, and physical health problems. The pressure to find bugs and earn rewards can cause anxiety and stress, as children feel like they are constantly in competition with other bug hunters. The fear of missing out on rewards can also lead to feelings of disappointment and frustration. Bug hunting should not come at the expense of children’s mental health and well-being.</p><h3>Security is Beyond the Bug hunting</h3><p>Bug hunting has become a popular means of identifying security vulnerabilities in digital assets. However, it is important to understand that bug hunting is just one piece of the larger cyber security puzzle. Cyber security is not just about identifying and fixing vulnerabilities; it also involves educating users on how to protect themselves from cyber threats, implementing security measures, and staying informed about the latest threats and trends.</p><p>Education plays a crucial role in cyber security, as it empowers users to recognize and avoid potential cyber threats. Without proper education, users may not realize the risks of their online behavior and leave themselves vulnerable to attacks. Implementing security protocols and measures is also essential to protect against cyber attacks and prevent the exploitation of vulnerabilities. This includes measures such as two-factor authentication, encryption, and access controls.</p><p>Staying up-to-date with the latest threats and trends is equally important to ensure that systems and websites are protected against the latest cyber threats. As cyber attacks become more sophisticated, it is critical to remain vigilant and proactive in defending against them. A comprehensive approach to cyber security involves all these components and more.</p><p>While bug hunting is a valuable tool in identifying security vulnerabilities, it is not enough to ensure robust cyber security on its own. A multifaceted approach that includes education, implementation of security measures, and ongoing monitoring and response to potential threats is necessary to protect digital assets. As the threat of cyber attacks continues to grow, it is crucial to prioritize cyber security and adopt a comprehensive approach to protect ourselves and our digital assets.</p><h3>Conclusion:</h3><p>While bug bounty programs can help companies identify and address security weaknesses, they also have a high cost for children’s mental health. A well-rounded approach to cyber security that prioritizes education, awareness, and action is necessary to protect both digital assets and children’s mental health. We need to encourage children to pursue cyber security in a way that is sustainable, healthy, and ethical. By doing so, we can promote a more secure and responsible online environment for all.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=139297e95dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Maximizing Your Bug Bounty Rewards with Shodan]]></title>
            <link>https://infosecwriteups.com/maximizing-your-bug-bounty-rewards-with-shodan-c45ccc8c6d57?source=rss-e56503fa57d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/c45ccc8c6d57</guid>
            <category><![CDATA[writeup]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[shodan]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <dc:creator><![CDATA[sushil phuyal]]></dc:creator>
            <pubDate>Mon, 03 Apr 2023 10:54:33 GMT</pubDate>
            <atom:updated>2024-01-14T11:17:17.255Z</atom:updated>
            <content:encoded><![CDATA[<p>Looking for a more effective bug bounty approach with higher rewards? Look no further than Shodan. As a popular search engine for internet-connected devices, Shodan is an ideal tool to discover vulnerabilities and increase your bounties. By leveraging Shodan’s capabilities, you can enhance your ethical hacking skills and achieve greater rewards. With Shodan, you can easily locate vulnerable devices connected to the internet by using public IP addresses, ports, and other services. By identifying and exploiting these vulnerabilities, you can earn significant bug bounty rewards. In this post, we’ll delve into how you can optimize your bug bounty strategy by utilizing Shodan.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/0*gUThG26cubQO2VjG.png" /></figure><h3><strong>What is Bug Bounty?</strong></h3><p>Bug bounty is a program that offers financial rewards to ethical hackers for finding and reporting security vulnerabilities in software, hardware, or electronic systems. Bug bounty programs are often used to complement traditional security measures like code audits or penetration tests, by incentivizing hackers to uncover and report security flaws. Rewards can vary in value and may be offered by individuals or companies. By offering bug bounties, organizations can crowdsource security testing and improve overall system security. Bug bounty programs offer financial rewards to ethical hackers who disclose security vulnerabilities in electronic systems, software, or hardware. They provide an additional layer of protection to traditional security measures and incentivize hackers to report flaws. Rewards can range from small sums of money to large cash prizes or company equity. Clear guidelines for eligible vulnerabilities should be established to ensure that researchers focus their efforts on actual security issues. While bug bounties offer access to a global community of security researchers, they require significant effort and resources, and false submissions must be screened out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JIl-lYAQidE20_I6.jpg" /></figure><h3>What is Shodan?</h3><p>Shodan is a search engine for Internet-connected devices. It lets you find specific devices (routers, servers, etc.) and then view information about them, such as what services they are running and what ports are open. This can be useful for security research and identifying security vulnerabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*zC9Cf3-4ddXp1NQl" /></figure><p>Shodan also provides a API that allows developers to build their own tools and applications on top of the data that Shodan collects. The possibilities are endless, but some examples include:</p><ul><li>Creating a map of all Internet-connected devices in the world</li><li>Building a dashboard to monitor your own devices or ones that you’re interested in</li><li>Finding devices that are vulnerable to a specific exploit</li><li>Generating reports with statistics about different types of devices</li></ul><h3>How does Shodan Help with bug bounty?</h3><p>Shodan is an extremely powerful tool that can prove to be invaluable for bug bounty hunters. Its primary application lies in locating publicly accessible systems that may be vulnerable to attacks. This enables bounty hunters to conduct targeted investigations on such systems.</p><p>Another fantastic application of Shodan is to detect systems that have been inadvertently exposed. If a web server has been incorrectly configured and is publicly accessible, Shodan is likely to identify it. Such system exposures are often neglected and insufficiently protected, making them a valuable target for bounty hunters.</p><p>Lastly, Shodan can also be utilized to monitor networks for changes. This serves two main purposes. Firstly, if new systems are exposed, Shodan is capable of swiftly detecting them. Secondly, changes made to existing systems, such as the introduction of new vulnerabilities, can provide early warning signs of potential issues, which can be vital for security professionals.</p><h3>Tips and Best Practices for Using Shodan to Increase Your Rewards</h3><p>When it comes to using Shodan to maximize your bug bounty rewards, there are a few important strategies to consider.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/0*I_kK606VReYFrFqy.jpg" /></figure><p>First and foremost, it’s crucial to keep in mind that Shodan is a global tool, meaning that it can help you discover vulnerabilities in systems and devices across the world. This broad scope can offer a wealth of untapped opportunities for bounty hunters seeking to uncover security flaws that haven’t yet been reported.</p><p>To make the most of Shodan’s capabilities, specificity is key. Rather than simply searching for general terms, hone in on specific vulnerabilities or characteristics that may indicate a potential security issue. By using targeted search terms like “unsecured webcams” or “vulnerable routers,” you’ll increase your chances of uncovering significant vulnerabilities.</p><p>Shodan’s filters can also be a powerful tool for streamlining your search results and minimizing irrelevant information. Whether you’re interested in searching by location, device type, or specific vulnerabilities, using filters can help you quickly identify promising targets for further investigation.</p><p>Finally, it’s important to stay vigilant and keep your Shodan searches up-to-date. New devices and vulnerabilities are constantly being added to the platform, so regularly revisiting your searches can help ensure that you stay on top of emerging security risks.</p><p>By keeping these strategies in mind and leveraging Shodan’s powerful capabilities, you can increase your chances of finding valuable security flaws and earning greater bug bounty rewards.</p><h3>Examples of How People Have Used Shodan to Maximize Their Bug Bounty Rewards</h3><blockquote>Shodan: The Bug Bounty Hunter’s Secret Weapon</blockquote><p>If you’re a bug bounty hunter looking to up your game, Shodan might just be the tool you’ve been looking for. Shodan is a search engine that specializes in finding systems and devices that are connected to the Internet, and it has become a valuable resource for those looking to identify potential targets and vulnerabilities.</p><p>So, how can you use Shodan to maximize your bug bounty rewards? Here are a few tips:</p><ol><li>Find Publicly Accessible Systems with Known Vulnerabilities</li></ol><p>One of the most obvious uses for Shodan is to find systems that are publicly accessible and have known vulnerabilities. By doing so, you can quickly identify potential targets and exploit them before they are patched.</p><p>2. Search for Specific Vulnerable Software Versions</p><p>Another way to use Shodan is to search for specific vulnerable software versions. This can help you focus your efforts on systems that are most likely to be vulnerable.</p><p>3. Find Honeypots</p><p>Honeypots are systems that are deliberately left unsecured in order to attract attackers. These can be a good source of information about new attacks and can help you stay ahead of the curve.</p><p>4. Monitor the Internet for Changes in Security Posture</p><p>Finally, Shodan can be used to monitor the Internet for changes in security posture. This can help you identify new vulnerabilities as they arise and ensure that you are the first to exploit them.</p><p>The possibilities for using Shodan to maximize bug bounty rewards are virtually limitless. By using this powerful tool, you can stay ahead of the curve and make the most of your time as a security researcher. So why wait? Start exploring Shodan today and take your bug bounty hunting to the next level!</p><h3>Conclusion</h3><p>In summary, utilizing Shodan in conjunction with bug bounty programs can significantly increase your rewards. Investing time in learning about these two tools can benefit your security posture and assist you in reporting potential vulnerabilities in a system or application to the appropriate parties. Through dedication and research, anyone can become a proficient bug hunter and reap the rewards of doing so responsibly.</p><p>The key to successful usage of Shodan lies in organization and precision, enabling you to quickly and efficiently identify weaknesses. Staying aware of new trends and changes in the field can also help you to uncover more potential vulnerabilities for exploitation. Furthermore, it is essential to work with a trustworthy and sufficiently rewarding bug bounty production team. Following these steps will help ensure a successful and fruitful bug bounty experience.</p><p>Thank you for reading! this was written by the help of Copymatic.ai and chatgpt.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c45ccc8c6d57" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/maximizing-your-bug-bounty-rewards-with-shodan-c45ccc8c6d57">Maximizing Your Bug Bounty Rewards with Shodan</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>