<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: AraizCorp</title>
    <description>The latest articles on DEV Community by AraizCorp (@araizcorp).</description>
    <link>https://dev.to/araizcorp</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4260560%2F209ad67f-8a83-4949-9830-a3a3766ef611.jpeg</url>
      <title>DEV Community: AraizCorp</title>
      <link>https://dev.to/araizcorp</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/araizcorp"/>
    <language>en</language>
    <item>
      <title>Introducing Serket: Local-First Active Directory Attack Path Analysis Without Neo4j or SMB Noise</title>
      <dc:creator>AraizCorp</dc:creator>
      <pubDate>Mon, 23 Nov 2026 20:06:45 +0000</pubDate>
      <link>https://dev.to/araizcorp/introducing-serket-local-first-active-directory-attack-path-analysis-without-neo4j-or-smb-noise-3ddf</link>
      <guid>https://dev.to/araizcorp/introducing-serket-local-first-active-directory-attack-path-analysis-without-neo4j-or-smb-noise-3ddf</guid>
      <description>&lt;h1&gt;
  
  
  Introducing Serket: Local-First Active Directory Attack Path Analysis Without Neo4j or SMB Noise
&lt;/h1&gt;

&lt;p&gt;Active Directory (AD) remains the primary identity and access management backbone for more than 90% of Fortune 500 enterprises. Consequently, it remains the primary battleground for red teams, penetration testers, and enterprise defenders.&lt;/p&gt;

&lt;p&gt;For years, graph-based attack path analysis has been synonymous with &lt;strong&gt;BloodHound&lt;/strong&gt;. While BloodHound revolutionized how we visualize Active Directory permissions, modern corporate environments present steep operational friction for traditional tooling:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Massive Telemetry Footprint (SMB Noise):&lt;/strong&gt; Traditional collectors often enumerate local sessions by connecting over SMB (ports 445/139) to hundreds or thousands of domain workstations. In a mature environment, this generates immediate volume-based alerts across EDRs, NDRs, and Windows Event Logs (Event IDs 4624, 5140, 5145).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Infrastructure Overhead:&lt;/strong&gt; Running and maintaining a local Neo4j database graph instance, managing Java runtimes, and dealing with schema migrations often introduces unnecessary friction during time-constrained security assessments.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Black-box Validation:&lt;/strong&gt; When a collector binary is dropped onto an engagement endpoint, it frequently triggers signature-based detections before a single query can be issued.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To address these operational realities, &lt;strong&gt;AraizCorp LLC&lt;/strong&gt; developed &lt;strong&gt;Serket&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  🦂 What is Serket?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Serket&lt;/strong&gt; (named after the ancient Egyptian deity of protection and venom healing) is a local-first, agentless Active Directory relationship intelligence engine and attack-path analysis workbench built entirely in Python.&lt;/p&gt;

&lt;p&gt;Serket is engineered around three non-negotiable principles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;LDAP-Only Telemetry:&lt;/strong&gt; Serket collects all authorized Active Directory metadata exclusively over &lt;strong&gt;LDAP/LDAPS&lt;/strong&gt;. It never touches SMB, never queries remote RPC endpoints, and never performs remote session scraping on workstations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Low-Footprint by Design:&lt;/strong&gt; It connects to the Domain Controller using a single authenticated session, issuing paged queries with configurable rate-limiting and random jitter to reduce anomalous query volume.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Database Dependencies (No Neo4j):&lt;/strong&gt; Serket converts objects and Access Control Lists (ACLs) into an in-memory directed graph powered by Python's &lt;code&gt;networkx&lt;/code&gt;. Findings and graphs are saved as standalone, portable JSON bundles that can be inspected offline without ever reconnecting to the target directory.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;+--------------------+         Single LDAP Session         +--------------------+
|   Target Domain    | &amp;lt;=================================&amp;gt; |   Serket Engine    |
| Controller (LDAP)  |       (Paged, Jitter-Controlled)    |   (Python / CLI)   |
+--------------------+                                     +--------------------+
                                                                     │
                                                                     ▼
                                                           +--------------------+
                                                           |   Portable JSON    |
                                                           |   Result Bundle    |
                                                           +--------------------+
                                                                     │
                                                                     ▼
                                                           +--------------------+
                                                           | Serket Workbench   |
                                                           | (Local Web UI)     |
                                                           +--------------------+
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🔍 Core Capabilities &amp;amp; Detection Primitives
&lt;/h2&gt;

&lt;p&gt;Serket transforms raw directory attributes into actionable security intelligence across several critical surfaces:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Identity &amp;amp; Structural Graph Analysis
&lt;/h3&gt;

&lt;p&gt;Maps relationships across Domain Users, Security Groups, Computers, Organizational Units (OUs), Containers, and Cross-Forest Domain Trusts.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. High-Risk ACL &amp;amp; Object Control Primitives
&lt;/h3&gt;

&lt;p&gt;Discovers privilege escalation vectors stemming from misconfigured Discretionary Access Control Lists (DACLs):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;GenericAll&lt;/code&gt; / &lt;code&gt;FullControl&lt;/code&gt; over privileged groups or user accounts.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;WriteDacl&lt;/code&gt; / &lt;code&gt;WriteOwner&lt;/code&gt; allowing attackers to grant themselves arbitrary permissions.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;GenericWrite&lt;/code&gt; / &lt;code&gt;WriteProperty&lt;/code&gt; targeting attributes like &lt;code&gt;servicePrincipalName&lt;/code&gt; or &lt;code&gt;scriptPath&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;ForceChangePassword&lt;/code&gt; on sensitive accounts.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Self-Membership&lt;/code&gt; / &lt;code&gt;AddMember&lt;/code&gt; rights on privileged groups.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Active Directory Certificate Services (AD CS) Mapping
&lt;/h3&gt;

&lt;p&gt;Audits public-key infrastructure configurations within the domain, identifying vulnerable certificate templates and enrollment rights corresponding to known attack paths (&lt;strong&gt;ESC1 through ESC8&lt;/strong&gt;).&lt;/p&gt;

&lt;h3&gt;
  
  
  4. LAPS &amp;amp; gMSA Password Exposure
&lt;/h3&gt;

&lt;p&gt;Maps which security principals possess the access rights required to read cleartext Local Administrator Password Solution (LAPS) attributes (&lt;code&gt;ms-Mcs-AdmPwd&lt;/code&gt;, &lt;code&gt;msLAPS-Password&lt;/code&gt;) or retrieve Group Managed Service Account (gMSA) secrets.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Shortest Attack Paths to Tier 0
&lt;/h3&gt;

&lt;p&gt;Serket's graph engine automatically calculates direct and transitive paths from any low-privileged identity to designated &lt;strong&gt;Tier 0&lt;/strong&gt; assets (Domain Admins, Enterprise Admins, Domain Controllers, and KRBTGT).&lt;/p&gt;




&lt;h2&gt;
  
  
  🖥️ The Serket Investigation Workbench
&lt;/h2&gt;

&lt;p&gt;Rather than relying on third-party graph visualizers, Serket includes its own dedicated investigation workbench served locally via FastAPI and Uvicorn:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Universal Fuzzy Search:&lt;/strong&gt; Instant lookup across SIDs, sAMAccountNames, Common Names, SPNs, and object classes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interactive Canvas:&lt;/strong&gt; High-performance, hardware-accelerated canvas supporting pan, zoom, cluster layouts, and path tracing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dual-Theme Support:&lt;/strong&gt; Full support for high-contrast dark mode as well as a clean, BloodHound CE-style light inspection theme.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Node Inspector:&lt;/strong&gt; Detailed slide-out drawer presenting incoming control edges, outgoing rights, group memberships, and raw LDAP attributes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dual-Language Interface:&lt;/strong&gt; Native toggle between English and Spanish.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🚀 Quickstart &amp;amp; Operator Workflow
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Installation
&lt;/h3&gt;

&lt;p&gt;Serket can be installed cleanly via &lt;code&gt;pipx&lt;/code&gt;, &lt;code&gt;pip&lt;/code&gt;, or Docker:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Recommended installation via pipx&lt;/span&gt;
pipx install git+https://github.com/araizcorp/Serket.git
serket --help
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  1. Collect Active Directory Metadata
&lt;/h3&gt;

&lt;p&gt;Connect to the domain controller using valid domain credentials over LDAP:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;serket collect \
  -d corp.internal \
  -u &lt;span class="s2"&gt;"svc_scanner"&lt;/span&gt; \
  -p &lt;span class="s2"&gt;"AuditorSecret2026!"&lt;/span&gt; \
  -dc &lt;span class="s2"&gt;"dc01.corp.internal"&lt;/span&gt; \
  --output &lt;span class="s2"&gt;"audit_corp_2026.json"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. Fast CLI Pathfinding
&lt;/h3&gt;

&lt;p&gt;Discover shortest attack paths from an unprivileged compromised account to Tier 0 directly in the terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;serket find \
  --bundle &lt;span class="s2"&gt;"audit_corp_2026.json"&lt;/span&gt; \
  --from &lt;span class="s2"&gt;"CORP\jdoe"&lt;/span&gt; \
  --to &lt;span class="s2"&gt;"TIER-0"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  3. Launch the Local Investigation Workbench
&lt;/h3&gt;

&lt;p&gt;Spawn the local web interface to interactively explore attack chains:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;serket view --bundle &lt;span class="s2"&gt;"audit_corp_2026.json"&lt;/span&gt; --port 8771
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Open &lt;code&gt;http://127.0.0.1:8771&lt;/code&gt; in your browser to begin the investigation.&lt;/p&gt;




&lt;h2&gt;
  
  
  🌐 The AraizCorp Offensive Security Ecosystem
&lt;/h2&gt;

&lt;p&gt;Serket serves as the foundational graph engine for AraizCorp's broader security assessment suite:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Keyring:&lt;/strong&gt; Offline credential correlation engine that maps harvested password hashes and credential reuse directly onto Serket's attack graphs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ledger:&lt;/strong&gt; Temporal differential auditor that compares two Serket snapshots taken before and after remediation, providing mathematical verification that vulnerabilities were resolved.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Aegis:&lt;/strong&gt; Defensive control auditor mapping recommended Sigma, EDR, and SIEM detection rules along discovered attack paths.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Portico:&lt;/strong&gt; External identity exposure mapper analyzing hybrid identity perimeters (Azure AD, ADFS, Okta).&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🤝 Open Source &amp;amp; Community Engagement
&lt;/h2&gt;

&lt;p&gt;Serket is maintained by &lt;strong&gt;AraizCorp LLC&lt;/strong&gt; as a dual-use security utility intended exclusively for authorized red teaming, purple teaming, and internal defensive posture auditing.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/araizcorp/Serket" rel="noopener noreferrer"&gt;https://github.com/araizcorp/Serket&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Corporate Portal &amp;amp; Certifications Enablement:&lt;/strong&gt; &lt;a href="https://araizcorp.tech" rel="noopener noreferrer"&gt;https://araizcorp.tech&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Contributions:&lt;/strong&gt; PRs, issue reports, and template additions are welcome via GitHub!&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Give it a star on GitHub, try it on your next Active Directory assessment, and let us know your feedback!&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>activedirectory</category>
      <category>pentesting</category>
      <category>opensource</category>
    </item>
    <item>
      <title>OffSec Assessment: Chill Hack (TryHackMe) — Penetration Testing Report</title>
      <dc:creator>AraizCorp</dc:creator>
      <pubDate>Mon, 23 Nov 2026 20:05:57 +0000</pubDate>
      <link>https://dev.to/araizcorp/offsec-assessment-chill-hack-tryhackme-penetration-testing-report-2a9b</link>
      <guid>https://dev.to/araizcorp/offsec-assessment-chill-hack-tryhackme-penetration-testing-report-2a9b</guid>
      <description>&lt;h1&gt;
  
  
  Offensive Security Assessment Report: Chill Hack
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" alt="TryHackMe" width="208" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" alt="Difficulty" width="174" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" alt="OS" width="106" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" alt="Standards" width="284" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" alt="Assessor" width="342" height="28"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Offensive Security Assessment &amp;amp; Penetration Testing Report&lt;/strong&gt; conducted on the target environment &lt;strong&gt;Chill Hack&lt;/strong&gt; hosted on &lt;strong&gt;TryHackMe&lt;/strong&gt;, executed in accordance with &lt;strong&gt;OffSec PEN-200 (OSCP)&lt;/strong&gt; and &lt;strong&gt;PTES (Penetration Testing Execution Standard)&lt;/strong&gt; methodologies.&lt;/p&gt;




&lt;h2&gt;
  
  
  📑 1. Executive Summary
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Objective:&lt;/strong&gt; Identify, validate, and exploit security vulnerabilities across the target host to assess operational impact on confidentiality, integrity, and system availability.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Risk Rating:&lt;/strong&gt; &lt;code&gt;CRITICAL&lt;/code&gt; (Unauthenticated remote exploit vector leading to complete host compromise and administrative takeover).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Initial Access Vector:&lt;/strong&gt; Web Application Exploitation / Default Credentials&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation Vector:&lt;/strong&gt; Abuse of SUID Binaries / Sudo Misconfiguration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Engagement Outcome:&lt;/strong&gt; Complete Host Compromise (&lt;code&gt;User Proof&lt;/code&gt; and &lt;code&gt;Root / SYSTEM Proof&lt;/code&gt; successfully retrieved and verified).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Target Technical Specifications
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Technical Detail&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Target Host&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Chill Hack&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Platform&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;TryHackMe&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Operating System&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Linux&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Difficulty Rating&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Associated CVE(s)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Foothold Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Web Application Exploitation / Default Credentials&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Abuse of SUID Binaries / Sudo Misconfiguration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Lead Penetration Tester&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pedro Araiz (&lt;code&gt;araizcorp&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🎯 2. Attack Path &amp;amp; Kill Chain Workflow
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ Phase 1: Reconnaissance &amp;amp; Port Scanning ]
         │─── TCP SYN scanning and service fingerprinting (Nmap)
         └─── Attack surface mapping and daemon enumeration
         │
         ▼
