<?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 H3rCul3s on Medium]]></title>
        <description><![CDATA[Stories by H3rCul3s on Medium]]></description>
        <link>https://medium.com/@2minNerd?source=rss-73cdc352cb1e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*G1180Iuz7omyLXJhAK8rHQ.jpeg</url>
            <title>Stories by H3rCul3s on Medium</title>
            <link>https://medium.com/@2minNerd?source=rss-73cdc352cb1e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 19:03:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@2minNerd/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[Everyone Uses Google. Few Know This Trick.]]></title>
            <link>https://medium.com/@2minNerd/everyone-uses-google-few-know-this-trick-8d216fa107c0?source=rss-73cdc352cb1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d216fa107c0</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[tips]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[social-media]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[H3rCul3s]]></dc:creator>
            <pubDate>Mon, 17 Mar 2025 10:57:23 GMT</pubDate>
            <atom:updated>2025-03-17T10:57:23.584Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Most people search. The smart ones </em><strong><em>hack</em></strong><em> the search.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gUgZVzSejd9Srcn0.jpg" /></figure><p>You use <strong>Google </strong>all the time — probably without thinking.</p><p><strong>Looking up a recipe.<br> Finding a file.<br> Stalking yourself (or your ex 👀).<br> Researching for work or school.</strong></p><p>But here’s the truth:<br> You’re using <strong>just 10% of what Google can do.</strong></p><p>Because beneath that clean white search bar lies something powerful — something called <strong>Google Dorking</strong>.</p><h3>What’s a Google Dork?</h3><p>Despite the funny name, <strong>Google Dorks</strong> are no joke.</p><p>They’re advanced search operators that let you dig <em>way deeper</em> into Google’s index than normal people do.</p><p>Think of them as <strong>cheat codes</strong> for the internet.</p><p>These commands help you:</p><ul><li>Find <strong>exact file types</strong> (PDFs, Excel, DOCs)</li><li>Discover <strong>hidden pages</strong> or login portals</li><li>Search <strong>within specific websites</strong> more accurately</li><li>See <strong>accidentally exposed</strong> information (used in cybersecurity, OSINT, even journalism)</li></ul><p>And the best part?<br> <strong>No downloads. No tools. Just Google.</strong></p><h3>Some Dork Examples That’ll Blow Your Mind</h3><h4>1. Find PDFs from any site</h4><pre>site:nasa.gov filetype: pdf &quot;climate change&quot;</pre><p>→ Only shows <strong>PDF files</strong> from NASA’s site related to climate change. Perfect for finding legitimate sources.</p><h4>2. Search within a website better than the website itself</h4><pre>site:medium.com &quot;digital minimalism&quot;</pre><p>→ Google now shows <strong>only Medium posts</strong> with “digital minimalism”.</p><h4>3. Find login pages</h4><pre>intitle:&quot;login page&quot; inurl:admin</pre><p>→ This shows pages titled “login page” with “admin” in the URL.<br> (<em>Ethical use only — for learning or research.</em>)</p><h4>4. Find exposed files with email info</h4><pre>filetype:xls intext:&quot;email&quot;</pre><p>→ You’d be surprised how many spreadsheets are just… sitting out there.</p><h4>5. See pages not listed on the main site</h4><pre>site:yourtarget.com -www</pre><p>→ Reveals <strong>subdomains</strong> or <strong>forgotten pages</strong> not shown on the homepage and more.</p><h3>Why Does This Matter?</h3><p>Because time is your most valuable resource.</p><p>And Google Dorks give you the ability to:</p><ul><li><strong>Research 5x faster</strong></li><li><strong>Find better sources</strong> than everyone else</li><li><strong>Collect data</strong> smarter, whether you’re a student, journalist, content creator, or cybersecurity nerd</li><li>See how <strong>misconfigured websites leak data</strong>, which is a goldmine for learning security or OSINT</li></ul><p>For ethical hackers and SOC analysts (like you?), this is <em>day one stuff</em>.<br> But for everyday users? This is like being handed a key to the back door of the internet.</p><h3>Quick Safety Tip</h3><p>Some search results may reveal sensitive info — files or pages not meant to be public.<br> <strong>Never exploit it.</strong><br> Use it to learn, audit, or alert — especially if you’re in cybersecurity.<br> Google Dorking is powerful. Don’t be the villain.</p><h3>Final Thought</h3><p>Everyone uses Google.<br> But if you know how to use it <em>properly</em>, you’re already ahead.</p><p>Next time you hit that search bar, don’t just type.<br> <strong>Command. Query. Dork it.</strong></p><p>Sometimes the best tools don’t need to be installed — they just need to be <em>unlocked</em>.</p><p><strong><em>Quick. Sharp. Nerdy.</em><br></strong>Catch you in 2 mins with another brain snack.<br><strong>#2MinNerd</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d216fa107c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Nmap Scripting Engine]]></title>
            <link>https://medium.com/@2minNerd/nmap-scripting-engine-1f979831156a?source=rss-73cdc352cb1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f979831156a</guid>
            <category><![CDATA[education]]></category>
            <category><![CDATA[hackthebox-writeup]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[nmap]]></category>
            <category><![CDATA[hackthebox]]></category>
            <dc:creator><![CDATA[H3rCul3s]]></dc:creator>
            <pubDate>Tue, 22 Oct 2024 11:03:17 GMT</pubDate>
            <atom:updated>2024-10-22T11:03:17.034Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*cH3PNeVV3BeUdzoKLxy37A.png" /></figure><h3>What is the Nmap Scripting Engine (NSE)?</h3><p>Nmap Scripting Engine (NSE) is a powerful feature that enhances Nmap’s functionality by allowing users to run scripts written in the Lua programming language. These scripts can automate several types of scans, such as vulnerability assessments, brute-forcing, malware detection, and more.</p><p>NSE scripts are categorized into 14 distinct groups:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/907/1*WjBRQ6Lxhk20dEuXxRWpCQ.png" /></figure><h4>Using NSE for Scanning</h4><p>Let’s explore how NSE scripts can be used to conduct specific scans:</p><h4>1. Default Scripts</h4><p>To run default scripts, we simply add the -sC option. These scripts cover basic information gathering, banner grabbing, and service detection.</p><pre>sudo nmap &lt;target&gt; -sC</pre><h4>2. Specific Script Categories</h4><p>Nmap gives us the flexibility to scan with particular categories of scripts. For example, to scan for vulnerabilities in HTTP services, you can use the vuln category:</p><pre>sudo nmap &lt;target&gt; --script vuln</pre><h4>3. Defined Scripts</h4><p>You can also specify individual NSE scripts using the --script flag. For instance, let’s run a couple of scripts (banner and smtp-commands) on port 25 (SMTP service):</p><pre>sudo nmap 10.129.2.28 -p 25 --script banner,smtp-commands</pre><p><strong>Sample Output:</strong></p><pre>PORT   STATE SERVICE<br>25/tcp open  smtp<br>|_banner: 220 inlane ESMTP Postfix (Ubuntu)<br>|_smtp-commands: inlane, PIPELINING, SIZE 10240000, VRFY, ETRN, STARTTLS, ENHANCEDSTATUSCODES, 8BITMIME, DSN, SMTPUTF8</pre><p>In this scan, we used two scripts:</p><ul><li>banner: Shows us the SMTP service&#39;s banner.</li><li>smtp-commands: Lists SMTP commands supported by the target server.</li></ul><p>This information is useful to discover services, their versions, and interaction protocols.</p><h4>Aggressive Scanning with Nmap</h4><p>Nmap also has an <strong>aggressive scan mode</strong> (-A), which combines several scanning options:</p><ul><li>Service version detection (-sV)</li><li>OS detection (-O)</li><li>Traceroute (--traceroute)</li><li>Default NSE scripts (-sC)</li></ul><p>Example:</p><pre>sudo nmap 10.129.2.28 -p 80 -A</pre><p><strong>Sample Output:</strong></p><pre>PORT   STATE SERVICE VERSION<br>80/tcp open  http    Apache httpd 2.4.29 ((Ubuntu))<br>|_http-generator: WordPress 5.3.4<br>|_http-server-header: Apache/2.4.29 (Ubuntu)<br>|_http-title: blog.inlanefreight.com</pre><p>This scan helps us gather detailed information, including the web server version (Apache 2.4.29), the web application (WordPress 5.3.4), and the web page title (blog.inlanefreight.com).</p><p>Additionally, OS detection gives an idea about the operating system running on the target, and the traceroute provides insight into network hops.</p><h4>Performing Vulnerability Assessments</h4><p>NSE’s vuln category is particularly useful for vulnerability scanning. It interacts with the target service, queries its version, and checks for any known vulnerabilities using public databases like CVE (Common Vulnerabilities and Exposures).</p><pre>sudo nmap 10.129.2.28 -p 80 -sV --script vuln</pre><p><strong>Sample Output:</strong></p><pre>PORT   STATE SERVICE VERSION<br>80/tcp open  http    Apache httpd 2.4.29 ((Ubuntu))<br>| vulners:<br>|   cpe:/a:apache:http_server:2.4.29:<br>|      CVE-2019-0211 7.2 https://vulners.com/cve/CVE-2019-0211<br>|      CVE-2018-1312 6.8 https://vulners.com/cve/CVE-2018-1312</pre><p>In this case, the vuln script identifies several CVEs associated with the Apache HTTP server. This is critical for determining the security state of services and pinpointing exploitable vulnerabilities.</p><h3>Conclusion</h3><p>The Nmap Scripting Engine (NSE) opens up a whole new realm of possibilities in network and vulnerability scanning. Whether you need to identify open ports, assess vulnerabilities, or brute-force credentials, NSE has a script for every scenario.</p><p>In the next blog, we’ll focus on customizing and writing our own Lua scripts to tailor Nmap scans for specific penetration testing needs. Stay tuned!</p><p><strong>Further Reading</strong>:</p><ul><li>More on NSE: <a href="https://nmap.org/nsedoc/index.html">Nmap Script Documentation</a></li><li>Understanding CVEs: <a href="https://www.cvedetails.com/">CVE Details</a></li></ul><h3>HTB Academy Lab</h3><h4>Use NSE and its scripts to find the flag that one of the services contain and submit it as the answer.</h4><p><strong>Scan the Target</strong>: Start by performing a general scan of the target to identify open ports and services. You can use the following command to do this:</p><pre>sudo nmap -sV &lt;target&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*o-qZq_A9yBNiyQREdkHrnw.png" /></figure><p>Considering the large number of scripts available, running a simple vulnerability scan specifically targeting the HTTP protocol on <strong>port 80</strong> can be a more efficient approach. By focusing on vulnerability scanning, we can quickly identify any potential security weaknesses that may be relevant to the flag.</p><pre>sudo nmap -sV -script vuln -vv 10.129.33.227 -p 80</pre><p>Based on the provided output, it appears that there is a text file named “robots.txt” located on <strong>port 80</strong>. Let’s directly connect to <a href="http://10.129.33.227/robots.txt">http://&lt;IP&gt;/robots.txt</a> and investigate the contents of the file. By accessing this URL, we can gather more information that might be relevant to our task.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*djN0LZUmSJ4O6IsamO5bFQ.png" /></figure><h4>Answer : HTB{873nniuc71bu6usbs1i96as6dsv26}</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f979831156a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Service Enumeration with Nmap]]></title>
            <link>https://medium.com/@2minNerd/service-enumeration-with-nmap-35bc4d0102db?source=rss-73cdc352cb1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/35bc4d0102db</guid>
            <category><![CDATA[cyberattack]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[nmap]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[H3rCul3s]]></dc:creator>
            <pubDate>Tue, 22 Oct 2024 10:28:54 GMT</pubDate>
            <atom:updated>2024-10-22T10:28:54.998Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*cH3PNeVV3BeUdzoKLxy37A.png" /></figure><p>When performing penetration testing, identifying the services running on open ports is crucial for assessing vulnerabilities. This process is known as <strong>service enumeration</strong>. By determining the specific service and version running on a port, we can look for known vulnerabilities or exploits targeting those services.</p><p>In this blog, I’ll walk through how to use Nmap for service enumeration, focusing on version detection and banner grabbing.</p><h3>Why Service Enumeration?</h3><p>Accurately identifying the services and their versions is critical for any penetration test. An exact version number allows us to:</p><ul><li>Search for known vulnerabilities associated with that version.</li><li>Perform more accurate exploitation, using tailored attack strategies.</li></ul><p>Without this step, we might overlook potential weaknesses or waste time trying generic exploits that don’t fit the target.</p><h3>Service Version Detection with Nmap</h3><p>To kick off service enumeration, it’s advisable to perform a <strong>quick port scan</strong> first. This helps identify open ports with minimal traffic, which is beneficial for avoiding detection by security mechanisms.</p><p>Here’s a standard Nmap command to scan all TCP ports and detect service versions:</p><pre>sudo nmap 10.129.2.28 -p- -sV</pre><p>Let’s break it down:</p><ul><li>10.129.2.28: The target IP.</li><li>-p-: Scans all 65,535 ports (not just the default ones).</li><li>-sV: Performs service version detection on each identified open port.</li></ul><p><strong>Tip</strong>: Since a full port scan can take time, you can press the <strong>Space Bar</strong> during the scan to check its status.</p><p>For those who want more regular progress updates, Nmap also provides the --stats-every option, allowing you to specify a time interval (e.g., every 5 seconds) to get the current scan status:</p><pre>sudo nmap 10.129.2.28 -p- -sV --stats-every=5s</pre><p>This ensures that you stay informed about the scan’s progress.</p><h3>Increasing Verbosity for Real-Time Results</h3><p>Sometimes, you want to see the open ports as soon as they are discovered. In this case, you can increase the verbosity level using -v (or -vv for even more details):</p><pre>sudo nmap 10.129.2.28 -p- -sV -v</pre><p>This command not only displays the scan progress but also reveals open ports immediately, allowing you to track results in real time.</p><h3>Example Output:</h3><p>Here’s an example output of a service enumeration scan:</p><pre>Nmap scan report for 10.129.2.28<br>Host is up (0.013s latency).<br>Not shown: 65525 closed ports<br>PORT      STATE    SERVICE      VERSION<br>22/tcp    open     ssh          OpenSSH 7.6p1 Ubuntu 4ubuntu0.3 (Ubuntu Linux; protocol 2.0)<br>25/tcp    open     smtp         Postfix smtpd<br>80/tcp    open     http         Apache httpd 2.4.29 ((Ubuntu))<br>110/tcp   open     pop3         Dovecot pop3d<br>143/tcp   open     imap         Dovecot imapd (Ubuntu)<br>993/tcp   open     ssl/imap     Dovecot imapd (Ubuntu)<br>995/tcp   open     ssl/pop3     Dovecot pop3d<br>MAC Address: DE:AD:00:00:BE:EF (Intel Corporate)</pre><p>The results show the open ports and their corresponding services, along with the versions identified.</p><h3>Banner Grabbing with Nmap</h3><p>Nmap primarily relies on <strong>banner grabbing</strong> to determine the service and version. After completing the TCP handshake, many services automatically send a banner to identify themselves. Nmap captures this information and presents it to you in the scan results.</p><p>However, in some cases, Nmap may not show all details immediately. Here’s an example where the target SMTP server sent more detailed information than Nmap initially displayed:</p><pre>NSOCK INFO [0.4200s] nsock_trace_handler_callback(): Callback: READ SUCCESS for EID 18 [10.129.2.28:25] (35 bytes): 220 inlane ESMTP Postfix (Ubuntu)..</pre><p>As you can see, the service banner provided extra data about the <strong>Postfix</strong> version and the <strong>Ubuntu</strong> operating system, which may not have been evident in the regular scan output.</p><h3>Manually Grabbing Banners with Netcat (nc)</h3><p>If Nmap misses important details, you can manually grab banners using tools like <strong>netcat (nc)</strong>. This allows you to directly connect to a service and view its banner. Here’s an example of banner grabbing from an SMTP server:</p><pre>nc -nv 10.129.2.28 25</pre><p>Output:</p><pre>Connection to 10.129.2.28 port 25 [tcp/*] succeeded!<br>220 inlane ESMTP Postfix (Ubuntu)</pre><p>This gives you the exact banner information, providing valuable details about the service.</p><h3>Network Traffic Analysis with Tcpdump</h3><p>In some cases, you may want to intercept and analyze the network traffic to see exactly what data is exchanged. Using <strong>tcpdump</strong>, you can capture and inspect the packets, including those involved in banner exchanges:</p><pre>sudo tcpdump -i eth0 host 10.10.14.2 and 10.129.2.28</pre><p>Example intercepted traffic:</p><pre>18:28:07.319306 IP 10.129.2.28.smtp &gt; 10.10.14.2.59618: Flags [P.], seq 1:36, ack 1, win 510, options [nop,nop,TS val 1800383985 ecr 331260304], length 35: SMTP: 220 inlane ESMTP Postfix (Ubuntu)</pre><p>Here, the SMTP server’s banner is intercepted during the handshake, providing insights that Nmap might miss.</p><h3>Conclusion</h3><p>Service enumeration is a key step in identifying potential attack vectors in a penetration test. By leveraging tools like Nmap for service version detection and manual methods like nc and tcpdump, you can gather crucial information about your target.</p><p>Accurate version detection allows you to tailor your exploits, significantly improving your chances of success in real-world scenarios. Always remember, a thorough scan can uncover vulnerabilities that might otherwise go unnoticed.</p><p>Stay tuned for my next post, where I’ll cover more advanced techniques in network security assessments!</p><h3>HTB Academy Lab</h3><h4>Enumerate all ports and their services. One of the services contains the flag you have to submit as the answer.</h4><p>Run the following command to scan all open ports and detect service versions:</p><pre>sudo nmap -p- -sV &lt;IP&gt;</pre><p>The -sV flag enables service version detection, and -p- ensures you’re scanning all the ports. This will give detailed information about the services running on each port.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1007/1*BhEYbX69FoI9SJLdSwPTrw.png" /></figure><h4>Answer : HTB{pr0F7pDv3r510nb4nn3r}</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35bc4d0102db" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Saving and Organizing Nmap Scan Results]]></title>
            <link>https://medium.com/@2minNerd/saving-and-organizing-nmap-scan-results-f7c4d930077e?source=rss-73cdc352cb1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7c4d930077e</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[hackthebox]]></category>
            <category><![CDATA[nmap]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[education]]></category>
            <dc:creator><![CDATA[H3rCul3s]]></dc:creator>
            <pubDate>Tue, 22 Oct 2024 10:01:38 GMT</pubDate>
            <atom:updated>2024-10-22T10:01:38.703Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*7Zha011mikAt_dFaUX_Q4g.jpeg" /></figure><p>In <strong>penetration testing</strong>, it is important not only to run thorough scans but also to save and analyze the results for later use. Nmap, one of the most widely used tools for network scanning, allows you to save scan outputs in different formats that you can revisit or use for comparison. In today’s blog, I’ll dive into how to save Nmap results and explain the various formats Nmap supports.</p><h3>Saving the Scan Results</h3><p>Once you’ve executed an Nmap scan, it’s a good practice to save the results. Nmap offers three main formats for saving:</p><ol><li><strong>Normal Output (-oN)</strong>: This creates a human-readable file with a .nmap extension.</li><li><strong>Grepable Output (-oG)</strong>: This format is useful when you need to parse the results or use them with command-line tools like grep. It uses the .gnmap extension.</li><li><strong>XML Output (-oX)</strong>: The .xml format can be processed by other programs, making it ideal for creating reports or for further analysis using tools that support XML.</li></ol><h4>Save Results in All Formats</h4><p>Nmap provides a convenient way to save the scan results in all these formats simultaneously using the -oA option, followed by the name you want to give to the output files. Here’s an example:</p><pre>sudo nmap &lt;target_ip&gt; -p- -oA target</pre><p>This command will create three files in the current directory:</p><ul><li>target.nmap for the normal output</li><li>target.gnmap for the grepable output</li><li>target.xml for the XML output</li></ul><h4>Understanding the Results</h4><p>Let’s say we run a scan and save the results. Here’s what the output files would look like:</p><h4>Normal Output (.nmap format):</h4><p>This is what the human-readable .nmap file might contain:</p><pre># Nmap 7.80 scan initiated as: nmap -p- -oA target &lt;target_ip&gt;<br>Nmap scan report for &lt;target_ip&gt;<br>Host is up (0.0091s latency).<br>Not shown: 65525 closed ports<br>PORT      STATE SERVICE<br>22/tcp    open  ssh<br>25/tcp    open  smtp<br>80/tcp    open  http<br>MAC Address: DE:AD:00:00:BE:EF (Intel Corporate)</pre><h4>Grepable Output (.gnmap format):</h4><p>The .gnmap format is perfect for quick parsing. Here&#39;s an example:</p><pre># Nmap 7.80 scan initiated as: nmap -p- -oA target &lt;target_ip&gt;<br>Host: &lt;target_ip&gt; () Status: Up<br>Ports: 22/open/tcp//ssh///, 25/open/tcp//smtp///, 80/open/tcp//http///<br>Ignored State: closed (65525)</pre><h4>XML Output (.xml format):</h4><p>This format is useful for processing by other tools or creating HTML reports:</p><pre>&lt;?xml version=&quot;1.0&quot;?&gt;<br>&lt;nmaprun&gt;<br>    &lt;host&gt;<br>        &lt;address addr=&quot;&lt;target_ip&gt;&quot; addrtype=&quot;ipv4&quot;/&gt;<br>        &lt;ports&gt;<br>            &lt;port protocol=&quot;tcp&quot; portid=&quot;22&quot;&gt;<br>                &lt;state state=&quot;open&quot;/&gt;<br>                &lt;service name=&quot;ssh&quot;/&gt;<br>            &lt;/port&gt;<br>            &lt;port protocol=&quot;tcp&quot; portid=&quot;25&quot;&gt;<br>                &lt;state state=&quot;open&quot;/&gt;<br>                &lt;service name=&quot;smtp&quot;/&gt;<br>            &lt;/port&gt;<br>            &lt;port protocol=&quot;tcp&quot; portid=&quot;80&quot;&gt;<br>                &lt;state state=&quot;open&quot;/&gt;<br>                &lt;service name=&quot;http&quot;/&gt;<br>            &lt;/port&gt;<br>        &lt;/ports&gt;<br>    &lt;/host&gt;<br>&lt;/nmaprun&gt;</pre><h4>Converting XML to HTML</h4><p>The XML output is particularly useful because it allows you to create a clean and readable HTML report. Using the xsltproc tool, you can convert the .xml file into an HTML report:</p><pre>xsltproc target.xml -o target.html</pre><p>Once you’ve done that, opening the .html file in any browser will present the scan results in a structured format, ideal for presenting to clients or adding to documentation.</p><h4>Conclusion</h4><p>Saving and organizing your Nmap scan results is crucial for both immediate analysis and long-term tracking. Whether you’re reviewing your scan findings, creating reports for a client, or just comparing scans over time, understanding how to save the results in different formats will streamline your process. In the next blog, I’ll dive deeper into how to leverage these saved results for advanced analysis and reporting.</p><p>Stay tuned as I continue my journey through penetration testing and ethical hacking!</p><h3>HTB academy Lab</h3><h4>Perform a full TCP port scan on your target and create an HTML report. Submit the number of the highest port as the answer.</h4><p><strong>Run a full TCP port scan</strong> on your target using Nmap and save the results in all formats:</p><pre>sudo nmap &lt;target_ip&gt; -p- -oA target</pre><p>This will scan all 65,535 ports and save the results in three different formats: .nmap, .gnmap, and .xml.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*RO-ewzViCdRAVmhPQ9Sj8w.png" /></figure><h4>Answer : 31337</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7c4d930077e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Host and Port Scanning: Understanding Nmap]]></title>
            <link>https://medium.com/@2minNerd/host-and-port-scanning-understanding-nmap-66ed7c09b703?source=rss-73cdc352cb1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/66ed7c09b703</guid>
            <category><![CDATA[hackthebox]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[nmap]]></category>
            <dc:creator><![CDATA[H3rCul3s]]></dc:creator>
            <pubDate>Tue, 22 Oct 2024 09:46:29 GMT</pubDate>
            <atom:updated>2024-10-22T09:46:29.403Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*cvaFzpX35CxXyr89Brw8jA.jpeg" /></figure><p>In the realm of <strong>cybersecurity</strong>, understanding how scanning tools operate is crucial. Host and port scanning is a fundamental step in assessing network security. This post will delve into the workings of Nmap, a powerful tool for discovering open ports, services, and operating systems on target hosts.</p><h4>Scanning Methods and Port States</h4><p>After confirming that a target is alive, our objective is to gather detailed information, including:</p><ul><li>Open ports and their corresponding services</li><li>Service versions</li><li>Information about the services provided</li><li>Operating system details</li></ul><p><strong>Nmap</strong> provides six different states for scanned ports:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*sZdkQ1-I2p0ITQ42HdxLug.png" /><figcaption>(Different states of nmap!)</figcaption></figure><h4>Discovering Open TCP Ports</h4><p>By default, Nmap scans the top 1000 TCP ports using a SYN scan (-sS). When executed with root privileges, Nmap can create raw TCP packets; otherwise, a TCP connect scan (-sT) is performed by default. You can define ports to scan individually (-p 22,25,80,139,445), by range (-p 22-445), or scan all ports (-p-)</p><h4>Example: Scanning Top 10 TCP Ports</h4><pre>sudo nmap 10.129.2.28 --top-ports=10</pre><p>This command reveals the following results:</p><pre>Starting Nmap 7.80 (https://nmap.org) at 2020-06-15 15:36 CEST<br>Nmap scan report for 10.129.2.28<br>Host is up (0.021s latency).<br><br>PORT     STATE    SERVICE<br>21/tcp   closed   ftp<br>22/tcp   open     ssh<br>25/tcp   open     smtp<br>80/tcp   open     http<br>110/tcp  open     pop3<br>139/tcp  filtered netbios-ssn<br>443/tcp  closed   https<br>445/tcp  filtered microsoft-ds<br>3389/tcp closed   ms-wbt-server<br>MAC Address: DE:AD:00:00:BE:EF (Intel Corporate)<br><br>Nmap done: 1 IP address (1 host up) scanned in 1.44 seconds</pre><h4>Packet Tracing with Nmap</h4><p>To gain deeper insights, you can trace the packets Nmap sends by using the --packet-trace option, which shows every packet sent and received. This is particularly useful for understanding how responses correlate with port states.</p><pre>sudo nmap 10.129.2.28 -p 21 --packet-trace -Pn -n --disable-arp-ping</pre><p>This command shows both the SENT and RCVD packets, indicating the specific flags (SYN, RST, etc.) that denote the connection status.</p><h4>Connect Scan</h4><p>The TCP Connect Scan (-sT) employs the TCP three-way handshake, making it highly accurate in determining port states. While it provides precise results, it is not stealthy, as it fully establishes connections, which can be logged by security systems.</p><p><strong>Example</strong>: Connect Scan on TCP Port 443</p><pre>sudo nmap 10.129.2.28 -p 443 --packet-trace --disable-arp-ping -Pn -n --reason -sT</pre><p>This scan provides insights into the open port and its service.</p><h4>Understanding Filtered Ports</h4><p>When a port is marked as filtered, it could be due to a firewall dropping packets or rejecting them. Nmap’s default retry rate is set to 10, meaning it will resend requests for unresponsive ports to confirm their status.</p><h4>Example: Scanning Filtered Ports</h4><p>For instance, when scanning port 139, if it shows as filtered, further analysis may be required:</p><pre>sudo nmap 10.129.2.28 -p 139 --packet-trace -n --disable-arp-ping -Pn</pre><h4>Discovering Open UDP Ports</h4><p>UDP scans (-sU) are generally slower due to the stateless nature of UDP, making it challenging to determine port states since no acknowledgment is received.</p><h4>Example: UDP Port Scan</h4><pre>sudo nmap 10.129.2.28 -F -sU</pre><p>This command can reveal both open and filtered UDP ports, though it may require significant time.</p><h4>Version Scanning</h4><p>Nmap’s -sV option can extract additional information from open ports, including service versions and details.</p><p><strong>Example</strong>: Version Scan</p><pre>sudo nmap 10.129.2.28 -Pn -n --disable-arp-ping --packet-trace -p 445 --reason -sV</pre><p>The results will provide insights into the services running on the port.</p><h3>Conclusion</h3><p>Host and port scanning is a critical aspect of network security assessment. By understanding the methods and results provided by tools like Nmap, cybersecurity professionals can better evaluate and secure their networks</p><h3>HTB Academy Lab</h3><h4>Find all TCP ports on your target. Submit the total number of found TCP ports as the answer.</h4><p>To find all the open TCP ports on a target using Nmap, you can use the following command:</p><pre>sudo nmap &lt;target_ip&gt; -p- -sS</pre><p>Explanation:</p><ul><li>-p- scans all 65,535 TCP ports.</li><li>-sS performs a SYN scan to identify open ports.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*YRYHO7Iv4DKmFqf25k5D1w.png" /></figure><h4>Answer : 7</h4><h4>2.+ 1 Enumerate the hostname of your target and submit it as the answer. (case-sensitive)</h4><p>To enumerate the hostname of your target, you can use <strong>Nmap</strong>’s -sV option to detect the version information, which may reveal the hostname, or use the <strong>reverse DNS lookup</strong> option to try and retrieve the hostname. Here is a commonly used command:</p><pre>sudo nmap &lt;target_ip&gt; -sV --script dns-brute</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*bQiZbWkT2Yqan30D42oXNA.png" /></figure><h4>Answer : NIX-NMAP-DEFAULT</h4><p>Alternatively, you can use <strong>nslookup</strong> or <strong>dig</strong> for reverse DNS lookup to get the hostname:</p><ol><li>Using nslookup:</li></ol><pre>nslookup &lt;target_ip&gt;</pre><p>2. Using dig:</p><pre>dig -x &lt;target_ip&gt;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66ed7c09b703" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Discovering Active Hosts with Nmap: Internal Network Penetration Testing]]></title>
            <link>https://medium.com/@2minNerd/discovering-active-hosts-with-nmap-internal-network-penetration-testing-924edb6edfa7?source=rss-73cdc352cb1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/924edb6edfa7</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[host-discovery]]></category>
            <category><![CDATA[nmap]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <dc:creator><![CDATA[H3rCul3s]]></dc:creator>
            <pubDate>Tue, 22 Oct 2024 06:51:26 GMT</pubDate>
            <atom:updated>2024-10-22T06:52:43.397Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*JB5rO5CJwZqV5JrqfzlqKA.jpeg" /><figcaption>image from google bruhh!!!</figcaption></figure><h4>The Importance of Host Discovery in Penetration Testing</h4><p>When conducting an internal penetration test for a company’s entire network, the first goal is to identify which systems are online and accessible. It’s impossible to audit or assess a machine that isn’t reachable, so we need to start by mapping out the live hosts on the network.</p><p>Host discovery provides the foundation for any security assessment:</p><ol><li><strong>Network Overview</strong>: Identifies active devices on the network.</li><li><strong>Baseline Creation</strong>: Helps establish a starting point for tracking changes.</li><li><strong>Firewall/IDS Testing</strong>: Assesses firewall rules and whether intrusion detection systems (IDS) are functioning.</li></ol><h4>Why Nmap for Host Discovery?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*y5etMzh5ES7i-52LDbXzcA.jpeg" /></figure><p>Nmap, short for <strong>Network Mapper</strong>, is a powerful, flexible tool used to scan networks and detect active hosts. It sends packets to targets and analyzes the responses to determine their availability. It can also detect services, operating systems, and even certain vulnerabilities. But for now, let’s focus on <strong>host discovery</strong> — determining if the target is “alive.”</p><h4>Key Features of Nmap:</h4><ul><li>Identifies hosts on a network using a variety of discovery methods.</li><li>Can adjust scan techniques based on firewall rules.</li><li>Offers options to store and format scan results for later analysis.</li><li>Customizable scanning techniques to evade detection or avoid firewall blocks.</li></ul><h4>Storing Scan Results</h4><p><strong>Pro Tip</strong>: It is always recommended to store every scan you perform. Different tools may produce slightly different results, so maintaining a record can help when comparing results or documenting findings. Nmap allows you to save output in multiple formats using the -oA option, ensuring you never lose valuable data.</p><h4>Scenario 1: Scanning a Network Range</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*4Fh_dd_brbCPh9aas8ROfQ.jpeg" /></figure><p>Imagine you’ve been tasked with auditing a company’s internal network. The IT team has provided you with a subnet range, and your job is to find out which systems are online. We use Nmap to scan the range without probing specific ports — just a simple check to see which hosts respond.</p><p><strong>Command</strong>:</p><pre>sudo nmap 10.129.2.0/24 -sn -oA tnet | grep for | cut -d&quot; &quot; -f5</pre><p><strong>Explanation:</strong></p><ul><li>10.129.2.0/24: This is the target network range.</li><li>-sn: Disables port scanning and performs only host discovery.</li><li>-oA tnet: Saves the results in all available formats with the filename prefix tnet.</li><li>The output shows a list of active IP addresses.</li></ul><p>In this scan, we are essentially pinging all devices on the network. The output reveals the hosts that responded, indicating they are active and reachable. However, this scan only works if firewalls or network configurations allow ICMP (ping) traffic. Some firewalls may block such traffic, requiring alternative methods to detect active hosts, which we’ll cover later.</p><h4>Scenario 2: Using an IP List</h4><p>Often, we are provided with a predefined list of IPs to test. Instead of manually entering each IP, Nmap allows us to automate the process by reading from a list. Let’s assume you’re given a file hosts.lst containing several IP addresses.</p><p><strong>Command:</strong></p><pre>sudo nmap -sn -oA tnet -iL hosts.lst | grep for | cut -d&quot; &quot; -f5</pre><p><strong>Explanation:</strong></p><ul><li>-iL hosts.lst: Instructs Nmap to read the list of targets from the hosts.lst file.</li><li>As before, -sn ensures that only host discovery is performed.</li></ul><p>From the output, we see that only three out of the seven hosts are online. This could be due to firewall configurations that block ICMP echo requests. Some devices may not respond, even though they are up, which could suggest that additional methods are needed to determine host availability.</p><h4>Scenario 3: Scanning Specific IPs</h4><p>Let’s say you only need to scan a few specific IP addresses. Rather than scanning the entire range, you can specify the exact IPs.</p><p><strong>Command:</strong></p><pre>sudo nmap -sn -oA tnet 10.129.2.18 10.129.2.19 10.129.2.20 | grep for | cut -d&quot; &quot; -f5</pre><p>In this example, Nmap checks if the three given IPs are online. If the IPs are in sequential order, you can simplify the command:</p><pre>sudo nmap -sn -oA tnet 10.129.2.18-20 | grep for | cut -d&quot; &quot; -f5</pre><p>This provides a concise way to test multiple consecutive IP addresses.</p><h4>Scenario 4: Scanning a Single IP</h4><p>Sometimes you need to check the availability of a single host before proceeding with further testing. Here’s how you do it:</p><p><strong>Command:</strong></p><pre>sudo nmap 10.129.2.18 -sn -oA host</pre><p>This command checks whether the specified host is alive and stores the results in files prefixed with host. If the host is up, Nmap will provide details like the <strong>MAC address</strong> and the <strong>response time</strong>.</p><h4>Understanding Nmap’s ICMP Echo Requests</h4><p>By default, Nmap uses <strong>ARP</strong> pings to determine if a target is online when scanning local networks. However, you can specifically request <strong>ICMP Echo Requests</strong> (what most people know as “ping”) by using the -PE option. Let’s take a deeper look at this.</p><p><strong>Command:</strong></p><pre>sudo nmap 10.129.2.18 -sn -oA host -PE --packet-trace</pre><p>In this case, we’ve added the --packet-trace option to see exactly what packets Nmap sends and receives. Nmap sends an ARP request, gets a response, and marks the host as up. If we want to ensure that Nmap uses ICMP echo requests, we disable ARP pings:</p><p><strong>Command:</strong></p><pre>sudo nmap 10.129.2.18 -sn -oA host -PE --disable-arp-ping --packet-trace</pre><p>This forces Nmap to rely solely on ICMP echo requests, which can be useful if ARP requests are blocked or filtered.</p><h4>Why Host Discovery Matters</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*-AWWNL4OIDlvQq3n7VC8OQ.jpeg" /></figure><p>In real-world scenarios, knowing which hosts are alive is vital for planning your penetration test. It helps avoid wasting time on systems that are offline, and it ensures you focus your efforts on the systems that are up and running. Moreover, host discovery can reveal misconfigurations in firewall rules or other security policies, as it shows which systems respond to various types of network traffic.</p><p>Whether you’re working with a large network, a specific list of hosts, or just a single IP, Nmap provides flexible, powerful options for discovering active systems. Always keep in mind that different firewalls and IDS systems may block certain types of traffic, so you may need to experiment with different discovery methods to get a complete picture of the network.</p><h4>Conclusion</h4><p>Host discovery is the first step in any serious network penetration test, and Nmap provides some of the best tools in the business to accomplish this. Whether you’re scanning an entire network range, working with a predefined list, or just checking a single IP, Nmap gives you the flexibility to adapt to any environment.</p><p>Remember to always store your scan results for comparison and reporting, and use different discovery methods when faced with firewall rules or blocked ICMP requests. Host discovery is more than just a “ping” — it’s the foundation of a successful penetration test.</p><p>Stay tuned for more in-depth techniques and strategies in the next post!</p><h3>HTB Academy Lab</h3><h4>Based on the last result, find out which operating system it belongs to. Submit the name of the operating system as result.</h4><h4>Answer:Windows</h4><h4>Use Nmap OS Detection Option</h4><p>To scan for the operating system of a host, we use the -O flag in Nmap, which activates OS detection.</p><pre>sudo nmap -O 10.129.2.18</pre><h4>Analyze the Output</h4><pre>Nmap scan report for 10.129.2.18<br>Host is up (0.086s latency).<br>MAC Address: DE:AD:00:00:BE:EF<br>OS details: Linux 3.x - 4.x (likely Ubuntu-based)</pre><p>In this case, the result suggests that the system is running a <strong>Linux-based OS</strong>, specifically in the <strong>3.x to 4.x kernel range</strong>, which could be a version of <strong>Ubuntu</strong> or a similar Linux distribution.</p><h3>Common TTL Values by OS</h3><h4>Operating System — Default TTL Value</h4><p><strong>Linux (various distros)</strong> — 64</p><p><strong>Windows NT/2000/XP </strong>— 128</p><p><strong>Windows Vista/7/8/10</strong> — 128</p><p><strong>macOS</strong> — 64</p><p><strong>Cisco Routers</strong> — 255</p><h4>Using TTL for OS Detection</h4><p>When performing an Nmap scan or any network packet analysis, you can observe the TTL values returned in the ICMP responses. Here’s how you can use this information for OS detection:</p><p><strong>1.Run an Nmap Scan</strong>: Use Nmap to ping the target or run a basic scan.</p><pre>sudo nmap -sn 10.129.2.18  </pre><p><strong>2.Check the TTL in the Output</strong>: Look for the TTL value in the response. For example:</p><pre>Nmap scan report for 10.129.2.18<br>Host is up (0.086s latency).<br>MAC Address: DE:AD:00:00:BE:EF</pre><p><strong>3.Interpret the TTL</strong>: If the output includes a TTL of 64, you might deduce that the operating system is likely a Linux-based system. If it’s 128, it could be a Windows system.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=924edb6edfa7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Network Enumeration with Nmap: A Comprehensive Guide]]></title>
            <link>https://medium.com/@2minNerd/network-enumeration-with-nmap-a-comprehensive-guide-998c57c981e6?source=rss-73cdc352cb1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/998c57c981e6</guid>
            <category><![CDATA[guides-and-tutorials]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[scanning]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[nmap]]></category>
            <dc:creator><![CDATA[H3rCul3s]]></dc:creator>
            <pubDate>Tue, 22 Oct 2024 05:53:56 GMT</pubDate>
            <atom:updated>2024-10-22T05:53:56.666Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*cH3PNeVV3BeUdzoKLxy37A.png" /><figcaption>(image from<strong> Maine Google kiya hai aur waha se copy paste</strong>)</figcaption></figure><h3>Introduction to Nmap</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/1*YJtLd87gf4qZ3q2fK-NLHw.jpeg" /></figure><p><strong>Nmap</strong> (Network Mapper) is a powerful open-source tool designed for network analysis and security auditing. Written in <strong>C, C++, Python, and Lua</strong>, Nmap is widely used by network administrators, security specialists, and penetration testers. Its primary function is to scan networks, identify active hosts, and gather details about services running on those hosts, such as the name and version of services. Nmap also has the ability to detect operating systems and versions, making it a critical tool in both security auditing and vulnerability assessment.</p><p>One of Nmap’s standout features is its ability to send raw packets across the network to determine network configurations and detect anomalies such as <strong>firewalls</strong>, <strong>packet filters</strong>, or <strong>intrusion detection systems</strong> (<strong>IDS</strong>). This capability allows network professionals to simulate penetration tests and assess the effectiveness of security controls.</p><h4><strong>Common Use Cases</strong></h4><p><strong>Nmap</strong> is a versatile tool with numerous use cases in network security and analysis. Some of its key applications include:</p><ul><li><strong>Network Security Auditing</strong>: Checking for open ports and services on hosts to identify potential vulnerabilities.</li><li><strong>Penetration Testing</strong>: Simulating attacks to identify weak points in network defenses.</li><li><strong>Firewall and IDS Configuration Testing</strong>: Ensuring that security systems are correctly set up to block unwanted traffic.</li><li><strong>Network Mapping</strong>: Visualizing the structure and layout of a network.</li><li><strong>Open Port Identification</strong>: Finding which ports are open and potentially exploitable.</li><li><strong>Vulnerability Assessment</strong>: Detecting weaknesses that could be leveraged by attackers.</li></ul><h4>Nmap Architecture</h4><p>Nmap is divided into various scanning techniques, each designed to gather different information about the target. Its architecture allows it to perform <strong>host discovery</strong>, <strong>port scanning</strong>, <strong>service detection</strong>, <strong>OS detection</strong>, and even interact with the target service through <strong>Nmap Scripting Engine (NSE)</strong>. These techniques provide a detailed overview of the target system, allowing for thorough analysis.</p><h4>Nmap Syntax</h4><p>The basic syntax for using Nmap is straightforward. You specify the scan types, options, and the target.</p><pre>parvez1718@htb[/htb]$ nmap &lt;scan types&gt; &lt;options&gt; &lt;target&gt;</pre><p>This simplicity in syntax, combined with its robust scanning options, makes Nmap both powerful and user-friendly.</p><h4>Scan Techniques in Nmap</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*F5KSaJMpTgu8JFA1lRaIow.jpeg" /></figure><p>Nmap offers a wide range of scanning techniques to help gather the necessary information from a target. These techniques allow different types of connections and packet structures. Below are some of the most commonly used scan types in Nmap:</p><pre>parvez1718@htb[/htb]$ nmap --help<br><br>&lt;SNIP&gt;<br>SCAN TECHNIQUES:<br>  -sS/sT/sA/sW/sM: TCP SYN/Connect()/ACK/Window/Maimon scans<br>  -sU: UDP Scan<br>  -sN/sF/sX: TCP Null, FIN, and Xmas scans<br>  --scanflags &lt;flags&gt;: Customize TCP scan flags<br>  -sI &lt;zombie host[:probeport]&gt;: Idle scan<br>  -sY/sZ: SCTP INIT/COOKIE-ECHO scans<br>  -sO: IP protocol scan<br>  -b &lt;FTP relay host&gt;: FTP bounce scan<br>&lt;SNIP&gt;</pre><p>TCP SYN Scan (-sS)</p><p>The <strong>TCP SYN Scan</strong> (-sS) is one of the most popular and efficient scan methods in Nmap. It is the default scan unless otherwise specified. The reason it’s so widely used is that it allows scanning thousands of ports per second, making it ideal for large-scale scans.</p><p>Here’s how it works:</p><ul><li>Nmap sends a <strong>SYN</strong> packet to the target port. This packet initiates the first step of the TCP handshake.</li><li>If the port is open, the target responds with a <strong>SYN-ACK</strong> packet, indicating the connection can be established. Nmap notes this and moves on without completing the handshake, keeping the scan fast and stealthy.</li><li>If the port is closed, the target sends an <strong>RST</strong> (reset) packet, signaling the port isn’t open.</li><li>If no response is received, Nmap marks the port as <strong>filtered</strong>, which usually means a firewall is blocking the scan.</li></ul><p>This type of scan is fast and doesn’t fully establish a TCP connection, which makes it stealthier than other methods</p><h4>TCP Connect Scan (-sT)</h4><p>The TCP Connect Scan (-sT) completes the full TCP three-way handshake. It’s used when the user does not have the necessary privileges to perform SYN scans. It’s slower and more detectable but still effective in identifying open ports.</p><h3>Real-World Example: TCP SYN Scan</h3><p>Let’s look at an example of a TCP SYN scan being performed on a local system.</p><pre>parvez1718@htb[/htb]$ sudo nmap -sS localhost<br><br>Starting Nmap 7.80 ( https://nmap.org ) at 2020-06-11 22:50 UTC<br>Nmap scan report for localhost (127.0.0.1)<br>Host is up (0.000010s latency).<br>Not shown: 996 closed ports<br>PORT     STATE SERVICE<br>22/tcp   open  ssh<br>80/tcp   open  http<br>5432/tcp open  postgresql<br>5901/tcp open  vnc-1<br><br>Nmap done: 1 IP address (1 host up) scanned in 0.18 seconds</pre><p>In this scan, we targeted localhost and found four open TCP ports: <strong>22 (SSH)</strong>, <strong>80 (HTTP)</strong>, <strong>5432 (PostgreSQL)</strong>, and <strong>5901 (VNC)</strong>. The scan ran quickly and gave us essential information about the services running on the target machine.</p><ul><li><strong>Port 22</strong>: Open and running an SSH service.</li><li><strong>Port 80</strong>: Open and running an HTTP web service.</li><li><strong>Port 5432</strong>: Open and running a PostgreSQL database service.</li><li><strong>Port 5901</strong>: Open and running a VNC (Virtual Network Computing) service.</li></ul><p>This is a basic example of how Nmap can be used to quickly scan and identify open services on a network host.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*neKnWBbVqRTa7yCPkc2YlQ.jpeg" /></figure><h3>Advanced Scan Techniques</h3><p>In addition to the TCP SYN and TCP Connect scans, Nmap offers several other advanced scan types, each suited for specific tasks:</p><ul><li><strong>UDP Scan (-sU)</strong>: Scans UDP ports for open services. Useful for identifying services like DNS, DHCP, and SNMP.</li><li><strong>Null, FIN, and Xmas Scans (-sN, -sF, -sX)</strong>: These scans manipulate TCP flags in ways that often bypass firewalls and IDS systems.</li><li><strong>Idle Scan (-sI)</strong>: A stealthy scan that uses a “zombie” host to send packets to the target, hiding the source of the scan.</li><li><strong>SCTP Scans (-sY, -sZ)</strong>: Used for scanning SCTP (Stream Control Transmission Protocol) ports, often found in telecom and signaling systems.</li><li><strong>FTP Bounce Scan (-b)</strong>: This technique can be used to bypass firewall rules by relaying traffic through an FTP server.</li></ul><h3>Conclusion</h3><p><strong>Nmap</strong> is an essential tool for network enumeration and security auditing. It allows users to gain a deep understanding of their network environment by identifying active hosts, open ports, running services, and possible vulnerabilities. From basic TCP SYN scans to advanced techniques like the idle scan, Nmap provides flexibility and power for both network administrators and security professionals.</p><p>As with any powerful tool, it’s important to use Nmap responsibly and legally. Whether you’re auditing your own systems or testing with permission, Nmap is a critical component of any penetration tester’s toolkit. Understanding the various scan types and how to interpret the results can significantly improve your network security assessments.</p><p>Stay tuned for more on how to use Nmap effectively and other penetration testing techniques as I continue my journey through the <strong>HackTheBox Academy Penetration Path</strong>!</p><p>It’s just an Introduction Bruhhh!!!!</p><p>Remember, if you have any <strong>queries </strong>or need further assistance, feel free to <strong>comment</strong>, and don’t forget to <strong>smash that follow button</strong> for more updates. Take care and goodbye!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*IQsMMiU4O8nYWwN5f3NUwg.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=998c57c981e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MERN Stack Development Roadmap for 2024]]></title>
            <link>https://medium.com/@2minNerd/mern-stack-development-roadmap-for-2024-b3b5f2206021?source=rss-73cdc352cb1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3b5f2206021</guid>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[mern-stack]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[education]]></category>
            <dc:creator><![CDATA[H3rCul3s]]></dc:creator>
            <pubDate>Sun, 28 Apr 2024 20:36:02 GMT</pubDate>
            <atom:updated>2024-04-28T20:37:07.598Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/292/1*vD-tmLnh-Q-ev4yewlgsrw.jpeg" /></figure><p>The MERN stack (MongoDB, Express.js, React.js, and Node.js) continues to reign supreme in the world of full-stack web development in 2024. Its combination of powerful JavaScript technologies allows developers to build dynamic, scalable, and data-driven web applications.</p><p>This comprehensive roadmap will guide you through each layer of the MERN stack, providing you with the resources and knowledge you need to become a proficient full-stack developer in 2024.</p><h3>What is the MERN stack?</h3><p><strong>MERN Stack</strong> is a JavaScript Stack that is used for easier and faster deployment of full-stack web applications.</p><p>MERN Stack comprises 4 technologies namely: MongoDB, Express, React, and NodeJS<a href="https://www.geeksforgeeks.org/introduction-to-nodejs/">.</a> It is designed to make the development process smoother and easier.</p><p><strong>Learning Path:</strong></p><ol><li>Foundational Knowledge (HTML, CSS, and JavaScript)</li></ol><p>A solid grasp of HTML, CSS, and JavaScript is essential for building user interfaces and interacting with the web browser. These fundamental languages form the bedrock of web development and will be used throughout your MERN stack journey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/253/1*e8fVUHcI8Qhvxaw_4cMh-g.jpeg" /></figure><p><strong>Learning Resources</strong></p><ul><li>FreeCodeCamp:</li><li><a href="https://www.freecodecamp.org/">https://www.freecodecamp.</a>org/ offers excellent interactive courses for all three languages.</li><li>W3Schools:</li><li>Online tutorials and documentation from reputable sources like W3Schools (<a href="https://www.w3schools.com/">https://www.w3schools.com/</a>) can be valuable references.</li><li>GeeksforGeeks:</li><li><a href="https://www.geeksforgeeks.org/mern-stack-development-roadmap/#1-mastering-the-essentials-html-javascript-and-css">https://www.geeksforgeeks.org/mern-stack-development-roadmap/#1-mastering-the-essentials-html-javascript-and-css</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/187/1*c8Cz4O35-kYFDse0MkyPkQ.jpeg" /></figure><p><strong>2.Diving into JavaScript (Advanced Topics)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/293/1*sCfq4SUtDsjdWoZ9bbkfIw.jpeg" /></figure><ul><li>While the basics of JavaScript were covered earlier, mastering advanced concepts like object-oriented programming, asynchronous programming, and the DOM (Document Object Model) is crucial for building complex web applications with the MERN stack.</li></ul><p><strong>Learning Resources</strong></p><ul><li><strong>Chai aur Code</strong> (<a href="https://www.youtube.com/@chaiaurcode">(46) Chai aur Code — YouTube</a>) — Best</li><li><strong>Code with Harry</strong> (<a href="https://www.youtube.com/watch?v=ER9SspLe4Hg&amp;list=PLu0W_9lII9ahR1blWXxgSlL4y9iQBnLpR">Introduction to JavaScript + Setup | JavaScript Tutorial in Hindi #1 — YouTube</a>)</li><li><strong>FreeCodeCamp </strong>(https://www.youtube.com/@freecodecamp)</li><li><strong>SuperSimpleDev</strong> (https://www.youtube.com/watch?v=SBmSRK3feww&amp;t=18s)</li><li><strong>BroCode</strong> (https://youtu.be/lfmg-EJ8gm4?si=G-NNtkuPnCAP_uHR)</li></ul><h4>Exploring React: Dynamic UI Development</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/246/1*yx_UKBDA96yn8Ix5DPGkkg.jpeg" /></figure><p>React is a free library for making websites look and feel cool. It’s like a special helper for JavaScript. People from Facebook and other communities work together to keep it awesome and up-to-date.</p><p>With React, your websites can be super interactive and lively. It’s great for making modern websites where everything happens on one page. The best part is that you can build and reuse different parts of your webpage, making it easy to update and organize stuff without the whole page refreshing.</p><p><strong>Learning Path:</strong></p><p>Chai aur Code (https://youtu.be/4DqAvWonPAg?si=ww6Nwwa41sdaubpU)</p><p>BroCode (https://youtu.be/CgkZ7MvWUAA?si=p0nCWO6OsFsSGnw2)</p><p>KG Coding by Prashant sir(<a href="https://youtu.be/eILUmCJhl64?si=sYt9Xu8PDDfU9S8o">https://youtu.be/eILUmCJhl64?si=sYt9Xu8PDDfU9S8o</a>)</p><p>Interactive tutorials and challenges on platforms like Codecademy (<a href="https://www.codecademy.com/">https://www.codecademy.com/</a>) provide a hands-on learning experience.</p><p>The official React documentation (<a href="https://legacy.reactjs.org/docs/getting-started.html">https://legacy.reactjs.org/docs/getting-started.html</a>) is comprehensive and up-to-date.</p><h3>Practice by building small JavaScript projects to solidify your understanding.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/333/1*9lZe4aJtcSBtldPsJM_B_A.jpeg" /></figure><p>With a solid understanding of HTML, CSS, JavaScript, and React under our belt, we’ve successfully constructed the front end of our MERN stack application.</p><p>This interactive layer allows users to seamlessly interact with our application. But the magic truly happens behind the scenes — on the <strong>backend server</strong>. This is where data is stored, processed, and served to the front end.</p><p>In the next part of our journey, we’ll delve into the world of Node.js, Express.js, and explore how to build robust backend servers with RESTful APIs to bridge the gap between our captivating frontend and the data that fuels it — all powered by the powerful MongoDB database!</p><p>Till then Hit a like and leave a comment below let me know what you think!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/282/1*_ySjHoiftxs5-PvMSBgErQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3b5f2206021" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OSINT for Email, Passwords, and Usernames]]></title>
            <link>https://medium.com/@2minNerd/osint-for-email-passwords-and-usernames-c89c00ad2693?source=rss-73cdc352cb1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/c89c00ad2693</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[osint]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[awareness]]></category>
            <category><![CDATA[education]]></category>
            <dc:creator><![CDATA[H3rCul3s]]></dc:creator>
            <pubDate>Tue, 02 Apr 2024 20:01:46 GMT</pubDate>
            <atom:updated>2024-04-02T20:01:46.226Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>OSINT</strong>, short for Open Source Intelligence, involves gathering and analyzing publicly available information from diverse sources to glean insights for security and decision-making purposes. It encompasses data from social media, websites, and other accessible platforms to inform strategic actions and assessments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e2qFM849n29bPaZgEblxCg.jpeg" /></figure><p><strong>Email OSINT:</strong></p><p>Explore publicly available data to uncover valuable insights associated with email addresses, enhancing communication strategies and cybersecurity measures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B6fLCkey7rj0_afkq2mqXw.png" /></figure><p><a href="https://hunter.io/"><strong>Hunter.io:</strong><br></a>1. Extensive database of email addresses.<br>2. Enables searching for email addresses associated with a specific domain.<br>3. Intuitive interface and robust API integration for seamless use in professional settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wc1aeb-yIk_m78TI8Gz1dA.png" /></figure><p><a href="https://phonebook.cz/"><strong>Phonebook.cz:</strong><br></a>1. Specializes in Czech Republic-based contacts.<br>2. Offers a comprehensive directory of email addresses, phone numbers, and addresses.<br>3. Valuable resource for businesses and individuals seeking localized contacts within the Czech Republic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/213/1*a3Q7zI_JfbebLFFTbNHDiQ.png" /></figure><p><a href="https://clearbit.com/resources/tools/connect"><strong>Clearbit:</strong><br></a> 1. Provides enriched data on individuals and companies.<br>2. Integrates with various data sources to offer insights beyond email lookup.<br>3. Features email extension for details like job titles, company affiliations, and social media profiles, enhancing communication personalization and outreach effectiveness.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LzdE0blgXn4wfs83QjUmXw.png" /></figure><p><a href="https://tools.emailhippo.com/"><strong>Email Hippo:</strong><br></a>1. Specializes in email verification services.<br>2. Ensures the validity and deliverability of email addresses.<br> 3. Offers features like bulk email verification and real-time API integration for maintaining clean and reliable email lists.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rIKBS82we3gUt51cAFjA5Q.png" /></figure><p><a href="https://email-checker.net/"><strong>Email Checker:</strong><br></a>1. Offers a straightforward yet powerful solution for email address verification.<br>2. Utilizes robust algorithms and a comprehensive database for high accuracy.<br>3. Ideal for validating individual emails or cleansing entire email lists with efficiency.</p><p>By utilizing these email OSINT tools, organizations can unlock valuable insights, enhance their outreach efforts, and safeguard their digital assets with confidence in today’s cybersecurity landscape.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*CfjX4pf5u5ssNnmAY2KbiA.jpeg" /></figure><p><strong>Password OSINT :</strong></p><p>Password OSINT involves utilizing open-source intelligence techniques to gather and analyze <strong>publicly available information </strong>related to compromised passwords, aiding in the identification of security vulnerabilities and proactive strengthening of authentication protocols.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oGfzMFp2WqRBsCHWpAc4PA.png" /></figure><p><a href="https://dehashed.com/"><strong>Dehashed</strong></a>:</p><p>A comprehensive database offering access to billions of compromised passwords, empowering users to conduct thorough searches and strengthen security measures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FyIDttMV8FgJBQt4ko1sgA.png" /></figure><p><strong>WeLeakInfo.com:</strong></p><p>A platform providing access to leaked data, including passwords, enabling users to search for compromised credentials and mitigate security risks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lzek5sGyt2EYedyw6JQnSw.png" /></figure><p><strong>Leakcheck.io</strong></p><p>An online tool for checking if passwords have been compromised in data breaches, aiding in proactive security measures and password management.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UR-VSl_J8Vj4Pa2x99ntvw.png" /></figure><p><a href="https://www.snusbase.com/"><strong>Snusbase</strong></a><strong> : (</strong><a href="https://www.snusbase.com/">Snusbase — Database Search Engine</a>)</p><p>A database search engine offering access to leaked data, including passwords, facilitating comprehensive searches for compromised credentials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*myN8PhHdFq9z2mg3KLOaTw.png" /></figure><p><strong>HaveIBeenPwned: (</strong><a href="https://haveibeenpwned.com/">Have I Been Pwned: Check if your email has been compromised in a data breach</a>)</p><p>A widely used platform for checking if passwords have been exposed in data breaches, empowering individuals and organizations to secure their accounts effectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ptrALr-ULcdWPxTiFEpSOQ.png" /></figure><p><a href="https://kalilinuxtutorials.com/scylla/"><strong>Scylla</strong></a><strong>: (</strong><a href="https://kalilinuxtutorials.com/scylla/#google_vignette">Scylla : The Simplistic Information Gathering Engine (kalilinuxtutorials.com)</a></p><p>A powerful open-source database containing millions of compromised credentials, facilitating security assessments and proactive measures against password-related threats.</p><p><strong>Username OSINT :</strong></p><p>Username OSINT<strong> </strong>entails the use of open-source intelligence techniques to gather and analyze publicly available information related to usernames across various online platforms, aiding in the assessment of brand consistency, online identity management, and potential security risks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JRkHeaX20lVwAP2dWLIbjQ.png" /></figure><p><strong>Namechk.com: (</strong><a href="https://namechk.com/">Namechk — Username and Domain Name Checker — Search All Domain Names and User Names to see if they’re available</a>)</p><p>Namechk.com offers a comprehensive platform for checking the availability of usernames across multiple social media networks, facilitating brand consistency and online identity management.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X5a7droj4kwA_xLZHLdALQ.png" /></figure><p><strong>Whatsmyname.app :(</strong><a href="https://whatsmyname.app/">WhatsMyName Web</a>)</p><p>Whatsmyname.app provides users with the ability to search for their username’s availability on various online platforms, streamlining the process of establishing a unified online presence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iRYR8jPZrU_bHweWiV5ySg.png" /></figure><p><strong>Namecheckup.com:</strong></p><p>Namecheckup.com allows users to check the availability of their desired username on popular social media platforms, ensuring brand coherence and visibility across digital channels.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rju0LX8rf5N3jdBc452HfA.png" /></figure><p><strong>Kik.me:</strong></p><p>Kik.me serves as a platform for discovering and sharing Kik usernames, facilitating connections and communication within the Kik messaging app community.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u00BeB9mYHzBeX_8pUDRBw.png" /></figure><p><strong>Snapchat</strong>:</p><p>Snapchat While not a specific website, Snapchat is a widely used social media platform where users can search for and connect with others using unique usernames.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*gpBWo8w152kfe4vkOK9cBw.jpeg" /></figure><p>Thank you! Stay safe as well,</p><p>I look forward to discussing other OSINT mechanisms in the next blog post.</p><p>Remember, if you have any <strong>queries </strong>or need further assistance, feel free to <strong>comment</strong>, and don’t forget to <strong>smash that follow button</strong> for more updates. Take care and goodbye!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c89c00ad2693" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unveiling the Power of OSINT]]></title>
            <link>https://medium.com/@2minNerd/unveiling-the-power-of-osint-7321e24b4178?source=rss-73cdc352cb1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/7321e24b4178</guid>
            <category><![CDATA[education]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[red-team]]></category>
            <category><![CDATA[osint]]></category>
            <dc:creator><![CDATA[H3rCul3s]]></dc:creator>
            <pubDate>Mon, 01 Apr 2024 18:57:48 GMT</pubDate>
            <atom:updated>2024-04-01T18:57:48.311Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I2c6nqyqpvEd-ZyneWanDw.jpeg" /><figcaption>Image from linkedin</figcaption></figure><h3>Understanding OSINT</h3><p>At its core, OSINT involves collecting and analyzing information from publicly available sources such as social media platforms, websites, forums, and news outlets. Unlike traditional intelligence-gathering methods that rely on classified or proprietary data, OSINT utilizes information that is freely accessible to anyone with an internet connection. This democratization of intelligence gathering has opened up new possibilities for researchers, journalists, businesses, and government agencies alike.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/248/1*8Q3o9LocHfgRWCD3cQAaWQ.jpeg" /></figure><p>Title: Unveiling the Power of OSINT: A Deep Dive into Open Source Intelligence</p><p>In a world where information is the new currency, the ability to gather, analyze, and leverage data has become paramount. Open Source Intelligence (OSINT) is the cornerstone of modern intelligence gathering, providing a wealth of information sourced from publicly available data. From uncovering cybersecurity threats to aiding law enforcement investigations, OSINT is revolutionizing the way we gather intelligence. Let’s delve into the world of OSINT and explore its significance in today’s digital landscape.</p><h3>Understanding OSINT</h3><p>At its core, OSINT involves collecting and analyzing information from publicly available sources such as social media platforms, websites, forums, and news outlets. Unlike traditional intelligence gathering methods that rely on classified or proprietary data, OSINT utilizes information that is freely accessible to anyone with an internet connection. This democratization of intelligence gathering has opened up new possibilities for researchers, journalists, businesses, and government agencies alike.</p><h3>The Power of Open Source Intelligence</h3><p>The breadth and depth of data available through OSINT are staggering. From tracking emerging trends and sentiments on social media to monitoring geopolitical developments, OSINT offers a comprehensive view of the world in real-time. By harnessing the power of advanced data analytics and machine learning algorithms, analysts can sift through vast amounts of data to identify patterns, detect anomalies, and extract actionable insights.</p><h4>Applications of OSINT:</h4><ol><li><strong>Cybersecurity</strong>:</li></ol><p>In an age where cyber threats are constantly evolving, OSINT plays a crucial role in threat intelligence. By monitoring hacker forums, analyzing malware samples, and tracking online chatter, cybersecurity professionals can stay one step ahead of cyber adversaries.</p><p>2. <strong>Law Enforcement:</strong></p><p>Law enforcement agencies use OSINT to gather intelligence on criminal activities, track suspects, and prevent crimes. Social media platforms, public records, and online forums are valuable sources of information for investigators.</p><p>3. <strong>Business Intelligence:</strong></p><p>From competitive analysis to market research, OSINT helps businesses make informed decisions by providing valuable insights into consumer behavior, industry trends, and competitor strategies.</p><p>4.<strong> Journalism:</strong></p><p>Journalists leverage OSINT to uncover stories, verify information, and fact-check sources. Social media platforms and online databases serve as valuable resources for investigative journalists seeking to uncover hidden truths and hold the powerful accountable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tj3gA6fJGwOMsipnC8uDsQ.png" /><figcaption>Image from flashpoint.io</figcaption></figure><p><strong>intelligence lifecycle:</strong></p><ol><li><strong>Planning and Direction</strong>:</li></ol><p>This phase involves setting intelligence objectives, determining priorities, and establishing the scope of the intelligence effort. It includes identifying key stakeholders, defining requirements, and allocating resources accordingly.</p><p>2. <strong>Collection</strong>:</p><p>In this phase, information is gathered from a variety of sources, including open source intelligence (OSINT), human intelligence (HUMINT), signals intelligence (SIGINT), and geospatial intelligence (GEOINT). Collection methods may range from surveillance and reconnaissance to data mining and analysis of publicly available information.</p><p>3. <strong>Processing and Analysis</strong>:</p><p>Raw data collected is processed, filtered, and analyzed to extract meaningful insights. This involves validating the authenticity and reliability of the information, organizing it into a coherent structure, and identifying patterns, trends, and anomalies.</p><p>4. <strong>Dissemination</strong>:</p><p>Once the analysis is complete, intelligence products are disseminated to relevant stakeholders in a timely and actionable manner. This may include reports, briefings, or alerts tailored to the specific needs of decision-makers.</p><p>5. <strong>Feedback and Evaluation</strong>: Feedback from decision-makers is collected and evaluated to assess the effectiveness of the intelligence process. This includes reviewing the accuracy, relevance, and timeliness of the intelligence products and identifying areas for improvement in future cycles.</p><h3>OSINT Techniques Using Popular Search Engines</h3><ol><li><strong>GOOGLE</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rk6Bb2-kIMsHJmKiL2H4bw.jpeg" /></figure><p>Google is perhaps the most widely used search engine for OSINT. Here are some advanced search techniques, also known as <strong>Google Dorks</strong>, that can be used:</p><ul><li><strong>allintext: &quot;keyword&quot;</strong>: Search for occurrences of all keywords in the text.</li><li><strong>inurl: &quot;keyword&quot;</strong>: Search for URLs containing the specified keyword.</li><li><strong>intitle: &quot;keyword&quot;</strong>: Search for occurrences of keywords in the title.</li><li><strong>filetype: &quot;pdf</strong>&quot;: Search for a specific filetype.</li><li><strong>site: &quot;www.google.com&quot;</strong>: Search within a specific website.</li></ul><h4>For more reference on Google Dorking techniques,</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/23da7feb0c1002fa73b0f0ab270aa21d/href">https://medium.com/media/23da7feb0c1002fa73b0f0ab270aa21d/href</a></iframe><p>2. <strong>Yandex</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kZoVnl31JNhDaImb8O1Qkg.jpeg" /></figure><p><strong>Yandex </strong>is a popular search engine in <strong>Russia </strong>and other Russian-speaking countries. Similar search techniques can be applied to Yandex for OSINT purposes.</p><p>3. <strong>Bing</strong></p><figure><img alt="bing" src="https://cdn-images-1.medium.com/max/300/1*nCHGSsgoX7NU4cKy5zIKGw.jpeg" /></figure><p>Bing offers its own set of search operators for conducting advanced searches, such as site:, filetype: and intitle:.</p><h4>4. Baidu</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/1*dtzF4zjvtJr8ZmxVsgyRTg.png" /></figure><p>Baidu is <strong>China’s </strong>leading search engine, and it provides search operators similar to <strong>Google </strong>and <strong>Bing </strong>for conducting targeted searches.</p><p>Thank you!</p><p>I look forward to discussing other OSINT mechanisms in the next blog post. Remember, if you have any queries or need further assistance, feel free to comment, and don’t forget to smash that follow button for more updates. Take care and goodbye!</p><p>Stay safe and Stay secure!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*gpBWo8w152kfe4vkOK9cBw.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7321e24b4178" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>