<?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 Pallabsadhukhan on Medium]]></title>
        <description><![CDATA[Stories by Pallabsadhukhan on Medium]]></description>
        <link>https://medium.com/@pallabsadhukhan90?source=rss-5d60aad31a30------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*v74TrHLO1Rg5O9JtRHMfVg.jpeg</url>
            <title>Stories by Pallabsadhukhan on Medium</title>
            <link>https://medium.com/@pallabsadhukhan90?source=rss-5d60aad31a30------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 13:00:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pallabsadhukhan90/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[SIEM(Security Information & Event Management )]]></title>
            <link>https://medium.com/@pallabsadhukhan90/siem-security-information-event-management-1b4db2b7fd7c?source=rss-5d60aad31a30------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b4db2b7fd7c</guid>
            <dc:creator><![CDATA[Pallabsadhukhan]]></dc:creator>
            <pubDate>Sun, 01 Jun 2025 07:35:21 GMT</pubDate>
            <atom:updated>2025-06-01T07:35:21.621Z</atom:updated>
            <content:encoded><![CDATA[<h3>SIEM Architecture: Core Components &amp; Their Functions</h3><h3>1. Data Collection Layer (Ingestion)</h3><p><strong>Purpose</strong>: Collect logs, events, and telemetry from diverse sources</p><p><strong>Key Components</strong>:</p><ul><li><strong>Agents/Forwarders</strong>: Installed on endpoints or servers<br> <em>Examples</em>: Filebeat, OSSEC Agent, NXLog, Winlogbeat</li><li><strong>Collectors</strong>: Pull logs from APIs or third-party services<br> <em>Examples</em>: CloudWatch connector, Azure Event Hubs input</li><li><strong>Log Types Collected</strong>:</li><li>System logs (Windows Event Logs, Syslog)</li><li>Firewall, IDS/IPS, Antivirus log</li><li>Application log</li><li>Cloud logs (AWS, Azure, GCP)</li><li>Network flow data (NetFlow, sFlow)</li></ul><h3>2. Parsing &amp; Normalization Layer</h3><p><strong>Purpose</strong>: Structure raw log data into a standard format for analysis</p><p><strong>Key Components</strong>:</p><ul><li><strong>Parsers</strong>: Extract fields from raw logs<br> <em>Examples</em>: Logstash filters, ArcSight FlexConnectors, QRadar DSMs</li><li><strong>Normalization Engines</strong>: Map data to a common schema<br> <em>Examples</em>: ECS (Elastic Common Schema), CEF (Common Event Format), LEEF, JSON</li><li><strong>Field Mapping</strong>: Ensures log fields from different vendors mean the same thing<br> (e.g., src_ip, source.address, source_ip → all become source.ip)</li></ul><h3>3. Data Storage &amp; Indexing Layer</h3><p><strong>Purpose</strong>: Store, index, and manage data for fast retrieval and compliance</p><p><strong>Key Components</strong>:</p><ul><li><strong>Storage Backend</strong>: Database or data lake<br> <em>Examples</em>: Elasticsearch, PostgreSQL, proprietary DBs</li><li><strong>Indexing Engine</strong>: Optimizes search and retrieval</li><li><strong>Retention Policies</strong>: Controls how long logs are stored (hot/warm/cold/archive)</li><li><strong>Compression/Archiving</strong>: For cost-efficient storage of old data</li></ul><h3>4. Correlation &amp; Detection Engine</h3><p><strong>Purpose</strong>: Analyze log data to detect suspicious patterns and threats</p><p><strong>Key Components</strong>:</p><ul><li><strong>Correlation Rules</strong>: Define how multiple events create a security incident<br> <em>Example</em>: 5 failed logins + login from unusual IP = brute-force attempt</li><li><strong>Detection Engines</strong>: Match data against rules or behavior profiles<br> <em>Examples</em>:</li><li>Rule-based (QRadar, Wazuh)</li><li>Query-based (Splunk SPL, KQL)</li><li>ML-based (Microsoft Sentinel, Elastic ML jobs)</li><li><strong>Threat Intelligence Integration</strong>: Matches IOCs from TI feeds</li></ul><h3>5. Alerting &amp; Notification System</h3><p><strong>Purpose</strong>: Notify analysts when threats or anomalies are detected</p><p><strong>Key Components</strong>:</p><ul><li><strong>Alert Rules</strong>: Trigger on thresholds, anomalies, matches</li><li><strong>Notification Channels</strong>:</li><li>Email</li><li>Slack/Teams</li><li>Webhooks</li><li>SOAR platforms (for automated response)</li><li><strong>Severity Levels</strong>: Categorize alerts as Low/Medium/High/Critical</li></ul><h3>6. Visualization &amp; Dashboards</h3><p><strong>Purpose</strong>: Provide UI for searching, monitoring, and reporting</p><p><strong>Key Components</strong>:</p><ul><li><strong>Dashboards</strong>: Prebuilt or custom views of logs/alerts/threats</li><li><strong>Search &amp; Query Interface</strong>: For threat hunting and investigations<br> <em>Examples</em>: Kibana (KQL), Splunk (SPL), Graylog query language</li><li><strong>Reporting Module</strong>: Generate automated compliance or incident reports</li></ul><h3>7. User Management &amp; Access Control</h3><p><strong>Purpose</strong>: Ensure only authorized users access data and features</p><p><strong>Key Components</strong>:</p><ul><li><strong>Role-Based Access Control (RBAC)</strong></li><li><strong>Authentication Integration</strong>: LDAP, SSO, MFA, OAuth</li><li><strong>Audit Logs</strong>: Track user actions within the SIEM</li></ul><h3>8. Integration &amp; Automation Layer</h3><p><strong>Purpose</strong>: Enhance response and interoperability with other tools</p><p><strong>Key Components</strong>:</p><ul><li><strong>SOAR Integration</strong>: Automate response workflows<br> <em>Example</em>: Auto-quarantine machine after high-severity alert</li><li><strong>Third-party Connectors</strong>: Connect with EDRs, firewalls, cloud apps</li><li><strong>APIs</strong>: For custom automation, ingestion, or querying</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Dte3hyB7pgQiaxhd" /></figure><h3>DIFFERENT SIEMS:</h3><h3>Research on Splunk SIEM</h3><h3>1. Overview of Splunk as a SIEM</h3><p>Splunk is a data analytics platform primarily used for searching, monitoring, and analyzing machine-generated big data via a web-style interface. As a SIEM, it helps with:</p><ul><li><strong>Real-time monitoring and alerts</strong></li><li><strong>Log aggregation and normalization</strong></li><li><strong>Threat detection and investigation</strong></li><li><strong>Compliance reporting</strong></li></ul><p><strong>Key Features:</strong></p><ul><li>Data ingestion from multiple sources (logs, metrics, APIs)</li><li>Advanced search with SPL (Search Processing Language)</li><li>Visual dashboards</li><li>Machine learning capabilities</li><li>Add-ons for security (e.g., Splunk Enterprise Security)</li></ul><h3>2. Splunk SIEM Ingestion Procedure</h3><p>Ingestion refers to the process of bringing in data from different sources into Splunk for analysis.</p><h4>Methods of Ingesting Data:</h4><p><strong>Method</strong></p><p><strong>Description</strong></p><p><strong>Universal Forwarder</strong></p><p>Lightweight agent installed on source machines to forward logs</p><p><strong>Heavy Forwarder</strong></p><p>Forwarder with filtering and parsing capabilities</p><p><strong>HTTP Event Collector (HEC)</strong></p><p>API-based ingestion — apps can send JSON over HTTP/S</p><p><strong>Syslog</strong></p><p>Network protocol to receive device logs (firewalls, routers, etc.)</p><p><strong>File Monitoring</strong></p><p>Directly reads from log files or directories</p><p><strong>Cloud Connectors</strong></p><p>AWS, Azure, GCP integrations via apps or add-ons</p><p><strong>Add-ons/Apps</strong></p><p>Pre-built connectors for specific sources (e.g., Cisco, Windows, Palo Alto)</p><h4>Example Ingestion Flow (Syslog Example):</h4><ol><li>Device (e.g., firewall) sends logs via <strong>Syslog (UDP 514)</strong> to Splunk.</li><li>Splunk <strong>receives</strong> data via a <strong>listening port</strong> (configured in inputs.conf).</li><li>Data is <strong>indexed</strong> and stored.</li><li>Analysts use <strong>SPL</strong> to query and visualize the data.</li></ol><h3>3. Configuration Files Involved</h3><ul><li>inputs.conf: Defines how and what data Splunk collects.</li><li>Outputs.conf: Controls where data is sent (e.g., indexers).</li><li>props.conf &amp; transforms.conf: Handle parsing, field extraction, and data transformations.</li></ul><h3>4. Splunk Architecture for SIEM</h3><ul><li><strong>Forwarders</strong>: Collect and send data</li><li><strong>Indexers</strong>: Store and index data</li><li><strong>Search Head</strong>: UI for querying and dashboarding</li><li><strong>Deployment Server</strong> (optional): Manages the configuration of forwarders</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Q92X3mhSfNjEwFgY" /></figure><h3>Deep Analysis of Elastic SIEM</h3><h3>1. Overview</h3><p>Elastic SIEM is part of the Elastic Security offering, built on the ELK Stack (Elasticsearch, Logstash, Kibana). It provides real-time visibility and security analytics for infrastructure and cloud environments.</p><ul><li><strong>Vendor</strong>: Elastic N.V.</li><li><strong>Type</strong>: Open-source core, commercial tiers available</li><li><strong>Target Market</strong>: Enterprises, DevSecOps teams, Cloud-native orgs, Security researchers</li></ul><h3>2. Architecture</h3><ul><li><strong>Core Components</strong>:</li><li><strong>Elasticsearch</strong> — Search and analytics engine</li><li><strong>Logstash</strong> — Data processing pipeline</li><li><strong>Kibana</strong> — Visualization and management interface</li><li><strong>Beats</strong> — Lightweight data shippers</li><li><strong>Deployment Options</strong>: On-prem, Cloud (Elastic Cloud on AWS/GCP/Azure), Kubernetes</li><li><strong>Scalability</strong>: Horizontal scaling via Elasticsearch nodes and load balancing</li></ul><h3>3. Ingestion Procedure</h3><ul><li><strong>Supported Data Sources</strong>:</li><li>Operating systems, firewalls, IDS/IPS, cloud platforms (AWS, Azure, GCP), containers, apps</li><li><strong>Log Forwarders/Agents</strong>:</li><li><strong>Beats</strong>: Filebeat (logs), Metricbeat (metrics), Auditbeat (audit logs), Packetbeat (network data)</li><li><strong>Ingestion Pipeline</strong>:</li><li>Data collected by Beats or Logstash</li><li>Parsed/enriched by Logstash (optional)</li><li>Indexed into Elasticsearch</li><li>Visualized in Kibana</li><li><strong>Supported Formats</strong>:</li><li>JSON, Syslog, ECS (Elastic Common Schema), CSV, GELF, CEF (with parser)</li><li><strong>Rate Limits/Data Caps</strong>: No enforced caps in open-source, performance depends on infra</li></ul><h3>4. Parsing &amp; Normalization</h3><ul><li><strong>Parsing Engine</strong>:</li><li>Logstash pipelines or Beats modules</li><li><strong>Schema Used</strong>:</li><li>Elastic Common Schema (ECS) — standard field names for normalization</li><li><strong>Field Mapping</strong>:</li><li>Done in Logstash or directly in Beats via modules</li><li>Supports auto-index mapping in Elasticsearch</li></ul><h3>5. Correlation &amp; Alerting</h3><ul><li><strong>Correlation Engine</strong>:</li><li>Detection Engine in Kibana (rules-based)</li><li><strong>Threat Intelligence Integration</strong>:</li><li>Native integrations with Elastic’s TI feed, MISP, and AbuseIPDB via connectors</li><li><strong>Rules</strong>:</li><li>Built-in rule library + user-defined detection rules (YAML-based)</li><li><strong>Alert Outputs</strong>:</li><li>Email, Slack, Webhooks, ServiceNow, PagerDuty, custom connectors</li></ul><h3>6. Visualization &amp; Dashboards</h3><ul><li><strong>Dashboards and Analytics Tools</strong>:</li><li>Kibana Lens, SIEM App (Elastic Security tab)</li><li><strong>Custom Report Capabilities</strong>:</li><li>Canvas, PDF reporting (commercial only), Dashboard snapshots</li><li><strong>Threat Hunting Support</strong>:</li><li>Kibana Query Language (KQL), Lucene DSL, timeline investigations</li></ul><h3>7. Storage &amp; Retention</h3><ul><li><strong>Storage Backend</strong>:</li><li>Elasticsearch</li><li><strong>Indexing Features</strong>:</li><li>Time-based indices, ILM (Index Lifecycle Management)</li><li><strong>Retention Policies</strong>:</li><li>Configurable via ILM: hot → warm → cold → delete/archive</li><li><strong>Archiving Mechanisms</strong></li><li>Snapshot and restore to S3 or GCS buckets</li></ul><h3>8. Pros and Cons</h3><p>Open-source &amp; flexible</p><p>Requires tuning &amp; initial setup</p><p>Highly scalable</p><p>Complex for non-technical users</p><p>ECS standardization</p><p>Alerting/reporting is limited in the free tier</p><p>Supports multiple data types</p><p>Manual rule creation is needed</p><h3>9. Use Cases &amp; Best Fit</h3><ul><li><strong>Ideal Environments</strong>:</li><li>Cloud-native and hybrid infrastructures</li><li>DevSecOps pipelines</li><li>Organizations requiring flexibility over vendor lock-in</li><li><strong>Real-world Scenarios</strong>:</li><li>Container security monitoring</li><li>Threat hunting and incident response</li><li>Compliance and anomaly detection</li><li><strong>Compliance Standards Supported</strong>:</li><li>PCI-DSS, HIPAA, NIST, GDPR (via custom dashboards and rules)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*M0WEyPjpQg54T4CT" /></figure><h3>Research on Wazuh SIEM</h3><h3>1. Overview of Wazuh as a SIEM</h3><p>Wazuh is a <strong>free, open-source security monitoring platform</strong> used for:</p><ul><li><strong>Log analysis</strong></li><li><strong>Intrusion detection</strong></li><li><strong>File integrity monitoring</strong></li><li><strong>Vulnerability detection</strong></li><li><strong>Compliance reporting</strong></li></ul><p>It combines a <strong>host-based intrusion detection system (HIDS)</strong> with a <strong>centralized SIEM-like server</strong> and uses <strong>Elastic Stack (Elasticsearch, Logstash, Kibana)</strong> for log storage and visualization.</p><h3>2. Wazuh Ingestion Procedure</h3><p>Wazuh collects and analyzes data using agents installed on endpoints and sends the logs to a central server for analysis.</p><h4>Methods of Data Ingestion:</h4><p><strong>Method</strong></p><p><strong>Description</strong></p><p><strong>Wazuh Agent</strong></p><p>Lightweight agent installed on endpoints (Linux, Windows, Mac) to collect logs, monitor files, and check vulnerabilities</p><p><strong>Syslog</strong></p><p>Collect logs from network devices (routers, firewalls, etc.) using UDP/TCP</p><p><strong>API Inputs</strong></p><p>Integrate cloud services (AWS, GCP, Azure) for metadata/logs</p><p><strong>Filebeat</strong></p><p>Used with Elastic Stack to collect and forward logs from files</p><p><strong>Agentless Monitoring</strong></p><p>SSH-based log collection for devices that can’t install agents</p><h3>3. Example Ingestion Flow</h3><ol><li><strong>Wazuh Agent</strong> collects logs and sends them to the <strong>Wazuh Manager</strong>.</li><li>The Manager processes and analyzes logs using <strong>decoders and rules</strong>.</li><li>Logs are forwarded to <strong>Elasticsearch</strong> for indexing.</li><li><strong>Kibana</strong> (with Wazuh plugin) provides dashboards, alerts, and visualizations.</li></ol><h3>4. Wazuh Architecture Components</h3><ul><li><strong>Agent</strong>: Installed on monitored endpoints</li><li><strong>Manager</strong>: Central component that analyzes and correlates logs</li><li><strong>Indexer (Elasticsearch)</strong>: Stores indexed data</li><li><strong>Dashboard (Kibana)</strong>: Web UI for visualization</li><li><strong>Filebeat</strong>: Optional log shipper to Elasticsearch</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cM-FVmKXp1Q0kKPd" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b4db2b7fd7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning system hacking through CTFS:]]></title>
            <link>https://medium.com/@pallabsadhukhan90/learning-system-hacking-through-ctfs-ccc7f8fa5225?source=rss-5d60aad31a30------2</link>
            <guid isPermaLink="false">https://medium.com/p/ccc7f8fa5225</guid>
            <dc:creator><![CDATA[Pallabsadhukhan]]></dc:creator>
            <pubDate>Tue, 21 Jan 2025 12:16:24 GMT</pubDate>
            <atom:updated>2025-01-21T12:16:24.197Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, everyone. I, Pallab Sadhukhan, am a student and a cyber security enthusiast. Today&#39;s blog is about “system hacking.“I will post a blog about my “system hacking&quot; learning. So here is my first Blog related to this: Tryhackme “Pickle Rick” CTF.</p><p>Here is the link to the CTF “<strong>Pickle Rick.” Let&#39;s start:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nCu-F-6f1B6BlYQGbKBOcw.png" /></figure><p>We switch on the machine from the start machine and grab the machine’s IP. After getting the IP, we will do our first step of system hacking, info gathering, and reconnaissance. In the Recon step, we will do some scans on that machine to find what services are running versions of those services (for finding vulnerabilities) and other information gathering.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*qm2NEgjwIE_-0bIrESFzUQ.png" /></figure><p>Here is the full scan report from the <a href="https://nmap.org/">Nmap</a> report scan. We can notice that a web service is running on our IP. Let’s check that:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lcTkoGPIF_dUjVXcnKRm7Q.jpeg" /></figure><p>From that text we can get some info like that Morty can be a user, and there is another user who lost his password and needs help Also, a tool is mentioned here, &#39;Burpsuite.’ Sometimes those texts are written to divert the attackers. Let&#39;s see the source page; this is also a part of info gathering; we could find something.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NuktCxnXob74ANe0TG6trg.png" /></figure><p>As I said, we can find some information from the source code also. We can see that there is a comment</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*zIvcTYjWUyO7rSRYmE4xWQ.png" /></figure><p>here we found another username, &quot;RickRul3s.</p><p>Now that it is a web machine, we can do some further recon, like directory finding. So we will use dirbuster, a good directory-finding tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*owB5BlYsBgI5kMt8WJeWRw.png" /></figure><p>After running Dirb we can see there are some directories like /robots.txt, /login.php, and/assets. We will open one by one first: /robots.txt :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*biPEEUS6wQLbJ7IbBB_Zrg.png" /></figure><p>Owao here we also get something; let’s write down it: “<strong><em>Wubbalubbadubdub”</em></strong></p><p>Now/login.php :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*HtS1K-Ql5HMRV3v4RsdkjA.jpeg" /></figure><p>a login page so from recon part we find a username: “<strong><em>R1ckRul3s”</em></strong></p><p>and also a word we get: “<strong><em>Wubbalubbadubdub”</em></strong></p><p>Now, from a hacker mindset, we need to hit and try every piece of information that we get from the recon part. We can do brut-force for the pass, but that could be time-consuming, and sometimes we cannot find the pass either. so let&#39;s try that “<strong><em>Wubbalubbadubdub” word as a password</em></strong></p><p>Let&#39;s see what we will get after putting use and pass:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*FkkzNVJ9rG27CD9d.gif" /></figure><p>We are in!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*Ojf_qc0mCagzUi8p.png" /></figure><p>A cmd panel, so obviously we will do cmd injection’</p><p>Let&#39;s put our first command ls:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*1hDuoXUnbyorFFfK.png" /></figure><p>Now cat our first flag: “ <strong><em>cat Sup3rS3cretPickl3Ingred.txt ”</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*zCWrH88ZWS016gxINXRL4Q.gif" /></figure><p>wait what! We can not use the “cat” command the command is blocked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*5klQp_ZUPaP9_u0EDRfdMA.gif" /></figure><p>Sometimes the creators make some tricks to make ctfs complicated. Let’s find an alternative cmd of ls. We can use less command also as an alternative.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NHGymJJ3ldK7BL6ZjksYsA.png" /></figure><p>And we got our first Flag boom!</p><p>For the Nxt Flag, we need to change our directory and go to another directory. But wait what! Directory changing is also not allowed on this Machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*5fSSQp-aS-4X-yOs9wyytg.gif" /></figure><p>The creator uses “System Hardening” to restrict attackers from changing directories. Let’s do something like staying on the var/www directory cat the second Flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EZSmCF5hk3kE1Kln5LWT_w.png" /></figure><p>For the root flag, we need to go to the root directory in the same way</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*glU0mdijHIwnWMuaUs79YQ.png" /></figure><p>finally, we got our 3 flags!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FZL0O_KqfJB6DWJUtihSqA.png" /></figure><p>Learning Note:</p><p>1 learned about Web app pen-testing. How we do web app pen-testing, steps in web app pen-testing.</p><p>2 learned about Command injection.</p><p>3 learned about system hardening . Also how to bypass it and how to access all files with limited access.</p><p>Hope you will clap for me and put some comments on my first CFT in the“System Hacking” series we will meet another on CTF on another day till then goodbye.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*pVPpsmOLcC3qlaffR55KVw.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccc7f8fa5225" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tryhackme-Room-Probe]]></title>
            <link>https://medium.com/@pallabsadhukhan90/tryhackme-room-probe-296f65e3d642?source=rss-5d60aad31a30------2</link>
            <guid isPermaLink="false">https://medium.com/p/296f65e3d642</guid>
            <dc:creator><![CDATA[Pallabsadhukhan]]></dc:creator>
            <pubDate>Mon, 26 Feb 2024 06:53:41 GMT</pubDate>
            <atom:updated>2024-02-26T06:53:41.378Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oCdSUxGGgd41V1Y-1DfVFg.png" /></figure><p>Detailed writeup/walkthrough about Tryhackme room Probe with question answers. You can find the room <a href="https://tryhackme.com/room/probe">here</a>.</p><p><strong>Let’s start the scanning with NMAP:</strong></p><p><strong>:nmap -A -sC Machine IP</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CKe8Q1yWvuu5no6SnOhKTw.png" /></figure><p>1:<strong> What is the version of the Apache server?</strong></p><p>Answer: <strong><em>2.4.41</em></strong></p><p>2: <strong>What is the port number of the FTP service?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*uzue-viGetg7ddxiAPJ6uQ.png" /></figure><blockquote>So the answer is: <strong><em>1338</em></strong></blockquote><p><strong>3 What is the FQDN for the website hosted using a self-signed certificate and contains critical server information as the homepage?</strong></p><p>In the NMAP scan take a look at this CommonName=</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PlioyW_IpRmcWlCgbonxEQ.png" /></figure><p>The answer is:<em> </em><strong><em>dev.probe.thm</em></strong></p><p><strong>4 What is the email address associated with the SSL certificate used to sign the website mentioned in Q3?</strong></p><p>if we look at the NMAP scan for port 443</p><p>What we need is to use the HTTP / SSL signed ports. 443</p><p>So open a browser and get to the URL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PlioyW_IpRmcWlCgbonxEQ.png" /></figure><p>open in browser: <a href="https://machineip/"><strong>https://machineIP:443</strong></a></p><p>You will receive a risk warning. Click Advanced</p><p>Then “<strong>View Certificate</strong>”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*C3E7BF6N7NZ7irnQM5iqow.png" /></figure><p>The answer is: <strong><em>probe@probe.thm</em></strong></p><p><strong>5 What is the value of the PHP Extension Build on the server?</strong></p><p>again look at the NMAP scan</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JYhQBDr1fiAZp1hV9Qurzg.png" /></figure><p>in port 1443 we found that a php header is used so let’s go to the</p><p>https://machineIP:1443</p><p>So let’s hop on and accept all the risks and certificates as before and see what comes up.</p><p>Once accepted all of them we end up on a php info page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OFlkQRgQD4BDezieSpqOtA.png" /></figure><p>here we found the <strong>PHP Extension Build</strong> section</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*OXhHew8E8kE6yS4EuKqnZg.png" /></figure><p>so we got our answer is: <strong><em>API20190902,NTS</em></strong></p><p><strong>6 What is the banner for the FTP service?</strong></p><p>let’s remind the NMAP scan in port<strong> 1338</strong> we found an FTP service running.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*uzue-viGetg7ddxiAPJ6uQ.png" /></figure><p>so let’s do a NMAP script scan</p><p><strong>nmap -p 1338 -sV — script=banner machineIP</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3uwZvIr1w_7iyoOAl3onBg.png" /></figure><p>congrats we got our Flag: <strong><em>THM{WELCOME_101113}</em></strong></p><p><strong>7 What software is used for managing the database on the server?</strong></p><p>for this, we do a gobuster scan on the machine</p><p><strong>: gobuster dir -u </strong><a href="http://10.10.194.202/"><strong>http:</strong></a><strong>machine IP -w /usr/share/dirb/wordlists/common.txt -o gobuster.txt</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OnOYb85YOOhPfANf1N5xRg.png" /></figure><p>we got our answer:<strong> /phpmyadmin</strong></p><p><strong>8 What is the Content Management System (CMS) hosted on the server?</strong></p><p>answer is:<strong> <em>Wordpress</em></strong></p><p><strong>9 What is the version number of the CMS hosted on the server?</strong></p><p>for this, we do a WP scan</p><p><strong>: wpscan — url </strong><a href="https://[Machine_IP]:9007"><strong>https://[Machine_IP]:9007</strong></a><strong> — disable-tls-checks</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4Fhse24mz6U8Dq_ujZMk-A.png" /></figure><p>so the CMS version is: <strong>6.2.2</strong></p><p><strong>10 What is the username for the admin panel of the CMS?</strong></p><p>from the Wp scan we also got</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n-88XePSG5bNYzYGaTPQ3w.png" /></figure><p>so the username is<em>:</em><strong><em> joomla</em></strong></p><p><strong>11 During vulnerability scanning, OSVDB-3092 detects a file that may be used to identify the blogging site software. What is the name of the file?</strong></p><p>lets run nikto for this if you havent done so. Nicto uses OSVDB-3092 scan by default.</p><p><strong>nikto -h </strong><a href="https://[Machine_IP]:9007"><strong>https://[Machine_IP]:9007</strong></a></p><p>so the Answer is: <strong><em>license.txt</em></strong></p><p><strong>12 What is the name of the software being used on the standard HTTP port?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0_oymvC25l2jflavc6uS5Q.png" /></figure><p>look at the port 80 scan result answer is: <strong><em>lighttpd</em></strong></p><p><strong>13 What is the flag value associated with the web page hosted on port 8000?</strong></p><p>when we access port 8000 we get blank page</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/1*ZIcDEYL6uQVKRpaliP0ZMw.png" /></figure><p>let’s look at the gobuster scan</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OnOYb85YOOhPfANf1N5xRg.png" /></figure><p>we found a path /contactus let’s go to the path</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/1*wStWk9-71SLd_3oTYs4KIA.png" /></figure><p>congratulation we found the flag</p><p><strong><em>THM{CONTACT_US_1100}</em></strong></p><h4><strong>conclusion :</strong></h4><p>It’s a basic room for us to find all answers we just use NMAP, Gobuster, WP scan Nikto like tools. From this room, we learn basic scanning enumeration techniques.</p><p>This is a very nice room to find basic things about a system.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=296f65e3d642" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>