<?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 Arth Detroja on Medium]]></title>
        <description><![CDATA[Stories by Arth Detroja on Medium]]></description>
        <link>https://medium.com/@arthDetroja?source=rss-821c9d5faab7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MHthd61mWBJY0xcNNilocA.jpeg</url>
            <title>Stories by Arth Detroja on Medium</title>
            <link>https://medium.com/@arthDetroja?source=rss-821c9d5faab7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 19:47:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@arthDetroja/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[Nerulith-42: Could Ambient Humidity Power the Next Generation of Paper-Based Devices?]]></title>
            <link>https://medium.com/@arthDetroja/nerulith-42-could-ambient-humidity-power-the-next-generation-of-paper-based-devices-3ecd74df1b02?source=rss-821c9d5faab7------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ecd74df1b02</guid>
            <category><![CDATA[battery]]></category>
            <category><![CDATA[lithium-battery]]></category>
            <dc:creator><![CDATA[Arth Detroja]]></dc:creator>
            <pubDate>Thu, 29 Oct 2026 09:11:51 GMT</pubDate>
            <atom:updated>2026-10-31T04:55:04.421Z</atom:updated>
            <content:encoded><![CDATA[<h3>Nerulith-42: Exploring the Potential of Humidity-Powered Paper-Based Energy Technology</h3><p><em>An exploration of moisture-responsive materials, energy harvesting, and lightweight electronic applications.</em></p><h3>Introduction</h3><p>As electronic devices become smaller and more energy-efficient, researchers continue to explore alternative ways of generating electricity from readily available environmental sources. Solar radiation, temperature differences, mechanical movement, and ambient moisture are among the phenomena investigated for their potential to power low-energy electronic systems.</p><p>One particularly interesting direction is the development of lightweight materials capable of interacting with moisture in the surrounding environment. Such materials could potentially support applications in environmental monitoring, smart packaging, wearable electronics, and low-power sensing systems.</p><p>Nerulith-42 is a proposed conceptual design for a paper-based energy-harvesting material that would use changes in ambient humidity to generate a small electrical output. The concept combines the flexibility of cellulose-based substrates with the potential electrical properties of moisture-responsive materials.</p><h3>The Concept Behind Nerulith-42</h3><p>The proposed Nerulith-42 design centres on a thin, flexible substrate made primarily from cellulose fibres. Paper is an attractive starting material because it is lightweight, relatively inexpensive, easy to process, and compatible with a range of coating and printing techniques.</p><p>In the conceptual design, the cellulose substrate would support a moisture-responsive functional layer and conductive elements that collect electrical signals produced by changes in environmental conditions.</p><p>When ambient humidity increases, water molecules could interact with the substrate and functional layer. Depending on the materials selected, this interaction might alter ionic conductivity, surface charge distribution, or the movement of charged particles within the material.</p><p>A carefully engineered structure could potentially convert these changes into a measurable electrical response. However, generating a sustained and useful electrical output would require appropriate material selection, electrode design, and experimental validation.</p><h3>How Humidity-Based Energy Harvesting Could Work</h3><p>Humidity-responsive energy harvesting can involve several physical and chemical mechanisms. The precise mechanism depends on the composition and architecture of the device.</p><p>One possible approach uses the interaction between water molecules and charged species within a porous material. Changes in moisture concentration may influence ion movement, creating an electrical potential under suitable conditions.</p><p>Another approach involves materials whose electrical characteristics change as they absorb or release water. By designing an appropriate structure and incorporating electrodes, researchers may investigate whether these changes can be converted into usable electrical signals.</p><p>For a paper-based device, the substrate could provide a porous framework that allows moisture to enter and leave the material. A functional coating could be selected to improve moisture responsiveness, while conductive electrodes would provide a means of measuring the resulting electrical behaviour.</p><p>The challenge is distinguishing a temporary electrical response from a reliable source of usable energy. A successful device would need to demonstrate measurable output under controlled conditions and establish whether that output can be sustained or repeatedly generated as humidity changes.</p><h3>Potential Material Architecture</h3><p>A hypothetical Nerulith-42 prototype could be organised into three functional layers.</p><p><strong>1. Cellulose substrate</strong></p><p>The base layer would provide structural support and allow moisture to interact with the device. Important properties would include porosity, thickness, mechanical stability, and sensitivity to humidity.</p><p><strong>2. Moisture-responsive functional layer</strong></p><p>This layer would be designed to interact with water molecules and produce changes in electrical properties. Candidate material classes could include selected polymers, ionic materials, or other humidity-responsive compounds. Their suitability would need to be assessed experimentally rather than assumed.</p><p><strong>3. Conductive collection layer</strong></p><p>Conductive traces or electrodes would collect and measure the electrical response. Their arrangement would influence resistance, signal measurement, and the overall behaviour of the device.</p><p>The interaction between these layers would determine whether the concept could produce a useful electrical output. Material compatibility, moisture distribution, electrode stability, and environmental conditions would all require investigation.</p><h3>Possible Applications</h3><p>If a device based on this concept were successfully developed and demonstrated, several application areas could be explored.</p><p><strong>Environmental monitoring:</strong> Low-power sensors could potentially use humidity-related energy harvesting to supplement their power requirements in locations where battery replacement is difficult.</p><p><strong>Smart packaging:</strong> Thin, flexible electronic elements could be investigated for packaging applications that require environmental monitoring or simple status indicators.</p><p><strong>Disposable sensing systems:</strong> Paper-based substrates could offer advantages in applications where low cost, flexibility, and reduced material usage are important.</p><p><strong>Educational demonstrations:</strong> A humidity-responsive material could provide a practical way to investigate energy conversion, material science, and the relationship between environmental conditions and electrical behaviour.</p><p>These applications would depend on demonstrated performance. In particular, the electrical output would need to be sufficient for the intended load, and any practical design would have to account for changing environmental conditions and long-term material stability.</p><h3>Technical Challenges and Research Considerations</h3><p>Developing a functional humidity-powered paper device would present several challenges.</p><p>First, the amount of electrical energy generated may be small. Measuring an electrical voltage does not necessarily mean that a device can deliver meaningful power to an external load. Voltage, current, power output, and energy produced over time would need to be evaluated separately.</p><p>Second, humidity varies across environments. A device might respond differently under dry, humid, or rapidly changing conditions. Reproducibility would therefore be an important part of any evaluation.</p><p>Third, paper can swell, deform, or lose mechanical integrity when exposed to moisture. A practical design would need to balance moisture accessibility with structural durability.</p><p>Finally, the device would require controlled testing to distinguish genuine energy generation from measurement artefacts, static charge, temperature changes, or other environmental effects.</p><p>Potential experiments could include measuring electrical output at different relative humidity levels, recording response and recovery times, testing repeated humidity cycles, and comparing treated substrates with untreated control samples.</p><h3>Conclusion</h3><p>Nerulith-42 presents a direction for investigating lightweight, humidity-responsive energy-harvesting materials built around a paper-based substrate. Its proposed architecture combines a porous structural layer, a moisture-responsive component, and conductive elements intended to measure electrical behaviour.</p><p>The concept highlights several areas worthy of technical investigation, including moisture-induced charge transport, material stability, low-power energy generation, and integration with flexible electronic systems.</p><p>Whether such a design could provide useful electrical power would depend on material selection, experimental measurements, and reproducible performance under controlled conditions.</p><p>&lt;meta name=”google-site-verification” content=”PEh7p3wF06sEfrw_RjMnxe7e_cjfefCraxUW_3Gs8j4&quot; /&gt;</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ecd74df1b02" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Active Directory S]]></title>
            <link>https://medium.com/@arthDetroja/active-directory-s-5ab3c96a5ef7?source=rss-821c9d5faab7------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ab3c96a5ef7</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[active-directory]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Arth Detroja]]></dc:creator>
            <pubDate>Sat, 22 Feb 2025 07:12:13 GMT</pubDate>
            <atom:updated>2025-02-22T07:12:13.960Z</atom:updated>
            <content:encoded><![CDATA[<h3>Active Directory Simplified</h3><p><strong>Microsoft Active Directory: A Simple Explanation</strong></p><p>Imagine you live in a big school with many students, teachers, and rooms. The principal needs a way to keep track of everything: who belongs where, which keys open which doors, and who can enter special rooms like the library or the teachers’ lounge. This is where Microsoft Active Directory (AD) comes in — it helps organize and manage everything in a big network, just like a principal manages a school.</p><h3>How Active Directory Works</h3><h3>1. What is a Domain?</h3><p>A domain is like a school building. Everyone inside belongs to the same group, like students, teachers, and staff. Each person (or computer) in the school has a name and role, just like in AD.</p><h3>2. What are Organizational Units (OUs)?</h3><p>Think of OUs like different grades in school. You have first grade, second grade, and so on. Each grade follows different rules, just like how different groups in AD can have different permissions.</p><h3>3. What is a Forest?</h3><p>A forest is like a group of schools in the same district. Each school (domain) is separate, but they all follow some shared rules and can work together.</p><h3>4. What is a Tree?</h3><p>A tree is like a set of schools that are closely connected. For example, an elementary school, middle school, and high school in the same town. They share resources and sometimes students move between them.</p><h3>5. What are Domain Controllers (DCs)?</h3><p>DCs are like the school’s main office. They keep all the records of students, teachers, and schedules. If someone tries to enter a classroom, the office checks if they are allowed.</p><h3>6. What is a Global Catalog (GC)?</h3><p>The GC is like a school directory. If you want to find a student in any school, you look in the directory instead of checking each classroom one by one.</p><h3>7. What are Group Policies (GPOs)?</h3><p>GPOs are like school rules. They decide things like:</p><ul><li>No running in the hallways (security settings)</li><li>Homework must be submitted by 3 PM (password policies)</li><li>Teachers have access to all classrooms, but students only have access to their own (user permissions)</li></ul><h3>Why is Security Important in Active Directory?</h3><p>Imagine if a stranger walked into your school and took a teacher’s ID badge. They could enter any room and even change the school rules! This is why keeping AD secure is very important.</p><h3>1. Least Privilege Access</h3><p>Only give people access to what they need. Just like a student should not have the key to the principal’s office, regular users should not have admin rights.</p><h3>2. Multi-Factor Authentication (MFA)</h3><p>This is like having a special school ID and a secret handshake to get inside. Even if someone steals the ID, they still need the handshake to enter.</p><h3>3. Protecting Domain Controllers</h3><p>Since the main office holds all student records, it must be locked up tight. Similarly, DCs should be well protected with:</p><ul><li>Strong passwords</li><li>Security updates</li><li>Limited access</li></ul><h3>4. Watching for Suspicious Activity</h3><p>If a student is found sneaking into the teacher’s lounge, the school investigates. AD does the same by keeping logs and alerts to detect anything strange.</p><h3>5. Common AD Attacks and How They Happened</h3><p>Here are some famous attacks where bad actors broke into AD:</p><ul><li><strong>Stuxnet (2010):</strong> Hackers used AD to spread a virus that damaged nuclear equipment.</li><li><strong>Sony Hack (2014):</strong> Attackers stole employee credentials and leaked private emails.</li><li><strong>SolarWinds (2020):</strong> Hackers got into AD and spread malware across thousands of companies.</li></ul><h3>6. Backup and Recovery</h3><p>If a school loses all student records, chaos happens! AD keeps backups so everything can be restored if something bad happens.</p><h3>Final Thoughts</h3><p>Microsoft Active Directory is like a big school system that helps manage users and computers. Just like schools need good security to keep students safe, AD needs strong protection to prevent cyber-attacks. By following good security rules, we can keep everything running smoothly and safely!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ab3c96a5ef7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Intigriti Ctf write up: Lovely Kitten Pictures 1]]></title>
            <link>https://medium.com/@arthDetroja/intigriti-ctf-write-up-lovely-kitten-pictures-1-bc5e9af69c95?source=rss-821c9d5faab7------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc5e9af69c95</guid>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[reading]]></category>
            <dc:creator><![CDATA[Arth Detroja]]></dc:creator>
            <pubDate>Sun, 13 Mar 2022 16:48:41 GMT</pubDate>
            <atom:updated>2022-03-13T16:48:41.355Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/553/1*KlGimrIDTFUJqDXnARmz1w.jpeg" /></figure><p>Here I present another write up from Intigriti CTF. This was a quite easy and fun challenge.</p><p>Link: <a href="https://lovelykittenpictures.ctf.intigriti.io/">https://lovelykittenpictures.ctf.intigriti.io/</a></p><p>On opening the link, it took me to a site which was looking as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5EYy3hdytv_6xlEToIdmhA.png" /></figure><p>When we click on switch button, a new image would load. On reading the source code, found that it has some ID mechanism</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*3Se1l9q8X9v-l6c06mzX7A.png" /></figure><p>I tried using burp</p><p>And when I clicked the switch option, it made the following request:</p><p>GET /cat_info.php?id=9 HTTP/1.1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/1*S6Q-TDgxfKmD2dGKZ_yubQ.png" /></figure><p>And when I tried to reload the whole page, it made following request</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OeHn3LPUn673jrE20Vz3qg.png" /></figure><p>After this I tried to play with Ids and boom got the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3go6CeJ-9V_OIbxb6chWQw.png" /></figure><p>Flag: 1337UP{K1TT3N_F1L3_R34D}</p><p>If you have any questions please comment down else consider follwoing for more such content :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc5e9af69c95" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Intigriti CTF write up: Mirage]]></title>
            <link>https://medium.com/@arthDetroja/intigriti-ctf-write-up-mirage-55b53d5f3360?source=rss-821c9d5faab7------2</link>
            <guid isPermaLink="false">https://medium.com/p/55b53d5f3360</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[reading]]></category>
            <dc:creator><![CDATA[Arth Detroja]]></dc:creator>
            <pubDate>Sun, 13 Mar 2022 16:42:16 GMT</pubDate>
            <atom:updated>2022-03-13T16:42:16.181Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/553/1*KlGimrIDTFUJqDXnARmz1w.jpeg" /></figure><p>Hey guys I just attended Intigriti ctf. I found a question simple, fun and interesting which I wanted to share with you here is the write up for that.</p><p>Site: <a href="https://mirage.ctf.intigriti.io/">https://mirage.ctf.intigriti.io/</a></p><p>In this question we needed to find the flag with flag format 1337UP{}</p><p>So lets start the journey.</p><p>On the first glance, nothing seems to be quite informative. None of the link on the site seems to be working. Then I tried to read source in the hope of getting something useful.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*XUzNyfxjmUzetDPyLmo4uA.png" /></figure><p>There I found this. There was something mentioned about ROBOTS so I tired robots.txt. And there we go we have a lot of pages.</p><p>I tired login page but it was not there. Then tried admin but same results finally on flag page found something.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zpEI2yaVcysZPI1_47_D6w.png" /></figure><p>String: INVUMRKUKVWE6SKEN5TVGRKGJFIVK2CCKNCUMSKRKNBFUYRTKVTWIR3IOBRG243HMRDWQ4DDPFBDAYTZIJUVUU2CPJRHSQTMLFME4NKJIM2HKTDJIJIWER2WNBRTEVLHKZME43CJIZWHMZCYJFTVS3SKNBQVONDHKRLTS6K2KNAWQSKRN5FVU3LYNBNHSNJQMVEFCZ2PNFBFAYKDIJ2WEMRZOZRHSQLIJFJUE2K2K5LHKSKHLJ3GEMTYNRNEGQLVJRUTIZ2UIU4U2SKDIVUESU2FNBEVGRJ5</p><p>It was some kind of encryption so I tired automatic tools(boxentriq) to find out which one it was. The top result said it was bifid cipher. I tried other recommendations but none of them seems to work.</p><p>For bifid cipher, I needed key to decrypt it which I didn’t had so I tried other pages.</p><p>The pages that worked were <br>wordlist.txt : Which gave list of words which I supposed would be used for brute forcing something.</p><p>ok.txt : which had another page link but it was encrypted in ROT13 so after decrypting it found it said /happymeal.jpg which when opened said:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*DY0ejzUEvW_jdtzg3yiZDA.png" /></figure><p>On entering HelpMeOut.txt, there was a download link for the zip file</p><p>Link: <a href="https://downloads.ctf.intigriti.io/1337UPLIVECTF2022-894ff411-aff8-453c-87b1-20ea939a7b6c/mirage/e89c833c-fd48-4399-8033-e634036cad81/flag.zip">https://downloads.ctf.intigriti.io/1337UPLIVECTF2022-894ff411-aff8-453c-87b1-20ea939a7b6c/mirage/e89c833c-fd48-4399-8033-e634036cad81/flag.zip</a></p><p>When I tried to open it, it was password protected</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eA884zqc0U3u85bQK_bleQ.png" /></figure><p>But I had the wordlist so I called john the ripper for some action.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FusLapuhXJgmX9nmeKmGOw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/1*X58j0IytxDgeVlGtwzJRKg.png" /></figure><p>Password: Soeasypeasy214</p><p>Entering the password got the flag.</p><p>Flag: 1337UP{Wh4tAM3ss.txt.jpg.whyareyouputtingmethroughthis}</p><p>If you have any questions comment down else consider following :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55b53d5f3360" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Can bamboo be our new friend against global warming?]]></title>
            <link>https://medium.com/the-daily-cuppa/can-bamboos-be-our-new-friends-against-global-warming-f107721d5a0b?source=rss-821c9d5faab7------2</link>
            <guid isPermaLink="false">https://medium.com/p/f107721d5a0b</guid>
            <category><![CDATA[nature]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[global-warming]]></category>
            <category><![CDATA[earth]]></category>
            <dc:creator><![CDATA[Arth Detroja]]></dc:creator>
            <pubDate>Tue, 22 Feb 2022 12:43:33 GMT</pubDate>
            <atom:updated>2022-02-22T17:10:31.413Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Can bamboo be our new friend against global warming?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rgjugGPPv-iMfdm-dV_zWg.png" /><figcaption>Credits: Canva.com and <a href="https://unsplash.com/photos/584v2LvGjSk?utm_source=unsplash&amp;">https://unsplash.com/photos/584v2LvGjSk?utm_source=unsplash&amp;</a></figcaption></figure><p>Can you guess the deforestation rate?</p><p>Between 2015-2020, it was <strong>10 million hectares per year</strong>.</p><p>And the afforestation rate is negligible compared to it. You may wonder…what can I do? Everyone can’t have a tree in his backyard.</p><p>The solution: bamboo.</p><p>Some of bamboo’s properties include:</p><ul><li>Bamboo plantations grow well in <strong>hot to warm temperate climatic conditions</strong>.</li><li><strong>It grows fast —</strong> it only takes 30 days to grow for edible purposes, 6 months for weaving works, 1 year for handicrafts, 2+ years for furniture, 3–4+for construction.</li></ul><p>Also, during its growth, it absorbs a lot of carbon dioxide, about <strong>12 tonnes of carbon dioxide per hectare per year</strong>.</p><p>Guys, bamboo can be the superhero that can save our planet from poisonous gasses.</p><p>I am sure after reading this, you will check out bamboo.</p><p>Let’s go green!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f107721d5a0b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-daily-cuppa/can-bamboos-be-our-new-friends-against-global-warming-f107721d5a0b">Can bamboo be our new friend against global warming?</a> was originally published in <a href="https://medium.com/the-daily-cuppa">The Daily Cuppa</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Puzzle challenge #1: Aliens]]></title>
            <link>https://medium.com/the-daily-cuppa/puzzle-challenge-1-aliens-859832ce061f?source=rss-821c9d5faab7------2</link>
            <guid isPermaLink="false">https://medium.com/p/859832ce061f</guid>
            <category><![CDATA[life]]></category>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[challenge]]></category>
            <category><![CDATA[iq]]></category>
            <category><![CDATA[puzzle]]></category>
            <dc:creator><![CDATA[Arth Detroja]]></dc:creator>
            <pubDate>Tue, 15 Feb 2022 20:28:07 GMT</pubDate>
            <atom:updated>2022-02-21T19:42:10.584Z</atom:updated>
            <content:encoded><![CDATA[<h4>Test your IQ. Try solving this deduction-based puzzle and compare yourself with Sherlock.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*w8oJRXNbodrFJ8-PZzbLBg.png" /><figcaption>Credits: Canva.com</figcaption></figure><p><strong>You’re traveling in space, and you come across some aliens with insane powers.</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F5AN3sz5GBC55m%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F5AN3sz5GBC55m%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F5AN3sz5GBC55m%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="174" frameborder="0" scrolling="no"><a href="https://medium.com/media/b462c43f75868042bebb0129956304b6/href">https://medium.com/media/b462c43f75868042bebb0129956304b6/href</a></iframe><p>Ahem!!</p><p>Anyways, they stopped you and said they would spare you if you answered their question.</p><p>Question:</p><p>We have two communities here; one community always lies, and the other always tells the truth. There are three people standing</p><p><strong>1st person </strong>said something in an alien language that you didn’t understand.<br><strong>2nd person </strong>tells you that 1st person is saying that he belongs to the Lie community.<br><strong>3rd person</strong> says that the second person is lying.</p><p>Can you figure out if 3rd person is lying or telling the truth?</p><p>Answer in the comment section ( To avoid spoiler ;) ) Comment if you got it right or wrong.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=859832ce061f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-daily-cuppa/puzzle-challenge-1-aliens-859832ce061f">Puzzle challenge #1: Aliens</a> was originally published in <a href="https://medium.com/the-daily-cuppa">The Daily Cuppa</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hands on XSS: Cross site scripting]]></title>
            <link>https://systemweakness.com/hands-on-xss-cross-site-scripting-e89e6f71be8?source=rss-821c9d5faab7------2</link>
            <guid isPermaLink="false">https://medium.com/p/e89e6f71be8</guid>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[xss-attack]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Arth Detroja]]></dc:creator>
            <pubDate>Thu, 27 Jan 2022 04:29:33 GMT</pubDate>
            <atom:updated>2022-01-27T05:48:51.893Z</atom:updated>
            <content:encoded><![CDATA[<p>If you are a web developer and want to avoid XSS attack or interested in cyber security then you want to read this article.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rRT_KnLSj154uTUi.jpg" /><figcaption>Image source: hermesinfotech.com</figcaption></figure><p>XSS is included in OWASP top 10 vulnerabilities list. It’s estimated that more than 60% of web applications are susceptible to XSS attacks<strong>,</strong> which eventually account for more than 30% of all web application attacks.</p><p>So, what is XSS?<br>In simple terms cross-site scripting is a web security vulnerability that allows an attacker to modify webpage by injecting JavaScript, HTML or anything that a browser can render.</p><p>Let us have a hands on experience exploiting XSS. Here I am going to take Question 2 from hacker101 here is the link: <a href="https://ctf.hacker101.com/ctf">https://ctf.hacker101.com/ctf</a> =&gt; Micro-CMS v1.<br>This is vulnerable to XSS so let us see how this works.</p><p>When we click on GO we see this page opening:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*Zy_3xdS1WKeMf9dAgtBxaQ.png" /></figure><p>Now here we see two pre-created pages and an option to create a new one.<br>When we open those pages or create new page we see this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jP8gv0aCJj61gkuGmex9oQ.png" /></figure><p>There we come to know that markdown scripts are rendered. It is our task to see if it checks about malicious script or not.</p><p>Let us try entering &lt;script&gt;alert(123)&lt;/script&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mTtgZP_UbPdRmjfX4_-ZrA.png" /></figure><p>Now after saving the page and then clicking on it does not do anything so let us try in the title section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*ZjPmoLmR6-suO4Cg8ggYLQ.png" /></figure><p>After saving when we click on home button boom we have our flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FKIIEYc4PoMaMLRnJzfqsA.png" /></figure><p>After clicking OK we have our alert message which means that out script tag got executed and also we cannot see anything in list of pages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*E6resqvE2ZDOQQO4IfLjlw.png" /></figure><p>There are three kind of XSS attack.</p><ol><li>Stored XSS: It arises when an application receives data from an untrusted source and includes that data within its later HTTP responses in an unsafe way.</li><li>DOM XSS: It arises when an application contains some client-side JavaScript that processes data from an untrusted source in an unsafe way, usually by writing the data back to the DOM.</li><li>Reflected XSS: It arises when an application receives data in an HTTP request and includes that data within the immediate response in an unsafe way.</li></ol><p>It would be clear from the definition that the attack that we saw here was stored XSS. Stored XSS is the most dangerous among all the attack as in this the victim just need to visit the page while in attack like reflected XSS user need to click on the link too. Detailed description of types of XSS and prevention steps will be published in upcoming article till then stay tuned.</p><p>If you have anything to mention please comment down below and consider following :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e89e6f71be8" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/hands-on-xss-cross-site-scripting-e89e6f71be8">Hands on XSS: Cross site scripting</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hello Cryptocurrency!!]]></title>
            <link>https://medium.com/@arthDetroja/hello-cryptocurrency-80acb0cb12e7?source=rss-821c9d5faab7------2</link>
            <guid isPermaLink="false">https://medium.com/p/80acb0cb12e7</guid>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[cryptocurrency-investment]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Arth Detroja]]></dc:creator>
            <pubDate>Mon, 24 Jan 2022 12:10:42 GMT</pubDate>
            <atom:updated>2022-01-24T12:10:42.264Z</atom:updated>
            <content:encoded><![CDATA[<p>Fascinated about cryptocurrency? Are you going to invest in cryptocurrency? Read this article to have a glimpse about what cryptocurrency is and how it works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Pi8A-zvIiSxmNQtWQMp9Rw.png" /></figure><p>In this contemporary fast-moving world, with people more and more aware about the vast ocean of opportunities and amenities that the ever-evolving technology offers, one word that stood apart from the crowd was ‘Cryptocurrency’. Some people just scrolled it down during their daily twitter notifications, some looked it up to quench their curiosity (it was Elon Musk who was most excited about it after all!) and some decided to look it up and understand its dynamics to make a profit.</p><p>But cryptocurrency is much more than a medium to make a profit or some mediocre reports on dark web or hacking.<br> According to the omniscient Google, Cryptocurrency is a digital currency in which transactions are verified and records maintained by a decentralized system using cryptography, rather than by a centralized authority.</p><p>Cryptocurrency in simple terms,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*RYfOHw3mMtPhkJRCg2T5ww.gif" /></figure><p><strong>How does it work?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DR6dU5RCUgMxzS4o.png" /></figure><p>A cryptocurrency is a digital or virtual currency that is secured by cryptography, which makes it almost impossible to counterfeit or double-spend. The word ‘Cryptocurrency’ is itself derived from the encryption techniques which are used to secure the network.</p><p>Crypto wallet: Crypto wallets keep your private keys — the passwords that give you access to your cryptocurrencies — safe and accessible, allowing you to send and receive cryptocurrencies</p><p>Here the signature function includes a message parameter that makes every signature different for different messages and public key can be derived from private key but vice-versa is not possible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*UVAUsLmD_hr6r9dn.png" /></figure><p><strong>Need for Cryptocurrency</strong></p><p>Cryptocurrency was created in the wake of the 2008 financial crisis, which hit the world’s economic systems pretty hard. People were upset at banks and governments and one of the reasons was the implicit nature that citizens had to trust banks and governments with their hard-earned money, things completely outside of their control.</p><p>On top of that, regular people could have their financial assets (cash) seized or frozen for any reason by almost anyone, including companies and foreign governments. Thus, you didn’t fully control your money before cryptocurrencies came about.</p><p>That doesn’t sound rational, does it? Well, whoever created Bitcoin didn’t think so either, believed Satoshi Nakamoto. The power of a person’s money should, in effect, lie with the person who earned it instead of the bank that keeps it or the government that has the power to seize it.</p><p>Thus, Bitcoin was created as a way for people to engage in financial transactions without relying on banks or governments. It’s a peer-to-peer currency. No one controls your money, but such transactions are generated, secured, and verified thanks to cryptography. In other words, it’s not a bank or government that verifies and secures a transaction; it’s mathematics.</p><p>So why are cryptocurrencies so popular?</p><p>Cryptocurrencies attract its users for numerous reasons, such as:</p><ul><li>They see cryptocurrencies such as Bitcoin, Dogecoin as the currency of the future and are racing to buy them now, presumably before they become more valuable</li><li>A strong appeal is the fact that cryptocurrency removes central banks from managing the money supply, since over time these banks tend to reduce the value of money via inflation</li><li>The technology behind cryptocurrencies, the blockchain, is a decentralized processing and recording system and can be more secure than traditional payment systems</li><li>Some speculators like cryptocurrencies because they’re going up in value and have no interest in the currencies’ long-term acceptance as a way to move money</li></ul><p>How is Cryptocurrency secure</p><ul><li>There’s a limit to how many units can be bought, such as in the case of bitcoins this limit is 21 million.</li><li>It works on a hashing algorithm hence it easily verifies the fund transfer.</li><li>It works in a decentralised manner as it does not have a government regulating body or does not involve banks.</li><li>New units can be added after some conditions are met. For instance in the case of bitcoins a new unit can be bought only after a new block is added in a block chain.</li></ul><p><strong>The current scenario:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*MdQaIeV8yHApACaj35hI3g.png" /><figcaption><a href="http://www.nasdaq.com/">www.nasdaq.com</a></figcaption></figure><p>Today, more than 4000 cryptocurrencies are exchanged in the market. And in this boundless ocean, the cryptocurrencies that have emerged on the top are Bitcoin, Ethereum, Tether, Dogecoin, Cardano, Binance coin, XRP, Internet computer, Polkadot, USD coin and many more.</p><p>Among them, the most stable cryptocurrency is bitcoin. For instance, the volatility of bitcoin according to statistics of May 24 day’s high is $38,779 and day’s low is $31,257 which means the change of about $7,522 or 5,48,432.78 rupees.</p><p>The least volatile cryptocurrency is a tether, thus aptly calling it a stable coin because it was originally designed to always be worth $1.00, maintaining $1.00 in reserves for each tether issued. Nevertheless, Tether Limited states that owners of tethers have no contractual right, other legal claims, or guarantee that tethers will be redeemed or exchanged for dollars.</p><p><strong>Advantages and Disadvantages:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*snJCkMoNyp5AklHs.jpeg" /><figcaption><a href="http://www.honestproscons.com/">www.honestproscons.com</a></figcaption></figure><p>Cryptocurrencies offer numerous advantages, which proves why they are currently in vogue. Cryptocurrencies, for example, are more secure than regular electronic transactions since the ledger is based on cryptic mathematical puzzles. Unlike bank accounts, cryptocurrency accounts use pseudonyms for privacy and security. With minimal transaction fees, currency exchanges can also be done easily.</p><p>Cryptocurrencies are largely decentralized, so they aid in keeping the currency monopoly under control. This will keep it stable and secure, unlike fiat currencies that are controlled by the government. A user typically pays negligible, or even a zero, transaction fee in this method. It does so by eliminating the need for third parties, like VISA or PayPal, to verify a transaction.</p><p>In the real world, however, all that glitters is not gold. This method has plenty of advantages as well, but we can’t ignore its dire effects in doing so. The government cannot keep track of illegal crypto transactions because of the privacy and security of cryptocurrency transactions. As a result, it is used in various illegal and terrorist activities. As a result of the scarcity of cryptocurrencies, the exchange rates vary widely. In recent months, Bitcoin’s value has risen and fallen rapidly. We can therefore consider Cryptocurrencies as a fad or a speculative bubble.</p><p>Also, if any user loses the private key to their wallet, there’s no getting it back. Users will suffer financial loss when their wallets remain locked up with the coins inside them. Cryptocurrency is known for its decentralization. Some currencies are still controlled by some individuals and organizations, who can manipulate the currency for large swings in price which can even be bitcoin. Cryptocurrencies are often unavailable in fiat currency and mining cryptocurrencies requires a lot of computational power and electricity input, making it very energy-intensive, which causes serious consequences for the environment.</p><p>Although cryptocurrencies are very secure, exchanges are not that secure. Most exchanges store the wallet data of users to operate their user ID properly which can be stolen by hackers, giving them access to a lot of accounts. After getting access, these hackers can easily transfer funds from those accounts. In Bitcoin’s 10-year history, several online exchanges have been the subject of hacking and theft, sometimes with millions of dollars worth of “coins” stolen.</p><p>Hence, there has always been a question of whether cryptocurrency is beneficial or not.</p><p><strong>Environmental issues of using Cryptocurrency:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*r7b2gPdsLKzl8oZ8.png" /><figcaption><a href="http://www.industrywired.com/">www.industrywired.com</a></figcaption></figure><p>An estimate by the University of Cambridge suggests that Bitcoin mining consumes more than 120 Terawatt Hours (TWh) per year, using more electricity annually than countries like Malaysia, Sweden or Argentina. The electricity usage is more than 2.5 times electricity usage by Amazon, Apple, Google, Microsoft, Facebook combined.</p><p>Now an obvious question that arises is why this system requires electricity.</p><p>In bitcoin, the transaction done has to be verified and the one who verifies it gets rewarded in the form of bitcoin. In simple words it is kind of a lottery system in which a lottery winner is declared every 10 minutes of $200,000. In order to win this lottery, one has to spend electricity which acts as proof of work (proof that you have done work and you are eligible to win the lottery).</p><p>Many bitcoin defenders say that the energy used by the bitcoins says that the energy comes from renewable resources but a study by Cambridge university suggests that only 39% energy used comes from renewable resources other is from non-renewable resources which pose a great threat to their extinction.</p><p>Other argument made by defenders is that the energy required for bitcoin mining also comes from the places where the power is over produced like the Sichuan</p><p>province in China where the overproduced hydropower was put to use for bitcoin mining.</p><p>Mining Bitcoin and other cryptocurrencies could leave adverse impacts on the environment, some fear. Tesla CEO Elon Musk said,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/1*LBu7k1HhKsUUOmyZQcCZtA.png" /></figure><p>Hence it has a great impact on the environment and cannot be neglected.</p><p><strong>Conclusion:</strong></p><p>At last, we realize that the vast opportunities that technology provides eases our life to such an extent that we turn a blind eye to our very roots and the consequences that follow. In no way that should hinder the wheels of progress of humankind, all we have to do is to tread the path safely and cautiously towards a new future.</p><p>Comment down below your views about cryptocurrency and please consider following to break medium algorithm. It motivates me write more articles :)</p><p>Credits to helping me in writing this article Prarthee Desai, <a href="https://medium.com/u/54d6a4182a8">Kenil Himmatbhai Vaghasiya</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80acb0cb12e7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Phishing: Exploiting human vulnerability.]]></title>
            <link>https://systemweakness.com/phishing-exploiting-human-vulnerability-a546c36badbb?source=rss-821c9d5faab7------2</link>
            <guid isPermaLink="false">https://medium.com/p/a546c36badbb</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[phishing-awareness]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[phishing]]></category>
            <dc:creator><![CDATA[Arth Detroja]]></dc:creator>
            <pubDate>Thu, 06 Jan 2022 19:59:51 GMT</pubDate>
            <atom:updated>2022-07-21T11:57:29.013Z</atom:updated>
            <content:encoded><![CDATA[<p>If you want to explore phishing and want to know some basic defense techniques, then this article is for you and you wanna read it.</p><p>What is phishing? Let me give you a great definition: Phishing attack consist of very cleverly crafted e-mail which tricks you to either give away your credentials or make you download or click on a malicious link which ends us stealing your credentials or installing a malware in your PC which compromises your security.</p><p>For some interesting statistics related to Phishing, head over to: <a href="https://www.statista.com/topics/8385/phishing/#dossierKeyfigures">https://www.statista.com/topics/8385/phishing/#dossierKeyfigures</a></p><p>You might be thinking:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FJyYPBMahuEnsbqRlGh%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FJyYPBMahuEnsbqRlGh%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FJyYPBMahuEnsbqRlGh%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="241" frameborder="0" scrolling="no"><a href="https://medium.com/media/124c49815dadf49d3ec6e7a05cc51b03/href">https://medium.com/media/124c49815dadf49d3ec6e7a05cc51b03/href</a></iframe><p>Here let me show you a small demo taken from cheapsslsecurity.com. A sample phishing email which asks to verify your account of American Express which is a credit card company.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/913/1*n2I3E-qL27vIYkl28ZzanQ.png" /></figure><p>This seems to be real right? what ordinary people will do they would click on the click here to review and enter their credentials. But you are not ordinary because you are reading this article 😉</p><p>Now the mechanism behind this is as follows:</p><p>In case if they are successful in making “ordinary people” enter the credentials, as soon as they enter them, they get recorded and are passed to the attacker. Now as the site is not authentic it cannot lead to authentic verification, they either display fake successful verification message or assure that you in some other ways.</p><p>And congratulations “ordinary people” are successfully scammed and credentials are stolen!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F3oEdv8X5HST39UMVFe%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F3oEdv8X5HST39UMVFe%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F3oEdv8X5HST39UMVFe%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="245" frameborder="0" scrolling="no"><a href="https://medium.com/media/538b12617394458a245914cf1027ec57/href">https://medium.com/media/538b12617394458a245914cf1027ec57/href</a></iframe><p>Lets become Sherlock Holmes and try to identify if the mail is phishing or an actual mail.<br>You need to remember the guidelines given by your bank, credit card company or any any other important firm that deals with your confidential information or finance.</p><p>These guidelines includes whether they would ask for the details like password or other confidential information through email or online forms, whether they would ask to verify account through email links or any other e-means.</p><p>You might be thinking that god this too much I can’t always remember those.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FJkADkL9786mQBORwCS%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FJkADkL9786mQBORwCS%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FJkADkL9786mQBORwCS%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/ac2970e85bb3d4e08b68a78e1cf97b2d/href">https://medium.com/media/ac2970e85bb3d4e08b68a78e1cf97b2d/href</a></iframe><p>I have some tips which you can follow to make your life easy.</p><p>These phishing mails have a specific kind of pattern in order to convince user, but they are not perfect.</p><ol><li>Check for the email: If you find any kind of spelling mistakes then there is very good chance that this is phishing mail.</li><li>Seems to be unnecessarily urgent: Some of the phishing mails are wrote in such a way that it does not want to give you time to think and take a wrong step in urgency. Hence take your time reading it carefully because<br>“It’s never too late”</li><li>If you find email convincing enough and want to go ahead verifying some kind of account or resetting the password… do not click on the link in the mail instead go to browser type out bank or institute URL and then go ahead with the task.</li><li>Enable the spam protection given by your email service provider. It may annoy you with some important mail (important mails going to spam folder) but the technology is constantly improving and some pain is worth those saved credentials 😁</li><li>These are the common actions requested in a phishing mail <br>1. Clicking an attachment<br>2.Enabling macros in Word document<br>3. Updating a password<br>4. Responding to a social media connection request<br>5. Using a new wi-fi hot spot.</li></ol><p>If you made it this far the you are not “ordinary”.</p><p>As Sherlock says</p><blockquote>You do see but you don’t observe!</blockquote><p>Start observing and you will eventully find answer to all the question and will no longer be “ordinary”!</p><p>Thank you for reading, if you have any questions please comment down and consider following 😄</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a546c36badbb" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/phishing-exploiting-human-vulnerability-a546c36badbb">Phishing: Exploiting human vulnerability.</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SQL Injection]]></title>
            <link>https://systemweakness.com/sql-injection-6348398d6651?source=rss-821c9d5faab7------2</link>
            <guid isPermaLink="false">https://medium.com/p/6348398d6651</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[sql-injection]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[sql]]></category>
            <dc:creator><![CDATA[Arth Detroja]]></dc:creator>
            <pubDate>Wed, 05 Jan 2022 18:26:08 GMT</pubDate>
            <atom:updated>2022-01-07T07:43:27.549Z</atom:updated>
            <content:encoded><![CDATA[<p>Interested in cybersecurity then you definitely wanna read this.</p><p>Injection attacks are one of the most common and dangerous web attacks. Injection vulnerability is ranked at #1 in the <a href="https://owasp.org/www-project-top-ten/">OWASP Top Ten Web Application Security Risks</a>.</p><p>So what it is? Why it is so dangerous?</p><p>Let us first understand what an injection is. <br>Injection: During an injection attack, an attacker can provide malicious input to a web application (inject it) and change the operation of the application by forcing it to execute certain commands.</p><p>Hence in simple words we can figure out that SQL injection may be injecting something malicious using SQL which would affect the database and give out information which is not intended to be given.</p><p>Let us go in detail by doing a sample SQL injection on a demo website.<br>Site: <a href="http://testphp.vulnweb.com/login.php">http://testphp.vulnweb.com/login.php</a></p><p>Here we will try to simply bypass the login using SQL injection technique using burp suite.</p><p>How it works: In a login system, a request is made and entered credential is checked if they are true or not by matching them in the database.</p><p>Here is a sample code for checking username and password in database.</p><pre>SELECT * FROM Users WHERE Username =”userName” AND Password =”password”</pre><p>The condition 1=1 is always true so to bypass the login one can cleverly craft a request that injects true condition and allows user to log in.</p><p>In this can one can make request that looks like this:<br>In username field: user” OR “1=1</p><p>In password field: pass” OR “1=1</p><p>The request will look something like this:<br>SELECT * FROM Users WHERE Username =”user” OR “1=1” AND Password =”pass” OR “1=1”</p><p>The condition requirement is met hence user will be logged in.</p><p>Now there are different types of SQL injection, these are as follows:</p><ol><li>In-band SQLi</li><li>Union-based SQLi</li><li>Error-based SQLi</li><li>Inferential SQLi</li><li>Boolean based blind SQLi</li><li>Out-of-band SQLi</li><li>Time-based blind SQLi</li></ol><p>Details of these will be there in separate article.</p><p>Lets dive into a simple SQL injection demo.</p><p>First start your burp and set your intercept on:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/965/1*vfec6BaX01dz59PstIoKfA.png" /></figure><p>In your browser turn on the foxy proxy and set it to burp.</p><p>Go to the login page and type in some random user name and password and click login so burp will capture the request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/1*04BAmzd-rmdjCcnZoL90qw.png" /></figure><p>Burp will show the request with your entered user name and password.</p><p>Now from action click on send to intruder.</p><p>Here you need to add payload to username field.<br>Payload is a wordlist which consist of queries which can maliciously interfere and fetch some data out of it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/905/1*XjhKlwejBo28CQ2ayISLDg.png" /></figure><p>I have a payload ready lets test it out. Go to payload and load the available payload. Then we are ready to go click attack and see the magic.</p><p>Coming further you will notice something interesting:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H_f80cPaCqXSj_5gWxlc_w.png" /></figure><p>Two requests has been approved i.e. status code 200 trying those may let us in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/789/1*tG1ZZhf2YnREjJGVn91EgQ.png" /></figure><p>And boom!!!! we are in</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*pA-YtE-X2k-Cv-3f8Za0-Q.png" /></figure><p>More on prevention of SQL injection and it types is coming in upcoming article till then =&gt;</p><p>Please comment if there are any questions else please consider following :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6348398d6651" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/sql-injection-6348398d6651">SQL Injection</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>