<?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 Yamin Rasel on Medium]]></title>
        <description><![CDATA[Stories by Yamin Rasel on Medium]]></description>
        <link>https://medium.com/@yamin21?source=rss-71b65bc4da6c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*5wDqvtoiDe6QN4UjnvqXXQ.jpeg</url>
            <title>Stories by Yamin Rasel on Medium</title>
            <link>https://medium.com/@yamin21?source=rss-71b65bc4da6c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 15:38:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yamin21/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[DeepLeak ClickHouse Exposure Challenge]]></title>
            <link>https://medium.com/@yamin21/deepleak-clickhouse-exposure-challenge-044681859563?source=rss-71b65bc4da6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/044681859563</guid>
            <category><![CDATA[deepseek]]></category>
            <category><![CDATA[clickhouse]]></category>
            <category><![CDATA[clickhouse-exposure]]></category>
            <category><![CDATA[deepleak]]></category>
            <dc:creator><![CDATA[Yamin Rasel]]></dc:creator>
            <pubDate>Mon, 13 Apr 2026 12:43:49 GMT</pubDate>
            <atom:updated>2026-04-13T12:43:49.767Z</atom:updated>
            <content:encoded><![CDATA[<h3>🎯 Challenge Overview</h3><p>We were given the target:</p><pre>deepleak.bugbountymasterclass.com</pre><p>The objective was to identify an exposed database instance (inspired by a real-world ClickHouse leak incident from January 2025) and extract a hidden flag.</p><h3>🧭 Phase 1: Reconnaissance</h3><p>We began by scanning for open services commonly associated with ClickHouse:</p><ul><li>HTTP interface → 8123</li><li>Native interface → 9000</li></ul><p>Using:</p><pre>naabu -host deepleak.bugbountymasterclass.com -p 8123,9000 -silent</pre><p>Result:</p><ul><li>Port 8123 was open</li></ul><h3>🔍 Phase 2: Service Verification</h3><p>We confirmed ClickHouse via HTTP query interface:</p><pre>curl -G &quot;http://deepleak.bugbountymasterclass.com:8123/&quot; \<br>--data-urlencode &quot;query=SELECT version()&quot;</pre><p>This confirmed a live ClickHouse instance.</p><h3>🗂️ Phase 3: Database Enumeration</h3><p>We listed available databases using system tables:</p><pre>SELECT database, name<br>FROM system.tables<br>WHERE database != &#39;system&#39;</pre><h3>Discovered databases:</h3><ul><li>default</li><li>information_schema</li><li>system</li><li>deepleak</li></ul><h3>📊 Phase 4: Table Discovery</h3><p>We explored the deepleak database:</p><pre>SHOW TABLES FROM deepleak;</pre><h3>Found tables:</h3><ul><li>log_stream</li><li>metric_stream</li><li>rrweb</li><li>schema_migrations</li></ul><p>The most interesting table was:</p><pre>log_stream</pre><h3>🧾 Phase 5: Data Analysis</h3><p>We inspected the log structure:</p><pre>SELECT * FROM deepleak.log_stream LIMIT 10;</pre><p>We observed structured logs containing:</p><ul><li>authentication events</li><li>API requests</li><li>chat/system messages</li><li>service metadata</li></ul><h3>🔎 Phase 6: Event Analysis</h3><p>From enumerating distinct event types and service patterns, we identified a hidden system-level event:</p><pre>system.flag</pre><p>This indicated that the flag was embedded within system logs rather than a dedicated table.</p><h3>🚩 Phase 7: Flag Extraction</h3><p>We searched for the hidden event:</p><pre>SELECT *<br>FROM deepleak.log_stream<br>WHERE span_name = &#39;system.flag&#39;</pre><h3>Result:</h3><pre>{WIZFLAG-c******_on_hacking_a_database}</pre><h3>🏁 Final Flag</h3><p>The extracted flag:</p><pre>WIZFLAG-c*****_on_hacking_a_database</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/923/1*eDStUzFesdYxb1UDnRLygA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=044681859563" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bug‑Bounty‑Ready Kali Linux Setup WSL]]></title>
            <link>https://medium.com/@yamin21/bug-bounty-ready-kali-linux-setup-wsl-e476f38438cd?source=rss-71b65bc4da6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e476f38438cd</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[kali-linux]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[wsl]]></category>
            <dc:creator><![CDATA[Yamin Rasel]]></dc:creator>
            <pubDate>Tue, 30 Dec 2025 06:17:32 GMT</pubDate>
            <atom:updated>2025-12-30T06:17:32.529Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0hqgskTJQDXQgIJDhR2q_g.png" /><figcaption>Bug‑Bounty‑Ready Kali Linux</figcaption></figure><p>Here’s a <strong>step-by-step plan</strong>:</p><h3>1️⃣ Clean Base System</h3><p>Since you already cleaned /tmp, /run, and caches, we can skip extra cleanup.<br>Optional: update packages:</p><pre>sudo apt update &amp;&amp; sudo apt upgrade -y<br>sudo apt autoremove -y</pre><h3>2️⃣ Install Essential Bug-Bounty Tools</h3><p>We’ll group them by type.</p><h3>🔹 Recon &amp; OSINT</h3><pre>sudo apt install -y git curl wget python3-pip<br>pip3 install amass sublist3r httprobe</pre><h3>🔹 Scanners / Vulnerability Tools</h3><pre>sudo apt install -y nikto nmap dirb gobuster</pre><h3>🔹 Web Exploitation / Fuzzing</h3><pre>sudo apt install -y sqlmap wfuzz ffuf</pre><h3>🔹 Network &amp; Proxy Tools</h3><pre>sudo apt install -y socat netcat tcpdump wireshark</pre><h3>3️⃣ Configure Environment</h3><ul><li>Create a <strong>workspace folder</strong>:</li></ul><pre>mkdir -p ~/bugbounty/{targets,reports,scripts,loot}</pre><ul><li>Add PATH for custom scripts:</li></ul><pre>echo &#39;export PATH=$HOME/bugbounty/scripts:$PATH&#39; &gt;&gt; ~/.bashrc<br>source ~/.bashrc</pre><h3>4️⃣ Optional Useful Tools</h3><pre>sudo apt install -y gobuster wpscan whatweb<br>pip3 install wafw00f</pre><ul><li>These help with CMS discovery, WAF detection, subdomain fuzzing, etc.</li></ul><h3>5️⃣ VSCode / Editor Setup (Optional)</h3><ul><li>Install VSCode on Windows and connect via <strong>Remote WSL</strong>.</li><li>Makes editing scripts &amp; reports faster.</li></ul><h3>6️⃣ Backup Bug-Bounty Kali (Optional but recommended)</h3><p>Since WSL 1 export fails reliably, use <strong>manual tar backup</strong>:</p><pre>sudo tar --numeric-owner --xattrs --acls \<br>--exclude=/tmp \<br>--exclude=/run \<br>--exclude=/proc \<br>--exclude=/sys \<br>--exclude=/mnt/e/kali-backup.tar \<br>-cpf /mnt/e/kali-bugbounty-backup.tar /</pre><p>This ensures you can restore the full bug-bounty setup later.</p><h3>7️⃣ Extra Tips</h3><ul><li>Keep <strong>separate targets folder</strong> for each engagement.</li><li>Add your <strong>API keys</strong> for tools (like Shodan, Censys) in ~/.config/.</li><li>Regularly update Kali &amp; tools: sudo apt update &amp;&amp; sudo apt upgrade -y</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e476f38438cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automating XSS Testing Using Dalfox, GF, and WaybackUrls]]></title>
            <link>https://medium.com/@yamin21/automating-xss-testing-using-dalfox-gf-and-waybackurls-753e93cf44e5?source=rss-71b65bc4da6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/753e93cf44e5</guid>
            <category><![CDATA[xss-vulnerability]]></category>
            <category><![CDATA[crosssiterequestforgery]]></category>
            <category><![CDATA[cross-site-scripting]]></category>
            <category><![CDATA[xss-bypass]]></category>
            <category><![CDATA[xss-attack]]></category>
            <dc:creator><![CDATA[Yamin Rasel]]></dc:creator>
            <pubDate>Fri, 23 Aug 2024 05:34:11 GMT</pubDate>
            <atom:updated>2024-08-23T05:34:11.439Z</atom:updated>
            <content:encoded><![CDATA[<p>Cross-Site Scripting (XSS) is a common security vulnerability that can be exploited to execute scripts in a user’s browser, leading to information theft and unauthorized actions. In this tutorial, I’ll guide you through automating the process of discovering and testing for XSS vulnerabilities using <a href="https://github.com/hahwul/dalfox"><strong>Dalfox</strong></a>, <a href="https://github.com/tomnomnom/gf"><strong>GF</strong></a>, <a href="https://github.com/tomnomnom/waybackurls"><strong>WaybackUrls</strong></a>,<a href="https://github.com/lc/gau"><strong>Gau</strong></a>, and <a href="https://github.com/projectdiscovery/katana"><strong>Katana</strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/881/1*SI6cw1l0UeXSh_AG3G60YQ.png" /></figure><h3>Prerequisites</h3><p>Before we start, ensure you have the following tools installed:</p><ol><li><a href="https://github.com/hahwul/dalfox"><strong>Dalfox</strong> </a>— a fast tool for finding reflected XSS.</li><li><a href="https://github.com/tomnomnom/gf"><strong>GF </strong></a><strong>(Grep Framework)</strong> — a wrapper around grep to search for patterns.</li><li><a href="https://github.com/tomnomnom/waybackurls"><strong>WaybackUrls</strong> </a>— fetches URLs from the Wayback Machine.</li><li><a href="https://github.com/lc/gau"><strong>Gau </strong></a><strong>(GetAllUrls)</strong> — fetches URLs from different sources like Wayback, VirusTotal, etc.</li><li><a href="https://github.com/projectdiscovery/katana"><strong>Katana</strong> </a>— a modern web content discovery tool.</li><li><strong>Anew</strong> — appends new lines to files only if they are not already present.</li></ol><p>#### Installing the Tools</p><p>Let’s go through the installation process for each tool.</p><h4>Installing the Tools</h4><p>Let’s go through the installation process for each tool.</p><p>1. <strong>Install Go Programming Language</strong></p><p>Most of these tools are written in Go, so you’ll need to have Go installed on your system. You can download and install it from the <a href="https://golang.org/dl/"><strong>official Go website</strong></a>.</p><p>2. <strong>Install Dalfox</strong></p><p>Dalfox is a powerful tool for detecting XSS vulnerabilities.</p><pre>go install github.com/hahwul/dalfox/v2@latest</pre><p>3. <strong>Install GF (Grep Framework)</strong></p><p>GF allows for pattern searching using custom patterns.</p><pre>go install github.com/tomnomnom/gf@latest</pre><p>After installing GF, you’ll need to copy the GF patterns:</p><pre>git clone https://github.com/1ndianl33t/Gf-Patterns<br>cp -r Gf-Patterns/*.json ~/.gf</pre><p>4. <strong>Install WaybackUrls</strong></p><p>WaybackUrls fetches archived URLs from the Wayback Machine.</p><pre>go install github.com/tomnomnom/waybackurls@latest</pre><p>5. <strong>Install Gau (GetAllUrls)</strong></p><p>Gau fetches URLs from multiple sources.</p><pre>go install github.com/lc/gau/v2/cmd/gau@latest</pre><p>6. <strong>Install Katana</strong></p><p>Katana is used for modern web content discovery.</p><pre>go install github.com/projectdiscovery/katana/cmd/katana@latest</pre><p>7. <strong>Install Anew</strong></p><p>Anew helps in appending unique lines to files.</p><pre>go install github.com/tomnomnom/anew@latest</pre><h3>Adding Installed Tools to PATH</h3><p>Once you’ve installed these tools, add the Go binary path to your system’s PATH to access them from anywhere:</p><ul><li><strong>Linux/macOS</strong>: Add the following line to your ~/.bashrc, ~/.zshrc, or ~/.bash_profile file:</li></ul><pre>export PATH=$PATH:$(go env GOPATH)/bin</pre><p><strong>Windows</strong>: Add the Go binary directory to your system’s PATH environment variable.</p><p>After adding the PATH, reload your terminal or run `source ~/.bashrc` or equivalent for your shell to apply the changes.</p><h3>Automating XSS Testing</h3><p>Now, let’s put everything together in a script to automate XSS testing:</p><ol><li><strong>Gather URLs from Wayback Machine, Gau, and Katana</strong>:</li></ol><pre>echo &#39;health.gov.au&#39; | waybackurls | anew all_urls.txt<br>echo &#39;health.gov.au&#39; | gau | anew all_urls.txt<br>katana -u &#39;health.gov.au&#39; | anew all_urls.txt</pre><p>This script uses `WaybackUrls`, `Gau`, and `Katana` to gather URLs from different sources for the target domain (`health.gov.au`) and save them to `all_urls.txt`, avoiding duplicates with `anew`.</p><p><strong>2. Filter Potential XSS URLs</strong>:</p><pre>cat all_urls.txt | gf xss | sed &#39;s/=.*/=/&#39; | sed &#39;s/URL: //&#39; | tee testxss.txt<br>sort testxss.txt | uniq &gt; unique_testxss.txt</pre><p>This script filters the URLs using `GF` with the `xss` pattern, and formats the output to keep only unique entries.</p><p>3. <strong>Run Dalfox to Test for XSS</strong></p><pre>cat unique_testxss.txt | gf xss | sed &#39;s/#,*/#/&#39; | dalfox pipe</pre><p>Dalfox is used to actively test the URLs for XSS vulnerabilities.</p><h3>Alternative Tool: Ibrahim XSS Checker</h3><p>If you prefer using Ibrahim XSS Checker, you can install it as follows:</p><ol><li><strong>Download Ibrahim XSS Checker</strong>:</li><li>You can find it on GitHub or other repositories. Once downloaded, extract and navigate to the directory.</li><li><strong>Running Ibrahim XSS Checker</strong>: <a href="https://cdn.fs.teachablecdn.com/8ZAlLONKSoGfnzB6cxNv">Download</a></li><li>Use the tool with a URL and payload file:</li></ol><pre>xss-checker.exe - get - urls urls.txt - payloads payloads.txt</pre><h3>Conclusion</h3><p>You have successfully set up and automated XSS testing using several powerful tools. This automation will help you quickly identify and exploit XSS vulnerabilities, enhancing your web security assessments. Always remember to have permission before testing any web application to avoid legal issues.</p><p>By following these steps, you will streamline your XSS testing process and improve your penetration testing workflow. Happy hunting!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=753e93cf44e5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create A DNS Server for Network Monitoring and Content Filtering Without a Server Add Free Browsing]]></title>
            <link>https://medium.com/@yamin21/create-a-dns-server-for-network-monitoring-and-content-filtering-without-a-server-add-free-browsing-d978ba609176?source=rss-71b65bc4da6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/d978ba609176</guid>
            <category><![CDATA[monitoring-tools]]></category>
            <category><![CDATA[pihole]]></category>
            <category><![CDATA[dns]]></category>
            <category><![CDATA[wsl]]></category>
            <category><![CDATA[wslinux]]></category>
            <dc:creator><![CDATA[Yamin Rasel]]></dc:creator>
            <pubDate>Wed, 17 Jul 2024 14:13:02 GMT</pubDate>
            <atom:updated>2024-07-17T14:13:02.633Z</atom:updated>
            <content:encoded><![CDATA[<p>Installing Pi-hole on Windows Linux Subsystem (WSL) and Accessing it from Windows Web Browser</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XPsAVh7QAXEf4UFrXw1Lag.png" /><figcaption>Monitoring Dashboard Using Pi-Hole</figcaption></figure><h4>Introduction</h4><p><strong>Pi-hole</strong> is a popular network-wide ad blocker that functions as a DNS sinkhole. Installing Pi-hole on <strong>Windows Linux Subsystem (WSL)</strong> allows you to utilize its ad-blocking capabilities within your Windows environment. This guide will walk you through the step-by-step process of installing Pi-hole on WSL and accessing its admin interface from a web browser on Windows.</p><h4>Prerequisites</h4><ol><li>Windows Subsystem for Linux (WSL): Ensure WSL is installed on your Windows machine. You can install it from the Microsoft Store or through PowerShell.</li><li>Basic Command-Line Familiarity: Comfortable using command-line tools in a Linux environment.</li></ol><h4>Step 1: Install WSL and Update Packages</h4><ol><li>Install WSL: Open PowerShell as Administrator and run:</li></ol><pre>wsl --install</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*bepXMjXJy2mo6-gWiDCf4A.png" /><figcaption>Open PowerShell</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*LFN-O_fqs04O75skKn4bwg.png" /><figcaption>Installing WSL</figcaption></figure><p>Follow the prompts to complete the installation.</p><p>2. Update and Upgrade: Open your WSL terminal (e.g., Ubuntu) and run:</p><pre>sudo apt update<br>sudo apt upgrade</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*1ynKedhSCqbnRnoORBeWSQ.png" /><figcaption>Open WSL</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/452/1*qCBJk00SicW9iW-fnTU-Cw.png" /><figcaption>Update</figcaption></figure><h4>Step 2: Install Pi-hole on WSL</h4><ol><li>Download and Install Pi-hole: In your WSL terminal, run:</li></ol><pre>curl -sSL https://install.pi-hole.net | bash</pre><ul><li>Follow the installation prompts. Choose default settings unless you have specific network configurations.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/452/1*ykIcI2GB4LVMBZiSCvq3XQ.png" /><figcaption>Install Pi-Hole</figcaption></figure><p>2. Set Pi-hole Admin Password: During installation, set a password for the Pi-hole admin interface</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*_wadtjSNo_QmpnVpmCK5vw.png" /><figcaption>Pi-Hole Password</figcaption></figure><h4>Step 3: Configure Pi-hole Settings</h4><ol><li>Access Pi-hole Admin Interface: After installation, open a web browser on your Windows machine.</li><li>Enter WSL IP Address: Type the IP address of your WSL instance followed by /admin. For example, <a href="http://172.28.22.35/admin.">http://Your_IP/admin.</a></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*Oi2SBY66nMAxT1xk6p7ngQ.png" /><figcaption>Log In Interface</figcaption></figure><p>2. Set Up DNS Settings: Configure Pi-hole to act as your DNS server or forward DNS requests to another DNS resolver like Google (8.8.8.8) or Cloudflare (1.1.1.1).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O_iv3Opm3ZFdoNERSh0q9Q.png" /><figcaption>Pi-Hole DNS Setup</figcaption></figure><h4>Step 4: Integrate Pi-hole with Windows Network</h4><ol><li>Set Pi-hole as DNS Server: Log in to your router’s admin interface and set the DNS server address to your WSL instance’s IP address (Your_ip).</li><li>Verify Configuration: Test Pi-hole by visiting ad-heavy websites. Pi-hole should block ads effectively.</li></ol><h4>Step 5: Maintenance and Monitoring</h4><ol><li>Update Pi-hole: Periodically update Pi-hole to ensure you have the latest ad-blocking lists and features:</li></ol><pre>pihole -up</pre><p>2. Monitor Pi-hole Dashboard: Use the Pi-hole admin interface to monitor DNS queries, blocked domains, and client activity on your network.</p><h4>Conclusion</h4><p>By following these steps, you can successfully install Pi-hole on Windows Linux Subsystem (WSL), configure it to block ads on your network, and access its admin interface from a web browser on your Windows machine. Pi-hole enhances privacy and security by blocking unwanted ads and tracking domains network-wide.</p><h4>Additional Tips</h4><ul><li>Customize Blocklists: Add additional blocklists in the Pi-hole admin interface for enhanced ad-blocking.</li><li>Troubleshooting: Refer to Pi-hole documentation or community forums for assistance with any installation or configuration issues.</li></ul><h4>References</h4><ul><li>Pi-hole Documentation: <a href="https://docs.pi-hole.net/">https://docs.pi-hole.net/</a></li><li>Pi-hole Community Forums: <a href="https://discourse.pi-hole.net/">https://discourse.pi-hole.net/</a></li></ul><p>This guide provides a comprehensive approach to integrating Pi-hole into your Windows environment via WSL, ensuring effective ad blocking and network management capabilities.</p><p>For Any Support My <a href="https://www.linkedin.com/in/mdyaminrasel/">Linkedin</a></p><p>Thank You</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d978ba609176" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GNU Bash Built-in Commands on Amazon Linux Explanation]]></title>
            <link>https://medium.com/@yamin21/gnu-bash-built-in-commands-on-amazon-linux-explanation-654d6468c1a2?source=rss-71b65bc4da6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/654d6468c1a2</guid>
            <category><![CDATA[aws-commands]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-ec2]]></category>
            <category><![CDATA[linux-aws]]></category>
            <dc:creator><![CDATA[Yamin Rasel]]></dc:creator>
            <pubDate>Tue, 09 Jul 2024 00:25:16 GMT</pubDate>
            <atom:updated>2024-07-09T00:55:31.528Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*hs3PRw62ou-055d21SbuDA.png" /><figcaption>GNU Bash Built-in Commands on Amazon Linux</figcaption></figure><h3><strong>GNU Bash Built-in Commands on Amazon Linux (Version 5.2.15)</strong></h3><h4>These shell commands are defined internally in GNU Bash. Below is a detailed list and brief explanation of each command.</h4><p><strong>Job Control</strong><br>- <strong>job_spec [&amp;]: </strong>Run a job in the background. Example: `sleep 10 &amp;`.</p><p><strong>Conditional Constructs</strong><br>-<strong> (( expression ))</strong>: Evaluate an arithmetic expression. Example: (( a = 5 + 3 )).<br><strong>- if …; then …; [ elif …; then …; ]… [ else …; ] fi: </strong>Execute commands based on conditional evaluation. Example: `if [ -f file ]; then echo “File exists”; else echo “File does not exist”; fi`.<br>- <strong>case WORD in [PATTERN [| PATTERN]…) COMMANDS ;;]… esac:</strong> Multi-way branch based on pattern matching. Example: `case “$var” in pattern1) commands ;; pattern2) commands ;; esac`.</p><p><strong>Builtin Commands</strong><br>- . <strong>filename [arguments]: Source a file. Example: </strong>`. script.sh`.<br>- : <strong>[arg …]:</strong> No-op (does nothing). Often used as a placeholder. Example: `:`.<br>- <strong>alias [-p] [name[=value] … ]:</strong> Define or display aliases. Example: `alias ll=’ls -l’`.<br>- <strong>bg [job_spec …]:</strong> Resume a job in the background. Example: `bg %1`.<br>- <strong>bind [options] [keyseq:readline-function]:</strong> Set Readline key bindings. Example: `bind ‘“\C-u”: unix-line-discard’`.<br>- <strong>break [n]:</strong> Exit from a loop. Example: `break`.<br>- <strong>builtin [shell-builtin [arg …]]: </strong>Execute a shell builtin. Example: `builtin echo “Hello”`.<br>-<strong> caller [expr]:</strong> Return context of the last executed function. Example: `caller`.<br>- <strong>cd [dir]: </strong>Change the shell working directory. Example: `cd /home`.<br>- <strong>command [command [arg …]]:</strong> Execute a simple command bypassing shell functions. Example: `command ls`.<br>- <strong>compgen [options] [word]:</strong> Generate possible completions for a word. Example: `compgen -c`.</p><p>- <strong>complete [options] [name …]:</strong> Specify how arguments are completed. Example: `complete -C ‘compgen -W “start stop restart”’ service`.<br>- <strong>compopt [options] [name …]</strong>: Modify completion options. Example: `compopt +o default`.<br>- <strong>continue [n]:</strong> Resume the next iteration of a loop. Example: `continue`.<br>- <strong>coproc [NAME] command [redirections]:</strong> Create a coprocess. Example: `coproc myproc { command; }`.<br>- <strong>declare [options] [name[=value] …]:</strong> Declare variables and give them attributes. Example: `declare -i number=10`.<br>- <strong>dirs [options] [+N] [-N]: </strong>Display the directory stack. Example: `dirs -v`.<br>- <strong>disown [options] [jobspec … | pid …]:</strong> Remove jobs from the shell’s job table. Example: `disown %1`.<br>- <strong>echo [options] [arg …]:</strong> Output the arguments. Example: `echo “Hello, World!”`.<br>- <strong>enable [options] [name …]: </strong>Enable and disable shell builtins. Example: `enable -n echo`.<br>-<strong> eval [arg …]:</strong> Execute arguments as a shell command. Example: `eval $(cat script.sh)`.<br>- <strong>exec [command [arguments …]]: </strong>Replace the shell with the command. Example: `exec ls`.</p><p>- <strong>exit [n]:</strong> Exit the shell. Example: `exit 0`.<br>- <strong>export [name[=value] …]: </strong>Set environment variables. Example: `export PATH=/usr/local/bin:$PATH`.<br>- <strong>false:</strong> Return false. Example: `false`.<br>- <strong>fc [options] [first] [last]:</strong> Fix command. Example: `fc -l`.<br>- <strong>fg [job_spec]: </strong>Bring a job to the foreground. Example: `fg %1`.<br>- <strong>for NAME [in WORDS … ]; do COMMANDS; done:</strong> Loop over words. Example: `for i in 1 2 3; do echo $i; done`.<br>- <strong>for (( exp1; exp2; exp3 )); do COMMANDS; done: </strong>C-like for loop. Example: `for (( i=0; i&lt;10; i++ )); do echo $i; done`.<br>- <strong>function name { COMMANDS; }:</strong> Define a function. Example: `function hello { echo “Hello, $1”; }`.<br>- <strong>getopts optstring name [arg …]: </strong>Parse positional parameters. Example: `while getopts “ab:” opt; do case $opt in a) echo “Option A”;; b) echo “Option B $OPTARG”;; esac; done`.<br>- <strong>hash [options] [name …]:</strong> Remember or display names of commands. Example: `hash -r`.</p><p>- <strong>help [pattern …]: </strong>Display help for builtin commands. Example: `help cd`.<br>- <strong>history [options] [arg …]:</strong> Display or manipulate the history list. Example: `history -c`.<br>- <strong>jobs [options] [jobspec …]: </strong>List active jobs. Example: `jobs -l`.<br>- <strong>kill [options] [pid | jobspec …]:</strong> Send a signal to a process. Example: `kill -9 1234`.<br>- <strong>let arg [arg …]:</strong> Evaluate arithmetic expressions. Example: `let “a = 5 + 3”`.<br>- <strong>local [options] name[=value] …:</strong> Create a local variable. Example: `local var=”value”`.</p><p>- <strong>logout [n]: </strong>Exit a login shell. Example: `logout`.<br>- <strong>mapfile [options] [array]:</strong> Read lines into an array. Example: `mapfile myArray &lt; file.txt`.<br>- <strong>popd [options] [+N | -N]:</strong> Remove directories from the stack. Example: `popd +1`.<br>- <strong>printf [format [arguments]]: </strong>Format and print data. Example: `printf “%s\n” “Hello, World!”`.<br>- <strong>pushd [options] [+N | -N | dir]: </strong>Add directories to the stack. Example: `pushd /home`.<br>- <strong>pwd [options]:</strong> Print the current working directory. Example: `pwd`.<br>-<strong> read [options] [name …]: </strong>Read a line from standard input. Example: `read name`.</p><p>- <strong>readarray [options] [array]:</strong> Read lines into an array. Example: `readarray myArray &lt; file.txt`.<br>- <strong>Readonly [options] [name[=value] …]:</strong> Mark variables as readonly. Example: `readonly var=”value”`.<br>- <strong>return [n]:</strong> Exit a shell function. Example: `return 1`.<br>- <strong>select NAME [in WORDS …]; do COMMANDS; done:</strong> Generate a menu. Example: `select opt in “Option1” “Option2”; do echo $opt; done`.</p><p>- <strong>set [options] [ — ] [arg …]:</strong> Set shell options. Example: `set -x`.<br>- <strong>shift [n]:</strong> Shift positional parameters. Example: `shift 2`.<br>- <strong>shopt [options] [optname …]:</strong> Toggle shell options. Example: `shopt -s extglob`.<br>- <strong>source filename [arguments]:</strong> Source a file. Example: `source ~/.bashrc`.<br>- <strong>suspend [options]: </strong>Suspend the shell. Example: `suspend`.<br>- <strong>test [expr]:</strong> Evaluate a conditional expression. Example: `test -f file`.<br>- <strong>time [options] [pipeline]</strong>: Measure time of a command. Example: `time ls`.<br>- <strong>times:</strong> Display accumulated user and system times. Example: `times`.<br>- <strong>trap [arg] signal_spec:</strong> Execute a command when a signal is received. Example: `trap “echo signal received” SIGINT`.</p><p>-<strong> true:</strong> Return true. Example: `true`.<br>- <strong>type [options] name [name …]: </strong>Describe a command. Example: `type ls`.<br>- <strong>typeset [options] name[=value] …:</strong> Set variable values and attributes. Example: `typeset -i number=10`.<br>- <strong>ulimit [options] [limit]:</strong> Set or display resource limits. Example: `ulimit -n 1024`.<br>- <strong>umask [options] [mode]</strong>: Set file creation mask. Example: `umask 022`.<br>- <strong>unalias [name …]:</strong> Remove an alias. Example: `unalias ll`.</p><p>- <strong>unset [options] name …:</strong> Unset values and attributes of variables and functions. Example: `unset var`.</p><p>- <strong>until COMMANDS; do COMMANDS-2; done:</strong> Loop until a condition is met. Example: `until [ -f file ]; do sleep 1; done`.<br>- <strong>variables:</strong> Display shell variables and their values. Example: `variables`.<br>- <strong>wait [options] [id …]:</strong> Wait for job completion. Example: `wait %1`.<br>- <strong>while COMMANDS; do COMMANDS-2; done:</strong> Loop while a condition is met. Example</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=654d6468c1a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[To move your WSL (Windows Subsystem for Linux) Kali Linux installation from the C drive to another…]]></title>
            <link>https://medium.com/@yamin21/to-move-your-wsl-windows-subsystem-for-linux-kali-linux-installation-from-the-c-drive-to-another-b9069f26ee20?source=rss-71b65bc4da6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/b9069f26ee20</guid>
            <category><![CDATA[kali-linux]]></category>
            <category><![CDATA[change-kali-linux-storage]]></category>
            <category><![CDATA[move-wsl]]></category>
            <category><![CDATA[move-kali-linux]]></category>
            <category><![CDATA[wsl]]></category>
            <dc:creator><![CDATA[Yamin Rasel]]></dc:creator>
            <pubDate>Mon, 08 Jul 2024 15:03:04 GMT</pubDate>
            <atom:updated>2024-07-08T15:03:04.971Z</atom:updated>
            <content:encoded><![CDATA[<h4>To move your WSL (Windows Subsystem for Linux) Kali Linux installation from the C drive to another drive</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*sKqIUi4_sLzrFNIx1kKNcg.png" /><figcaption>Move your WSL</figcaption></figure><p><strong>Step 1: Export Your WSL Distribution</strong></p><p>1. Open PowerShell as Administrator: Right-click on the Start button and select “Windows PowerShell (Admin)”.</p><p>2. Export the WSL Distribution:</p><p>wsl — export &lt;DistributionName&gt; &lt;PathToExport&gt;<br><br> Replace `&lt;DistributionName&gt;` with the name of your WSL distribution (e.g., `kali-linux`) and `&lt;PathToExport&gt;` with the path where you want to export the distribution (e.g., `D:\kali-linux.tar`).</p><p>Example:<br> wsl — export kali-linux D:\kali-linux.tar</p><p><strong>Step 2: Unregister the WSL Distribution</strong></p><ol><li>Unregister the Distribution:<br> wsl — unregister &lt;DistributionName&gt;<br><br> Replace `&lt;DistributionName&gt;` with your distribution name.</li></ol><p>Example:<br><br> wsl — unregister kali-linux</p><p><strong>Step 3: Import the WSL Distribution to the New Location</strong></p><p>1. Import the Distribution to the New Location:<br><br> wsl — import &lt;NewDistributionName&gt; &lt;InstallLocation&gt; &lt;PathToExport&gt;<br><br> Replace `&lt;NewDistributionName&gt;` with the name you want to give to your new distribution (can be the same as the old name), `&lt;InstallLocation&gt;` with the new installation path (e.g., `D:\WSL\kali-linux`), and `&lt;PathToExport&gt;` with the path where you exported the distribution.</p><p>Example:<br> wsl — import kali-linux D:\WSL\kali-linux D:\kali-linux.tar</p><p><strong>Step 4: Verify the New Installation</strong></p><p>List Available WSL Distributions:<br><br> wsl — list — verbose<br> Check that your distribution is listed and running from the new location.</p><p><strong>Step 5: Clean Up</strong></p><p>1. Remove the Exported TAR File (optional):<br> If you no longer need the exported TAR file, you can delete it to free up space:<br><br> del D:\kali-linux.tar</p><p>These steps will help you move your WSL Kali Linux installation from the C drive to another drive successfully.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b9069f26ee20" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring Global OSINT Resources! ️‍♂️]]></title>
            <link>https://medium.com/@yamin21/exploring-global-osint-resources-%EF%B8%8F-%EF%B8%8F-30e80661b1d2?source=rss-71b65bc4da6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/30e80661b1d2</guid>
            <category><![CDATA[osint-tool]]></category>
            <category><![CDATA[open-source-intelligence]]></category>
            <category><![CDATA[osint]]></category>
            <category><![CDATA[osint-investigation]]></category>
            <dc:creator><![CDATA[Yamin Rasel]]></dc:creator>
            <pubDate>Fri, 22 Dec 2023 04:49:49 GMT</pubDate>
            <atom:updated>2023-12-22T04:49:49.918Z</atom:updated>
            <content:encoded><![CDATA[<p>sharing an amazing resource for Open-Source Intelligence (OSINT) enthusiasts: <a href="https://github.com/DFW1N/DFW1N-OSINT">DFW1N-OSINT</a> 🚀</p><p>🌍 DFW1N-OSINT is a fantastic collection of OSINT tools, neatly organized by country. Whether you’re into cybersecurity, threat intelligence, or just curious about online investigations, this GitHub repository is a goldmine of valuable tools! 🔍</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*65Oz1kGJuByQGeh-IUaLuA.png" /></figure><p>👉 Check it out: <a href="https://github.com/DFW1N/DFW1N-OSINT">DFW1N-OSINT</a></p><p>🗺️ What sets it apart is the meticulous categorization by country, making it a breeze to focus on specific regions of interest. Whether you’re a seasoned pro or just starting in the OSINT world, there’s something for everyone. 🌐</p><p>🙌 Big shoutout to @DFW1N for curating this incredible resource! 🙏</p><p>🚀 Let’s empower each other in the world of OSINT. Share your favorite tools or experiences below! 💬</p><p>#OSINT #Cybersecurity #ThreatIntelligence #OpenSourceIntelligence #DFW1NOSINT #InfoSec #DigitalInvestigation 🌐🔍💻</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30e80661b1d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Metasploitable 2 involves modifying the network configuration settings within the operating system.]]></title>
            <link>https://medium.com/@yamin21/metasploitable-2-involves-modifying-the-network-configuration-settings-within-the-operating-system-38156028d87d?source=rss-71b65bc4da6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/38156028d87d</guid>
            <category><![CDATA[static-ip]]></category>
            <category><![CDATA[metasploitable]]></category>
            <category><![CDATA[change-ip-address]]></category>
            <dc:creator><![CDATA[Yamin Rasel]]></dc:creator>
            <pubDate>Fri, 15 Dec 2023 19:16:50 GMT</pubDate>
            <atom:updated>2023-12-15T19:16:50.293Z</atom:updated>
            <content:encoded><![CDATA[<h3>Metasploitable 2 involves modifying the network configuration settings within the operating system. Here are the general steps to set a static IP address on Metasploitable 2</h3><p>Metasploitable 2 is a vulnerable virtual machine designed for testing and practicing penetration testing techniques. Setting a static IP address in Metasploitable 2 involves modifying the network configuration settings within the operating system. Here are the general steps to set a static IP address on Metasploitable 2:</p><p>1. **Access the Terminal/Command Line:**<br> — Log in to the Metasploitable 2 virtual machine.<br> — Open a terminal or command prompt.</p><p>2. **Edit the Network Configuration File:**<br> — Navigate to the network configuration directory. The configuration file is typically located in the `/etc/network` directory.<br> ```bash<br> cd /etc/network<br> ```</p><p>- List the contents of the directory to identify the network configuration file. It is usually named `interfaces`.<br> ```bash<br> ls<br> ```</p><p>- Open the network configuration file using a text editor. You can use `nano` or `vi` as follows:<br> ```bash<br> sudo nano interfaces<br> ```<br> or<br> ```bash<br> sudo vi interfaces<br> ```</p><p>3. **Edit the Configuration:**<br> — Locate the section that corresponds to the network interface you want to configure. The primary network interface is often named `eth0`.<br> — Modify the configuration to set a static IP address. Replace the existing configuration with something like the following:<br> ```plaintext<br> auto eth0<br> iface eth0 inet static<br> address 192.168.1.10 # Set your desired static IP address<br> netmask 255.255.255.0 # Set your subnet mask<br> gateway 192.168.1.1 # Set your gateway (router) address<br> ```</p><p>- Save the changes and exit the text editor.</p><p>4. **Restart the Network Service:**<br> — Restart the network service to apply the changes.<br> ```bash<br> sudo service networking restart<br> ```</p><p>Alternatively, you can reboot the Metasploitable 2 virtual machine for the changes to take effect.</p><p>5. **Verify the Changes:**<br> — Verify that the changes have been applied by checking the network configuration.<br> ```bash<br> ifconfig<br> ```</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0yIGlBeNRcsO7IGRCy_T5Q.png" /></figure><p>- Look for the network interface (`eth0` in this example) and confirm that it has the static IP address you specified.</p><p>Remember to replace the placeholder values (IP address, subnet mask, gateway) with your actual network configuration. After setting the static IP address, you should be able to access Metasploitable 2 using the new IP address.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38156028d87d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Purple Teaming Fundamentals Quiz Answer]]></title>
            <link>https://medium.com/@yamin21/purple-teaming-fundamentals-quiz-answer-c810f5dbd347?source=rss-71b65bc4da6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/c810f5dbd347</guid>
            <category><![CDATA[purple]]></category>
            <category><![CDATA[quize]]></category>
            <category><![CDATA[purple-team]]></category>
            <dc:creator><![CDATA[Yamin Rasel]]></dc:creator>
            <pubDate>Tue, 24 Oct 2023 05:43:47 GMT</pubDate>
            <atom:updated>2023-10-24T05:43:47.850Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*_YAThEU6XBbjrH_-K7vBDw.png" /></figure><p>Question 1</p><p>You receive an alert from your intrusion detection system (IDS) indicating suspicious network traffic originating from a critical server. The traffic patterns are inconsistent with normal server behavior. What is your initial response?</p><p><strong>a) Isolate the critical server from the network to prevent further suspicious activity.</strong></p><p>b) Investigate the suspicious traffic immediately to determine the nature of the incident.</p><p>c) Ignore the alert as it might be a false positive.</p><p>d) Shut down the entire network to prevent any potential threats.</p><p>Question 2</p><p>Multiple employees report receiving an email that appears to be a phishing attempt. The email instructs them to click on a link and provide their login credentials. What action should you take as a Blue Team member?</p><p>a) Analyze the email for indicators of compromise and report it to relevant authorities</p><p>b) Immediately send a warning to all employees about the phishing attempt.</p><p><strong>c) Block the sender’s email address on the email gateway.</strong></p><p>d) Do nothing, as it’s the responsibility of individual employees to handle such emails.</p><p>Question 3</p><p>You’ve been called to investigate a potential data breach in a corporate environment. The affected system is still powered on. What is your initial response to preserve digital evidence?</p><p>a) Immediately shut down the system to prevent further data loss.</p><p><strong>b) Create a forensic image of the system’s storage devices.</strong></p><p>c) Start collecting logs from the system without making any changes.</p><p>d) Contact the IT department to perform a system backup.</p><p>Question 4</p><p>Your SIEM (Security Information and Event Management) system has generated an alert about a user account that is accessing sensitive HR files at an unusual time. What is your initial response as a SOC investigator?</p><p>a) Immediately disable the user’s account to prevent further unauthorized access.</p><p><strong>b) Investigate the alert to determine if it’s a legitimate or false positive incident.</strong></p><p>c) Alert the HR department and request their intervention.</p><p>d) Ignore the alert since users may access HR files at any time.</p><p>Question 5</p><p>A firewall alert indicates a high number of outbound connections to known malicious IP addresses. What type of security incident would you classify this as?</p><p>a) Phishing attack.</p><p>b) Denial of Service (DoS) attack.</p><p><strong>c) Data exfiltration.</strong></p><p>d) Malware infection.</p><p>Question 6</p><p>In the Windows Security Event Log, you come across multiple instances of Event ID 4624, indicating successful logins to a critical server. What should you investigate or consider in response to this information?</p><p>a) Investigate the source IP addresses for possible unauthorised access.</p><p>b) Ignore the event as it signifies successful logons, which are not a concern.</p><p><strong>c) Check the user accounts and review the logon times for anomalies.</strong></p><p>d) Immediately shut down the server to prevent further logins.</p><p>Question 7</p><p>An attacker uses a process hollowing technique to hide their malicious code within a legitimate Windows process. What category of tactic does this fall under?</p><p><strong>a) Defense Evasion</strong></p><p>b) Execution</p><p>c) Credential Access</p><p>d) Persistence</p><p>Question 8</p><p>You’re testing a login page on a web application, and you enter the following in the ‘password’ field: ‘ OR ‘1’=’1. Surprisingly, you’re granted access to the system without the correct password. What vulnerability have you just exploited?</p><p>a) Cross-Site Scripting (XSS)</p><p>b) Insecure Direct Object Reference (IDOR)</p><p><strong>c) Authentication Bypass via SQL Injection</strong></p><p>d) Cross-Site Request Forgery (CSRF)</p><p>Question 9</p><p>You’re a developer building a web application that accepts user inputs. What’s the most effective way to prevent SQL Injection attacks in your code?</p><p>a) Use client-side validation to filter out malicious inputs.</p><p><strong>b) Properly sanitize and escape user inputs before incorporating them into SQL queries.</strong></p><p>c) Disable user inputs in your application to minimize the risk.</p><p>d) Rely on the web application firewall to handle SQL Injection prevention.</p><p>Question 10</p><p>You see multiple instances of Event ID 7036 in the Windows System Event Log, indicating Service Control Manager events. What should you consider in response to these events?</p><p><strong>a) Investigate the details to determine which services are starting or stopping.</strong></p><p>b) Disable the Service Control Manager to prevent further events.</p><p>c) Ignore the events, as they are routine service management tasks.</p><p>d) Reboot the system to clear the event log.</p><p>Question 11</p><p>Investigate the give IP and determine its repudiation 198[.]199[.]98[.]85</p><p>a) Clean</p><p><strong>b) Malicious</strong></p><p>Question 12</p><p>An employee at a small business receives an email with an attachment claiming to be an invoice from a known vendor. The employee opens the attachment, unknowingly activating ransomware that encrypts critical business files. What phase of a ransomware attack does this represent?</p><p><strong>a) Delivery</strong></p><p>b) Encryption</p><p>c) Command and Control</p><p>d) Extortion</p><p>Question 13</p><p>A small business falls victim to ransomware that encrypts their critical files. Fortunately, they have maintained regular backups of their data. What should be the immediate response in this situation?</p><p>a) Pay the ransom to quickly recover the files.</p><p><strong>b) Isolate the infected systems, remove the ransomware, and restore data from backups.</strong></p><p>c) Notify the authorities and launch a counterattack against the attackers.</p><p>d) Ignore the incident, as the backup process is too time-consuming.</p><p>Question 14</p><p>Identify the name of the given malicious hash [9836b7c17b04a606a09b9ca3de82d4bf87214ba636454bb81801398ee65bdf92]</p><p><strong>a) cnwJX[.]exe</strong></p><p>b) test[.]exe</p><p>c) ATusz[.]dll</p><p>d) ZeiW[.]exe</p><p>Question 15</p><p>Your IP reputation checking system has flagged an IP address as suspicious, but further investigation reveals that it belongs to a legitimate organisation. What is the term for this situation?</p><p>a) True Positive</p><p><strong>b) False Positive</strong></p><p>c) True Negative</p><p>d) False Negative</p><p>Question 16</p><p>You’re investigating a security incident, and you need to connect the dots between different log sources to understand the full scope of the attack. What process are you engaged in?</p><p>a) Log consolidation</p><p>b) Log retention</p><p><strong>c) Log correlation</strong></p><p>d) Log deletion</p><p>Question 17</p><p>You are an IT security professional explaining purple teaming to a colleague. What best defines the core concept of purple teaming?</p><p>a) An adversarial assessment conducted by external red teamers.</p><p><strong>b) A collaborative exercise involving red teamers and blue teamers to improve security defenses.</strong></p><p>c) A routine penetration test conducted by the internal security team.</p><p>d) A compliance audit to assess regulatory adherence.</p><p>Question 18</p><p>A company has completed a purple team engagement and identified several security weaknesses. What should be the next step for the organization?</p><p>a) Disband the purple team and ignore the findings.</p><p>b) Implement immediate fixes without further analysis.</p><p><strong>c) Use the findings to improve security controls and procedures.</strong></p><p>d) Number of new employees hired.</p><p>Question 19</p><p>In a purple team exercise, which of the following metrics is most important for measuring the success of the engagement?</p><p>a) Number of vulnerabilities discovered.</p><p>b) Duration of the engagement.</p><p><strong>c) Improved detection and response times.</strong></p><p>d) Number of new employees hired.</p><p>Question 20</p><p>A malware-infected computer is attempting to communicate with a remote server. Which type of communication is this, and what is the role of the C2 server in this context?</p><p><strong>a) Inbound communication; the C2 server receives commands from the infected device.</strong></p><p>b) Outbound communication; the C2 server sends updates to the infected device.</p><p>c) Peer-to-peer communication; the C2 server acts as a mediator between two infected devices.</p><p>d) Encrypted communication; the C2 server protects the infected device from cyberattacks.</p><p>Question 21</p><p>Which of the following tools is not for an Blue team operation?</p><p>a) IDS/IP</p><p>b) SIEM</p><p>c) Threat Intelligence</p><p><strong>d) Sliver &amp; Mythic</strong></p><p>Question 22</p><p>Investigate the below mentioned Snippet and determine the attack patterns.</p><p>a) FTP Brute Forcing</p><p>b) Telnet Brute Forcing</p><p><strong>c) SSH Brute Forcing</strong></p><p>d) Password Brute Forcing</p><p>Question 23</p><p>Decode the values in the following Snort rule: alert http any any -&gt; any any (msg:”Possible XSS Attack — JavaScript Events Detected”; flow:to_server,established; content:”onmouseover=”; nocase; http_uri; content:”onload=”; nocase; http_uri; classtype:web-application-attack; sid:03; rev:1;)</p><p>a) The rule triggers an alert for any protocol traffic from any source IP and port to any destination IP and port.</p><p>b) The rule triggers an alert for TCP traffic from any source IP and port to any destination IP and port.</p><p>c) The rule triggers an alert for HTTP traffic from any source IP and port to any destination IP and port, with the payload containing “GET”.</p><p><strong>d) The rule triggers an alert for HTTP traffic from any source IP and port to any destination IP and port, with the payload containing “onmouseover=” and “onload=”</strong></p><p>Question 24</p><p>Which of the following conditions triggers the “Unauthorized Access Attempt” rule in the scenario?</p><p>a) Any login attempts to any server</p><p><strong>b) Three or more failed login attempts from the same IP address within a 5-minute window</strong></p><p>c) Successful login attempts from any IP address</p><p>d) Any network traffic on port 80</p><p>Question 25</p><p>From the give image identify the tool which used to download malicious files on the system</p><p>a) Bind shell</p><p>b) Reverse shell</p><p><strong>c) Wget</strong></p><p>DNSExfiltrator</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c810f5dbd347" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Various troubleshooting tools]]></title>
            <link>https://medium.com/@yamin21/various-troubleshooting-tools-58701523af2d?source=rss-71b65bc4da6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/58701523af2d</guid>
            <category><![CDATA[troubleshoot]]></category>
            <category><![CDATA[troubleshooting]]></category>
            <category><![CDATA[troubleshooting-tips]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[network-security]]></category>
            <dc:creator><![CDATA[Yamin Rasel]]></dc:creator>
            <pubDate>Sun, 24 Sep 2023 17:01:25 GMT</pubDate>
            <atom:updated>2023-09-24T17:01:25.285Z</atom:updated>
            <content:encoded><![CDATA[<p>1. Traceroute (tracert in Microsoft) 🌐<br> #Traceroute #NetworkTroubleshooting<br> Traceroute helps you trace the path that data packets take through the internet, showing each hop’s latency.</p><p>2. ipconfig / winipcfg (ifconfig in Unix) 💻<br> #ipconfig #ifconfig #NetworkConfiguration<br> These commands display network configuration information, including IP addresses and related settings.</p><p>3. Ping 📡<br> #Ping #NetworkTesting<br> Ping is used to test the reachability of a network host by sending echo requests and receiving echo replies.</p><p>4. ARP 🌐<br> #ARP #AddressResolutionProtocol<br> ARP resolves IP addresses to MAC addresses in a local network, ensuring data is sent to the correct device.</p><p>5. nslookup (dig in Unix) 🔍<br> #nslookup #DNSLookup<br> These tools query DNS servers to look up information about domain names and their corresponding IP addresses.</p><p>6. Mtr (pathping) 🚀<br> #Mtr #Pathping #NetworkDiagnosis<br> Mtr combines the features of ping and traceroute, providing detailed network path and latency information.</p><p>7. Route 🛣️<br> #Route #RoutingTable<br> The “route” command in both Windows and Unix allows you to view and manage routing tables on your device.</p><p>8. nbtstat 📇<br> #nbtstat #NetBIOS<br> Nbtstat is a Windows tool that displays NetBIOS-related information, helping troubleshoot NetBIOS name resolution.</p><p>9. Netstat 📈<br> #Netstat #NetworkStatistics<br> Netstat provides information about active network connections, listening ports, and network statistics.</p><p>10. FTP 📁<br> #FTP #FileTransferProtocol<br> FTP (File Transfer Protocol) is used for transferring files over a network, often used for troubleshooting file transfer issues.</p><p>11. Telnet ☎️<br> #Telnet #RemoteAccess<br> Telnet allows you to establish a command-line connection to a remote device, useful for testing network accessibility.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-itFva7y1ULlm4bTg-FZPQ.png" /><figcaption>various troubleshooting tools</figcaption></figure><p>These tools are invaluable for diagnosing and resolving various network-related issues. #TroubleshootingTools #Networking #ITSupport 🛠️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58701523af2d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>