<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Stephen Onyango on Medium]]></title>
        <description><![CDATA[Stories by Stephen Onyango on Medium]]></description>
        <link>https://medium.com/@stephen_onyango?source=rss-89cfbb7f7f93------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*WMGeZa3EPpbFeznqi6M4Og.jpeg</url>
            <title>Stories by Stephen Onyango on Medium</title>
            <link>https://medium.com/@stephen_onyango?source=rss-89cfbb7f7f93------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 13:13:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@stephen_onyango/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Home Router Pentest]]></title>
            <link>https://medium.com/@stephen_onyango/home-router-pentest-fc2a8cfe4b25?source=rss-89cfbb7f7f93------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc2a8cfe4b25</guid>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[wireless-security]]></category>
            <category><![CDATA[network-penetration]]></category>
            <category><![CDATA[wifihacking]]></category>
            <dc:creator><![CDATA[Stephen Onyango]]></dc:creator>
            <pubDate>Wed, 21 Oct 2026 06:59:13 GMT</pubDate>
            <atom:updated>2026-10-23T11:57:19.495Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>How secure is your home Wi-Fi, really? Could someone recover your password without ever knowing it? Curious to find out, I conducted a hands-on security assessment of my home network. The goal was to understand how wireless networks can be discovered, how WPA/WPA2 handshakes can be captured, and how password strength affects network security.</p><p>Beyond testing, this assessment revealed weaknesses in my router’s configuration and allowed me to implement practical security improvements. In this write-up, I document the process, findings, and lessons learned from testing and securing my own home network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZkkhKrRVVfTGJUtk" /><figcaption>Photo by <a href="https://unsplash.com/@dreamlikestreet?utm_source=medium&amp;utm_medium=referral">Dreamlike Street</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Setup and Tools</h3><p>The assessment was conducted on my home Wi-Fi network using the following tools:</p><ul><li>Ubuntu Linux -The primary operating system with a wireless adapter that supports monitor mode.</li><li>airmon-ng -Enabled monitor mode on the wireless interface.</li><li>airodump-ng -Discovered nearby wireless networks and captured handshake data.</li><li>aireplay-ng -Sent deauthentication packets to trigger client reconnections.</li><li>aircrack-ng -Audited the captured handshake against a password wordlist.</li><li>Router(2.4GHz)- The wireless access point used as the target for this authorized security assessment.</li><li>Seclists Wordlist: Provided password wordlists for testing the strength of the Wi-Fi password.</li></ul><p>All testing was conducted on my own home network for educational purposes.</p><h3>Steps to Testing</h3><ol><li>Enable monitor mode on the wireless interface by checking and stopping any running process that may interfere with monitor mode.</li></ol><pre>#check for process that may interfere monitor<br>sudo airmon-ng check<br><br>#stop these process<br>sudo airmon-ng check kill</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I0mi6sOLt1Cu5sTBYzYojw.png" /><figcaption>airmon-ng check and stop</figcaption></figure><p>2. Start monitoring the wireless interface. In my case the interface name is <em>wlp0s20f3 </em>but in most instances it is normally <em>wlan0. </em>So use the actual name of your interface.</p><pre>#start monitor mode on the wireless interface<br>sudo airmon-ng start wlp0s20f3</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yoONCyLybcCIAr4MgjmAKg.png" /></figure><p>3. Discover nearby Wi-Fi networks using the command below. In this case we use <em>wlp0s20f3mon </em>but normally we’d use <em>wlan0mon</em></p><pre>#Discover wifi networks around<br>sudo airodump-ng wlp0s20f3mon</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HUMXmRPHAOZnvFK9hWi1Bw.png" /><figcaption>wifi networks redacted</figcaption></figure><blockquote>We identified nearby Wi-Fi networks and the devices communicating with them. The <strong>BSSID</strong> identifies the access point using its MAC address, while <strong>PWR</strong> indicates signal strength: the closer the value is to zero, the stronger the signal. In our case, -26 is the strongest, followed by -54, while -84 is the weakest. The <strong>Beacons</strong> field shows the number of beacon frames detected. <strong>CH</strong> indicates the Wi-Fi channel, while <strong>ENC</strong> identifies the encryption type, such as OPN (open network) or WPA2. <strong>Cipher</strong> specifies the encryption algorithm, such as CCMP, and <strong>AUTH</strong> indicates the authentication method, such as PSK (pre-shared key). The <strong>ESSID</strong> displays the Wi-Fi network name. Finally, the <strong>Station</strong> section lists detected client devices, identified by their MAC addresses, and shows their associations with access points where applicable.</blockquote><p>4. Focus on the home network. For this phase it is important to note the <em>BSSID, and Channel </em>of the wifi network as they will be essential components of the command below.</p><pre>#identify client devices on the network<br>sudo airodump-ng --bssid MY_BSSID -c CHANNEL wlp0s20f3mon</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mEqGygag7OJ4Vr5WMw2crw.png" /><figcaption>stations redacted</figcaption></figure><blockquote>I found two devices connected to my wi-fi. I know these devices so no need to panic</blockquote><p>5. Deauthetication attack — While capturing traffic with airodump-ng, use aireplay-ng in a separate terminal to send 10 deauthentication packets to a client on the own network. This temporarily disconnects the client, potentially prompting it to reconnect. During reconnection, airodump-ng may capture the WPA2 4-way handshake, which is used to establish session keys and authenticate the client.</p><pre>#send 10 deauth packets<br>sudo aireplay-ng --deauth 10 -a &lt;BSSID&gt; -c &lt;CLIENT_MAC&gt; wlp0s20f3mon</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tGwSc-LAaosBaVaxtyk0ww.png" /><figcaption>deauth redacted</figcaption></figure><p>On the other terminal tab, capture this handshake.</p><pre>#capture the wpa handshake<br>sudo airodump-ng --bssid &lt;BSSID&gt; -c &lt;channel&gt; -w capture wlp0s20f3mon</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*UzdOlx8PKQg8APsxtcs87A.png" /><figcaption>wpa handshake</figcaption></figure><p>6. Password cracking attempt — using <em>aircrack-ng </em>I tried to crack the captured handshake file using the <a href="https://github.com/danielmiessler/SecLists"><em>Seclists</em></a><em> </em>wordlist. The command is below.</p><pre>#password cracking with seclists wordlist<br>sudo aircrack-ng -w SecLists/Passwords/Common-Credentials/Pwdb_top-10000000.txt capture-01.cap</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UfgScU6ULnmaoTa8nRv0gA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*SOLtQulEupqoXi2L0cB0HA.png" /><figcaption>Password cracked</figcaption></figure><p>We were able to find the password of to the Wi-Fi from a Seclists wordlist.</p><h3>Remediation</h3><p>Following the assessment, I implemented the following security improvements to strengthen my home network:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L7ATmX9s4mkCJ_R6OElUpw.png" /><figcaption>hardening security</figcaption></figure><ul><li><strong>Changed the Wi-Fi password:</strong> Replaced the vulnerable password with a unique, strong password to reduce the risk of dictionary-based attacks.</li><li><strong>Strengthened Wi-Fi encryption:</strong> Changed the wireless security configuration from mixed WPA/WPA2 mode to WPA2-only, as the router did not support WPA3.</li><li><strong>Disabled WPS:</strong> Turned off Wi-Fi Protected Setup to reduce potential risks associated with this feature.</li><li><strong>Secured router administration:</strong> Set a password for the router’s administrative interface, which previously allowed access without authentication.</li><li><strong>Updated firmware:</strong> Installed the latest available router firmware to address potential security vulnerabilities and improve overall security.</li></ul><p>These changes reduce the risk of unauthorized network access and strengthen both wireless security and router administration.</p><h3>Conclusion</h3><p>This project provided hands-on experience in assessing Wi-Fi security, from network discovery and handshake capture to password auditing. Successfully recovering my home Wi-Fi password using a wordlist highlighted the risks of weak passwords and insecure router configurations. By implementing the recommended security measures, including strengthening the Wi-Fi password, disabling WPS, securing router administration, and updating firmware, I improved my network’s overall security. This exercise reinforced the importance of regular security assessments and proactive remediation in protecting wireless networks against unauthorized access.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc2a8cfe4b25" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Testing VulnBank Against the OWASP Top 10 2025]]></title>
            <link>https://medium.com/@stephen_onyango/testing-vulnbank-against-the-owasp-top-10-2025-d2414a3050fb?source=rss-89cfbb7f7f93------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2414a3050fb</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[vulnbank]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[owasp-top-10]]></category>
            <category><![CDATA[web-security]]></category>
            <dc:creator><![CDATA[Stephen Onyango]]></dc:creator>
            <pubDate>Tue, 20 Oct 2026 11:46:05 GMT</pubDate>
            <atom:updated>2026-10-20T11:46:05.479Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Modern web applications present complex attack surfaces where architectural oversights and logic flaws often lead to critical compromise. Assessing these risks requires practical, hands-on validation.</p><p>This article documents a penetration test of <strong>VulnBank</strong>, a Dockerized target environment, evaluated against the updated <strong>OWASP Top 10 2025</strong> framework. Using <strong>Burp Suite</strong> and targeted testing methodologies, we systematically identify and exploit real-world vulnerabilities across five core categories:</p><ul><li><strong>A01: Broken Access Control</strong> — IDOR, JWT manipulation for vertical privilege escalation, and Broken Object Property Level Authorization (BOPLA).</li><li><strong>A02: Security Misconfiguration</strong> — Unauthenticated exposure of sensitive AI system prompts and metadata via public API documentation.</li><li><strong>A05: Injection</strong> — SQL Injection (SQLi) and Cross-Site Scripting (XSS).</li><li><strong>A06: Insecure Design</strong> — Transactional business logic flaws (negative/zero-value transfers) and unrestricted file uploads allowing arbitrary script execution.</li><li><strong>A07: Authentication Failures</strong> — Broken password recovery and reset mechanisms.</li></ul><p>Below is the technical walkthrough, proof-of-concept analysis, and remediation strategy for each finding.</p><h3>A01:2025 — Broken Access Control</h3><p>Access control enforces policy such that users cannot act outside of their intended permissions. With VulnBank running locally via Docker, we assess these controls using two standard user accounts (user1 and user2) with Burp Suite as Proxy.</p><h4>(i). Insecure Direct Object References (IDOR)</h4><p>Horizontal privilege escalation occurs when a user can access or modify resources belonging to another user of the same privilege level by manipulating object identifiers.</p><h4>Steps to Reproduce</h4><p><strong>a. </strong>Log into VulnBank as user1 and do some transactions like Money transfer or Bill payment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UwoTle2CY_P6TDHJjG9d_g.png" /></figure><p><strong>b. </strong>Log out of user1 account and log back into user2 account and navigate the transactions history.</p><p><strong>c. S</strong>end the request with the transactions history to Burp Suite Repeater. Modify the account number in the URL path from 1841225782 (belonging to user2) to 7503952900 (belonging to user1).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qVBTdarEIhUaiLU2qo6KeA.png" /></figure><p>The server responds with HTTP 200 OK, returning the account transaction history of user2 without verifying session ownership of the requested resource.</p><h4>(ii). Vertical Privilege Escalation</h4><p>Vertical privilege escalation allows a standard user to execute administrative actions or view restricted resources by bypassing server-side authorization checks.</p><h4>Steps to Reproduce</h4><p><strong>a. </strong>Log in as a standard user1 and check the Burp Suite proxy for the request to the user dashboard.</p><p><strong><em>Affected endpoint</em></strong></p><pre>GET /dashboard HTTP/1.1<br></pre><p>b. Copy the session cookie and paste it into <a href="https://www.jwt.io/">jwt.io</a> . The is_admin : false key-value pair implies that this session is for standard user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*REVWeEE3QOdZ14Kvog9b-A.png" /></figure><p>c. Modify the is_admin parameter to is_admin : true, username to admin and user_id to 1. Then use the new cookie token to send another request in the Burp Suite Repeater. This returns the admin dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hzd07j70bT4zgg9oHv0FMw.png" /></figure><p>d. To access this admin dashboard on the browser, go to Inspect &gt;&gt; Storage &gt;&gt;Cookies &gt;&gt; current session &gt;&gt; paste the new token to Value field. Reload the page and it returns the admin dashboard on the browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZAEzEkVZsN9TqXh4wj2qXw.png" /></figure><h4>(iii). BOPLA</h4><p>The registration endpoint fails to restrict client-controlled object properties during account creation, blindly trusting user-supplied parameters to assign elevated privileges or modify initial balances.</p><p><strong><em>Affected Functionality</em></strong></p><pre>POST /register </pre><h4>Steps to Reproduce</h4><ol><li>Register a new user and intercept this request on Burp Suite. Note that the <em>is_admin</em> parameter is set to false for standard user account.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2R_4BY9xI-jW9Weg0fdxKQ.png" /></figure><p>2. Forward the request to BurpSuite Repeater to register a new user with admin priviledges and with account balance of your choice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fyOXjojMacspvmJ0o8hTZg.png" /></figure><p>3. Login with these credentials and navigate to the Admin Control Panel. This account has elevated privileges of a system administrator. The user can also create other admin accounts and approve loans.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TAWSQFAI-jq_rDC5EyDIKA.png" /></figure><h4>Remediation</h4><ul><li>Implement robust, server-side authorization checks that validate resource ownership for every direct object reference.</li><li>Use cryptographic signatures with strong, securely managed secrets for tokens (JWTs) and never trust client-side claims without server validation.</li><li>Enforce explicit allowlists for object properties during data binding to prevent mass assignment and BOPLA vulnerabilities.</li></ul><h3>A02:2025 — Security Misconfiguration</h3><p>Security misconfigurations occur when applications, frameworks, or servers are implemented with insecure default settings, verbose error handling, or exposed management interfaces. With VulnBank running locally via Docker, we evaluate the environment for default credentials, unconstrained directory listings, missing headers, and sensitive debug disclosures.</p><h4>(i). AI System Info Exposure</h4><p>The API documentation endpoint exposing internal AI system details lacks authentication, allowing unauthenticated users to access sensitive configuration data, AI system prompts, and implementation metadata.</p><p><strong><em>Affected endpoint</em></strong></p><pre>GET /api/ai/system-info</pre><h4>Steps to Reproduce</h4><ol><li>Browse to the VulnBank API documentation page and locate the endpoint for retrieving AI agent system information.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ck7MBoX3-L7J_iGHwD4xuA.png" /></figure><p>2. Send a GET request to this endpoint and see what it reveals in Burp Suite Repeater</p><p>3. Observe the server response returning sensitive system prompt configurations, internal API metadata, and architectural details without requiring valid credentials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tYxwFUtayQ5p_ZFOrpWobQ.png" /></figure><h4>Remediation</h4><ul><li>Establish a repeatable, automated environment hardening process that removes default credentials, sample applications, and debug frameworks before deployment.</li><li>Enforce strict authentication on all internal documentation and diagnostic endpoints, ensuring sensitive metadata is never publicly exposed</li></ul><h3>A05:2025 — Injection</h3><p>Injection flaws occur when untrusted user input is sent to an interpreter as part of a command or query. With our local Docker instance of vulnbank.org running, we evaluate the application for injection vectors using <strong>Burp Suite</strong> across SQL and Cross-Site Scripting channels.</p><h3>(i). SQL Injection (SQLi)</h3><p>SQL injection occurs when untrusted user input is dynamically concatenated or passed directly into database queries without proper parameterization. This allows the attackers to manipulate query logic.</p><h4>Steps to Reproduce</h4><ol><li>Attempt to log into the application via the browser interface using standard credentials.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GtXIKZQqcpv2ztb5MGtuNg.png" /></figure><p>2. Send the request to Burp Suite Repeater and try adding SQL scripts to the username field. The injections that worked include <strong><em>admin’--, admin’ OR 1=1--</em></strong><em>, </em>and <strong><em>admin’ AND 1=1--</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RFMIBrpFtYfHtyNGoS_WgQ.png" /></figure><p>3. This injection worked even for other users whom we had created before. So long as we input the correct username, we could login without knowing their password through these SQL injections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e_Pc9Qhq5Eg88nvtJN27Ww.png" /></figure><h4>(ii). Cross-Site Scripting (XSS)</h4><p>Stored Cross-Site Scripting occurs when user-supplied input is stored by the back-end and subsequently rendered back to users without proper output encoding, executing arbitrary client-side JavaScript.</p><p><strong><em>affected endpoint</em></strong></p><pre>POST /transfer HTTP/1.1<br>Host: localhost:5000</pre><h4>Steps to Reproduce</h4><ol><li>Proceed to make a money transfer to another user and in the payment description, insert the malicious payload script below:</li></ol><pre>&lt;img src=x onerror=alert(&#39;owned&#39;)&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M2jbMbCqfKbFHi49MEUeeQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_ZKG3zWLQv-qoG0RAr7rnA.png" /></figure><p>The application fails to encode output correctly, demonstrating a lack of context-aware defensive output handling.</p><h4>Remediation</h4><ul><li>Utilize parameterized queries, prepared statements, or Object-Relational Mapping (ORM) frameworks for all database interactions to strictly separate user data from query execution logic.</li><li>Implement context-aware output encoding (such as HTML entity encoding) before rendering any user-supplied data back to the browser.</li></ul><h3>A06:2025 — Insecure Design</h3><p>Insecure design encompasses risks related to architectural and design flaws, focusing on design choices that cannot be fixed by secure coding alone. With our local Docker instance of vulnbank.org running, we evaluate the application for flawed business logic workflows and unrestricted file uploads.</p><h3>i. Business Logic Flaws in Transactional Workflows</h3><p>Business logic flaws stem from flawed application design assumptions regarding user behavior, allowing users to manipulate sequence workflows or execute unauthorized financial transactions.</p><p>The application allows for negative monetary transfers in which the amount to be transferred is deducted from the balance of the recipient regardless of whether the recipient has sufficient amount and provided that the sender has a balance greater or equivalent to the absolute of the amount to be transferred.</p><h4>Steps to Reproduce</h4><ol><li>Log in to the account as user1 and notice the account balance.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0PEJNaeKupkvleN0zOKylg.png" /></figure><p>2. Navigate to money transfer tab and make a negative amount transfer to admin account. Also make out a zero value transfer to the same account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ov_FjPJ8E50Jy6DEWmFJ_w.png" /><figcaption>Negative amount transfer</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*knbzEc5eeh3nAVZt5WYhNA.png" /><figcaption>Zero value transfer</figcaption></figure><p>The backend business logic accepts out-of-order or mathematically invalid workflow states because authorization and verification rules were never structurally integrated into the application design.</p><p><strong><em>Affected endpoint</em></strong></p><pre>POST /transfer HTTP/1.1<br>Host: localhost:5000</pre><h4>ii. Unrestricted file upload and inadequate file-type validation</h4><p>The profile picture upload functionality fails to validate uploaded files, accepting arbitrary types ranging from media files to executable scripts and storing them in a web-accessible directory.</p><p><strong><em>affected endpoint</em></strong></p><pre>POST /upload_profile_picture HTTP/1.1<br></pre><h4>Steps to Reproduce</h4><ol><li>Navigate to the profile section and click <strong>Upload Photo.</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FggRTFkl19giVonVQGZDNA.png" /></figure><p>2. Select a non-image file (such as a Python script, bash script, or PHP shell) and submit the upload.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SLFvZg7K99h4fBfBUxKRgw.png" /></figure><p>3. Observe that the application accepts and stores the arbitrary file under /static/uploads/&lt;id&gt;_&lt;original&gt; within a web-accessible directory</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Plm0_5flZoed8QcDoCSBVQ.png" /></figure><h4>Remediation</h4><ul><li>Build strict business logic validation and numerical boundaries directly into server-side controllers.</li><li>Enforce strict server-side file allowlists, magic-byte content validation, and secure storage configurations (such as storing uploads outside the web root or disabling execution permissions).</li></ul><h3>A07:2025 — Authentication Failures</h3><p>Authentication flaws allow attackers to compromise passwords, keys, or session tokens. With our local Docker instance of vulnbank.org operational, we evaluate the application for authentication failures, focusing specifically on weak password recovery and reset mechanisms using <strong>Burp Suite</strong>.</p><h3>i. Weak Password Recovery and Reset Mechanisms</h3><p>A critical flaw was identified in the password reset functionality. The application exposes deprecated API versions for the same reset process, allowing an attacker to downgrade the workflow to a weaker implementation and retrieve a valid reset PIN directly from the server response.</p><h4>Steps to Reproduce</h4><ol><li>Log out of standard user account and try resetting password for the admin account. The OTP is sent to the email which we did not set up during sign up.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aVtBVWwmC8Do84xYfOOVFA.png" /></figure><p>2. By inspecting this forgot-password request we can notice that the API endpoint uses V3 which requires a 4-digit Reset PIN. Intercept this request and send it to Burp Suite Repeater. Change the API to version 1 and we can see a 3 digit OTP in the response</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9pmv4DMvwIm7T-kUnp_FzQ.png" /></figure><p>3. Get back to the New password reset and input the username, any 4 digit pin and new password. We notice the response shows an invalid reset pin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bhtj8bOwDBxHQxDrkmJS3Q.png" /></figure><p>4. Downgrade the API to version 1 and enter the 3 digit OTP initially and the new password. The password is reset successfully and we can log in as admin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_V_prvwB3FamP7WJjOuz5g.png" /></figure><h4><strong>Remediation:</strong></h4><ul><li>Enforce strict API version control and remove deprecated, insecure API endpoints entirely from production environments to prevent version-downgrade attacks.</li><li>Never return password reset tokens, OTPs, or temporary PINs in server responses. Generate cryptographically secure, time-bound tokens and deliver them exclusively through trusted, out-of-band communication channels.</li></ul><h3>Conclusion</h3><p>Securing modern web applications requires moving beyond basic perimeter defenses to address foundational architectural and logic flaws. As demonstrated across VulnBank, vulnerabilities like JWT privilege escalation, unauthenticated API endpoints, business logic oversights, and insecure file uploads can completely compromise an environment regardless of infrastructure hygiene.</p><p>For system administrators and defenders, hardening production workloads demands a structured approach:</p><ul><li><strong>Enforce Zero-Trust Access:</strong> Mandate server-side validation for all resource ownership and privilege boundaries.</li><li><strong>Eliminate Legacy Surfaces:</strong> Purge deprecated API versions, debug interfaces, and default credentials before deployment.</li><li><strong>Harden Data &amp; Input Controls:</strong> Implement parameterized queries, strict file-type allowlists with magic-byte checks, and robust numerical boundary checks for transactional workflows.</li><li><strong>Secure Sensitive Mechanisms:</strong> Ensure recovery tokens and temporary credentials are never leaked in server responses.</li></ul><p>Resilience is achieved by pairing secure coding standards with rigorous, continuous adversarial validation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2414a3050fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ALX Terminator lab Walkthrough]]></title>
            <link>https://medium.com/@stephen_onyango/alx-terminator-lab-walkthrough-de195e007da8?source=rss-89cfbb7f7f93------2</link>
            <guid isPermaLink="false">https://medium.com/p/de195e007da8</guid>
            <category><![CDATA[linux-commands]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[alxafrica]]></category>
            <dc:creator><![CDATA[Stephen Onyango]]></dc:creator>
            <pubDate>Wed, 08 Jul 2026 23:46:43 GMT</pubDate>
            <atom:updated>2026-07-08T23:46:43.472Z</atom:updated>
            <content:encoded><![CDATA[<p>As part of the <strong>ALX Cybersecurity Program</strong>, I completed the ALX <strong>Terminator lab</strong>, a hands-on lab designed to strengthen foundational Linux command-line skills through a series of progressively challenging tasks.</p><p>Each level focuses on a practical Linux concept, including filesystem navigation, file permissions, hidden files, pattern matching, compressed and encrypted files, cron jobs, and user management. Rather than memorizing commands, the lab emphasizes understanding how they work and applying them to solve real problems.</p><p>This walkthrough documents my approach to each challenge, the commands I used, screenshots of the process, and the lessons learned along the way. Whether you’re new to Linux or building a foundation for cybersecurity, I hope this guide helps you understand the reasoning behind each solution.</p><h4>Level 1:</h4><p>The objective was straightforward: locate a password stored somewhere in the home directory and use it to access the next user account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wctqa-YCJnUeBulLI_nNPQ.png" /><figcaption>level 1 description</figcaption></figure><p>After listing the files in the home directory, we found the password.txt file. We then use the cat command to display the file contents which is the password for the next level. <em>Now we got the password to level 3, we will use su to switch to user level3</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AG9YgkdNVtWFHlOueTkBaA.png" /></figure><h3>Level 2: Dashed file</h3><p>Level 2 introduced a small obstacle that can easily confuse new Linux users. Instead of working with a normal filename, the challenge used a file named -. Although it looks simple, a leading dash has a special meaning in many Linux commands because it usually indicates a command-line option.</p><p>The objective was to locate the file and determine how to display its contents without the shell interpreting the filename as an option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*igwWV_uUpa1qUPXKBTtbUg.png" /><figcaption>Description of level 2</figcaption></figure><p>After logging in as the level2 user, I listed the contents of the current directory. To tell Linux that the dash is a filename rather than an option, I referenced it through its relative path as /<em>home/level2/-. Now we got the password to level 3, we will use su to switch to user level3</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*H-pAc035LQ0FDZh7fbXW5Q.png" /></figure><h3>Level 3: Hidden files</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OOx6CL2rTxrGVwggclllKw.png" /></figure><p>The next challenge looked deceptively simple. After logging in as the level3 user, I listed the contents of the home directory and found almost nothing.</p><p>The challenge description hinted that something might be hidden. In Linux, files and directories whose names begin with a period (.) are hidden by default, so a standard ls command will not display them.</p><p>To reveal hidden files, I reran the command with the -a option.With the hidden file identified, I displayed its contents using the cat command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OVwCgPGFTECWGrwU3vHkMw.png" /></figure><h3>Level 4: Spaced out files</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jBxN2oZC2B8oPEIdx8EzQg.png" /></figure><p>This level focused on working with filenames that contain spaces. After logging in as the level4 user, I listed the contents of the current directory to identify the password file.</p><p>Since the filename contained spaces, I escaped each space with a backslash (\) so the shell would interpret it as a single filename.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*XmCmzqkaD8rRJMwVD_w7pg.png" /></figure><h3>Level 5: Searching for the Password</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XtrVryQl-sKOB2LV70XjoA.png" /></figure><p>This level introduced the grep command, which searches for text that matches a given pattern. After listing the files in the current directory, I found the file containing the passwords.</p><p>The challenge stated that the correct password was on the line containing the word <strong>“password”</strong>. I used grep to search for that pattern.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*TqgmWLoJiILMFhtBRgF84w.png" /></figure><h3>Level 6: The Gzipped Files</h3><p>This level introduced working with compressed files. The password was stored inside a file with a .gz extension, which first had to be decompressed before its contents could be read.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j_VTlqhaHeD4_3BtuIMSrw.png" /></figure><p>Since I did not have write permissions in the home directory, I performed the extraction in the /tmp directory. I copied the compressed file to /tmp, extracted it with gunzip, and displayed its contents.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*qpNTWvSO4wrtWGplCVYFmQ.png" /></figure><h3>Level 7: The Base64 Encoded Password</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UVm_7yrGzzpmlWXxUN6Z8g.png" /></figure><p>This level introduced Base64 encoding. The password was stored as an encoded string, which needed to be decoded to reveal the plain text.</p><p>I piped the contents of the file to the base64 command with the -d option to decode it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*nErOHAW9NFNsZPeZa9bQRQ.png" /></figure><h3>Level 8: The AES-256-CBC Encrypted Password</h3><p>This level introduced file decryption using OpenSSL. The password was stored in an AES-256-CBC encrypted file, while a second file contained the passphrase required to decrypt it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W9-ssJqJXbgoAl7CWI5cgA.png" /></figure><p>I used the passphrase from the second file to decrypt the encrypted password with openssl. Since the challenge required writing an output file, I saved the decrypted file in the /tmp directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vgZjNfAt0sjXXH-TvQsHag.png" /></figure><h3>Level 9: The Inaccessible Password File</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*na8agpGOiUHrgrkQ2veGAA.png" /></figure><p>This level focused on Linux file permissions and sudo. The password file existed in the current directory, but attempting to read it resulted in a <strong>Permission denied</strong> error.</p><p>To determine what elevated privileges were available, I listed the commands my user was allowed to run with sudo.</p><p>The output showed the permitted command, which I then used to read the protected password file with elevated privileges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mqHzIqXFVAnd6QgoE_2TEA.png" /></figure><h3>Level 10: The Missing Password</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eI4qcOngzY93OfDwPOQt7w.png" /></figure><p>This level required using sudo privileges to reset the password for the level11 user. Instead of searching for a hidden password, the objective was to create a new one and use it to access the account.</p><p>First, I reviewed the available sudo permissions to confirm that I was allowed to change another user&#39;s password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7iKrDSLFy8KyLD2wKU-iog.png" /></figure><p>Using the permitted sudo privileges, I changed the password for the level11 user to whatever I wanted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*cqJY0o5t7y520SheKuq1qw.png" /></figure><h3>Level 11: Network Detective</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*09-xWe4Mxev0aRszLFt_tQ.png" /></figure><p>This level focused on identifying the container’s IP address. The challenge hinted that the answer might already be known, but I verified it by inspecting the network configuration.</p><p>The loopback address was the correct flag for this level</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WomBiayVJ9VIJV4YBALlQw.png" /></figure><h3>Level 12: Cron Job</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PJcIHPpMTXmS8n6RebuCpA.png" /></figure><p>This level introduced cron jobs, which are used in Linux to schedule automated tasks. The objective was to inspect the system’s cron configuration and identify a scheduled task that exposed the password for the next level.</p><p>To view the configured cron jobs, I ran:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7aSGo8okThXvdG-95MQppw.png" /></figure><p>The output revealed a scheduled task with a comment referencing the next level’s password.</p><p>The cron entry contained the clue needed to continue to the next level by indicating where the Level 13 password was hidden.</p><h3>Level 13: UID</h3><p>This level focused on identifying a user’s unique identifier (UID). The objective was to determine the UID of the level14 user and use it as the password for the next level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h-XYjXJAhB_QYq3yS9p6vA.png" /></figure><p>To retrieve the user information, I queried the system’s user database. The third field (1337) is the UID and served as the password for the next level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/691/1*55117REgn2Co6vYDOfY2DA.png" /></figure><h3>Level 14: Challenge Complete</h3><p>The terminal displayed the completion message along with the final flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/1*KFUdc3jqe5yIX-CXnxg-Gg.png" /></figure><h3>Challenges and Lessons Learned</h3><p>Most of the levels were straightforward once I understood the objective, but two challenges required additional troubleshooting.</p><p><strong>Level 8: </strong>While decrypting the encrypted file with OpenSSL, I initially encountered errors such as bad decrypt and error reading input file. After reviewing the challenge, I realized the decryption password had to be decoded from base64.txt before it could be used. I also learned that the -a flag should only be used when the encrypted input is Base64-encoded. Removing the unnecessary flag and supplying the correct password allowed the decryption to succeed.</p><p><strong>Lesson learned:</strong> Before troubleshooting command syntax, verify the format of the input data and ensure all prerequisites have been completed.</p><p><strong>Level 12: </strong>Finding the password in the cron job was less obvious than expected. I initially inspected the system cron files under /etc/cron*, expecting to find the password there. After reviewing multiple files without success, I revisited the challenge and examined the current user&#39;s crontab with crontab -l. The password was hidden inside a comment within the scheduled command, making careful inspection more important than broad searching.</p><p><strong>Lesson learned:</strong> Enumeration is only effective when guided by the challenge requirements. Revisiting the problem statement can save time and prevent unnecessary investigation.</p><p>This lab reinforced an important principle that applies to cybersecurity beyond Linux. Success often depends on understanding the environment, reading clues carefully, and troubleshooting methodically instead of relying on trial and error.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de195e007da8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Data to Dashboard: Exploring Bike Sales in Europe with Power BI]]></title>
            <link>https://medium.com/@stephen_onyango/from-data-to-dashboard-exploring-bike-sales-in-europe-with-power-bi-92d709941c2a?source=rss-89cfbb7f7f93------2</link>
            <guid isPermaLink="false">https://medium.com/p/92d709941c2a</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[reports-and-dashboards]]></category>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[sales-dashboard]]></category>
            <dc:creator><![CDATA[Stephen Onyango]]></dc:creator>
            <pubDate>Thu, 15 Aug 2024 06:16:54 GMT</pubDate>
            <atom:updated>2024-08-15T06:16:54.568Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction</h4><p>In an era where data drives decision-making, leveraging advanced analytics tools is not just an advantage — it is essential for achieving operational excellence and a competitive edge. The ability to decipher trends across products, geographical regions, and customer demographics can significantly enhance the effectiveness and financial performance of the company.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*p73T5Ze5hF3o_moo" /><figcaption>Photo by <a href="https://unsplash.com/@tom607?utm_source=medium&amp;utm_medium=referral">Tom Austin</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>This project focuses on analyzing bike sales data across Europe using Power BI. By diving deep into the data, the goal is to extract meaningful insights beyond surface-level observations. We will examine sales trends, regional differences, and customer demographics to understand what drives revenue and profit. Power BI’s robust visualization capabilities will allow us to present these findings in a clear and actionable format, ultimately aiming to provide strategic recommendations for improving business performance.</p><h4>Objectives</h4><p>The overview sales dashboard should answer the following questions:</p><ol><li>What is the total revenue, number of orders completed, profit margin, and total profit generated by the store?</li><li>What are the yearly trends in profits and revenue generated?</li><li>What are the monthly trends in revenue and profit across all European countries?</li><li>How does revenue fluctuate daily?</li><li>Which European countries generated the most revenue and profits?</li><li>Is there a noticeable gender disparity in revenue generation across all regions?</li><li>What are the trends in revenue across different age groups within the dataset?</li><li>How did different product categories perform in terms of overall revenue generation?</li><li>Which top 5 sub-categories of products generated the highest revenue?</li></ol><p>The dashboards for each of the countries should answer the following questions:</p><ol><li>Which top 5 states within each country generated the most revenue?</li><li>What are the annual and monthly trends in revenue and profits per country?</li><li>What proportion of revenue does each state contribute to its country’s overall sales?</li><li>Which products generated the most and the least revenue and profits within each country, and how can this be visually represented?</li><li>How did different product sub-categories contribute to the revenue of each country?</li><li>How do revenue and profits change when filtered by state, year, or month for each country?</li></ol><h4><strong>Steps to Building the Dashboard</strong></h4><p>These steps were followed in the creation of a dynamic, multi-page dashboard that provides deep insights into bike sales across Europe.</p><ol><li>Data collection and cleaning.</li><li>Data Exploration Using Excel Pivot Tables</li><li>Dashboarding in Power BI</li><li>Insights and Recommendations</li></ol><h3><strong>1. Data collection and cleaning</strong></h3><p>For this project, we sourced our data from Kaggle which can be found on the <a href="https://www.kaggle.com/datasets/sadiqshah/bike-sales-in-europe">link here</a>.</p><p>The dataset consists of 113,036 rows and 18 columns, containing bike sales data from 2011 to 2016. The columns include key attributes such as Date, Day, Month, Year, Customer_Age, Age_Group, Customer_Gender, Country, State, Product_Category, Sub_Category, Product, Order_Quantity, Unit_Cost, Unit_Price, Profit, Cost, and Revenue.</p><p>The initial step involved loading the data into Excel to perform preliminary checks for any missing values using Excel functions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NXKq6dFO8bl460oYsjrpzQ.png" /></figure><p>Fortunately, the dataset was complete with no missing values.</p><h3><strong>2. Data Exploration Using Excel Pivot Tables</strong></h3><p>Pivot Tables were utilized in Excel to gain an initial understanding of the data. This step allowed for a high-level summary of key metrics such as total revenue, profits, and costs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/773/1*bgNezTvTbnr6uwJhqm8hxw.png" /><figcaption>Revenue over time</figcaption></figure><p>The pivot tables provided insights into how sales metrics varied across different states within countries, and trends over time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PcK-FWOTny_F8XAe3DzB_w.png" /><figcaption>Sales across different and States</figcaption></figure><p>From this Pivot table we could notice that the United Kingdom had sales data only for England while the other countries had data for several states.</p><h3><strong>3. Dashboarding in Power BI</strong></h3><p>The next stage involved importing the dataset into Power BI for advanced visualization. Several measures were created to visualize KPIs such as total revenue, total profits, percentage profit, and the number of orders completed. Here are the code used in DAX for these metrics:</p><pre>Total revenue = SUM(Sheet1[Revenue])<br>Total Profits = SUM(Sheet1[Profit])<br>Total orders = SUM(Sheet1[Order_Quantity])<br>% Profit = SUM(Sheet1[Profit]) / SUM(Sheet1[Revenue])</pre><p>Organizing the line chart to display months in chronological order posed a challenge. To address this, a custom <strong>calendar</strong> table was created. This table allowed ordering the months by their corresponding month numbers, enabling a clear visualization of the chronological trends in revenue and profits. Below is the DAX code :</p><pre>Calendar = <br>ADDCOLUMNS(<br>    CALENDARAUTO(),<br>    &quot;Year&quot;, YEAR([Date]),<br>    &quot;Month&quot;, FORMAT([Date], &quot;MMM&quot;),<br>    &quot;Month Number&quot;, MONTH([Date]),<br>    &quot;Day&quot;, DAY([Date]),<br>    &quot;Weekday&quot;, FORMAT([Date], &quot;ddd&quot;),<br>    &quot;Weekday Number&quot;, WEEKDAY([Date], 2)<br>)</pre><p>Another measure called <strong>state Caption</strong> was created using DAX to calculate the percentage contribution of each state to the national revenue. This measure provides insights both for specific years and across the entire period covered in the dataset. Below is the DAX code:</p><pre>state Caption = <br>VAR state = SELECTEDVALUE(Sheet1[State])<br>VAR yr = SELECTEDVALUE(Sheet1[Year])<br>VAR country = SELECTEDVALUE(Sheet1[Country])<br>VAR countrySales = CALCULATE(<br>                     SUM(Sheet1[Revenue]), <br>                     ALLEXCEPT(Sheet1, Sheet1[Country], Sheet1[Year])<br>                      )<br>VAR stateSales = CALCULATE(<br>                    SUM(Sheet1[Revenue]), <br>                    Sheet1[State] == state, Sheet1[Country] == country<br>                    )<br>VAR proportion = ROUND(stateSales * 100 / countrySales, 2)<br>RETURN <br>state &amp; &quot; State contributed &quot; &amp; proportion &amp; &quot;% of the revenue in &quot; &amp; country <br>&amp; &quot; for the year(s) &quot; &amp; yr</pre><h4>Overall Sales Dashboard</h4><p>After defining the important measures to visualize our KPIs, the final dashboard showcasing the store’s overall sales is as shown in the visualization:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/1*WI0xK4OOmPZdsZwbg5vUZg.png" /></figure><p>For each country, the visuals below highlight the top-performing state, illustrating its contribution to the overall revenue. The following dashboards present these insights.</p><h4><strong>USA </strong>Sales<strong> Dashboard</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*1kEm8VY4TE2l1_ZiQHrZ4w.png" /></figure><p>The state of California generated the most revenue which accounted for 63% of the revenue in the United States across the years.</p><h4>Australia’s Sales Dashboard</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*rhgoS9lPA7e9NkJoBJwxXw.png" /><figcaption>Australian Dashboard</figcaption></figure><p>New South Wales generated the most revenue which accounted for 43% of the revenue in Australia across the years.</p><h4>UK Sales Dashboard</h4><figure><img alt="UK Dashboard" src="https://cdn-images-1.medium.com/max/975/1*11mmaKTVTJGim2lLYXqzqA.png" /><figcaption>Uk Dashboard</figcaption></figure><p>For the United Kingdom, only data from England was included in this dataset and hence 100% contribution to the revenue.</p><h4>Germany Sales Dashboard</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/971/1*oR-e93zI90unjo596nUTMA.png" /><figcaption>German dashboard</figcaption></figure><p>Hessen generated the most revenue which accounted for 23% of the revenue in Germany across the years.</p><h4>French Sales Dashboard</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/929/1*WJlRsLArMTXjHUqhV3Pu3A.png" /><figcaption>France sales dashboard</figcaption></figure><p>Seine in Paris generated the most revenue which accounted for 20% of the revenue in France in 2015.</p><h4>Canadian Dashboard</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*6JuoGK8_w6CyWOtfimQF0Q.png" /><figcaption>Canadian sales dashboard</figcaption></figure><p>British Columbia generated the most revenue which accounted for 99% of the revenue in Canada across the years.</p><h3>4. Insights and Recommendations</h3><p>We will draw our insights and make recommendations based on the Overall Sales dashboard .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/1*WI0xK4OOmPZdsZwbg5vUZg.png" /><figcaption>Overall sales dashboard</figcaption></figure><h3>4.1 Insights</h3><p>1. <strong>Overall Performance:</strong> The store generated a significant revenue of $85 million, with a profit of $32 million from 1.3 million orders. This translates to an impressive profit margin of 38%.</p><p>2. <strong>Yearly Growth: </strong>Revenue and profits steadily increased from 2011 to 2016, with notable growth in the later years, indicating successful business expansion and market penetration.</p><p>3. <strong>Monthly Trends: </strong>There were notable monthly fluctuations in revenue and profit, with peaks and troughs throughout the year. A significant increase towards the end of the year suggests higher demand during that period, potentially driven by seasonal factors.</p><p>4. <strong>Daily Sales Variability: </strong>Daily revenue shows variability, with certain days experiencing higher sales. This could be attributed to specific patterns or promotional events that drive these peaks.</p><p>5. <strong>Regional Performance: </strong>The United States leads both in revenue ($28M) and profit ($11M), followed by Australia ($21M revenue, $7M profit), the United Kingdom ($21M revenue, $4M profit), Germany ($9M revenue, $3M profit), France ($8M revenue, $3M profit), and Canada ($8M revenue, $4M profit). This indicates higher demand and more lucrative markets in the United States and Australia compared to other regions.</p><p>6. <strong>Demographic Insights: </strong>Sales are relatively balanced between male and female customers, with a slight edge towards male customers.</p><p>The age group of 35–64 contributes the most to revenue, followed by young adults (25–34) and youth (under 25). Seniors (64+) contribute the least.</p><p><strong>7.</strong> <strong>Product Performance: </strong>Bikes are the top-selling category with $62M in revenue, followed by Accessories ($15M) and Clothing ($8M).</p><p>The top 5 sub-categories are Road Bikes, Mountain Bikes, Touring Bikes, Helmets, and Tires and Tubes, with Road bikes and Mountain bikes leading by revenue.</p><h3>4.2 Recommendations</h3><ol><li>Allocate more resources to the United States and Australia because they generate the highest revenue and profits. Consider launching targeted marketing campaigns, expanding product offerings, and improving supply chains in these regions.</li><li>Increase marketing campaigns and promotions during the end-of-year period to capitalize on the significant increase in demand. This strategy can boost sales and profits during peak periods.</li><li>Invest in expanding the range of top-selling sub-categories, such as Road Bikes and Mountain Bikes. Introducing new models, features, or complementary accessories within these categories can attract more customers.</li><li>Develop marketing strategies targeting the 35–64 age bracket because it is the highest revenue contributor. Tailor promotional content and offers to appeal to this demographic’s preferences and needs.</li><li>While bikes are the top-selling category, ensure that accessories and clothing are adequately stocked and promoted. Offering bundles or discounts on these items with bike purchases can increase their sales.</li></ol><p>Conclusion</p><p>This project uncovered key trends and insights in bike sales across Europe using Power BI dashboards. By analyzing regional performance and customer demographics, we identified actionable strategies for enhancing business outcomes.</p><p>For those interested in exploring the project further, all related files and resources can be found on my GitHub page <a href="https://github.com/Onyango-S/European-bike-sales-dashboard">here</a>.</p><p>Happy Learning!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92d709941c2a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>