[ Phase 2: Vulnerability Analysis &amp;amp; Service Enumeration ]
         │─── Web directory fuzzing, parameter discovery, and banner analysis
         └─── CVE identification and credential harvesting
         │
         ▼
[ Phase 3: Exploitation &amp;amp; Initial Foothold ]
         │─── Exploit delivery: Web Application Exploitation / Default Credentials
         └─── Establishing an interactive reverse shell with unprivileged user context
         │
         ▼
[ Phase 4: Local Privilege Escalation ]
         │─── Internal audit: Abuse of SUID Binaries / Sudo Misconfiguration
         └─── Elevation to superuser / administrator privileges (root / SYSTEM)
         │
         ▼
[ Phase 5: Evidence &amp;amp; Flag Retrieval ]
         └─── Capture and cryptographic verification of user.txt and root.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🔬 3. Technical Walkthrough &amp;amp; Step-by-Step Proof of Concept
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fskxge37w58jcx6vit2uh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fskxge37w58jcx6vit2uh.png" alt="step_01.png" width="800" height="318"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 1):&lt;/strong&gt; Initial network reconnaissance and service detection exposing active daemons and communication endpoints.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2bt2re256j6kre2w6sy9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2bt2re256j6kre2w6sy9.png" alt="step_02.png" width="798" height="185"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 2):&lt;/strong&gt; Attack surface enumeration, directory discovery, or parameter analysis identifying potential vulnerability vectors.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F963b9io9m6n0t8dwemxu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F963b9io9m6n0t8dwemxu.png" alt="step_03.png" width="799" height="276"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 03:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzp9vi7zh5jy71rfev7b7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzp9vi7zh5jy71rfev7b7.png" alt="step_04.png" width="800" height="141"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 04:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl4zj0unk06mjt095yvey.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl4zj0unk06mjt095yvey.png" alt="step_05.png" width="737" height="392"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 05:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqwdhqcyjabumj33jzlir.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqwdhqcyjabumj33jzlir.png" alt="step_06.png" width="629" height="175"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 06:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn48mrk1bl2zascjhwb73.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn48mrk1bl2zascjhwb73.png" alt="step_07.png" width="800" height="478"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 07:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F80ondtoaj5arftmv6xe0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F80ondtoaj5arftmv6xe0.png" alt="step_08.png" width="800" height="163"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 08:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frvmo0pvopgka62rgzwv9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frvmo0pvopgka62rgzwv9.png" alt="step_09.png" width="798" height="170"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation PoC (Phase 4):&lt;/strong&gt; Exploitation of misconfiguration, SUID binary, or vulnerability leading to elevated privileges.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7hgw5lg7ak39nk34fqgy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7hgw5lg7ak39nk34fqgy.png" alt="step_10.png" width="800" height="396"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Evidence Verification (Phase 5):&lt;/strong&gt; Final administrative validation confirming root/SYSTEM access and retrieval of system flags.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛡️ 4. Strategic Remediation &amp;amp; Hardening Roadmap
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Immediate Tactical Actions (P1)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Patch Management &amp;amp; Software Upgrades:&lt;/strong&gt; Immediately apply official security updates and patches for all vulnerable software components and exposed services (N/A).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Access Control &amp;amp; SUID Audit:&lt;/strong&gt; Remove unnecessary SUID/SGID bits, audit &lt;code&gt;/etc/sudoers&lt;/code&gt; rules, and enforce strict Access Control Lists (ACLs) on sensitive files and administrative scripts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attack Surface Reduction:&lt;/strong&gt; Configure host-based firewalls (e.g., &lt;code&gt;iptables&lt;/code&gt; / &lt;code&gt;ufw&lt;/code&gt; / Windows Firewall) to restrict exposure of management services and internal ports to trusted administrative subnets only.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Architectural &amp;amp; Defensive Hardening (P2)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Principle of Least Privilege (PoLP):&lt;/strong&gt; Ensure public-facing daemons run under dedicated low-privileged service accounts configured with non-interactive login shells (&lt;code&gt;/sbin/nologin&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Network Microsegmentation:&lt;/strong&gt; Isolate production servers and database tiers within dedicated VLANs, enforcing stateful inspection and ingress/egress filtering on east-west traffic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Endpoint Detection &amp;amp; Telemetry (EDR):&lt;/strong&gt; Implement centralized logging and behavior-based detection rules to capture anomalous process spawning, unauthorized script interpreter execution, and suspicious outbound socket connections.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  📊 5. MITRE ATT&amp;amp;CK Enterprise Framework Mapping
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tactic&lt;/th&gt;
&lt;th&gt;Technique ID&lt;/th&gt;
&lt;th&gt;Technique Name&lt;/th&gt;
&lt;th&gt;Technical Application in Engagement&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reconnaissance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1595.002&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Active Scanning: Vulnerability Scanning&lt;/td&gt;
&lt;td&gt;Automated and manual port scanning, banner grabbing, and service discovery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Access&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1190&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Exploit Public-Facing Application&lt;/td&gt;
&lt;td&gt;Exploitation of exposed network/web service (Web Application Exploitation / Default Credentials)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Execution&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1059&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Command and Scripting Interpreter&lt;/td&gt;
&lt;td&gt;Interactive reverse shell execution and remote command dispatch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1068 / T1548&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Abuse Elevation Control Mechanism / Exploitation&lt;/td&gt;
&lt;td&gt;Local elevation to administrative/root privileges (Abuse of SUID Binaries / Sudo Misconfiguration)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;p&gt;© 2026 &lt;strong&gt;araizcorp&lt;/strong&gt; — Technical documentation and security assessment portfolio developed for &lt;strong&gt;OffSec&lt;/strong&gt; certification preparation (OSCP, OSEP, OSWE) and commercial penetration testing enablement.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>tryhackme</category>
      <category>pentesting</category>
      <category>infosec</category>
    </item>
    <item>
      <title>OffSec Assessment: Brute it (TryHackMe) — Penetration Testing Report</title>
      <dc:creator>AraizCorp</dc:creator>
      <pubDate>Mon, 23 Nov 2026 19:59:36 +0000</pubDate>
      <link>https://dev.to/araizcorp/offsec-assessment-brute-it-tryhackme-penetration-testing-report-4gn1</link>
      <guid>https://dev.to/araizcorp/offsec-assessment-brute-it-tryhackme-penetration-testing-report-4gn1</guid>
      <description>&lt;h1&gt;
  
  
  Offensive Security Assessment Report: Brute it
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" alt="TryHackMe" width="208" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" alt="Difficulty" width="174" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" alt="OS" width="106" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" alt="Standards" width="284" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" alt="Assessor" width="342" height="28"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Offensive Security Assessment &amp;amp; Penetration Testing Report&lt;/strong&gt; conducted on the target environment &lt;strong&gt;Brute it&lt;/strong&gt; hosted on &lt;strong&gt;TryHackMe&lt;/strong&gt;, executed in accordance with &lt;strong&gt;OffSec PEN-200 (OSCP)&lt;/strong&gt; and &lt;strong&gt;PTES (Penetration Testing Execution Standard)&lt;/strong&gt; methodologies.&lt;/p&gt;




&lt;h2&gt;
  
  
  📑 1. Executive Summary
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Objective:&lt;/strong&gt; Identify, validate, and exploit security vulnerabilities across the target host to assess operational impact on confidentiality, integrity, and system availability.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Risk Rating:&lt;/strong&gt; &lt;code&gt;CRITICAL&lt;/code&gt; (Unauthenticated remote exploit vector leading to complete host compromise and administrative takeover).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Initial Access Vector:&lt;/strong&gt; Web Application Exploitation / Default Credentials&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation Vector:&lt;/strong&gt; Abuse of SUID Binaries / Sudo Misconfiguration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Engagement Outcome:&lt;/strong&gt; Complete Host Compromise (&lt;code&gt;User Proof&lt;/code&gt; and &lt;code&gt;Root / SYSTEM Proof&lt;/code&gt; successfully retrieved and verified).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Target Technical Specifications
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Technical Detail&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Target Host&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Brute it&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Platform&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;TryHackMe&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Operating System&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Linux&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Difficulty Rating&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Associated CVE(s)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Foothold Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Web Application Exploitation / Default Credentials&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Abuse of SUID Binaries / Sudo Misconfiguration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Lead Penetration Tester&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pedro Araiz (&lt;code&gt;araizcorp&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🎯 2. Attack Path &amp;amp; Kill Chain Workflow
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ Phase 1: Reconnaissance &amp;amp; Port Scanning ]
         │─── TCP SYN scanning and service fingerprinting (Nmap)
         └─── Attack surface mapping and daemon enumeration
         │
         ▼
[ Phase 2: Vulnerability Analysis &amp;amp; Service Enumeration ]
         │─── Web directory fuzzing, parameter discovery, and banner analysis
         └─── CVE identification and credential harvesting
         │
         ▼
[ Phase 3: Exploitation &amp;amp; Initial Foothold ]
         │─── Exploit delivery: Web Application Exploitation / Default Credentials
         └─── Establishing an interactive reverse shell with unprivileged user context
         │
         ▼
[ Phase 4: Local Privilege Escalation ]
         │─── Internal audit: Abuse of SUID Binaries / Sudo Misconfiguration
         └─── Elevation to superuser / administrator privileges (root / SYSTEM)
         │
         ▼
[ Phase 5: Evidence &amp;amp; Flag Retrieval ]
         └─── Capture and cryptographic verification of user.txt and root.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🔬 3. Technical Walkthrough &amp;amp; Step-by-Step Proof of Concept
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl71un8g7dwypr0pyhjzf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl71un8g7dwypr0pyhjzf.png" alt="step_01.png" width="727" height="317"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 1):&lt;/strong&gt; Initial network reconnaissance and service detection exposing active daemons and communication endpoints.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsn3ma0ti6di8qr5ctfsj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsn3ma0ti6di8qr5ctfsj.png" alt="step_02.png" width="727" height="413"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 2):&lt;/strong&gt; Attack surface enumeration, directory discovery, or parameter analysis identifying potential vulnerability vectors.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl2o29n6kz3k4lz094yko.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl2o29n6kz3k4lz094yko.png" alt="step_03.png" width="800" height="506"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 03:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu48li3c1uq3t7hrraboe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu48li3c1uq3t7hrraboe.png" alt="step_04.png" width="799" height="395"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 04:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0j81ouzjc0a6sleefdn5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0j81ouzjc0a6sleefdn5.png" alt="step_05.png" width="721" height="259"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 05:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnzljg2u8wpo7l45jinjj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnzljg2u8wpo7l45jinjj.png" alt="step_06.png" width="799" height="208"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 06:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzpcrbqkynf4erib6kr5o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzpcrbqkynf4erib6kr5o.png" alt="step_07.png" width="705" height="211"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 07:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fh3ve209s11u1prfbtn3u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fh3ve209s11u1prfbtn3u.png" alt="step_08.png" width="714" height="187"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 08:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F376h7rum67ye4j9hnpch.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F376h7rum67ye4j9hnpch.png" alt="step_09.png" width="716" height="507"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 09:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fj8ydas56z5lxctltqxww.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fj8ydas56z5lxctltqxww.png" alt="step_10.png" width="722" height="493"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 10:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fx1gijrlo0iid84pfbbiv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fx1gijrlo0iid84pfbbiv.png" alt="step_11.png" width="800" height="463"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 11:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F585j7lai30d9b8wpgzsw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F585j7lai30d9b8wpgzsw.png" alt="step_12.png" width="724" height="303"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation PoC (Phase 4):&lt;/strong&gt; Exploitation of misconfiguration, SUID binary, or vulnerability leading to elevated privileges.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fesct7etoomia3k2eduid.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fesct7etoomia3k2eduid.png" alt="step_13.png" width="386" height="38"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Evidence Verification (Phase 5):&lt;/strong&gt; Final administrative validation confirming root/SYSTEM access and retrieval of system flags.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛡️ 4. Strategic Remediation &amp;amp; Hardening Roadmap
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Immediate Tactical Actions (P1)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Patch Management &amp;amp; Software Upgrades:&lt;/strong&gt; Immediately apply official security updates and patches for all vulnerable software components and exposed services (N/A).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Access Control &amp;amp; SUID Audit:&lt;/strong&gt; Remove unnecessary SUID/SGID bits, audit &lt;code&gt;/etc/sudoers&lt;/code&gt; rules, and enforce strict Access Control Lists (ACLs) on sensitive files and administrative scripts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attack Surface Reduction:&lt;/strong&gt; Configure host-based firewalls (e.g., &lt;code&gt;iptables&lt;/code&gt; / &lt;code&gt;ufw&lt;/code&gt; / Windows Firewall) to restrict exposure of management services and internal ports to trusted administrative subnets only.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Architectural &amp;amp; Defensive Hardening (P2)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Principle of Least Privilege (PoLP):&lt;/strong&gt; Ensure public-facing daemons run under dedicated low-privileged service accounts configured with non-interactive login shells (&lt;code&gt;/sbin/nologin&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Network Microsegmentation:&lt;/strong&gt; Isolate production servers and database tiers within dedicated VLANs, enforcing stateful inspection and ingress/egress filtering on east-west traffic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Endpoint Detection &amp;amp; Telemetry (EDR):&lt;/strong&gt; Implement centralized logging and behavior-based detection rules to capture anomalous process spawning, unauthorized script interpreter execution, and suspicious outbound socket connections.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  📊 5. MITRE ATT&amp;amp;CK Enterprise Framework Mapping
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tactic&lt;/th&gt;
&lt;th&gt;Technique ID&lt;/th&gt;
&lt;th&gt;Technique Name&lt;/th&gt;
&lt;th&gt;Technical Application in Engagement&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reconnaissance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1595.002&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Active Scanning: Vulnerability Scanning&lt;/td&gt;
&lt;td&gt;Automated and manual port scanning, banner grabbing, and service discovery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Access&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1190&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Exploit Public-Facing Application&lt;/td&gt;
&lt;td&gt;Exploitation of exposed network/web service (Web Application Exploitation / Default Credentials)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Execution&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1059&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Command and Scripting Interpreter&lt;/td&gt;
&lt;td&gt;Interactive reverse shell execution and remote command dispatch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1068 / T1548&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Abuse Elevation Control Mechanism / Exploitation&lt;/td&gt;
&lt;td&gt;Local elevation to administrative/root privileges (Abuse of SUID Binaries / Sudo Misconfiguration)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;p&gt;© 2026 &lt;strong&gt;araizcorp&lt;/strong&gt; — Technical documentation and security assessment portfolio developed for &lt;strong&gt;OffSec&lt;/strong&gt; certification preparation (OSCP, OSEP, OSWE) and commercial penetration testing enablement.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>tryhackme</category>
      <category>pentesting</category>
      <category>infosec</category>
    </item>
    <item>
      <title>OffSec Assessment: Brooklyn99 (TryHackMe) — Penetration Testing Report</title>
      <dc:creator>AraizCorp</dc:creator>
      <pubDate>Mon, 23 Nov 2026 19:58:25 +0000</pubDate>
      <link>https://dev.to/araizcorp/offsec-assessment-brooklyn99-tryhackme-penetration-testing-report-4pbi</link>
      <guid>https://dev.to/araizcorp/offsec-assessment-brooklyn99-tryhackme-penetration-testing-report-4pbi</guid>
      <description>&lt;h1&gt;
  
  
  Offensive Security Assessment Report: Brooklyn99
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" alt="TryHackMe" width="208" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" alt="Difficulty" width="174" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" alt="OS" width="106" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" alt="Standards" width="284" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" alt="Assessor" width="342" height="28"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Offensive Security Assessment &amp;amp; Penetration Testing Report&lt;/strong&gt; conducted on the target environment &lt;strong&gt;Brooklyn99&lt;/strong&gt; hosted on &lt;strong&gt;TryHackMe&lt;/strong&gt;, executed in accordance with &lt;strong&gt;OffSec PEN-200 (OSCP)&lt;/strong&gt; and &lt;strong&gt;PTES (Penetration Testing Execution Standard)&lt;/strong&gt; methodologies.&lt;/p&gt;




&lt;h2&gt;
  
  
  📑 1. Executive Summary
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Objective:&lt;/strong&gt; Identify, validate, and exploit security vulnerabilities across the target host to assess operational impact on confidentiality, integrity, and system availability.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Risk Rating:&lt;/strong&gt; &lt;code&gt;CRITICAL&lt;/code&gt; (Unauthenticated remote exploit vector leading to complete host compromise and administrative takeover).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Initial Access Vector:&lt;/strong&gt; Web Application Exploitation / Default Credentials&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation Vector:&lt;/strong&gt; Abuse of SUID Binaries / Sudo Misconfiguration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Engagement Outcome:&lt;/strong&gt; Complete Host Compromise (&lt;code&gt;User Proof&lt;/code&gt; and &lt;code&gt;Root / SYSTEM Proof&lt;/code&gt; successfully retrieved and verified).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Target Technical Specifications
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Technical Detail&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Target Host&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Brooklyn99&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Platform&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;TryHackMe&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Operating System&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Linux&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Difficulty Rating&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Associated CVE(s)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Foothold Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Web Application Exploitation / Default Credentials&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Abuse of SUID Binaries / Sudo Misconfiguration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Lead Penetration Tester&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pedro Araiz (&lt;code&gt;araizcorp&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🎯 2. Attack Path &amp;amp; Kill Chain Workflow
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ Phase 1: Reconnaissance &amp;amp; Port Scanning ]
         │─── TCP SYN scanning and service fingerprinting (Nmap)
         └─── Attack surface mapping and daemon enumeration
         │
         ▼
[ Phase 2: Vulnerability Analysis &amp;amp; Service Enumeration ]
         │─── Web directory fuzzing, parameter discovery, and banner analysis
         └─── CVE identification and credential harvesting
         │
         ▼
[ Phase 3: Exploitation &amp;amp; Initial Foothold ]
         │─── Exploit delivery: Web Application Exploitation / Default Credentials
         └─── Establishing an interactive reverse shell with unprivileged user context
         │
         ▼
[ Phase 4: Local Privilege Escalation ]
         │─── Internal audit: Abuse of SUID Binaries / Sudo Misconfiguration
         └─── Elevation to superuser / administrator privileges (root / SYSTEM)
         │
         ▼
[ Phase 5: Evidence &amp;amp; Flag Retrieval ]
         └─── Capture and cryptographic verification of user.txt and root.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🔬 3. Technical Walkthrough &amp;amp; Step-by-Step Proof of Concept
&lt;/h2&gt;

&lt;p&gt;External Assessment Reference: &lt;a href="https://araizcorp.tech/view_writeup.php?id=6" rel="noopener noreferrer"&gt;https://araizcorp.tech/view_writeup.php?id=6&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Enumeración&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Feclkrpsphq6q9t0nc7y0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Feclkrpsphq6q9t0nc7y0.png" alt="step_01.png" width="800" height="546"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 1):&lt;/strong&gt; Initial network reconnaissance and service detection exposing active daemons and communication endpoints.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7s02sowb2lxplvvg947h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7s02sowb2lxplvvg947h.png" alt="step_02.png" width="799" height="355"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 2):&lt;/strong&gt; Attack surface enumeration, directory discovery, or parameter analysis identifying potential vulnerability vectors.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq23cafk0xjzfyfmesxo8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq23cafk0xjzfyfmesxo8.png" alt="step_03.png" width="800" height="269"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 03:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9uab29cmhuqvtbhczdfx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9uab29cmhuqvtbhczdfx.png" alt="step_04.png" width="701" height="521"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 04:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Escenografia&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvy3ie4i084a65ysye5v0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvy3ie4i084a65ysye5v0.png" alt="step_05.png" width="751" height="307"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 05:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Hydra&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwtnrnrewrs741xu57dnd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwtnrnrewrs741xu57dnd.png" alt="step_06.png" width="800" height="148"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 06:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;SSH&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fefp2dp9nnqg857xxbcgd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fefp2dp9nnqg857xxbcgd.png" alt="step_07.png" width="800" height="410"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 07:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Escalada de privilegios&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqusngkc03ft0s8ctxm2t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqusngkc03ft0s8ctxm2t.png" alt="step_08.png" width="800" height="465"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 08:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fk4wp6ifnej11ln9imc1w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fk4wp6ifnej11ln9imc1w.png" alt="step_09.png" width="513" height="22"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation PoC (Phase 4):&lt;/strong&gt; Exploitation of misconfiguration, SUID binary, or vulnerability leading to elevated privileges.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdvt02lcw85zsqce2regr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdvt02lcw85zsqce2regr.png" alt="step_10.png" width="799" height="286"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Evidence Verification (Phase 5):&lt;/strong&gt; Final administrative validation confirming root/SYSTEM access and retrieval of system flags.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛡️ 4. Strategic Remediation &amp;amp; Hardening Roadmap
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Immediate Tactical Actions (P1)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Patch Management &amp;amp; Software Upgrades:&lt;/strong&gt; Immediately apply official security updates and patches for all vulnerable software components and exposed services (N/A).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Access Control &amp;amp; SUID Audit:&lt;/strong&gt; Remove unnecessary SUID/SGID bits, audit &lt;code&gt;/etc/sudoers&lt;/code&gt; rules, and enforce strict Access Control Lists (ACLs) on sensitive files and administrative scripts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attack Surface Reduction:&lt;/strong&gt; Configure host-based firewalls (e.g., &lt;code&gt;iptables&lt;/code&gt; / &lt;code&gt;ufw&lt;/code&gt; / Windows Firewall) to restrict exposure of management services and internal ports to trusted administrative subnets only.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Architectural &amp;amp; Defensive Hardening (P2)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Principle of Least Privilege (PoLP):&lt;/strong&gt; Ensure public-facing daemons run under dedicated low-privileged service accounts configured with non-interactive login shells (&lt;code&gt;/sbin/nologin&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Network Microsegmentation:&lt;/strong&gt; Isolate production servers and database tiers within dedicated VLANs, enforcing stateful inspection and ingress/egress filtering on east-west traffic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Endpoint Detection &amp;amp; Telemetry (EDR):&lt;/strong&gt; Implement centralized logging and behavior-based detection rules to capture anomalous process spawning, unauthorized script interpreter execution, and suspicious outbound socket connections.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  📊 5. MITRE ATT&amp;amp;CK Enterprise Framework Mapping
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tactic&lt;/th&gt;
&lt;th&gt;Technique ID&lt;/th&gt;
&lt;th&gt;Technique Name&lt;/th&gt;
&lt;th&gt;Technical Application in Engagement&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reconnaissance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1595.002&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Active Scanning: Vulnerability Scanning&lt;/td&gt;
&lt;td&gt;Automated and manual port scanning, banner grabbing, and service discovery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Access&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1190&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Exploit Public-Facing Application&lt;/td&gt;
&lt;td&gt;Exploitation of exposed network/web service (Web Application Exploitation / Default Credentials)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Execution&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1059&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Command and Scripting Interpreter&lt;/td&gt;
&lt;td&gt;Interactive reverse shell execution and remote command dispatch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1068 / T1548&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Abuse Elevation Control Mechanism / Exploitation&lt;/td&gt;
&lt;td&gt;Local elevation to administrative/root privileges (Abuse of SUID Binaries / Sudo Misconfiguration)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;p&gt;© 2026 &lt;strong&gt;araizcorp&lt;/strong&gt; — Technical documentation and security assessment portfolio developed for &lt;strong&gt;OffSec&lt;/strong&gt; certification preparation (OSCP, OSEP, OSWE) and commercial penetration testing enablement.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>tryhackme</category>
      <category>pentesting</category>
      <category>infosec</category>
    </item>
    <item>
      <title>OffSec Assessment: Bounty Hacker (TryHackMe) — Penetration Testing Report</title>
      <dc:creator>AraizCorp</dc:creator>
      <pubDate>Mon, 23 Nov 2026 19:52:04 +0000</pubDate>
      <link>https://dev.to/araizcorp/offsec-assessment-bounty-hacker-tryhackme-penetration-testing-report-3dgb</link>
      <guid>https://dev.to/araizcorp/offsec-assessment-bounty-hacker-tryhackme-penetration-testing-report-3dgb</guid>
      <description>&lt;h1&gt;
  
  
  Offensive Security Assessment Report: Bounty Hacker
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" alt="TryHackMe" width="208" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" alt="Difficulty" width="174" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" alt="OS" width="106" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" alt="Standards" width="284" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" alt="Assessor" width="342" height="28"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Offensive Security Assessment &amp;amp; Penetration Testing Report&lt;/strong&gt; conducted on the target environment &lt;strong&gt;Bounty Hacker&lt;/strong&gt; hosted on &lt;strong&gt;TryHackMe&lt;/strong&gt;, executed in accordance with &lt;strong&gt;OffSec PEN-200 (OSCP)&lt;/strong&gt; and &lt;strong&gt;PTES (Penetration Testing Execution Standard)&lt;/strong&gt; methodologies.&lt;/p&gt;




&lt;h2&gt;
  
  
  📑 1. Executive Summary
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Objective:&lt;/strong&gt; Identify, validate, and exploit security vulnerabilities across the target host to assess operational impact on confidentiality, integrity, and system availability.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Risk Rating:&lt;/strong&gt; &lt;code&gt;CRITICAL&lt;/code&gt; (Unauthenticated remote exploit vector leading to complete host compromise and administrative takeover).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Initial Access Vector:&lt;/strong&gt; Web Application Exploitation / Default Credentials&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation Vector:&lt;/strong&gt; Abuse of SUID Binaries / Sudo Misconfiguration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Engagement Outcome:&lt;/strong&gt; Complete Host Compromise (&lt;code&gt;User Proof&lt;/code&gt; and &lt;code&gt;Root / SYSTEM Proof&lt;/code&gt; successfully retrieved and verified).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Target Technical Specifications
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Technical Detail&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Target Host&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Bounty Hacker&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Platform&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;TryHackMe&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Operating System&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Linux&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Difficulty Rating&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Associated CVE(s)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Foothold Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Web Application Exploitation / Default Credentials&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Abuse of SUID Binaries / Sudo Misconfiguration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Lead Penetration Tester&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pedro Araiz (&lt;code&gt;araizcorp&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🎯 2. Attack Path &amp;amp; Kill Chain Workflow
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ Phase 1: Reconnaissance &amp;amp; Port Scanning ]
         │─── TCP SYN scanning and service fingerprinting (Nmap)
         └─── Attack surface mapping and daemon enumeration
         │
         ▼
[ Phase 2: Vulnerability Analysis &amp;amp; Service Enumeration ]
         │─── Web directory fuzzing, parameter discovery, and banner analysis
         └─── CVE identification and credential harvesting
         │
         ▼
[ Phase 3: Exploitation &amp;amp; Initial Foothold ]
         │─── Exploit delivery: Web Application Exploitation / Default Credentials
         └─── Establishing an interactive reverse shell with unprivileged user context
         │
         ▼
[ Phase 4: Local Privilege Escalation ]
         │─── Internal audit: Abuse of SUID Binaries / Sudo Misconfiguration
         └─── Elevation to superuser / administrator privileges (root / SYSTEM)
         │
         ▼
[ Phase 5: Evidence &amp;amp; Flag Retrieval ]
         └─── Capture and cryptographic verification of user.txt and root.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🔬 3. Technical Walkthrough &amp;amp; Step-by-Step Proof of Concept
&lt;/h2&gt;

&lt;p&gt;External Assessment Reference: &lt;a href="https://araizcorp.tech/view_writeup.php?id=4" rel="noopener noreferrer"&gt;https://araizcorp.tech/view_writeup.php?id=4&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Assessment Query / Target Milestone:&lt;/strong&gt; Find open ports on the machine&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1rvxyoziy0b30rw5b4a5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1rvxyoziy0b30rw5b4a5.png" alt="step_01.png" width="800" height="506"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 1):&lt;/strong&gt; Initial network reconnaissance and service detection exposing active daemons and communication endpoints.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Assessment Query / Target Milestone:&lt;/strong&gt; Who wrote the task list?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5vyt52tj1suuc05o8nmq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5vyt52tj1suuc05o8nmq.png" alt="step_02.png" width="800" height="461"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 2):&lt;/strong&gt; Attack surface enumeration, directory discovery, or parameter analysis identifying potential vulnerability vectors.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fezf63ooubkey04kql2k9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fezf63ooubkey04kql2k9.png" alt="step_03.png" width="466" height="498"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 03:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Assessment Query / Target Milestone:&lt;/strong&gt; What service can you bruteforce with the text file found?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Assessment Query / Target Milestone:&lt;/strong&gt; What is the users password?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3oop1obdsq3x4f51spy0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3oop1obdsq3x4f51spy0.png" alt="step_04.png" width="800" height="146"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 04:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;user.txt&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgow7u8j0qcebukak92er.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgow7u8j0qcebukak92er.png" alt="step_05.png" width="548" height="88"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation PoC (Phase 4):&lt;/strong&gt; Exploitation of misconfiguration, SUID binary, or vulnerability leading to elevated privileges.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;root.txt&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm1ztqbtph54ftyg6e8ik.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm1ztqbtph54ftyg6e8ik.png" alt="step_06.png" width="800" height="196"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Evidence Verification (Phase 5):&lt;/strong&gt; Final administrative validation confirming root/SYSTEM access and retrieval of system flags.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛡️ 4. Strategic Remediation &amp;amp; Hardening Roadmap
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Immediate Tactical Actions (P1)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Patch Management &amp;amp; Software Upgrades:&lt;/strong&gt; Immediately apply official security updates and patches for all vulnerable software components and exposed services (N/A).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Access Control &amp;amp; SUID Audit:&lt;/strong&gt; Remove unnecessary SUID/SGID bits, audit &lt;code&gt;/etc/sudoers&lt;/code&gt; rules, and enforce strict Access Control Lists (ACLs) on sensitive files and administrative scripts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attack Surface Reduction:&lt;/strong&gt; Configure host-based firewalls (e.g., &lt;code&gt;iptables&lt;/code&gt; / &lt;code&gt;ufw&lt;/code&gt; / Windows Firewall) to restrict exposure of management services and internal ports to trusted administrative subnets only.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Architectural &amp;amp; Defensive Hardening (P2)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Principle of Least Privilege (PoLP):&lt;/strong&gt; Ensure public-facing daemons run under dedicated low-privileged service accounts configured with non-interactive login shells (&lt;code&gt;/sbin/nologin&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Network Microsegmentation:&lt;/strong&gt; Isolate production servers and database tiers within dedicated VLANs, enforcing stateful inspection and ingress/egress filtering on east-west traffic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Endpoint Detection &amp;amp; Telemetry (EDR):&lt;/strong&gt; Implement centralized logging and behavior-based detection rules to capture anomalous process spawning, unauthorized script interpreter execution, and suspicious outbound socket connections.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  📊 5. MITRE ATT&amp;amp;CK Enterprise Framework Mapping
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tactic&lt;/th&gt;
&lt;th&gt;Technique ID&lt;/th&gt;
&lt;th&gt;Technique Name&lt;/th&gt;
&lt;th&gt;Technical Application in Engagement&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reconnaissance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1595.002&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Active Scanning: Vulnerability Scanning&lt;/td&gt;
&lt;td&gt;Automated and manual port scanning, banner grabbing, and service discovery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Access&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1190&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Exploit Public-Facing Application&lt;/td&gt;
&lt;td&gt;Exploitation of exposed network/web service (Web Application Exploitation / Default Credentials)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Execution&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1059&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Command and Scripting Interpreter&lt;/td&gt;
&lt;td&gt;Interactive reverse shell execution and remote command dispatch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1068 / T1548&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Abuse Elevation Control Mechanism / Exploitation&lt;/td&gt;
&lt;td&gt;Local elevation to administrative/root privileges (Abuse of SUID Binaries / Sudo Misconfiguration)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;p&gt;© 2026 &lt;strong&gt;araizcorp&lt;/strong&gt; — Technical documentation and security assessment portfolio developed for &lt;strong&gt;OffSec&lt;/strong&gt; certification preparation (OSCP, OSEP, OSWE) and commercial penetration testing enablement.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>tryhackme</category>
      <category>pentesting</category>
      <category>infosec</category>
    </item>
    <item>
      <title>OffSec Assessment: Boiler CTF (TryHackMe) — Penetration Testing Report</title>
      <dc:creator>AraizCorp</dc:creator>
      <pubDate>Mon, 23 Nov 2026 19:50:53 +0000</pubDate>
      <link>https://dev.to/araizcorp/offsec-assessment-boiler-ctf-tryhackme-penetration-testing-report-3obf</link>
      <guid>https://dev.to/araizcorp/offsec-assessment-boiler-ctf-tryhackme-penetration-testing-report-3obf</guid>
      <description>&lt;h1&gt;
  
  
  Offensive Security Assessment Report: Boiler CTF
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" alt="TryHackMe" width="208" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" alt="Difficulty" width="174" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" alt="OS" width="106" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" alt="Standards" width="284" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" alt="Assessor" width="342" height="28"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Offensive Security Assessment &amp;amp; Penetration Testing Report&lt;/strong&gt; conducted on the target environment &lt;strong&gt;Boiler CTF&lt;/strong&gt; hosted on &lt;strong&gt;TryHackMe&lt;/strong&gt;, executed in accordance with &lt;strong&gt;OffSec PEN-200 (OSCP)&lt;/strong&gt; and &lt;strong&gt;PTES (Penetration Testing Execution Standard)&lt;/strong&gt; methodologies.&lt;/p&gt;




&lt;h2&gt;
  
  
  📑 1. Executive Summary
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Objective:&lt;/strong&gt; Identify, validate, and exploit security vulnerabilities across the target host to assess operational impact on confidentiality, integrity, and system availability.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Risk Rating:&lt;/strong&gt; &lt;code&gt;CRITICAL&lt;/code&gt; (Unauthenticated remote exploit vector leading to complete host compromise and administrative takeover).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Initial Access Vector:&lt;/strong&gt; Web Application Exploitation / Default Credentials&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation Vector:&lt;/strong&gt; Abuse of SUID Binaries / Sudo Misconfiguration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Engagement Outcome:&lt;/strong&gt; Complete Host Compromise (&lt;code&gt;User Proof&lt;/code&gt; and &lt;code&gt;Root / SYSTEM Proof&lt;/code&gt; successfully retrieved and verified).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Target Technical Specifications
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Technical Detail&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Target Host&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Boiler CTF&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Platform&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;TryHackMe&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Operating System&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Linux&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Difficulty Rating&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Associated CVE(s)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Foothold Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Web Application Exploitation / Default Credentials&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Abuse of SUID Binaries / Sudo Misconfiguration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Lead Penetration Tester&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pedro Araiz (&lt;code&gt;araizcorp&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🎯 2. Attack Path &amp;amp; Kill Chain Workflow
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ Phase 1: Reconnaissance &amp;amp; Port Scanning ]
         │─── TCP SYN scanning and service fingerprinting (Nmap)
         └─── Attack surface mapping and daemon enumeration
         │
         ▼
[ Phase 2: Vulnerability Analysis &amp;amp; Service Enumeration ]
         │─── Web directory fuzzing, parameter discovery, and banner analysis
         └─── CVE identification and credential harvesting
         │
         ▼
[ Phase 3: Exploitation &amp;amp; Initial Foothold ]
         │─── Exploit delivery: Web Application Exploitation / Default Credentials
         └─── Establishing an interactive reverse shell with unprivileged user context
         │
         ▼
[ Phase 4: Local Privilege Escalation ]
         │─── Internal audit: Abuse of SUID Binaries / Sudo Misconfiguration
         └─── Elevation to superuser / administrator privileges (root / SYSTEM)
         │
         ▼
[ Phase 5: Evidence &amp;amp; Flag Retrieval ]
         └─── Capture and cryptographic verification of user.txt and root.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🔬 3. Technical Walkthrough &amp;amp; Step-by-Step Proof of Concept
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6d8xioolihjioy77a7dz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6d8xioolihjioy77a7dz.png" alt="step_01.png" width="800" height="725"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 1):&lt;/strong&gt; Initial network reconnaissance and service detection exposing active daemons and communication endpoints.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5k7lkj8uz942nvlf2viq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5k7lkj8uz942nvlf2viq.png" alt="step_02.png" width="799" height="474"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 2):&lt;/strong&gt; Attack surface enumeration, directory discovery, or parameter analysis identifying potential vulnerability vectors.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F47ifilmidggw0gtqac3o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F47ifilmidggw0gtqac3o.png" alt="step_03.png" width="800" height="671"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 03:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqfdavd1xlynz0rpdmpzi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqfdavd1xlynz0rpdmpzi.png" alt="step_04.png" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 04:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjzhw1dmjzqtzu8refy6m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjzhw1dmjzqtzu8refy6m.png" alt="step_05.png" width="799" height="226"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 05:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwhzwhrq9iwraa48i6lps.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwhzwhrq9iwraa48i6lps.png" alt="step_06.png" width="800" height="250"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 06:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5n1s7dwmgag0b5zjfe3e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5n1s7dwmgag0b5zjfe3e.png" alt="step_07.png" width="799" height="379"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 07:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmg7x1tkwztzshv4lsaf8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmg7x1tkwztzshv4lsaf8.png" alt="step_08.png" width="800" height="707"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 08:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkdbukqtuweobkqicukj3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkdbukqtuweobkqicukj3.png" alt="step_09.png" width="799" height="371"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 09:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxeso8x2691105m7u8tkm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxeso8x2691105m7u8tkm.png" alt="step_10.png" width="800" height="686"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 10:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2a6wfxxp85s40l8hpn30.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2a6wfxxp85s40l8hpn30.png" alt="step_11.png" width="644" height="293"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 11:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgww44jzo267e0ycsutmu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgww44jzo267e0ycsutmu.png" alt="step_12.png" width="796" height="481"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 12:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foxmqc27oq91mq4l1b8by.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foxmqc27oq91mq4l1b8by.png" alt="step_13.png" width="800" height="354"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 13:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft91zzqnzok2jlilymvvc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft91zzqnzok2jlilymvvc.png" alt="step_14.png" width="800" height="546"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation PoC (Phase 4):&lt;/strong&gt; Exploitation of misconfiguration, SUID binary, or vulnerability leading to elevated privileges.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa9mf41eebvd2amkbglgi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa9mf41eebvd2amkbglgi.png" alt="step_15.png" width="285" height="124"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Evidence Verification (Phase 5):&lt;/strong&gt; Final administrative validation confirming root/SYSTEM access and retrieval of system flags.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛡️ 4. Strategic Remediation &amp;amp; Hardening Roadmap
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Immediate Tactical Actions (P1)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Patch Management &amp;amp; Software Upgrades:&lt;/strong&gt; Immediately apply official security updates and patches for all vulnerable software components and exposed services (N/A).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Access Control &amp;amp; SUID Audit:&lt;/strong&gt; Remove unnecessary SUID/SGID bits, audit &lt;code&gt;/etc/sudoers&lt;/code&gt; rules, and enforce strict Access Control Lists (ACLs) on sensitive files and administrative scripts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attack Surface Reduction:&lt;/strong&gt; Configure host-based firewalls (e.g., &lt;code&gt;iptables&lt;/code&gt; / &lt;code&gt;ufw&lt;/code&gt; / Windows Firewall) to restrict exposure of management services and internal ports to trusted administrative subnets only.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Architectural &amp;amp; Defensive Hardening (P2)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Principle of Least Privilege (PoLP):&lt;/strong&gt; Ensure public-facing daemons run under dedicated low-privileged service accounts configured with non-interactive login shells (&lt;code&gt;/sbin/nologin&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Network Microsegmentation:&lt;/strong&gt; Isolate production servers and database tiers within dedicated VLANs, enforcing stateful inspection and ingress/egress filtering on east-west traffic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Endpoint Detection &amp;amp; Telemetry (EDR):&lt;/strong&gt; Implement centralized logging and behavior-based detection rules to capture anomalous process spawning, unauthorized script interpreter execution, and suspicious outbound socket connections.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  📊 5. MITRE ATT&amp;amp;CK Enterprise Framework Mapping
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tactic&lt;/th&gt;
&lt;th&gt;Technique ID&lt;/th&gt;
&lt;th&gt;Technique Name&lt;/th&gt;
&lt;th&gt;Technical Application in Engagement&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reconnaissance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1595.002&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Active Scanning: Vulnerability Scanning&lt;/td&gt;
&lt;td&gt;Automated and manual port scanning, banner grabbing, and service discovery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Access&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1190&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Exploit Public-Facing Application&lt;/td&gt;
&lt;td&gt;Exploitation of exposed network/web service (Web Application Exploitation / Default Credentials)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Execution&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1059&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Command and Scripting Interpreter&lt;/td&gt;
&lt;td&gt;Interactive reverse shell execution and remote command dispatch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1068 / T1548&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Abuse Elevation Control Mechanism / Exploitation&lt;/td&gt;
&lt;td&gt;Local elevation to administrative/root privileges (Abuse of SUID Binaries / Sudo Misconfiguration)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;p&gt;© 2026 &lt;strong&gt;araizcorp&lt;/strong&gt; — Technical documentation and security assessment portfolio developed for &lt;strong&gt;OffSec&lt;/strong&gt; certification preparation (OSCP, OSEP, OSWE) and commercial penetration testing enablement.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>tryhackme</category>
      <category>pentesting</category>
      <category>infosec</category>
    </item>
    <item>
      <title>OffSec Assessment: Billing (TryHackMe) — Penetration Testing Report</title>
      <dc:creator>AraizCorp</dc:creator>
      <pubDate>Mon, 23 Nov 2026 19:42:43 +0000</pubDate>
      <link>https://dev.to/araizcorp/offsec-assessment-billing-tryhackme-penetration-testing-report-1knp</link>
      <guid>https://dev.to/araizcorp/offsec-assessment-billing-tryhackme-penetration-testing-report-1knp</guid>
      <description>&lt;h1&gt;
  
  
  Offensive Security Assessment Report: Billing
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" alt="TryHackMe" width="208" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" alt="Difficulty" width="174" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" alt="OS" width="106" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" alt="Standards" width="284" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" alt="Assessor" width="342" height="28"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Offensive Security Assessment &amp;amp; Penetration Testing Report&lt;/strong&gt; conducted on the target environment &lt;strong&gt;Billing&lt;/strong&gt; hosted on &lt;strong&gt;TryHackMe&lt;/strong&gt;, executed in accordance with &lt;strong&gt;OffSec PEN-200 (OSCP)&lt;/strong&gt; and &lt;strong&gt;PTES (Penetration Testing Execution Standard)&lt;/strong&gt; methodologies.&lt;/p&gt;




&lt;h2&gt;
  
  
  📑 1. Executive Summary
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Objective:&lt;/strong&gt; Identify, validate, and exploit security vulnerabilities across the target host to assess operational impact on confidentiality, integrity, and system availability.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Risk Rating:&lt;/strong&gt; &lt;code&gt;CRITICAL&lt;/code&gt; (Unauthenticated remote exploit vector leading to complete host compromise and administrative takeover).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Initial Access Vector:&lt;/strong&gt; Web Application Exploitation / Default Credentials&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation Vector:&lt;/strong&gt; Abuse of SUID Binaries / Sudo Misconfiguration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Engagement Outcome:&lt;/strong&gt; Complete Host Compromise (&lt;code&gt;User Proof&lt;/code&gt; and &lt;code&gt;Root / SYSTEM Proof&lt;/code&gt; successfully retrieved and verified).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Target Technical Specifications
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Technical Detail&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Target Host&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Billing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Platform&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;TryHackMe&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Operating System&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Linux&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Difficulty Rating&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Associated CVE(s)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Foothold Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Web Application Exploitation / Default Credentials&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Abuse of SUID Binaries / Sudo Misconfiguration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Lead Penetration Tester&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pedro Araiz (&lt;code&gt;araizcorp&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🎯 2. Attack Path &amp;amp; Kill Chain Workflow
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ Phase 1: Reconnaissance &amp;amp; Port Scanning ]
         │─── TCP SYN scanning and service fingerprinting (Nmap)
         └─── Attack surface mapping and daemon enumeration
         │
         ▼
[ Phase 2: Vulnerability Analysis &amp;amp; Service Enumeration ]
         │─── Web directory fuzzing, parameter discovery, and banner analysis
         └─── CVE identification and credential harvesting
         │
         ▼
[ Phase 3: Exploitation &amp;amp; Initial Foothold ]
         │─── Exploit delivery: Web Application Exploitation / Default Credentials
         └─── Establishing an interactive reverse shell with unprivileged user context
         │
         ▼
[ Phase 4: Local Privilege Escalation ]
         │─── Internal audit: Abuse of SUID Binaries / Sudo Misconfiguration
         └─── Elevation to superuser / administrator privileges (root / SYSTEM)
         │
         ▼
[ Phase 5: Evidence &amp;amp; Flag Retrieval ]
         └─── Capture and cryptographic verification of user.txt and root.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🔬 3. Technical Walkthrough &amp;amp; Step-by-Step Proof of Concept
&lt;/h2&gt;

&lt;p&gt;NMAP &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm7guyl91wf0gaae9w0xa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm7guyl91wf0gaae9w0xa.png" alt="step_01.png" width="718" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 1):&lt;/strong&gt; Initial network reconnaissance and service detection exposing active daemons and communication endpoints.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Gobuster&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fawyeocpd5tf4nghffwtx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fawyeocpd5tf4nghffwtx.png" alt="step_02.png" width="800" height="522"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 2):&lt;/strong&gt; Attack surface enumeration, directory discovery, or parameter analysis identifying potential vulnerability vectors.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;robots.txt&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhhfb917my4e9nmitctq5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhhfb917my4e9nmitctq5.png" alt="step_03.png" width="798" height="154"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 03:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;MagnusBilling&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7bqfbxe9rz2qo27vb508.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7bqfbxe9rz2qo27vb508.png" alt="step_04.png" width="800" height="379"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 04:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Buscar un exploit&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg13vrys024z2nrapsuu3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg13vrys024z2nrapsuu3.png" alt="step_05.png" width="799" height="306"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 05:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;metasploit&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fx493seo1dy00olmsnzk8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fx493seo1dy00olmsnzk8.png" alt="step_06.png" width="800" height="696"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 06:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnfoxc0l8whibahf8t50r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnfoxc0l8whibahf8t50r.png" alt="step_07.png" width="800" height="463"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 07:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;user.txt&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7bg7va3nx2r16hsjxvyz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7bg7va3nx2r16hsjxvyz.png" alt="step_08.png" width="625" height="410"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 08:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;escalada de privilegios&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnutat8u4h3p1jqzjzshr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnutat8u4h3p1jqzjzshr.png" alt="step_09.png" width="800" height="173"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 09:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0iinx04dqsz1ft473vlf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0iinx04dqsz1ft473vlf.png" alt="step_10.png" width="796" height="74"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 10:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkhthdhclxvpkh6b4vy80.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkhthdhclxvpkh6b4vy80.png" alt="step_11.png" width="800" height="24"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 11:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuhojoeo35docnocge6p9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuhojoeo35docnocge6p9.png" alt="step_12.png" width="789" height="15"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation PoC (Phase 4):&lt;/strong&gt; Exploitation of misconfiguration, SUID binary, or vulnerability leading to elevated privileges.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkss9ld9a3mwfnemghcgz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkss9ld9a3mwfnemghcgz.png" alt="step_13.png" width="739" height="203"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Evidence Verification (Phase 5):&lt;/strong&gt; Final administrative validation confirming root/SYSTEM access and retrieval of system flags.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛡️ 4. Strategic Remediation &amp;amp; Hardening Roadmap
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Immediate Tactical Actions (P1)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Patch Management &amp;amp; Software Upgrades:&lt;/strong&gt; Immediately apply official security updates and patches for all vulnerable software components and exposed services (N/A).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Access Control &amp;amp; SUID Audit:&lt;/strong&gt; Remove unnecessary SUID/SGID bits, audit &lt;code&gt;/etc/sudoers&lt;/code&gt; rules, and enforce strict Access Control Lists (ACLs) on sensitive files and administrative scripts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attack Surface Reduction:&lt;/strong&gt; Configure host-based firewalls (e.g., &lt;code&gt;iptables&lt;/code&gt; / &lt;code&gt;ufw&lt;/code&gt; / Windows Firewall) to restrict exposure of management services and internal ports to trusted administrative subnets only.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Architectural &amp;amp; Defensive Hardening (P2)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Principle of Least Privilege (PoLP):&lt;/strong&gt; Ensure public-facing daemons run under dedicated low-privileged service accounts configured with non-interactive login shells (&lt;code&gt;/sbin/nologin&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Network Microsegmentation:&lt;/strong&gt; Isolate production servers and database tiers within dedicated VLANs, enforcing stateful inspection and ingress/egress filtering on east-west traffic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Endpoint Detection &amp;amp; Telemetry (EDR):&lt;/strong&gt; Implement centralized logging and behavior-based detection rules to capture anomalous process spawning, unauthorized script interpreter execution, and suspicious outbound socket connections.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  📊 5. MITRE ATT&amp;amp;CK Enterprise Framework Mapping
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tactic&lt;/th&gt;
&lt;th&gt;Technique ID&lt;/th&gt;
&lt;th&gt;Technique Name&lt;/th&gt;
&lt;th&gt;Technical Application in Engagement&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reconnaissance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1595.002&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Active Scanning: Vulnerability Scanning&lt;/td&gt;
&lt;td&gt;Automated and manual port scanning, banner grabbing, and service discovery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Access&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1190&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Exploit Public-Facing Application&lt;/td&gt;
&lt;td&gt;Exploitation of exposed network/web service (Web Application Exploitation / Default Credentials)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Execution&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1059&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Command and Scripting Interpreter&lt;/td&gt;
&lt;td&gt;Interactive reverse shell execution and remote command dispatch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1068 / T1548&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Abuse Elevation Control Mechanism / Exploitation&lt;/td&gt;
&lt;td&gt;Local elevation to administrative/root privileges (Abuse of SUID Binaries / Sudo Misconfiguration)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;p&gt;© 2026 &lt;strong&gt;araizcorp&lt;/strong&gt; — Technical documentation and security assessment portfolio developed for &lt;strong&gt;OffSec&lt;/strong&gt; certification preparation (OSCP, OSEP, OSWE) and commercial penetration testing enablement.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>tryhackme</category>
      <category>pentesting</category>
      <category>infosec</category>
    </item>
    <item>
      <title>OffSec Assessment: Anthem (TryHackMe) — Penetration Testing Report</title>
      <dc:creator>AraizCorp</dc:creator>
      <pubDate>Mon, 23 Nov 2026 19:41:37 +0000</pubDate>
      <link>https://dev.to/araizcorp/offsec-assessment-anthem-tryhackme-penetration-testing-report-29pf</link>
      <guid>https://dev.to/araizcorp/offsec-assessment-anthem-tryhackme-penetration-testing-report-29pf</guid>
      <description>&lt;h1&gt;
  
  
  Offensive Security Assessment Report: Anthem
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" alt="TryHackMe" width="208" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" alt="Difficulty" width="174" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" alt="OS" width="106" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" alt="Standards" width="284" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" alt="Assessor" width="342" height="28"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Offensive Security Assessment &amp;amp; Penetration Testing Report&lt;/strong&gt; conducted on the target environment &lt;strong&gt;Anthem&lt;/strong&gt; hosted on &lt;strong&gt;TryHackMe&lt;/strong&gt;, executed in accordance with &lt;strong&gt;OffSec PEN-200 (OSCP)&lt;/strong&gt; and &lt;strong&gt;PTES (Penetration Testing Execution Standard)&lt;/strong&gt; methodologies.&lt;/p&gt;




&lt;h2&gt;
  
  
  📑 1. Executive Summary
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Objective:&lt;/strong&gt; Identify, validate, and exploit security vulnerabilities across the target host to assess operational impact on confidentiality, integrity, and system availability.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Risk Rating:&lt;/strong&gt; &lt;code&gt;CRITICAL&lt;/code&gt; (Unauthenticated remote exploit vector leading to complete host compromise and administrative takeover).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Initial Access Vector:&lt;/strong&gt; Web Application Exploitation / Default Credentials&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation Vector:&lt;/strong&gt; Abuse of SUID Binaries / Sudo Misconfiguration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Engagement Outcome:&lt;/strong&gt; Complete Host Compromise (&lt;code&gt;User Proof&lt;/code&gt; and &lt;code&gt;Root / SYSTEM Proof&lt;/code&gt; successfully retrieved and verified).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Target Technical Specifications
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Technical Detail&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Target Host&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Anthem&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Platform&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;TryHackMe&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Operating System&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Linux&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Difficulty Rating&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Associated CVE(s)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Foothold Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Web Application Exploitation / Default Credentials&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Abuse of SUID Binaries / Sudo Misconfiguration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Lead Penetration Tester&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pedro Araiz (&lt;code&gt;araizcorp&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🎯 2. Attack Path &amp;amp; Kill Chain Workflow
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ Phase 1: Reconnaissance &amp;amp; Port Scanning ]
         │─── TCP SYN scanning and service fingerprinting (Nmap)
         └─── Attack surface mapping and daemon enumeration
         │
         ▼
[ Phase 2: Vulnerability Analysis &amp;amp; Service Enumeration ]
         │─── Web directory fuzzing, parameter discovery, and banner analysis
         └─── CVE identification and credential harvesting
         │
         ▼
[ Phase 3: Exploitation &amp;amp; Initial Foothold ]
         │─── Exploit delivery: Web Application Exploitation / Default Credentials
         └─── Establishing an interactive reverse shell with unprivileged user context
         │
         ▼
[ Phase 4: Local Privilege Escalation ]
         │─── Internal audit: Abuse of SUID Binaries / Sudo Misconfiguration
         └─── Elevation to superuser / administrator privileges (root / SYSTEM)
         │
         ▼
[ Phase 5: Evidence &amp;amp; Flag Retrieval ]
         └─── Capture and cryptographic verification of user.txt and root.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🔬 3. Technical Walkthrough &amp;amp; Step-by-Step Proof of Concept
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fltlvvm8cyuurcsg75ccn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fltlvvm8cyuurcsg75ccn.png" alt="step_01.png" width="705" height="549"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 1):&lt;/strong&gt; Initial network reconnaissance and service detection exposing active daemons and communication endpoints.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffme1dudrabmx0smresla.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffme1dudrabmx0smresla.png" alt="step_02.png" width="800" height="481"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 2):&lt;/strong&gt; Attack surface enumeration, directory discovery, or parameter analysis identifying potential vulnerability vectors.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fen6boyavf94zm36iogfh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fen6boyavf94zm36iogfh.png" alt="step_03.png" width="800" height="371"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 03:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;flag 1&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fte4x8qdzbzvc9lqwutk0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fte4x8qdzbzvc9lqwutk0.png" alt="step_04.png" width="799" height="367"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 04:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;flag 2&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1cj4iaga4u01yg3h2q96.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1cj4iaga4u01yg3h2q96.png" alt="step_05.png" width="799" height="367"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 05:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;flag3 &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwjzpvrd4s3q1gfoxqa3d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwjzpvrd4s3q1gfoxqa3d.png" alt="step_06.png" width="800" height="366"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 06:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;flag 4&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fay6j7gl8zu6rwkyvg4rw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fay6j7gl8zu6rwkyvg4rw.png" alt="step_07.png" width="799" height="355"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 07:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fz48q3bpcteau3z2w3zgd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fz48q3bpcteau3z2w3zgd.png" alt="step_08.png" width="800" height="238"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 08:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpy4is049fno1i8hdo1vx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpy4is049fno1i8hdo1vx.png" alt="step_09.png" width="800" height="596"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 09:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqowg36n65v2bg0fd1va3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqowg36n65v2bg0fd1va3.png" alt="step_10.png" width="799" height="559"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 10:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;opción dos: &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff0ye1xsn37wzxyjbm4hn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff0ye1xsn37wzxyjbm4hn.png" alt="step_11.png" width="800" height="564"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation PoC (Phase 4):&lt;/strong&gt; Exploitation of misconfiguration, SUID binary, or vulnerability leading to elevated privileges.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;opción tres&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5ld10gqii6fuhj5il4t3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5ld10gqii6fuhj5il4t3.png" alt="step_12.png" width="800" height="576"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Evidence Verification (Phase 5):&lt;/strong&gt; Final administrative validation confirming root/SYSTEM access and retrieval of system flags.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛡️ 4. Strategic Remediation &amp;amp; Hardening Roadmap
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Immediate Tactical Actions (P1)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Patch Management &amp;amp; Software Upgrades:&lt;/strong&gt; Immediately apply official security updates and patches for all vulnerable software components and exposed services (N/A).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Access Control &amp;amp; SUID Audit:&lt;/strong&gt; Remove unnecessary SUID/SGID bits, audit &lt;code&gt;/etc/sudoers&lt;/code&gt; rules, and enforce strict Access Control Lists (ACLs) on sensitive files and administrative scripts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attack Surface Reduction:&lt;/strong&gt; Configure host-based firewalls (e.g., &lt;code&gt;iptables&lt;/code&gt; / &lt;code&gt;ufw&lt;/code&gt; / Windows Firewall) to restrict exposure of management services and internal ports to trusted administrative subnets only.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Architectural &amp;amp; Defensive Hardening (P2)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Principle of Least Privilege (PoLP):&lt;/strong&gt; Ensure public-facing daemons run under dedicated low-privileged service accounts configured with non-interactive login shells (&lt;code&gt;/sbin/nologin&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Network Microsegmentation:&lt;/strong&gt; Isolate production servers and database tiers within dedicated VLANs, enforcing stateful inspection and ingress/egress filtering on east-west traffic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Endpoint Detection &amp;amp; Telemetry (EDR):&lt;/strong&gt; Implement centralized logging and behavior-based detection rules to capture anomalous process spawning, unauthorized script interpreter execution, and suspicious outbound socket connections.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  📊 5. MITRE ATT&amp;amp;CK Enterprise Framework Mapping
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tactic&lt;/th&gt;
&lt;th&gt;Technique ID&lt;/th&gt;
&lt;th&gt;Technique Name&lt;/th&gt;
&lt;th&gt;Technical Application in Engagement&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reconnaissance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1595.002&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Active Scanning: Vulnerability Scanning&lt;/td&gt;
&lt;td&gt;Automated and manual port scanning, banner grabbing, and service discovery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Access&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1190&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Exploit Public-Facing Application&lt;/td&gt;
&lt;td&gt;Exploitation of exposed network/web service (Web Application Exploitation / Default Credentials)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Execution&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1059&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Command and Scripting Interpreter&lt;/td&gt;
&lt;td&gt;Interactive reverse shell execution and remote command dispatch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1068 / T1548&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Abuse Elevation Control Mechanism / Exploitation&lt;/td&gt;
&lt;td&gt;Local elevation to administrative/root privileges (Abuse of SUID Binaries / Sudo Misconfiguration)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;p&gt;© 2026 &lt;strong&gt;araizcorp&lt;/strong&gt; — Technical documentation and security assessment portfolio developed for &lt;strong&gt;OffSec&lt;/strong&gt; certification preparation (OSCP, OSEP, OSWE) and commercial penetration testing enablement.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>tryhackme</category>
      <category>pentesting</category>
      <category>infosec</category>
    </item>
    <item>
      <title>OffSec Assessment: RootME (TryHackMe) — Penetration Testing Report</title>
      <dc:creator>AraizCorp</dc:creator>
      <pubDate>Mon, 23 Nov 2026 19:21:17 +0000</pubDate>
      <link>https://dev.to/araizcorp/rootme-walkthrough-writeup-tryhackme-4lfo</link>
      <guid>https://dev.to/araizcorp/rootme-walkthrough-writeup-tryhackme-4lfo</guid>
      <description>&lt;h1&gt;
  
  
  Offensive Security Assessment Report: RootME
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" alt="TryHackMe" width="208" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" alt="Difficulty" width="174" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" alt="OS" width="106" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" alt="Standards" width="284" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" alt="Assessor" width="342" height="28"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Offensive Security Assessment &amp;amp; Penetration Testing Report&lt;/strong&gt; conducted on the target environment &lt;strong&gt;RootME&lt;/strong&gt; hosted on &lt;strong&gt;TryHackMe&lt;/strong&gt;, executed in accordance with &lt;strong&gt;OffSec PEN-200 (OSCP)&lt;/strong&gt; and &lt;strong&gt;PTES (Penetration Testing Execution Standard)&lt;/strong&gt; methodologies.&lt;/p&gt;




&lt;h2&gt;
  
  
  📑 1. Executive Summary
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Objective:&lt;/strong&gt; Identify, validate, and exploit security vulnerabilities across the target host to assess operational impact on confidentiality, integrity, and system availability.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Risk Rating:&lt;/strong&gt; &lt;code&gt;CRITICAL&lt;/code&gt; (Unauthenticated remote exploit vector leading to complete host compromise and administrative takeover).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Initial Access Vector:&lt;/strong&gt; Web Application Exploitation / Default Credentials&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation Vector:&lt;/strong&gt; Abuse of SUID Binaries / Sudo Misconfiguration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Engagement Outcome:&lt;/strong&gt; Complete Host Compromise (&lt;code&gt;User Proof&lt;/code&gt; and &lt;code&gt;Root / SYSTEM Proof&lt;/code&gt; successfully retrieved and verified).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Target Technical Specifications
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Technical Detail&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Target Host&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;RootME&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Platform&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;TryHackMe&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Operating System&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Linux&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Difficulty Rating&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Associated CVE(s)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Foothold Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Web Application Exploitation / Default Credentials&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Abuse of SUID Binaries / Sudo Misconfiguration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Lead Penetration Tester&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pedro Araiz (&lt;code&gt;araizcorp&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🎯 2. Attack Path &amp;amp; Kill Chain Workflow
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ Phase 1: Reconnaissance &amp;amp; Port Scanning ]
         │─── TCP SYN scanning and service fingerprinting (Nmap)
         └─── Attack surface mapping and daemon enumeration
         │
         ▼
[ Phase 2: Vulnerability Analysis &amp;amp; Service Enumeration ]
         │─── Web directory fuzzing, parameter discovery, and banner analysis
         └─── CVE identification and credential harvesting
         │
         ▼
[ Phase 3: Exploitation &amp;amp; Initial Foothold ]
         │─── Exploit delivery: Web Application Exploitation / Default Credentials
         └─── Establishing an interactive reverse shell with unprivileged user context
         │
         ▼
[ Phase 4: Local Privilege Escalation ]
         │─── Internal audit: Abuse of SUID Binaries / Sudo Misconfiguration
         └─── Elevation to superuser / administrator privileges (root / SYSTEM)
         │
         ▼
[ Phase 5: Evidence &amp;amp; Flag Retrieval ]
         └─── Capture and cryptographic verification of user.txt and root.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🔬 3. Technical Walkthrough &amp;amp; Step-by-Step Proof of Concept
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Assessment Query / Target Milestone:&lt;/strong&gt; Escanee la máquina, ¿cuántos puertos están abiertos?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Assessment Query / Target Milestone:&lt;/strong&gt; ¿Qué versión de Apache está ejecutándose?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Assessment Query / Target Milestone:&lt;/strong&gt; ¿Qué servicio se está ejecutando en el puerto 22?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftnm89tqwmfo2ols18n1v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftnm89tqwmfo2ols18n1v.png" alt="step_01.png" width="733" height="475"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 1):&lt;/strong&gt; Initial network reconnaissance and service detection exposing active daemons and communication endpoints.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Encuentre directorios en el servidor web utilizando la herramienta GoBuster&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Assessment Query / Target Milestone:&lt;/strong&gt; ¿Qué es el directorio oculto?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fckmrq260oqqsi38iyr5c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fckmrq260oqqsi38iyr5c.png" alt="step_02.png" width="799" height="489"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 2):&lt;/strong&gt; Attack surface enumeration, directory discovery, or parameter analysis identifying potential vulnerability vectors.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;usuario.txt&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frllil9eo042ynnju8t29.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frllil9eo042ynnju8t29.png" alt="step_03.png" width="800" height="647"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 03:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6li98qwy3h4tw9i86mg4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6li98qwy3h4tw9i86mg4.png" alt="step_04.png" width="800" height="649"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 04:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F72slj7a8os9rb7f85zs8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F72slj7a8os9rb7f85zs8.png" alt="step_05.png" width="800" height="719"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 05:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0ops30ctg5zifabncmu9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0ops30ctg5zifabncmu9.png" alt="step_06.png" width="800" height="693"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 06:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5vp5pcvjo1rq6tmwgn2s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5vp5pcvjo1rq6tmwgn2s.png" alt="step_07.png" width="800" height="696"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 07:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpx5pz6qun1zgerajqv4p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpx5pz6qun1zgerajqv4p.png" alt="step_08.png" width="797" height="52"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 08:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Assessment Query / Target Milestone:&lt;/strong&gt; Search for files with SUID permission, which file is weird?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Assessment Query / Target Milestone:&lt;/strong&gt; Find a form to escalate your privileges.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr3abd7vrmm8rtwce0ux6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr3abd7vrmm8rtwce0ux6.png" alt="step_09.png" width="736" height="594"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 09:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;raíz.txt&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fe5227wxplb97q0earbep.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fe5227wxplb97q0earbep.png" alt="step_10.png" width="800" height="360"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation PoC (Phase 4):&lt;/strong&gt; Exploitation of misconfiguration, SUID binary, or vulnerability leading to elevated privileges.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3tcdkyugc52olvv611jp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3tcdkyugc52olvv611jp.png" alt="step_11.png" width="729" height="584"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Evidence Verification (Phase 5):&lt;/strong&gt; Final administrative validation confirming root/SYSTEM access and retrieval of system flags.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛡️ 4. Strategic Remediation &amp;amp; Hardening Roadmap
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Immediate Tactical Actions (P1)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Patch Management &amp;amp; Software Upgrades:&lt;/strong&gt; Immediately apply official security updates and patches for all vulnerable software components and exposed services (N/A).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Access Control &amp;amp; SUID Audit:&lt;/strong&gt; Remove unnecessary SUID/SGID bits, audit &lt;code&gt;/etc/sudoers&lt;/code&gt; rules, and enforce strict Access Control Lists (ACLs) on sensitive files and administrative scripts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attack Surface Reduction:&lt;/strong&gt; Configure host-based firewalls (e.g., &lt;code&gt;iptables&lt;/code&gt; / &lt;code&gt;ufw&lt;/code&gt; / Windows Firewall) to restrict exposure of management services and internal ports to trusted administrative subnets only.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Architectural &amp;amp; Defensive Hardening (P2)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Principle of Least Privilege (PoLP):&lt;/strong&gt; Ensure public-facing daemons run under dedicated low-privileged service accounts configured with non-interactive login shells (&lt;code&gt;/sbin/nologin&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Network Microsegmentation:&lt;/strong&gt; Isolate production servers and database tiers within dedicated VLANs, enforcing stateful inspection and ingress/egress filtering on east-west traffic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Endpoint Detection &amp;amp; Telemetry (EDR):&lt;/strong&gt; Implement centralized logging and behavior-based detection rules to capture anomalous process spawning, unauthorized script interpreter execution, and suspicious outbound socket connections.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  📊 5. MITRE ATT&amp;amp;CK Enterprise Framework Mapping
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tactic&lt;/th&gt;
&lt;th&gt;Technique ID&lt;/th&gt;
&lt;th&gt;Technique Name&lt;/th&gt;
&lt;th&gt;Technical Application in Engagement&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reconnaissance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1595.002&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Active Scanning: Vulnerability Scanning&lt;/td&gt;
&lt;td&gt;Automated and manual port scanning, banner grabbing, and service discovery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Access&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1190&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Exploit Public-Facing Application&lt;/td&gt;
&lt;td&gt;Exploitation of exposed network/web service (Web Application Exploitation / Default Credentials)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Execution&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1059&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Command and Scripting Interpreter&lt;/td&gt;
&lt;td&gt;Interactive reverse shell execution and remote command dispatch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1068 / T1548&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Abuse Elevation Control Mechanism / Exploitation&lt;/td&gt;
&lt;td&gt;Local elevation to administrative/root privileges (Abuse of SUID Binaries / Sudo Misconfiguration)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;p&gt;© 2026 &lt;strong&gt;araizcorp&lt;/strong&gt; — Technical documentation and security assessment portfolio developed for &lt;strong&gt;OffSec&lt;/strong&gt; certification preparation (OSCP, OSEP, OSWE) and commercial penetration testing enablement.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>tryhackme</category>
      <category>pentesting</category>
      <category>infosec</category>
    </item>
    <item>
      <title>OffSec Assessment: Retro (TryHackMe) — Penetration Testing Report</title>
      <dc:creator>AraizCorp</dc:creator>
      <pubDate>Mon, 23 Nov 2026 19:21:14 +0000</pubDate>
      <link>https://dev.to/araizcorp/retro-walkthrough-writeup-tryhackme-47p7</link>
      <guid>https://dev.to/araizcorp/retro-walkthrough-writeup-tryhackme-47p7</guid>
      <description>&lt;h1&gt;
  
  
  Offensive Security Assessment Report: Retro
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" alt="TryHackMe" width="208" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" alt="Difficulty" width="174" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" alt="OS" width="106" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" alt="Standards" width="284" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" alt="Assessor" width="342" height="28"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Offensive Security Assessment &amp;amp; Penetration Testing Report&lt;/strong&gt; conducted on the target environment &lt;strong&gt;Retro&lt;/strong&gt; hosted on &lt;strong&gt;TryHackMe&lt;/strong&gt;, executed in accordance with &lt;strong&gt;OffSec PEN-200 (OSCP)&lt;/strong&gt; and &lt;strong&gt;PTES (Penetration Testing Execution Standard)&lt;/strong&gt; methodologies.&lt;/p&gt;




&lt;h2&gt;
  
  
  📑 1. Executive Summary
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Objective:&lt;/strong&gt; Identify, validate, and exploit security vulnerabilities across the target host to assess operational impact on confidentiality, integrity, and system availability.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Risk Rating:&lt;/strong&gt; &lt;code&gt;CRITICAL&lt;/code&gt; (Unauthenticated remote exploit vector leading to complete host compromise and administrative takeover).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Initial Access Vector:&lt;/strong&gt; Web Application Exploitation / Default Credentials&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation Vector:&lt;/strong&gt; Abuse of SUID Binaries / Sudo Misconfiguration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Engagement Outcome:&lt;/strong&gt; Complete Host Compromise (&lt;code&gt;User Proof&lt;/code&gt; and &lt;code&gt;Root / SYSTEM Proof&lt;/code&gt; successfully retrieved and verified).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Target Technical Specifications
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Technical Detail&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Target Host&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Retro&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Platform&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;TryHackMe&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Operating System&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Linux&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Difficulty Rating&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Associated CVE(s)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;CVE-2017-0213&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Foothold Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Web Application Exploitation / Default Credentials&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Abuse of SUID Binaries / Sudo Misconfiguration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Lead Penetration Tester&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pedro Araiz (&lt;code&gt;araizcorp&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🎯 2. Attack Path &amp;amp; Kill Chain Workflow
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ Phase 1: Reconnaissance &amp;amp; Port Scanning ]
         │─── TCP SYN scanning and service fingerprinting (Nmap)
         └─── Attack surface mapping and daemon enumeration
         │
         ▼
[ Phase 2: Vulnerability Analysis &amp;amp; Service Enumeration ]
         │─── Web directory fuzzing, parameter discovery, and banner analysis
         └─── CVE identification and credential harvesting
         │
         ▼
[ Phase 3: Exploitation &amp;amp; Initial Foothold ]
         │─── Exploit delivery: Web Application Exploitation / Default Credentials
         └─── Establishing an interactive reverse shell with unprivileged user context
         │
         ▼
[ Phase 4: Local Privilege Escalation ]
         │─── Internal audit: Abuse of SUID Binaries / Sudo Misconfiguration
         └─── Elevation to superuser / administrator privileges (root / SYSTEM)
         │
         ▼
[ Phase 5: Evidence &amp;amp; Flag Retrieval ]
         └─── Capture and cryptographic verification of user.txt and root.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🔬 3. Technical Walkthrough &amp;amp; Step-by-Step Proof of Concept
&lt;/h2&gt;

&lt;p&gt;Primera pregunta &lt;/p&gt;

&lt;p&gt;/retro&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faewnyhv8jcb4qaxf7wgq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faewnyhv8jcb4qaxf7wgq.png" alt="step_01.png" width="800" height="621"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 1):&lt;/strong&gt; Initial network reconnaissance and service detection exposing active daemons and communication endpoints.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3a7xu144a75or0j8e3ue.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3a7xu144a75or0j8e3ue.png" alt="step_02.png" width="786" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 2):&lt;/strong&gt; Attack surface enumeration, directory discovery, or parameter analysis identifying potential vulnerability vectors.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Segunda pregunta &lt;/p&gt;

&lt;p&gt;3b99fbdc6d430bfb51c72c651a261927&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxecu0pbilhra1tjmmilx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxecu0pbilhra1tjmmilx.png" alt="step_03.png" width="579" height="277"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 03:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftw6y8mhvnmmva9jf4ozk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftw6y8mhvnmmva9jf4ozk.png" alt="step_04.png" width="800" height="317"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 04:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhd692b3frxzhsfa3a977.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhd692b3frxzhsfa3a977.png" alt="step_05.png" width="717" height="738"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 05:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi0o9yhjn0ya9g0tkodd5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi0o9yhjn0ya9g0tkodd5.png" alt="step_06.png" width="800" height="489"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 06:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;tercera flag&lt;/p&gt;

&lt;p&gt;7958b569565d7bd88d10c6f22d1c4063&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fh7he12noe8twhjx4gkue.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fh7he12noe8twhjx4gkue.png" alt="step_07.png" width="799" height="567"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 07:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://github.com/SecWiki/windows-kernel-exploits/tree/master/CVE-2017-0213" rel="noopener noreferrer"&gt;https://github.com/SecWiki/windows-kernel-exploits/tree/master/CVE-2017-0213&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fx3erkcead6fbeupi18xz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fx3erkcead6fbeupi18xz.png" alt="step_08.png" width="800" height="348"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 08:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbp9z7duzdx93u4slwijy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbp9z7duzdx93u4slwijy.png" alt="step_09.png" width="800" height="568"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation PoC (Phase 4):&lt;/strong&gt; Exploitation of misconfiguration, SUID binary, or vulnerability leading to elevated privileges.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fe9qmb3uzqrj1qi5na34g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fe9qmb3uzqrj1qi5na34g.png" alt="step_10.png" width="800" height="556"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Evidence Verification (Phase 5):&lt;/strong&gt; Final administrative validation confirming root/SYSTEM access and retrieval of system flags.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛡️ 4. Strategic Remediation &amp;amp; Hardening Roadmap
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Immediate Tactical Actions (P1)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Patch Management &amp;amp; Software Upgrades:&lt;/strong&gt; Immediately apply official security updates and patches for all vulnerable software components and exposed services (CVE-2017-0213).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Access Control &amp;amp; SUID Audit:&lt;/strong&gt; Remove unnecessary SUID/SGID bits, audit &lt;code&gt;/etc/sudoers&lt;/code&gt; rules, and enforce strict Access Control Lists (ACLs) on sensitive files and administrative scripts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attack Surface Reduction:&lt;/strong&gt; Configure host-based firewalls (e.g., &lt;code&gt;iptables&lt;/code&gt; / &lt;code&gt;ufw&lt;/code&gt; / Windows Firewall) to restrict exposure of management services and internal ports to trusted administrative subnets only.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Architectural &amp;amp; Defensive Hardening (P2)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Principle of Least Privilege (PoLP):&lt;/strong&gt; Ensure public-facing daemons run under dedicated low-privileged service accounts configured with non-interactive login shells (&lt;code&gt;/sbin/nologin&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Network Microsegmentation:&lt;/strong&gt; Isolate production servers and database tiers within dedicated VLANs, enforcing stateful inspection and ingress/egress filtering on east-west traffic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Endpoint Detection &amp;amp; Telemetry (EDR):&lt;/strong&gt; Implement centralized logging and behavior-based detection rules to capture anomalous process spawning, unauthorized script interpreter execution, and suspicious outbound socket connections.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  📊 5. MITRE ATT&amp;amp;CK Enterprise Framework Mapping
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tactic&lt;/th&gt;
&lt;th&gt;Technique ID&lt;/th&gt;
&lt;th&gt;Technique Name&lt;/th&gt;
&lt;th&gt;Technical Application in Engagement&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reconnaissance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1595.002&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Active Scanning: Vulnerability Scanning&lt;/td&gt;
&lt;td&gt;Automated and manual port scanning, banner grabbing, and service discovery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Access&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1190&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Exploit Public-Facing Application&lt;/td&gt;
&lt;td&gt;Exploitation of exposed network/web service (Web Application Exploitation / Default Credentials)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Execution&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1059&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Command and Scripting Interpreter&lt;/td&gt;
&lt;td&gt;Interactive reverse shell execution and remote command dispatch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1068 / T1548&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Abuse Elevation Control Mechanism / Exploitation&lt;/td&gt;
&lt;td&gt;Local elevation to administrative/root privileges (Abuse of SUID Binaries / Sudo Misconfiguration)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;p&gt;© 2026 &lt;strong&gt;araizcorp&lt;/strong&gt; — Technical documentation and security assessment portfolio developed for &lt;strong&gt;OffSec&lt;/strong&gt; certification preparation (OSCP, OSEP, OSWE) and commercial penetration testing enablement.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>tryhackme</category>
      <category>pentesting</category>
      <category>infosec</category>
    </item>
    <item>
      <title>OffSec Assessment: Cyborg (TryHackMe) — Penetration Testing Report</title>
      <dc:creator>AraizCorp</dc:creator>
      <pubDate>Mon, 23 Nov 2026 19:16:09 +0000</pubDate>
      <link>https://dev.to/araizcorp/cyborg-walkthrough-writeup-tryhackme-3idl</link>
      <guid>https://dev.to/araizcorp/cyborg-walkthrough-writeup-tryhackme-3idl</guid>
      <description>&lt;h1&gt;
  
  
  Offensive Security Assessment Report: Cyborg
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" alt="TryHackMe" width="208" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" alt="Difficulty" width="174" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" alt="OS" width="106" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" alt="Standards" width="284" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" alt="Assessor" width="342" height="28"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Offensive Security Assessment &amp;amp; Penetration Testing Report&lt;/strong&gt; conducted on the target environment &lt;strong&gt;Cyborg&lt;/strong&gt; hosted on &lt;strong&gt;TryHackMe&lt;/strong&gt;, executed in accordance with &lt;strong&gt;OffSec PEN-200 (OSCP)&lt;/strong&gt; and &lt;strong&gt;PTES (Penetration Testing Execution Standard)&lt;/strong&gt; methodologies.&lt;/p&gt;




&lt;h2&gt;
  
  
  📑 1. Executive Summary
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Objective:&lt;/strong&gt; Identify, validate, and exploit security vulnerabilities across the target host to assess operational impact on confidentiality, integrity, and system availability.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Risk Rating:&lt;/strong&gt; &lt;code&gt;CRITICAL&lt;/code&gt; (Unauthenticated remote exploit vector leading to complete host compromise and administrative takeover).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Initial Access Vector:&lt;/strong&gt; Web Application Exploitation / Default Credentials&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation Vector:&lt;/strong&gt; Abuse of SUID Binaries / Sudo Misconfiguration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Engagement Outcome:&lt;/strong&gt; Complete Host Compromise (&lt;code&gt;User Proof&lt;/code&gt; and &lt;code&gt;Root / SYSTEM Proof&lt;/code&gt; successfully retrieved and verified).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Target Technical Specifications
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Technical Detail&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Target Host&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Cyborg&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Platform&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;TryHackMe&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Operating System&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Linux&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Difficulty Rating&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Associated CVE(s)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Foothold Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Web Application Exploitation / Default Credentials&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Abuse of SUID Binaries / Sudo Misconfiguration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Lead Penetration Tester&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pedro Araiz (&lt;code&gt;araizcorp&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🎯 2. Attack Path &amp;amp; Kill Chain Workflow
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ Phase 1: Reconnaissance &amp;amp; Port Scanning ]
         │─── TCP SYN scanning and service fingerprinting (Nmap)
         └─── Attack surface mapping and daemon enumeration
         │
         ▼
[ Phase 2: Vulnerability Analysis &amp;amp; Service Enumeration ]
         │─── Web directory fuzzing, parameter discovery, and banner analysis
         └─── CVE identification and credential harvesting
         │
         ▼
[ Phase 3: Exploitation &amp;amp; Initial Foothold ]
         │─── Exploit delivery: Web Application Exploitation / Default Credentials
         └─── Establishing an interactive reverse shell with unprivileged user context
         │
         ▼
[ Phase 4: Local Privilege Escalation ]
         │─── Internal audit: Abuse of SUID Binaries / Sudo Misconfiguration
         └─── Elevation to superuser / administrator privileges (root / SYSTEM)
         │
         ▼
[ Phase 5: Evidence &amp;amp; Flag Retrieval ]
         └─── Capture and cryptographic verification of user.txt and root.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🔬 3. Technical Walkthrough &amp;amp; Step-by-Step Proof of Concept
&lt;/h2&gt;

&lt;p&gt;Enumeración&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fh4aygavqgnyrxpalgpew.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fh4aygavqgnyrxpalgpew.png" alt="step_01.png" width="742" height="603"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 1):&lt;/strong&gt; Initial network reconnaissance and service detection exposing active daemons and communication endpoints.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff7ryyj0y472hsa61hs1t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff7ryyj0y472hsa61hs1t.png" alt="step_02.png" width="720" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 2):&lt;/strong&gt; Attack surface enumeration, directory discovery, or parameter analysis identifying potential vulnerability vectors.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8aqcfuiqi4qhmx1eqkct.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8aqcfuiqi4qhmx1eqkct.png" alt="step_03.png" width="800" height="192"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 03:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fos3wx62cx13sgh7dr7fi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fos3wx62cx13sgh7dr7fi.png" alt="step_04.png" width="790" height="231"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 04:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6mgyjr6axi6z8t1hop90.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6mgyjr6axi6z8t1hop90.png" alt="step_05.png" width="800" height="541"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 05:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjtgqeypspjmwnrnpjo1d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjtgqeypspjmwnrnpjo1d.png" alt="step_06.png" width="799" height="170"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 06:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F99fm74amxw8b1rj3ypt7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F99fm74amxw8b1rj3ypt7.png" alt="step_07.png" width="800" height="459"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 07:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgbn1b7tqwg3fsqola6fp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgbn1b7tqwg3fsqola6fp.png" alt="step_08.png" width="652" height="528"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 08:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvgsaesskf7t4whyuxzu9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvgsaesskf7t4whyuxzu9.png" alt="step_09.png" width="662" height="502"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 09:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyf76uy31sirfmmvtz0jn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyf76uy31sirfmmvtz0jn.png" alt="step_10.png" width="687" height="67"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 10:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5v7qfa2o8dnahdvxp5pc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5v7qfa2o8dnahdvxp5pc.png" alt="step_11.png" width="653" height="516"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 11:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fusr344rr35rgcndr0kri.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fusr344rr35rgcndr0kri.png" alt="step_12.png" width="652" height="513"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 12:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjmoo7u0o12c2znxs8h7r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjmoo7u0o12c2znxs8h7r.png" alt="step_13.png" width="664" height="522"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 13:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fb77ofw599gu7m4gflfop.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fb77ofw599gu7m4gflfop.png" alt="step_14.png" width="799" height="440"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 14:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flvxvcgxcihi4l79ccf1b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flvxvcgxcihi4l79ccf1b.png" alt="step_15.png" width="717" height="363"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 15:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8g4m5w6bnpwtjtfvy5co.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8g4m5w6bnpwtjtfvy5co.png" alt="step_16.png" width="775" height="146"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Step 16:&lt;/strong&gt; Command execution output, exploit delivery proof, or auxiliary evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fz5cccvweom9fgr49wzyc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fz5cccvweom9fgr49wzyc.png" alt="step_17.png" width="448" height="182"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation PoC (Phase 4):&lt;/strong&gt; Exploitation of misconfiguration, SUID binary, or vulnerability leading to elevated privileges.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbh7z0illaf6cs1trqn65.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbh7z0illaf6cs1trqn65.png" alt="step_18.png" width="633" height="219"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Evidence Verification (Phase 5):&lt;/strong&gt; Final administrative validation confirming root/SYSTEM access and retrieval of system flags.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛡️ 4. Strategic Remediation &amp;amp; Hardening Roadmap
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Immediate Tactical Actions (P1)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Patch Management &amp;amp; Software Upgrades:&lt;/strong&gt; Immediately apply official security updates and patches for all vulnerable software components and exposed services (N/A).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Access Control &amp;amp; SUID Audit:&lt;/strong&gt; Remove unnecessary SUID/SGID bits, audit &lt;code&gt;/etc/sudoers&lt;/code&gt; rules, and enforce strict Access Control Lists (ACLs) on sensitive files and administrative scripts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attack Surface Reduction:&lt;/strong&gt; Configure host-based firewalls (e.g., &lt;code&gt;iptables&lt;/code&gt; / &lt;code&gt;ufw&lt;/code&gt; / Windows Firewall) to restrict exposure of management services and internal ports to trusted administrative subnets only.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Architectural &amp;amp; Defensive Hardening (P2)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Principle of Least Privilege (PoLP):&lt;/strong&gt; Ensure public-facing daemons run under dedicated low-privileged service accounts configured with non-interactive login shells (&lt;code&gt;/sbin/nologin&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Network Microsegmentation:&lt;/strong&gt; Isolate production servers and database tiers within dedicated VLANs, enforcing stateful inspection and ingress/egress filtering on east-west traffic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Endpoint Detection &amp;amp; Telemetry (EDR):&lt;/strong&gt; Implement centralized logging and behavior-based detection rules to capture anomalous process spawning, unauthorized script interpreter execution, and suspicious outbound socket connections.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  📊 5. MITRE ATT&amp;amp;CK Enterprise Framework Mapping
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tactic&lt;/th&gt;
&lt;th&gt;Technique ID&lt;/th&gt;
&lt;th&gt;Technique Name&lt;/th&gt;
&lt;th&gt;Technical Application in Engagement&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reconnaissance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1595.002&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Active Scanning: Vulnerability Scanning&lt;/td&gt;
&lt;td&gt;Automated and manual port scanning, banner grabbing, and service discovery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Access&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1190&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Exploit Public-Facing Application&lt;/td&gt;
&lt;td&gt;Exploitation of exposed network/web service (Web Application Exploitation / Default Credentials)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Execution&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1059&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Command and Scripting Interpreter&lt;/td&gt;
&lt;td&gt;Interactive reverse shell execution and remote command dispatch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1068 / T1548&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Abuse Elevation Control Mechanism / Exploitation&lt;/td&gt;
&lt;td&gt;Local elevation to administrative/root privileges (Abuse of SUID Binaries / Sudo Misconfiguration)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;p&gt;© 2026 &lt;strong&gt;araizcorp&lt;/strong&gt; — Technical documentation and security assessment portfolio developed for &lt;strong&gt;OffSec&lt;/strong&gt; certification preparation (OSCP, OSEP, OSWE) and commercial penetration testing enablement.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>tryhackme</category>
      <category>pentesting</category>
      <category>infosec</category>
    </item>
    <item>
      <title>OffSec Assessment: CyberHeroes (TryHackMe) — Penetration Testing Report</title>
      <dc:creator>AraizCorp</dc:creator>
      <pubDate>Mon, 23 Nov 2026 19:16:06 +0000</pubDate>
      <link>https://dev.to/araizcorp/cyberheroes-walkthrough-writeup-tryhackme-1c76</link>
      <guid>https://dev.to/araizcorp/cyberheroes-walkthrough-writeup-tryhackme-1c76</guid>
      <description>&lt;h1&gt;
  
  
  Offensive Security Assessment Report: CyberHeroes
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FPlatform-TryHackMe-blue%3Fstyle%3Dfor-the-badge%26logo%3Dtryhackme" alt="TryHackMe" width="208" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FDifficulty-Medium-yellow%3Fstyle%3Dfor-the-badge" alt="Difficulty" width="174" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FOS-Linux-orange%3Fstyle%3Dfor-the-badge" alt="OS" width="106" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FStandards-OffSec%2520PEN--200%2520%252F%2520PTES-purple%3Fstyle%3Dfor-the-badge" alt="Standards" width="284" height="28"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FAssessor-araizcorp%2520Offensive%2520Security-blue%3Fstyle%3Dfor-the-badge" alt="Assessor" width="342" height="28"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Offensive Security Assessment &amp;amp; Penetration Testing Report&lt;/strong&gt; conducted on the target environment &lt;strong&gt;CyberHeroes&lt;/strong&gt; hosted on &lt;strong&gt;TryHackMe&lt;/strong&gt;, executed in accordance with &lt;strong&gt;OffSec PEN-200 (OSCP)&lt;/strong&gt; and &lt;strong&gt;PTES (Penetration Testing Execution Standard)&lt;/strong&gt; methodologies.&lt;/p&gt;




&lt;h2&gt;
  
  
  📑 1. Executive Summary
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessment Objective:&lt;/strong&gt; Identify, validate, and exploit security vulnerabilities across the target host to assess operational impact on confidentiality, integrity, and system availability.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Risk Rating:&lt;/strong&gt; &lt;code&gt;CRITICAL&lt;/code&gt; (Unauthenticated remote exploit vector leading to complete host compromise and administrative takeover).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Initial Access Vector:&lt;/strong&gt; Web Application Exploitation / Default Credentials&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation Vector:&lt;/strong&gt; Abuse of SUID Binaries / Sudo Misconfiguration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Engagement Outcome:&lt;/strong&gt; Complete Host Compromise (&lt;code&gt;User Proof&lt;/code&gt; and &lt;code&gt;Root / SYSTEM Proof&lt;/code&gt; successfully retrieved and verified).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Target Technical Specifications
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Technical Detail&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Target Host&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;CyberHeroes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Platform&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;TryHackMe&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Operating System&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Linux&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Difficulty Rating&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Associated CVE(s)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Foothold Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Web Application Exploitation / Default Credentials&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation Vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Abuse of SUID Binaries / Sudo Misconfiguration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Lead Penetration Tester&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pedro Araiz (&lt;code&gt;araizcorp&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🎯 2. Attack Path &amp;amp; Kill Chain Workflow
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ Phase 1: Reconnaissance &amp;amp; Port Scanning ]
         │─── TCP SYN scanning and service fingerprinting (Nmap)
         └─── Attack surface mapping and daemon enumeration
         │
         ▼
[ Phase 2: Vulnerability Analysis &amp;amp; Service Enumeration ]
         │─── Web directory fuzzing, parameter discovery, and banner analysis
         └─── CVE identification and credential harvesting
         │
         ▼
[ Phase 3: Exploitation &amp;amp; Initial Foothold ]
         │─── Exploit delivery: Web Application Exploitation / Default Credentials
         └─── Establishing an interactive reverse shell with unprivileged user context
         │
         ▼
[ Phase 4: Local Privilege Escalation ]
         │─── Internal audit: Abuse of SUID Binaries / Sudo Misconfiguration
         └─── Elevation to superuser / administrator privileges (root / SYSTEM)
         │
         ▼
[ Phase 5: Evidence &amp;amp; Flag Retrieval ]
         └─── Capture and cryptographic verification of user.txt and root.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🔬 3. Technical Walkthrough &amp;amp; Step-by-Step Proof of Concept
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmtv1qwlrf2ewg1azf0q2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmtv1qwlrf2ewg1azf0q2.png" alt="step_01.png" width="800" height="413"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 1):&lt;/strong&gt; Initial network reconnaissance and service detection exposing active daemons and communication endpoints.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2boziokobm4wtdmf2ua0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2boziokobm4wtdmf2ua0.png" alt="step_02.png" width="606" height="49"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical Finding (Phase 2):&lt;/strong&gt; Attack surface enumeration, directory discovery, or parameter analysis identifying potential vulnerability vectors.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmfjp9gz5es5vmnblxx6i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmfjp9gz5es5vmnblxx6i.png" alt="step_03.png" width="791" height="567"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privilege Escalation PoC (Phase 4):&lt;/strong&gt; Exploitation of misconfiguration, SUID binary, or vulnerability leading to elevated privileges.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4cs2efv1jio5mxysfmvj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4cs2efv1jio5mxysfmvj.png" alt="step_04.png" width="800" height="83"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Evidence Verification (Phase 5):&lt;/strong&gt; Final administrative validation confirming root/SYSTEM access and retrieval of system flags.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛡️ 4. Strategic Remediation &amp;amp; Hardening Roadmap
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Immediate Tactical Actions (P1)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Patch Management &amp;amp; Software Upgrades:&lt;/strong&gt; Immediately apply official security updates and patches for all vulnerable software components and exposed services (N/A).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Access Control &amp;amp; SUID Audit:&lt;/strong&gt; Remove unnecessary SUID/SGID bits, audit &lt;code&gt;/etc/sudoers&lt;/code&gt; rules, and enforce strict Access Control Lists (ACLs) on sensitive files and administrative scripts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attack Surface Reduction:&lt;/strong&gt; Configure host-based firewalls (e.g., &lt;code&gt;iptables&lt;/code&gt; / &lt;code&gt;ufw&lt;/code&gt; / Windows Firewall) to restrict exposure of management services and internal ports to trusted administrative subnets only.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Architectural &amp;amp; Defensive Hardening (P2)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Principle of Least Privilege (PoLP):&lt;/strong&gt; Ensure public-facing daemons run under dedicated low-privileged service accounts configured with non-interactive login shells (&lt;code&gt;/sbin/nologin&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Network Microsegmentation:&lt;/strong&gt; Isolate production servers and database tiers within dedicated VLANs, enforcing stateful inspection and ingress/egress filtering on east-west traffic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Endpoint Detection &amp;amp; Telemetry (EDR):&lt;/strong&gt; Implement centralized logging and behavior-based detection rules to capture anomalous process spawning, unauthorized script interpreter execution, and suspicious outbound socket connections.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  📊 5. MITRE ATT&amp;amp;CK Enterprise Framework Mapping
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tactic&lt;/th&gt;
&lt;th&gt;Technique ID&lt;/th&gt;
&lt;th&gt;Technique Name&lt;/th&gt;
&lt;th&gt;Technical Application in Engagement&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reconnaissance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1595.002&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Active Scanning: Vulnerability Scanning&lt;/td&gt;
&lt;td&gt;Automated and manual port scanning, banner grabbing, and service discovery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Initial Access&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1190&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Exploit Public-Facing Application&lt;/td&gt;
&lt;td&gt;Exploitation of exposed network/web service (Web Application Exploitation / Default Credentials)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Execution&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1059&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Command and Scripting Interpreter&lt;/td&gt;
&lt;td&gt;Interactive reverse shell execution and remote command dispatch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Privilege Escalation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;T1068 / T1548&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Abuse Elevation Control Mechanism / Exploitation&lt;/td&gt;
&lt;td&gt;Local elevation to administrative/root privileges (Abuse of SUID Binaries / Sudo Misconfiguration)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;p&gt;© 2026 &lt;strong&gt;araizcorp&lt;/strong&gt; — Technical documentation and security assessment portfolio developed for &lt;strong&gt;OffSec&lt;/strong&gt; certification preparation (OSCP, OSEP, OSWE) and commercial penetration testing enablement.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>tryhackme</category>
      <category>pentesting</category>
      <category>infosec</category>
    </item>
  </channel>
</rss>
