<?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 Owais Shariff on Medium]]></title>
        <description><![CDATA[Stories by Owais Shariff on Medium]]></description>
        <link>https://medium.com/@notsooshariff?source=rss-eeb7773d1bb5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*CAof-sbFrXp06_Bhy7euNw.jpeg</url>
            <title>Stories by Owais Shariff on Medium</title>
            <link>https://medium.com/@notsooshariff?source=rss-eeb7773d1bb5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 09:22:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@notsooshariff/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[The Footprinting & Reconnaissance Bible: A Detailed Guide for CEH v12]]></title>
            <link>https://medium.com/@notsooshariff/the-footprinting-reconnaissance-bible-a-detailed-guide-for-ceh-v12-addda3d5f570?source=rss-eeb7773d1bb5------2</link>
            <guid isPermaLink="false">https://medium.com/p/addda3d5f570</guid>
            <category><![CDATA[footprinting]]></category>
            <category><![CDATA[hacking-tools]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[reconnaissance]]></category>
            <category><![CDATA[ceh-certification]]></category>
            <dc:creator><![CDATA[Owais Shariff]]></dc:creator>
            <pubDate>Mon, 27 May 2024 12:32:56 GMT</pubDate>
            <atom:updated>2024-05-27T12:32:56.484Z</atom:updated>
            <content:encoded><![CDATA[<p>Greetings, Cyber Sleuths! 👋🏽</p><p>In this series of articles, I will attempt to summarise everything you need to know about footprinting and reconnaissance to be able to ace the module related to it in the CEH v12 Exam Materials (although I have to admit I couldn’t spell reconnaissance myself for the life of it without autocorrect xD).</p><p>I decided to write this article because I’ve found it very hard to read through the study material of 2000+ pages. Plus, I find it difficult to engage with theoretical concepts on hacking; my learning style is more hands-on, favoring practical application. Therefore, I invested time in actively implementing the theories and lab sessions outlined in the CEH syllabus. And, I made this guide for those who share similar struggles and seek a more practical approach to learning.</p><p>By the end of this, you’ll walk out an expert on reconnaissance. (Or just a creepy stalker?)… (Or both)…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*4_ds_R1gYOkNVTtRdj0BnQ.gif" /></figure><h3>What are we getting ourselves into?</h3><p>I’ll start by giving you a high-level overview of what I’ll be covering in the upcoming posts.</p><p>While the CEH textbook has this elaborate diagram attempting to summarize and categorize all footprinting techniques,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X8CNU3vwBv-2bmjFEFkB7A.png" /></figure><p>We will be stripping this diagram down to its barebones and cover the essential topics from here which are:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/1*QZTpHq1ud0NC_pHFZZxpoA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*_I4R49-iYuX7m4sZVuXsEQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*z9rlcrxKWWwn7l2tB8_SWQ.png" /></figure><p>This syllabus approach is closer to what’s followed in the lab manual and is a better way to get acquainted with the concept of footprinting.</p><p>Additionally, I will be taking the example of a fictitious company called Evil Corp to weave in narratives and come up with analogies. (Please tell me Mr. Robot fans are reading this who get the reference.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*yGjcfTaft5vH_SVKCxG3og.gif" /></figure><h3>What is Footprinting &amp; Recon though?</h3><p>So you want to hack into Evil Corp? You’ve all seen those movies where hackers just slam their fingers on the keyboard, Matrix-style, and voila, they’re in. It’s like magic, right? Yeah, well, reality check — it doesn’t quite work that way. I tried it once; all I got was carpal tunnel syndrome.</p><p>Imagine you’re planning a heist. What’s the first thing you’d do? Buy a cool mask? While that may seem tempting, If your heist turns out to be unrealistic in the first place, you’re setting yourself up for failure. So you gotta do some planning (aka recon). You’d have to figure out the guards’ schedules, where the lasers are, and if there’s a pizza delivery guy who’s always late — that’s your way in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*OSUPu3ve3C-f1h4L5lTAGA.jpeg" /><figcaption>Throwing in a La Casa de Papel poster in there to give you a good idea of the level of planning we’re talking about here</figcaption></figure><p>In the digital world, it’s the same deal. You need to know your target — what systems they’re using, who their digital bouncers are, and if there’s a lazy admin who hasn’t updated their software since the ’90s. It’s like finding the weak link, and sometimes that weak link is as predictable as a pizza guy running late.</p><p>This high-level overview is pretty much all you need to know about <strong>why</strong> we need this stage in our hacking process.</p><h3>The Big Boy (and Girl) Dictionary of Digital Detectives</h3><p>While the analogy may have had you all hyped up for this series of articles, We need to hit a bit of a speedbreaker first and slow down. We need to learn some big boy (and girl) words. Because let’s face it, saying “I used a WHOIS Lookup” sounds a heck of a lot cooler than “I Googled some stuff.” So continuing the analogy approach, here are some terms you’ll want to remember going forward.</p><ol><li><strong>Active Footprinting</strong>: Directly interacting with the target system to gather information. <br><em>Analogy</em>: Knocking on someone’s door to see if they’re home.</li><li><strong>Passive Footprinting</strong>: Gathering information without direct interaction with the target system. <br><em>Analogy</em>: Watching a house to see who comes and goes.</li><li><strong>DNS Interrogation</strong>: Querying DNS servers to obtain information about domain names. <br><em>Analogy</em>: Asking the phone book for a list of people living at a specific address.</li><li><strong>WHOIS Lookup</strong>: Querying databases to retrieve information about domain registration details. <br><em>Analogy</em>: Looking up who owns a property in a public registry.</li><li><strong>Traceroute</strong>: Tracking the path data packets take from source to destination to map network paths. <br><em>Analogy</em>: Following the trail of breadcrumbs to find where they lead.</li><li><strong>Ping Sweep</strong>: Sending ICMP Echo Request packets to multiple hosts to determine which are alive. <br><em>Analogy</em>: Somewhat, like calling multiple phones to see which ones ring.</li><li><strong>Port Scanning</strong>: Identifying open ports on a target system to determine available services. <br><em>Analogy</em>: Checking which doors in a building are unlocked.</li><li><strong>Banner Grabbing</strong>: Capturing the initial response from a network service to determine its version and type. <br><em>Analogy</em>: Reading the welcome sign to know what type of store you’re entering.</li><li><strong>Network Mapping</strong>: Creating a map of the network’s devices and their interconnections. <br><em>Analogy</em>: Drawing a floor plan of a building showing all rooms and connections.</li><li><strong>OS Fingerprinting</strong>: Identifying the operating system of a target system based on responses to network probes. <br><em>Analogy</em>: Recognizing a car’s make and model by its engine sound.</li><li><strong>Social Engineering</strong>: Manipulating people into divulging confidential information. <br><em>Analogy</em>: Tricking someone into giving you their password by pretending to be tech support.</li><li><strong>Website Mirroring</strong>: Downloading an entire website to examine its structure and content offline. <br><em>Analogy</em>: Uhh… Cloned websites your grandma enters her credit card information into after falling for a tech support scam I guess?</li><li><strong>Metadata Analysis</strong>: Extracting hidden data from files, such as author details and creation dates. <br><em>Analogy</em>: Checking the tags on a photo to see when and where it was taken.</li><li><strong>Email Harvesting</strong>: Collecting email addresses using techniques like web scraping. <br><em>Analogy</em>: Picking apples from multiple trees in an orchard.</li><li><strong>Google Dorking</strong>: Using advanced search operators to find sensitive information indexed by search engines. <br><em>Analogy</em>: Using special keywords to find hidden gems in a massive database. You’ll understand this in the next article. It’s basically Google on Steroids.</li><li><strong>Network Sniffing</strong>: Capturing and analyzing packets traversing a network. <br><em>Analogy</em>: Eavesdropping on conversations in a crowded room.</li><li><strong>IP Address Range Discovery</strong>: Identifying the range of IP addresses used by a target organization. <br><em>Analogy</em>: Finding out all the phone numbers in a specific area code.</li><li><strong>Reverse IP Lookup</strong>: Finding other domains hosted on the same server as the target. <br><em>Analogy</em>: Discovering all tenants living in a particular apartment building.</li><li><strong>Zone Transfer</strong>: Transferring the DNS zone file to obtain a list of all domain names and IP addresses in a network. <br>Analogy: Getting a full list of addresses in a neighborhood from the city registry.</li><li><strong>SMTP Probing</strong>: Interacting with mail servers to gather information about email accounts and server configuration. <br><em>Analogy</em>: Asking a post office about how many mailboxes they manage.</li><li><strong>Web Spidering</strong>: Automatically browsing a website to collect information about its structure and links. <br><em>Analogy</em>: Sending a drone to explore every room in a building and make a map.</li><li><strong>Security Vulnerability Research</strong>: Identifying known vulnerabilities associated with the target’s software and hardware. <br><em>Analogy</em>: Checking a list of known defects in a car model to see if your car has any issues.</li><li><strong>Fingerprinting Web Applications</strong>: Determining the specific software and versions used to run a web application. <br><em>Analogy</em>: Identifying the brand and version of a smartphone by its features.</li><li><strong>Job Postings Analysis</strong>: Reviewing job ads to gain insights into an organization’s technology stack and infrastructure. <br><em>Analogy</em>: Looking at the “help-wanted” ads outside a pizza shop to see what workers they have.</li><li><strong>Physical Security Footprinting</strong>: Gathering information about the physical layout and security measures of a facility. <br><em>Analogy</em>: Walking around a building to note all the security cameras and entry points.</li><li><strong>Network Enumeration</strong>: Discovering devices, shares, and services on a network. <br><em>Analogy</em>: Counting all the devices connected to a local Wi-Fi network.</li><li><strong>VoIP Enumeration</strong>: Identifying and mapping VoIP infrastructure components. <br><em>Analogy</em>: Listing all the internet phone lines in an office.</li></ol><p>There are a bunch of tool names as well that you might encounter like Maltego, Shodan, Netcraft, or Nmap but since they’re tools as opposed to terms, we’ll use them soon in the upcoming articles and you’ll pick them up from there.</p><p>Next up, we’ll learn about search engines and how to use them in our recon process. You can find the next article right here:</p><h3>Report an Issue to Me</h3><p>If you want me to add information, and sources or have any issues with this, Please contact me at <strong>owaisahmedshariff@duck.com</strong> or leave a comment below.</p><p><strong>For sensitive reports</strong>, You can use the following <strong>public PGP key </strong>to send me a message:</p><pre>-----BEGIN PGP PUBLIC KEY BLOCK-----<br><br>mDMEZXhfexYJKwYBBAHaRw8BAQdAr1FVvX195HeEoQ5t8nZoejim7Rg2cpvdc5GX<br>P6XVeCO0Kk93YWlzIFNoYXJpZmYgPG93YWlzYWhtZWRzaGFyaWZmQGR1Y2suY29t<br>PoiZBBMWCgBBFiEEeE11HJGlC2vN4J8UcWCWH84KI7UFAmV4X3sCGwMFCQWkrZUF<br>CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQcWCWH84KI7WDvgEA0XXhb9wo<br>wFfZFgHtyHyW2CAt5IAuJZyjmgTT/tGvGR0A/0WKYyIWJgDSgyjcVcbZem2Ff/i6<br>iJJPNEYMhxuDh6cHuDgEZXhfexIKKwYBBAGXVQEFAQEHQKs/5qbm8AwrGS22c0HQ<br>Jlws4Arc/QN6IMx+M27WIAAtAwEIB4h+BBgWCgAmFiEEeE11HJGlC2vN4J8UcWCW<br>H84KI7UFAmV4X3sCGwwFCQWkrZUACgkQcWCWH84KI7We6gD/bmGue2oV8RITXlag<br>5pIfE+1ukiGlYsXR06WVVNYspQUBAKb1L5+rO3fusuX6d6Y5mv7v5EDJASqalyuP<br>BCtK5KAD<br>=c0nI<br>-----END PGP PUBLIC KEY BLOCK-----</pre><p>You can support me on my socials below to show me support:</p><p>Instagram: <a href="https://instagram.com/ridiculosh">@ridiculosh</a></p><p>Linkedin: <a href="https://linkedin.com/in/owais-shariff">@owais-shariff</a></p><p>GitHub: <a href="https://github.com/NotSooShariff/">@NotSooShariff</a></p><p>Website: <a href="https://osh.fyi/">osh.fyi</a></p><p>Twitter: <a href="https://twitter.com/NotSoShariff">@NotSoShariff</a></p><p>If you find this article informative, be sure to drop me a follow for the upcoming ones and also leave a reaction or comment to give me feedback.</p><p>See you in the next one!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=addda3d5f570" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Beginner’s Handbook to Online Privacy and Defunding Evil Corporations]]></title>
            <link>https://medium.com/@notsooshariff/a-beginners-handbook-to-online-privacy-and-defunding-evil-corporations-3efa64908ba7?source=rss-eeb7773d1bb5------2</link>
            <guid isPermaLink="false">https://medium.com/p/3efa64908ba7</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ad-blocking]]></category>
            <category><![CDATA[privacy-protection]]></category>
            <category><![CDATA[online-privacy]]></category>
            <category><![CDATA[privacy]]></category>
            <dc:creator><![CDATA[Owais Shariff]]></dc:creator>
            <pubDate>Wed, 13 Dec 2023 14:34:42 GMT</pubDate>
            <atom:updated>2023-12-13T14:54:42.082Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, I attempt to create the <strong>ultimate</strong> checklist for safeguarding online privacy. Whether you aim to avoid the sale of personal data to large corporations to prevent them from profiting at the expense of your privacy or whether you aim to hinder media censorship attempts by big tech, this article is for you. I will try to make it as simple as possible for people who aren’t great with technology to follow along with ease.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IGqMO1xVJBUYRU_1XjLYVQ.png" /><figcaption>Credit: <a href="https://slate.com/technology/2020/01/evil-list-tech-companies-dangerous-amazon-facebook-google-palantir.html">Slate Magazine</a></figcaption></figure><h3>Index — Jump to Sections</h3><h4><a href="#17f3">Introduction</a></h4><ul><li><a href="#17f3">Why this is important</a></li></ul><h4><a href="#421f">Securing your computer</a></h4><ul><li><a href="#421f">Browser Protection (Google Tracking)</a></li><li><a href="#2a36">Extensions for Chrome Privacy</a></li><li><a href="#d8f8">Microsoft Windows Ads &amp; Tracking</a></li></ul><h4><a href="#d4c3">Securing your smartphone</a></h4><ul><li><a href="#d4c3">Android Apps Ads &amp; Tracking</a></li><li><a href="#e8e4">Android Settings to Allow Third-party Installations</a></li><li><a href="#cb2a">Instagram Ads &amp; Tracking</a></li><li><a href="#17ae">YouTube Ads &amp; Tracking</a></li><li><a href="#bfd9">Twitch, Patreon, Soundcloud &amp; Kick</a></li><li><a href="#d345">YouTube Music Ads &amp; Tracking</a></li><li><a href="#2201">Spotify Ads &amp; Tracking</a></li><li><a href="#6c3f">Email Tracking &amp; Bonus Applications</a></li></ul><h4><a href="#57e0">Wrapping Up</a></h4><ul><li><a href="#57e0">Malware Warning &amp; Protection</a></li><li><a href="#3593">Report an Issue to Me</a></li></ul><h3>Why this is important</h3><p>“But why does it matter?” you might wonder. When I initially discussed this idea with my mom — who, I must confess, is more tech-savvy than most — her immediate reaction was a sentiment similar to this. You might say “I don’t care if ads are a little more specific — I skip them anyways” or “I don’t care if companies collect my email or phone addresses — What are they even going to do with it?”. Well, to break down the gravity of the situation, let me take the example of Google. Ask yourself this question, <strong>“What do you think most of Google’s money comes from?”</strong>.</p><p>You might associate Google with the largest search engine in the world. Or as the creator of the Android — The most popular smartphone operating system. Or even as the creator of Pixel Phones and accessories. So what do you think they make the most money from? Phones? Web searches? Cloud Services? I’ll let the statistics speak for themselves.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tCs5U4GgSP-4iWW8qGenuQ.png" /><figcaption>Credits: <a href="https://www.doofinder.com/en/statistics/google-revenue-breakdown">Doofinder Revenue Breakdown</a></figcaption></figure><p>That’s right — Over 58% is just from advertisements! An additional 22% is generated through YouTube and affiliated networks, totaling over 80% or $98 billion. The aim of this breakdown is not to show how lucrative of a business the ads &amp; marketing industry is — Google is far from being the <strong>only </strong>ad service out there. But the reason they dominate in this space is that they’re able to offer companies that are looking to advertise the best data and insights on <strong>which customers </strong>to show them to. How do they gather this data? You guessed it! By poking around in your digital privacy.</p><p>And Google is just <strong>one</strong> example. Meta (Formerly Facebook), Microsoft, Spotify, X (Formerly Twitter), Disney+, and Netflix have recently come under a lot of criticism for bad privacy policies and unethical trade practices. Therefore, I am going to attempt to show you how to defend yourself at least a little bit better against these corporations.</p><h3>Browser Protection (Google Tracking)</h3><p>Most of what we do on our computers these days has shifted to websites on our browsers. We hate the feeling of having to download an application for everything! Don’t you despise restaurants that ask you to scan a QR Code for just going through a menu and ordering a side of french fries? And so naturally — if a service has a website, people generally prefer to use it instead of downloading and using an application. YouTube, Drive, Docs, Slides, Sheets, and GitHub all have their desktop apps. But there is a reason that their website version is much more popular. So your browser (Google Chrome or Safari) becomes a hot spot for companies like Google, Microsoft, or Apple to collect your data. This is why it is important to start by securing your browser first.</p><p>My recommendations for better browsers are:</p><ul><li><a href="https://www.mozilla.org/en-US/firefox/new/">Firefox</a> (Best Overall)</li><li><a href="https://duckduckgo.com/">DuckDuckGo</a> (Best Search Engine)</li><li><a href="https://brave.com/download/">Brave</a> (Best Adblock &amp; Crypto features)</li><li><a href="https://vivaldi.com/">Vivaldi</a> (Most feature rich)</li></ul><p>For people who just want a quick switch, I will be explaining how to get Firefox to get started right away, set it up, and forget it so that it can do all of the heavy lifting so you don’t have to worry about it.</p><h4><a href="https://www.mozilla.org/en-US/firefox/new/">Firefox Installation</a></h4><p>Mozilla, The team that develops and maintains this browser is a not-for-profit organization and is a popular choice for online privacy-conscious people and is an easy recommendation to anyone getting started.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G27-PVYxjUIkWswoh0V2iA.jpeg" /></figure><p>To use this browser, simply head over to this <a href="https://www.mozilla.org/en-US/firefox/new/">link</a>:</p><p><a href="https://www.mozilla.org/en-US/firefox/new/">Download the fastest Firefox ever</a></p><p>To get the installer, click the “Download Firefox” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DkV-cTTwL6dOtWBIBs5GLQ.png" /><figcaption>Download button highlighted in red</figcaption></figure><p>Once you go through their installation process, You can import your settings like bookmarks, passwords, extensions, etc from Chrome or Edge to Firefox.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s3ymso6pLxNlO5E88vBKJQ.gif" /><figcaption>Tutorial on how to import passwords and other data</figcaption></figure><p>To make this browser more secure, you can choose some more settings just to be on the safer side. For this, enter about:preferences#privacy in the URL bar, or click on the ☰ icon on the top right corner and head over to Settings and choose Privacy &amp; Security and change the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OzuSxVcDaZkandp177hAaA.gif" /><figcaption>Extra settings to enable/disable</figcaption></figure><p>And with that, your browsing experience should be a lot more secure already.</p><h3>Extensions for Chrome Privacy</h3><p>But I get it, it’s hard to ditch things sometimes. Maybe you have gotten too used to Chrome’s look and feel and want to stay on it. Or maybe your organization doesn’t allow other browsers instead of Chrome. If you find yourself in a situation like this, Here is a complete list of extensions you can use in your existing browser to make it a tad bit more secure:</p><ul><li><a href="https://chromewebstore.google.com/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm">uBlock Origin</a> (Ad Blocker)</li><li><a href="https://chromewebstore.google.com/detail/privacy-badger/pkehgijcmpdhfbdbbnkijodmdjhbjlgp">Privacy Badger</a> (Tracker Blocker)</li><li><a href="https://github.com/dhowe/AdNauseam/wiki/Install-AdNauseam-on-Chromium-based-browsers#install-adnauseam">Adnauseam</a> (Tracks Obfuscator)</li></ul><h4>One-Click Installs for uBlock &amp; Privacy Badger</h4><p>You can find <a href="https://chromewebstore.google.com/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm">uBlock</a> &amp; Privacy Badger on the <a href="https://chromewebstore.google.com/">Chrome Extension Store</a>.</p><ul><li>uBlock Origin: <a href="https://chromewebstore.google.com/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm">https://chromewebstore.google.com/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm</a></li><li>Privacy Badger: <a href="https://chromewebstore.google.com/detail/privacy-badger/pkehgijcmpdhfbdbbnkijodmdjhbjlgp">https://chromewebstore.google.com/detail/privacy-badger/pkehgijcmpdhfbdbbnkijodmdjhbjlgp</a></li></ul><p>This means you can just click on the Add to Chrome button and confirm and then you can forget about it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x3opIzxscbRs05e9yxw5lw.gif" /><figcaption>One-click Chrome Extension Installs</figcaption></figure><h4>Adnauseam Installation</h4><p>While uBlock Origin and Privacy Badger should be a pretty good combination to block ads &amp; trackers If you want to have ads on for whatever reason, a great tool for helping your privacy is Adnauseam. This tool obfuscates your ad data so that Google’s data collection becomes useless. However since Google took this extension down from the store, You will have to install this in developer mode which may confuse some of the audience and hence, I won’t be explaining it here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7PAg5IvU9EREhbCx_bIymQ.png" /></figure><h3>Microsoft Windows Ads &amp; Tracking</h3><p>Windows is the most dominant operating system ever with a market share of 70%. Here’s a chart to put things into perspective:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*goiss_Dso46HN9QMyXMg6g.png" /><figcaption>Credits: <a href="https://osxdaily.com/2023/06/28/watch-a-visualization-of-the-most-popular-desktop-operating-systems-over-20-years/">OSX Daily</a></figcaption></figure><p>And like the example of Google that we discussed in the beginning, We notice a trend. When a corporation becomes too big to fail, they have zero accountability whatsoever and can disregard respect for your online privacy and start collecting data on you just for an extra wad of cash.</p><p>The <a href="https://www.youtube.com/watch?v=IT4vDfA_4NI">PC Security Channel on YouTube</a> recently did a detailed breakdown of how newer Windows has pretty much — become spyware. For the more tech-savvy of you, You might want to check out his <a href="https://www.youtube.com/watch?v=IT4vDfA_4NI">video</a> for an in-depth explanation. And in a follow-up video, he covered his solution to stop this spying:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FVU9L0udNV9M%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DVU9L0udNV9M&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FVU9L0udNV9M%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9a61695cf9c874b242b07f981356485c/href">https://medium.com/media/9a61695cf9c874b242b07f981356485c/href</a></iframe><p>Another fun tool that I use for this purpose is Portmaster:</p><p><a href="https://safing.io/download/">Safing Portmaster - Free Download</a></p><p>It&#39;s an additional firewall which again, you can just install and forget that block these trackers and it also has some cool features like being able to visualize which countries your system communicates with and sends requests to on a map.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O4u3bGbdSdK0KsMUlDYZhg.png" /><figcaption>Screenshot of Portmaster Dashboard</figcaption></figure><p>And with that, your computer has been secured, and we can move on to securing your smartphone.</p><h3>Android Apps Ads &amp; Tracking</h3><p>Alright, Alright, We get it at this point, right? Big Tech = Mostly Less Data Privacy… Right? But how much do you think your food delivery app knows about you? Data Privacy laws are still very primitive in most places. Due to the way development technologies work, Apps are free to abuse this and collect as much data about you as they like.</p><p>Recently, a <a href="https://www.reddit.com/r/india/comments/18fxtim/stay_safe_you_are_being_tracked_by_the_help_of/">thread went viral on an Indian subreddit </a>where <a href="https://www.reddit.com/r/india/comments/18fxtim/stay_safe_you_are_being_tracked_by_the_help_of/">analysis </a>showed that a Food Delivery app, Zomato (which is wildly popular in India) was collecting <a href="https://www.reddit.com/r/india/comments/18fxtim/stay_safe_you_are_being_tracked_by_the_help_of/">absurd amounts of Data</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*WztUbWOrgekF1UqwqI2qmQ.png" /></figure><p>Over 84,000 attempts in 6–7 hours should be an astounding enough number to get you worried. You can get these metrics for yourself and stop third-party tracking by installing DuckDuckGo as your browser on your smartphone and enabling the <strong>App Tracking Protection </strong>Feature.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*UAfVgGc9yzc2LFGYelNT1A.gif" /><figcaption>Tutorial to install and enable DuckDuckGo’s App Tracking Protection Feature</figcaption></figure><p>This uses something called a proxy to run your traffic through DuckDuckGo so that it can intercept and block tracking attempts.</p><p><strong>Please note</strong> however that it’s not necessary to set DuckDuckGo as your default browser to use this feature. However DuckDuckGo has issues blocking trackers on Chrome, So it is recommended to use DuckDuckGo. This will also support them as they rely on browser usage to stay up and running.</p><h4>Advanced Users</h4><p>For advanced users, if you don’t prefer to have DuckDuckGo blocking these tracking attempts, Consider checking out <a href="https://play.google.com/store/apps/details?id=dnsfilter.android">personalDNSfilter</a> on the Play Store. It doesn’t have an interface as visual and intuitive as DuckDuckGo but is extremely effective and lightweight. You can find it here:</p><ul><li>personalDNSfilter App: <a href="https://play.google.com/store/apps/details?id=dnsfilter.android">https://play.google.com/store/apps/details?id=dnsfilter.android</a></li></ul><h3>Android Settings to Allow Third-party Installations</h3><p>Now although the above app is enough to block trackers, This won’t be enough of a fix for <strong>ad services </strong>since these features are baked into the actual app that you install itself. This is why you may want to install modified applications that developers create with added or reduced functionalities (also called <strong>mod</strong> <strong>applications</strong>). However, since this hurts Google’s revenue, (and since it also poses a security risk depending on the application) they try to block off access to these features by displaying scary warnings and disabling third-party installs in the Settings by default, Here is how you can enable it for your browsers (Chrome or DuckDuckGo).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*GjHxVS7Q32Y-ZaeD94EB4Q.gif" /><figcaption>Tutorial to find “Install Unknown Apps” in Settings and Enable it</figcaption></figure><p>Please note that further installations depend on this step and therefore, this is a prerequisite and you will not be able to follow along without this.</p><p>Also note that in some of the installations, you might be greeted with a warning similar to this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fFLeCDJnVnsa9w_95B04Ug.png" /></figure><p>All of the apps listed here are either open-source or have been thoroughly tested by me for malicious activity, so it is safe to ignore this warning. Instead of clicking on “OK” which will terminate the installation, ensure you click on <strong>“Install Anyway” </strong>hidden just above the button on the top. Sometimes this button may be hidden under “Advanced” or another similar toggle button on the same pop-up.</p><p>Also since there are thousands of apps on the Play Store, I will not be covering modifications for all of them. I will be covering the top 5 and I will guide you on resources to get mod applications for other apps by yourself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/1*IDR2UI4EiGNLVW-qvdYutA.png" /><figcaption>Source: <a href="https://explodingtopics.com/blog/top-social-media-platforms">Exploding Topics</a></figcaption></figure><h3>Instagram Ads &amp; Tracking</h3><p>Instagram is easily the most privacy-intrusive of all of the apps mentioned with its parent company Meta, (Formerly Facebook) holding a horrible track record for privacy and speech censorship. And it shouldn’t be hard to swap it out for its mod — <a href="https://thedise.me/instander/repo/">Instander</a> by <a href="https://thedise.me/">TheDise</a> which not only blocks ads but also gives you a bunch of features like anonymous stories stream views and even chat anonymity features.</p><p>Head over to Instander’s official website: <a href="https://thedise.me/instander/repo/">https://thedise.me/instander/repo/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NEzAAOZxE0k7bmDiggF9FQ.png" /></figure><p>You’ll find two options: original and clone. You have to uninstall Instagram if you want the “Original” variant and this is the preferred way. So ensure you uninstall the Instagram app on your phone before proceeding. But if you prefer not to uninstall it — Select the “Clone” option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*0Egsrj4CncxJ137b2JPn7A.gif" /><figcaption>Installing Instander</figcaption></figure><p>You can log in to your Instagram account once you have completed this and start using Instagram with no ads and a lot of features. You can even download content directly to your gallery in this version of Instagram, copy text from comments, or just use it normally.</p><p><strong>Note-</strong> DuckDuckGo does not show the installation status in the notification bar when you swipe down like Chrome. So either use the “Open” popup below or you can find it in the “Downloads” in the Menu symbol ⋮ on the top right corner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*eb_AA0c4Q1mKSjEwB-Xymw.gif" /><figcaption>How to find the download if you’re using DuckDuckGo</figcaption></figure><h4>Optional Settings</h4><p>Here are some cool settings you may like to play around with if you are looking for those extra features I mentioned earlier:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*G3A0yGpQtkyVz6MrGsR9gQ.gif" /></figure><p>When you click on the Menu in the top-right corner of your profile ☰ , you will notice that there is an extra setting called “Instander Settings”. You might want to play around here to find some pretty cool features like Ghost Mode and Media Downloads.</p><h3>YouTube Ads &amp; Tracking</h3><p>YouTube is another company that actively tries to shut down mods and ad blockers. YouTube Vanced &amp; Newpipe are two examples of very popular YouTube mod clients that they have tried to take down in recent times. YouTube will actively seek such projects gaining popularity and seek legal action against them or try to take them down. So it becomes important to use applications that are actively maintained and are from well-known developers so that they remain in the long term.</p><p>One of my personal favorites for this purpose is <a href="https://grayjay.app/">Grayjay</a>. This application is being developed by <a href="https://www.youtube.com/@rossmanngroup">Louis Rossmann</a> and his team. He is a well-known YouTuber and if you ever question the legal and/or ethical &amp; moral considerations for any of these modifications, you should check his channel out as he does a great job of explaining complex topics like ethical considerations or piracy, etc.</p><p>You can find <a href="https://grayjay.app/">Grayjay</a> here:</p><p><a href="https://grayjay.app/">Grayjay App - Follow Creators Not Platforms</a></p><p>This is a big download due to all of the platforms it supports (so it will take time depending on your internet connection) and also note that this platform is still being fully developed (Which is why there is an under-construction banner there).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*9GV-z7RBbB6tZbNe-90hFg.gif" /><figcaption>Downloading GrayJay</figcaption></figure><p>Your page may or may not look like this when you install it for the first time. If you do not have YouTube on your home page, be sure to click on “Enable” in the “Sources” tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*vWcHnGfW82qS4s22osaVWA.gif" /><figcaption>Enabling YouTube and Logging into it for improved recommendations and subscription history</figcaption></figure><p>Be sure to also log in to it in the Settings to Enable recommendations and sync your history in the YouTube app.</p><h3>Twitch, Patreon, Soundcloud &amp; Kick Integrations</h3><p>You can also choose to enable other applications like Twitch, Patreon, Soundcloud &amp; Kick and enable all the integrations from the same “Sources” tab in the app I mentioned in the previous section (<a href="https://grayjay.app/">Grayjay</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*vWcHnGfW82qS4s22osaVWA.gif" /><figcaption>Sources Tab for Logging into Services and Enabling Platforms</figcaption></figure><h3>YouTube Music Ads &amp; Tracking</h3><p>Many people might find it difficult to move away from the YouTube app because the YouTube premium subscription also offers YouTube Music in a bundle. If you have gotten used to the YouTube “ecosystem”, you might want to consider checking out ViMusic. It has a very beautifully designed interface and you can fetch music directly from YouTube here and grab your playlists.</p><p>You can find the latest release of ViMusic on their official repository here: <a href="https://github.com/vfsfitvnm/ViMusic/releases">https://github.com/vfsfitvnm/ViMusic/releases</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*3EA8otltsDTnYDyzmp3XsA.gif" /></figure><h3>Spotify Ads &amp; Tracking</h3><p>Another very dominant player in music streaming services is Spotify which is way more popular than YouTube Music I just mentioned. Blocking Ad Tracking on Spotify might be a little more complicated than the rest. It requires you to install an APK and download it, which will then download another APK.</p><p>The best solution for Premium Spotify is XManager which is another open-source and well-maintained repo. You can find XManager here:</p><p><a href="https://github.com/Team-xManager/xManager/releases">Releases · Team-xManager/xManager</a></p><p>Here is how you can download it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*hGJ5c3YGzYiEoIy28CUq6w.gif" /><figcaption>Tutorial for downloading Spotify Mod Application</figcaption></figure><p>However, note that the Direct Download APK is buggy. When you click on the download, be sure to click on the <strong>“Mirror Link” </strong>option. And get the download from the Mediafire website that it redirects you to (Tutorial Above).</p><h3>Email Tracking &amp; Bonus Applications</h3><p>As I discussed in an earlier section, Privacy laws are very primitive in most countries. And so, many online services choose to collect as much data as they can to improve their databases. However, It would be impossible to find solutions for all of them. For most trackers, Using either DuckDuckGo’s App Tracker Protection or the personalDNSfilter would suffice. However, companies may still find workarounds to collect your data. You’ll notice that even in DuckDuckGo, There are applications it does not block by default.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*PlAtxe5KeuMrk_KZbXajGQ.gif" /><figcaption>Checking for Applications that do not have trackers and ad services blocked by default</figcaption></figure><p>WhatsApp, Chrome, Gmail, and YouTube are all examples of such apps. These may have been designed intentionally such that functionality may break if we try turning off trackers. This is why also ensure that you turn off settings like “Data Collection” or “Personalised Ads” when registering on any new app.</p><p>Google by default collects data like your location, watch history, etc without telling you. You can turn it off in the Settings like so:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*VohWgtcHKiLLKAVWC5YACg.gif" /><figcaption>Turning off Google Data Collection</figcaption></figure><p>For apps apart from these, you may find mod applications for them by searching for mod on your browser and then installing the APK. For example, For Snapchat, Search for something like “Snapchat Mod APK” and you will come across mods for those.</p><p>Another way that companies track you is by email. Many services these days ask for an email address in their form while registering for a service. Many times, they may choose to embed trackers in the email so that when you open it, data gets sent to them.</p><p>DuckDuckGo also offers email tracking protection which you can use for this purpose. And thanks to the way it works, You can use your old inbox and email address along with this method instead of completely replacing it. DuckDuckGo has something called a Duck Address you can set up which will intercept any emails midway, remove trackers, and deliver them to your inbox and it will also display a little banner saying whether it contains anything malicious or not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6K0ztn52yq3ndZUQK0V7wg.png" /><figcaption>(Yes, I’m bad at drawing infographics, I know)</figcaption></figure><p>Here is how you can set up a duck address:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*3zHHzMqfmilwCGYbKOQ4RA.gif" /></figure><p>Just enter the email address that you currently use like mypersonalemailaddress@gmail.com and enter a duck address you would like to use like mypersonaltrackerfreeaddress@duck.com . Once done, You will be able to use this new address (mypersonaltrackerfreeaddress@duck.com) everywhere. Whenever you sign up for a new service like an educational app or even a food delivery service, use this email address.</p><h3>Malware Warning &amp; Protection</h3><p>When you’re making mods for the first time, it’s tempting to look for mods for everything to enhance your app experience. I remember spending a lot of time when I first discovered it as a kid searching for mod applications for games and more — it can be pretty exciting. However, a lesson I learned the hard way is that since these apps aren’t officially approved on the App Store, it does become easier for threat actors to inject malware and adware into them and serve them to you. Although I can assure you that the applications listed above have been thoroughly checked, I can not say the same for any applications that you decide to find and modify. For example — If you’re on the lookout for a Snapchat mod and decide to browse the web for it. So please ensure that they come from a trusted source or that they are open-source (ie-they’re built by a developer who has put their code on GitHub etc) before installing them. If you’re unsure about any application, Feel free to share links with me in the comments and I will try my best to analyze them and let you know.</p><h3>Report an Issue to Me</h3><p>If you want me to add applications, and sources or have any issues with this, Please contact me at <strong>owaisahmedshariff@duck.com</strong> or leave a comment below.</p><p><strong>For sensitive reports</strong>, You can use the following <strong>public PGP key </strong>to send me a message:</p><pre>-----BEGIN PGP PUBLIC KEY BLOCK-----<br><br>mDMEZXhfexYJKwYBBAHaRw8BAQdAr1FVvX195HeEoQ5t8nZoejim7Rg2cpvdc5GX<br>P6XVeCO0Kk93YWlzIFNoYXJpZmYgPG93YWlzYWhtZWRzaGFyaWZmQGR1Y2suY29t<br>PoiZBBMWCgBBFiEEeE11HJGlC2vN4J8UcWCWH84KI7UFAmV4X3sCGwMFCQWkrZUF<br>CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQcWCWH84KI7WDvgEA0XXhb9wo<br>wFfZFgHtyHyW2CAt5IAuJZyjmgTT/tGvGR0A/0WKYyIWJgDSgyjcVcbZem2Ff/i6<br>iJJPNEYMhxuDh6cHuDgEZXhfexIKKwYBBAGXVQEFAQEHQKs/5qbm8AwrGS22c0HQ<br>Jlws4Arc/QN6IMx+M27WIAAtAwEIB4h+BBgWCgAmFiEEeE11HJGlC2vN4J8UcWCW<br>H84KI7UFAmV4X3sCGwwFCQWkrZUACgkQcWCWH84KI7We6gD/bmGue2oV8RITXlag<br>5pIfE+1ukiGlYsXR06WVVNYspQUBAKb1L5+rO3fusuX6d6Y5mv7v5EDJASqalyuP<br>BCtK5KAD<br>=c0nI<br>-----END PGP PUBLIC KEY BLOCK-----</pre><p>You can support me by donating to the cause by <a href="https://www.buymeacoffee.com/notsooshariff">clicking here</a> or by following one of the socials below to show me support:</p><p>Instagram: <a href="https://instagram.com/ridiculosh">@ridiculosh</a></p><p>Linkedin: <a href="https://linkedin.com/in/owais-shariff">@owais-shariff</a></p><p>GitHub: <a href="https://github.com/NotSooShariff/">@NotSooShariff</a></p><p>Website: <a href="https://osh.fyi/">osh.fyi</a></p><p>Twitter: <a href="https://twitter.com/NotSoShariff">@NotSoShariff</a></p><p>BuyMeCoffee: <a href="https://www.buymeacoffee.com/notsooshariff">@NotSooShariff</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3efa64908ba7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe: Walking an Application (Detailed Explanation)]]></title>
            <link>https://medium.com/@notsooshariff/tryhackme-walking-an-application-detailed-explanation-cc4205368ad2?source=rss-eeb7773d1bb5------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc4205368ad2</guid>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[tryhackme-writeup]]></category>
            <category><![CDATA[web-hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Owais Shariff]]></dc:creator>
            <pubDate>Mon, 06 Nov 2023 15:42:25 GMT</pubDate>
            <atom:updated>2023-11-06T16:26:22.963Z</atom:updated>
            <content:encoded><![CDATA[<h3>TryHackMe: Walking An Application (Detailed Explanation)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pgvuhfcJdPgGSXVGTQqTLg.png" /></figure><p>Greetings, Cyber Sleuths! 👋🏽</p><p>This is a writeup/walkthrough on the TryHackMe room titled <a href="https://tryhackme.com/room/walkinganapplication">Walking an Application</a> which is a really great room if you want to learn all about how to manually review a web application for security issues using only the in-built tools in your browser. As TryHackMe themselves state, more often than not, automated security tools and scripts will miss many potential vulnerabilities and useful information. So it might be a good idea to manually investigate a little by yourself first.</p><p>This free room is a part of the <a href="https://tryhackme.com/module/intro-to-web-hacking">Introduction to Web Hacking</a> module so do check it out yourself.</p><h3>Getting Started</h3><p>To get started, connect to the room by either clicking on the blue “Start AttackBox” option on the top right or by using OpenVPN from your system.</p><p>I will be demonstrating the OpenVPN method on a Parrot Linux VM since it’s free. You can visit this page for connection instructions specific to your operating system:</p><p><a href="https://tryhackme.com/access">TryHackMe | Cyber Security Training</a></p><p>Additionally, for those who wish to closely replicate the process I’m demonstrating, Here’s a really <a href="https://www.youtube.com/watch?v=9z-_h7aChDI">good tutorial</a> by Himal on installing ParrotOS on VirtualBox.</p><p>Start by downloading the configuration file for your account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bV2H19kPhpZhkhLzM4b9yQ.png" /></figure><p>Open up your terminal application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qz2mEScH5gK5GCuNEQSXFQ.png" /></figure><p>Type the following command:</p><pre>sudo apt install openvpn</pre><p>This will prompt you for your sudo password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nUQZt5gtyUDBpJozNVXk8w.png" /></figure><p><strong>Note: There will not be any indication of you typing in the password like the appearance of censored symbols like “*********” or a blinking cursor etc, but Linux receives the password. So just type in the password and hit enter.</strong></p><p>Now cd to the folder with your configuration file. This is usually in the downloads directory so type in the following command:</p><pre>cd ~/Downloads</pre><p>You can now connect to the VPN using thesudo openvpn command followed by the name of your configuration file which is usually named with your TryHackMe username and the .ovpn extension.</p><p>Here’s what that looks like in my case:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v27CystvUGPg7M4DHz5wcw.png" /></figure><p>Once you see a message saying “Initialization Sequence Complete”, You’re connected!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NcA8G8-4OAyI8jfl5LAmdQ.png" /></figure><h3>Task 1: Walking an Application</h3><p>Simply start the machine to complete Task 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qggm7-9XQilhFUz-TGKjyQ.png" /></figure><p>You should now be able to view the application by visiting the IP Address stated there. <strong>(Note- This takes up to 2 minutes to start)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9jnJI2VhCB0MKUNk6fYglA.png" /></figure><p>You should be able to see a website called Acme IT Support by typing in that IP Address in your browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ENFIXznJffjWadn7Bk0whw.png" /></figure><h3>Task 2: Exploring the Website</h3><p>Great! So we have connected to TryHackMe, We have the website up, So now we should be ready to get our hands dirty and start hacking right? Well, not really, you might want to slow down a little bit. The first step to hacking any web application, as most experienced hackers say, is to <strong>really understand </strong>the application or get “intimate” with it.</p><p>So just start using the website and noting down different routes, what they’re meant for etc. In the case of our website Acme IT support, it looks something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MhL_HeSSTwxhhB_bHDhTbQ.png" /></figure><p>Once we’re done, we can move on to the next task.</p><h3>Task 3: Viewing the page source</h3><p>Now before we move on to this section, it’s important for you to know what HTML is, so if you’re unaware of it, here’s a brief intro:</p><p><a href="https://www.w3schools.com/html/html_intro.asp">W3Schools.com</a></p><p>The reason why HTML is so important is because, regardless of what technology people use to build their websites, one fundamental feature of all websites including our target Acme IT Support, is that, in the end, they have to get rendered on our browser as plain HTML. So by knowing about this one markup language, we get the ability to decode the UI of ANY website.</p><p>And to view this page source, all we need to do is simply add view-source: to the beginning of any URL.</p><p>So in our case, we just need to change the URL from this:</p><pre>http://10.10.127.39/</pre><p>To something that resembles this:</p><pre>view-source:http://10.10.127.39/</pre><p>This reveals the HTML source of the application</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*74bnVdbsA2HvcR6hEp-ZrQ.png" /></figure><p>Right off the bat, something odd should strike you. We find that the developers have included HTML comments that state that this is a temporary application while they migrate the site content.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g8sX0FNKcvK7_TB4vzryzQ.png" /></figure><p>The curious bug bounty hunter in you should want to investigate this link that the developer has been hiding from us which we weren’t able to discover in the exploration phase.</p><p>So let’s navigate to this location by appending the route to the URL like this:</p><pre>http://10.10.231.83/new-home-beta</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e3Xoi5Y9sKRxNHNP1jnN_Q.png" /></figure><p>This reveals our first flag: <strong>THM{HTML_COMMENTS_ARE_DANGEROUS}</strong></p><p>We got our first flag already? Almost too easy isn’t it? While this might satisfy some, it shouldn’t stop you from continuing your exploration further. In a real-world scenario where you are trying to find bugs, more likely than not, you may not even find vulnerabilities as easy as this, <strong>you’ll have to keep digging!</strong></p><p>So let’s get back to the source, where we found our first bug. Sometimes, we may also encounter a case where there are hidden links to elements or pages, but they&#39;re hidden by the styles applied to them. Since we know that the &lt;a&gt; tag is what is generally used to add links in HTML, we can scan through the HTML code to find links.</p><p>Sure enough, most of them check out and are visible to you on the page. For example:</p><pre>&lt;li&gt;&lt;a href=&quot;/news&quot;&gt;News&lt;/a&gt;&lt;/li&gt;<br>&lt;li&gt;&lt;a href=&quot;/contact&quot;&gt;Contact&lt;/a&gt;&lt;/li&gt;<br>&lt;li&gt;&lt;a href=&quot;/customers&quot;&gt;Customers&lt;/a&gt;&lt;/li&gt;</pre><p>But we notice a peculiar link in the latter half of the code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jrrmibJSOHFsImm5PdI-Zw.png" /></figure><p>On visiting this, we reveal our second flag: <strong>THM{NOT_A_SECRET_ANYMORE}</strong></p><p>There we go! Another flag! We’re getting the hang of this. So let’s not stop there. By now, you must have noticed a trend developing. If something is in the href=&#39;&#39; tag or the src=&#39;&#39; , it’s probably a link and you can just append it to the end of your URL to view its contents in the browser and you do not need to be limited by just the links you discovered in Task 2.</p><p>So it might be worthwhile to check out the /assets route as well since we notice multiple links beginning with /assets/ in the HTML code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MQCqY0FVH15jTYPB03phUA.png" /><figcaption>We notice multiple links beginning with <strong>/assets</strong></figcaption></figure><p>You should even consider visiting this source link like /assets/staff.png etc as sometimes additional scripts in there could reveal vulnerabilities.</p><p>But in our scenario, visiting /assets does reveal something interesting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u4MPrufr97c30JIin15ULA.png" /></figure><p>We found all the files used by this website. And one file in particular should interest you, flag.txt .</p><p>Our third flag therefore is: <strong>THM{INVALID_DIRECTORY_PERMISSIONS}</strong></p><p>We’re on a roll! Three down! Last one to go.</p><p>We seem to be at the end of our HTML document but we see another comment which says</p><pre>&lt;!--<br>Page Generated in 0.04033 Seconds using the THM Framework v1.2 ( https://static-labs.tryhackme.cloud/sites/thm-web-framework )<br>--&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OT3VhxFh5lPw_Ti1cTOCqQ.png" /></figure><p>While this may seem like something to glance over and continue, this framework information may sometimes prove to be very useful. This is because if you were to find the version and the framework used to build a website in a real-world scenario, it can literally be as easy as googling the vulnerabilities in that particular framework version to exploit that website!</p><p>In our case, we’re even lucky enough to get a direct link to more information directly in the HTML comment. ( <a href="https://static-labs.tryhackme.cloud/sites/thm-web-framework">https://static-labs.tryhackme.cloud/sites/thm-web-framework</a> ). So we should definitely try to explore more about this particular framework.</p><p>When trying to read about any framework or tool used by developers, the most important page is often the <strong>documentation</strong>. Which describes the usage of the tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-OiNdC6rPvir8jxqW01oXQ.png" /></figure><p>Our intuition was correct, the documentation did indeed reveal a very serious vulnerability:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i3BUvlq_CU97U5abS7BftQ.png" /></figure><p>It turns out that there’s a /thm-framework-login page hidden on every website built on this web development framework and best of all, they have default credentials with admin as the username and admin as the password. It might be worth a shot to see if they still have these default credentials and haven’t changed them.</p><p>So we changed the URL to something that resembles this:</p><pre>http://10.10.231.83/thm-framework-login</pre><p>And sure enough, true to the documentation, the page does indeed reveal an admin login panel. Now for the moment of truth, we attempt to punch in the default credentials of admin/admin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fqWQzFlltjC-whY-Nwgt_g.png" /></figure><p>And this reveals our final flag: <strong>THM{CHANGE_DEFAULT_CREDENTIALS}</strong></p><p>Bingo! We have revealed all of our flags from this task! This should be a good introduction to how to read through HTML to find important clues when finding bug bounties.</p><h3>Task 4: Developer Tools — Inspector</h3><p>We have already discovered in a previous task that the page source doesn’t always represent what’s shown on a webpage; this is because CSS, JavaScript, and user interaction can change the content and style of the page, which means we need a way to view what’s been displayed in the browser window at this exact time. The element inspector assists us with this by providing us with a live representation of what is currently on the website.</p><p>This task revolves around the third blog which is premium so be sure to navigate to that page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X0kOyCc8Dpksu4C5jgYYjw.png" /></figure><p>On navigating to the third article, we notice that there’s a banner restricting us from reading the article.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AuvsjMXbNLiPO6dikCfsqw.png" /></figure><p>But hey, that shouldn’t stop us, we’re hackers after all. And if something triggers us more than anything, it’s being denied access to something. So we try to see how we can bypass this.</p><p>You can start by hitting Ctrl + Shift + C on the keyboard to open Inspector in most browsers. Or you can right-click anywhere on the website and select <strong>Inspect. </strong>This should reveal an inspector panel like so:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x-nU6C198hex0I9NwiShzw.png" /></figure><p>Although this does reveal the same HTML we have encountered earlier, this reveals some additional information and a lot more options</p><p>On hovering over the banner which was restricting us earlier, for example, it shows us the corresponding HTML for it in the tab on the right.</p><p>What’s more important here, is that along with the highlighted HTML, we also get to see the CSS styles applied to it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*brhl8chqPKtcpoHtNx1_mQ.png" /></figure><p>And you know what the most fun part about this all is? We can even tweak this code right here and we will be able to see the changes made to the website in real-time!</p><p>Since we want to view the content behind this paywall, we can try to come up with ways to bypass this.</p><p>A simple Google search reveals that by setting the display: none property, we can turn an element invisible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vc2Guce1TGkn_Y0zfcx3Tg.png" /></figure><p>By editing the style mentioned there, we get the following result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZenjGm0QUle_5eVNy0AqBA.png" /></figure><p>We reveal the text underneath it, and would you look at that? We have discovered our only flag from this task: <strong>THM{NOT_SO_HIDDEN}</strong></p><h3><strong>Task 5: Developer Tools — Debugger</strong></h3><p>But the Inspector tab isn’t the only useful thing on this tab, we see a lot of other tabs on the top too. Things like Console , Debugger, Network etc.</p><p>All of these have different applications and allow you to really dissect the application in various ways. Let’s now look at the Debugger tab.</p><p>When you were exploring the website and came across the /contact page, it&#39;s possible you came across something strange if you have a sharp eye, there’s a red flash on the screen with some text, but it disappears almost as quickly as it appeared! We’re even unable to find this element through the HTML. So if the HTML and CSS provide no clues, we should be looking at the debugger which allows you to inspect another core part of any web application; JavaScript and other scripts. JavaScript is the most commonly used script in web programming. According to the <a href="https://survey.stackoverflow.co/2023/">StackOverflow survey</a>, it has maintained its streak of being the most-used language for 11 years in a row as of 2023!</p><p>So it’s safe to say we should have a good understanding of it to break down web applications.</p><p>So let’s try to find our JavaScript scripts on the website. When we head over to the Debugger / Sources tab depending on what your browser calls it. You should be able to see a bunch of files with the .js extension extension which is the extension used by JavaScript. We find one named flash.min.js. Perhaps it&#39;s safe to assume this is what’s causing the “flash” of red on the screen as the name suggests so?</p><p>Let’s take a look at the code. Click the curly braces icon {} to expand the code and scroll to the end.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*heMWLrx6KvwYF7YUmsUijA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lzGKg4a-bvrNK2z45WnaHw.png" /></figure><p>We see a code at the bottom that has a flash after a timeout. This is what seems to be causing the flash. But how do we stop this code from running? We’re unable to even edit the code in this case, unlike our HTML and CSS.</p><p>The solution is simple. We can utilize something called <strong>breakpoints</strong>. Simply click on the line number containing the problematic code. In our case, 107 this will basically pause the website at that point</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rTRU9e8HawIJ3cR6lIzznw.png" /></figure><p>On refreshing the website. We are able to pause the website at that point.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*JhB-g6DSk2mLsntq8tHB2A.png" /></figure><p>And this reveals the red box containing another flag: <strong>THM{CATCH_ME_IF_YOU_CAN}</strong></p><h3><strong>Task 6: Developer Tools — Network</strong></h3><p>Saving the best for the last, We finally get to talk about the Network Tab in the Developer Tools Panel!</p><p>If you have studied the client-server architecture, you would know that this website that we have been hacking so far is only half of the picture. This website continuously keeps communicating with something called the Server or the Backend. It’s almost like the Website is on a Phone Call with its home where it originally resides, also known as a server. And we happen to just view it for some time from over there. When we interact with the website, we send data over to this server so that the owners of this website can access it. For example, when we fill out the contact form we exploited in the previous task, we send our contact details to the server so that the website owners can contact us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T5bPRtIGFog_MNgFy6erfg.png" /></figure><p>But what if we could listen to this phone call almost like eavesdropping? That’s where the network tab slides into the picture! It reveals all of the content being transferred between the client and server. Fill out the contact form and head over to the Network Tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5E4PBGQdYIkx5lGAQHMlIQ.png" /></figure><p>You will notice a new packet as soon as you send the form labeled as contact-msg.</p><p>Clicking on this reveals the Headers. This reveals a lot of information including the server type etc which could be useful to you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JuwKb274oTsyPTUdVRO62A.png" /></figure><p>What we’re more interested in however is the Request tab (aka what the client said to the server) and the Response tab (aka what the server replied back)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oxw5RttECknmFa3zJ8mHPA.png" /><figcaption>The Request Tab (What the client sent to the server — Our message in the contact form)</figcaption></figure><p>On investigating the Response, we found that the server replied by saying “Message Received”. And we also receive a flag here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UwIHd3DrX9Xhy-DJaY7x-w.png" /></figure><p>The final flag is: <strong>THM{GOT_AJAX_FLAG}</strong></p><p>AJAX is a method for sending and receiving network data in a web application background without interfering by changing the current web page. Hence, the name.</p><p>And there you have it! We have successfully completed a room together.</p><h4>Thank you for giving my walkthrough a read!</h4><p>Hope you find my solution helpful! If you find any errors in the writeup or incorrect explanation, please report them to me on my socials over here (or just use these to connect with me):</p><p>Instagram: <a href="https://www.instagram.com/ridiculosh">https://www.instagram.com/ridiculosh</a></p><p>GitHub: <a href="https://github.com/NotSooShariff/">https://github.com/NotSooShariff/</a></p><p>LinkedIn: <a href="https://linkedin.com/in/owais-shariff">https://linkedin.com/in/owais-shariff</a></p><p>P.S- If you believe this walkthrough provided you with some real value, be sure to follow me for more such writeups and other cybersecurity stuff you may find interesting!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc4205368ad2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>