<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Security Tutorials on [ MECANIK DEV ]</title><link>https://mecanik.dev/en/categories/security-tutorials/</link><description>Recent content in Security Tutorials on [ MECANIK DEV ]</description><generator>Hugo</generator><language>en</language><copyright>Copyright © 2020-{year} by [ MECANIK DEV ]. All Rights Reserved.</copyright><lastBuildDate>Wed, 21 Oct 2026 19:00:00 +0100</lastBuildDate><atom:link href="https://mecanik.dev/en/categories/security-tutorials/index.xml" rel="self" type="application/rss+xml"/><item><title>PHP2Shell Exploit: Is Your PHP Website Safe? Patch Now</title><link>https://mecanik.dev/en/posts/php2shell-exploit/</link><pubDate>Wed, 21 Oct 2026 19:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/php2shell-exploit/</guid><description>&lt;p>PHP2Shell is the name being used for critical PHP vulnerabilities disclosed on 21 October 2026. If your website runs PHP, the immediate question is whether the runtime serving your visitors has the security fixes. Updating a plugin or seeing a green firewall dashboard does not answer that question.&lt;/p>
&lt;blockquote>
&lt;p>PHP2Shell affects the PHP runtime underneath websites and can enable unauthenticated remote code execution. PHP has released fixes in 8.2.35, 8.3.36, 8.4.27 and 8.5.12, and you should confirm a fixed release or a documented vendor backport in the actual web-serving environment. Keep defensive controls enabled, but do not treat a WAF or a temporary configuration change as a replacement for patching.&lt;/p></description></item><item><title>SaaS Tenant Isolation: What to Test Before Onboarding</title><link>https://mecanik.dev/en/posts/saas-tenant-isolation/</link><pubDate>Sun, 11 Oct 2026 19:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/saas-tenant-isolation/</guid><description>&lt;p>SaaS tenant isolation means that a customer can access only the records and operations their organisation is entitled to use. A tenant selector in the interface is not enough. The boundary needs to hold when requests, background jobs, caches and file downloads reach the underlying systems.&lt;/p>
&lt;blockquote>
&lt;p>Test tenant isolation using separate organisations, ordinary user roles and deliberate attempts to cross their boundaries. Verify reads, writes, files, cached responses and background work against the same access rules. Request evidence from the enforced backend boundary before onboarding customers with sensitive or commercially important records.&lt;/p></description></item><item><title>Ecommerce Incident Recovery: Orders, Access and Integrations</title><link>https://mecanik.dev/en/posts/ecommerce-incident-recovery/</link><pubDate>Mon, 05 Oct 2026 07:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/ecommerce-incident-recovery/</guid><description>&lt;p>Ecommerce incident recovery is complete when your team can trust the trading workflow again, including orders, payment status, stock changes and fulfilment. A storefront that loads successfully may still hide a broken connector or an unresolved queue. For a retailer commissioning repair work, the important deliverable is a defensible account of what can safely resume and what still needs investigation.&lt;/p>
&lt;blockquote>
&lt;p>Recover an ecommerce operation by establishing the affected scope, preserving useful evidence and restoring a controlled path from order to fulfilment. Reconcile uncertain transactions against the responsible systems before replaying work. Reopen only the capabilities whose access, data and failure behaviour have been checked.&lt;/p></description></item><item><title>Vibe Coding Security Audit: Is Your App Ready for Paying Customers?</title><link>https://mecanik.dev/en/posts/vibe-coding-security-audit/</link><pubDate>Thu, 01 Oct 2026 19:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/vibe-coding-security-audit/</guid><description>&lt;p>A vibe coding security audit becomes a commercial decision when your AI-built app is about to hold customer data or accept payments. The screens work, the demo looks convincing and somebody wants to buy. Before opening the doors, you need evidence that customers can only access their own information, paid features require valid entitlement and privileged operations stay under your control.&lt;/p>
&lt;blockquote>
&lt;p>A vibe coding security audit reviews the code, configuration and running application against the risks of your actual business. Before taking paying customers, prioritise account permissions, customer data isolation, secrets and payment workflows. Use the findings to fix and retest launch blockers, with a clear record of what was tested and what remains outside scope.&lt;/p></description></item><item><title>Drupal Security: Advisories, Patching and Real Risk</title><link>https://mecanik.dev/en/posts/drupal-security/</link><pubDate>Thu, 03 Sep 2026 07:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/drupal-security/</guid><description>&lt;p>Drupal security is one of the few parts of the open source CMS world where the published process is better than the platform&amp;rsquo;s reputation. The Drupal Security Team runs a fixed disclosure schedule, scores every advisory on a documented numerical scale, and coordinates fixes across core and tens of thousands of contributed projects.&lt;/p>
&lt;p>The record in the field is worse than that process deserves. Drupal sites do get compromised, and the cause is almost never that nobody knew. The advisory was published, on time, on a Wednesday. The patch reached production the following week. That gap is the subject of this article, and hardening, firewalls and file permissions all exist to make it survivable or to shorten it.&lt;/p></description></item><item><title>Password Storage: What to Use in 2026</title><link>https://mecanik.dev/en/posts/password-storage/</link><pubDate>Mon, 31 Aug 2026 19:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/password-storage/</guid><description>&lt;p>Password storage is one of the few areas in software with a genuine right answer, published, maintained and free. It is also one of the most consistently got wrong, because the wrong answers were correct at some point and nobody revisited them.&lt;/p>
&lt;p>The failure is rarely exotic. It is a system built in 2016 against advice that was current in 2012, still running, still accepting logins, and nobody has looked at that function since the person who wrote it left.&lt;/p></description></item><item><title>Software Supply Chain Security for Small Teams</title><link>https://mecanik.dev/en/posts/supply-chain-security/</link><pubDate>Mon, 31 Aug 2026 07:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/supply-chain-security/</guid><description>&lt;p>Supply chain security sounds like a problem for organisations with a security function, and the framing is misleading. A small team running a handful of services typically depends on hundreds of packages it has never read, pulled at build time from registries it does not control, executing installation scripts on machines that hold its deployment credentials.&lt;/p>
&lt;p>The exposure is not proportional to company size. It is proportional to dependency count and build automation, and small teams often have more of the first and less scrutiny of the second than the organisations that worry about this publicly.&lt;/p></description></item><item><title>API Security: How to Protect a Public API in 2026</title><link>https://mecanik.dev/en/posts/api-security-protect-public-api/</link><pubDate>Sat, 08 Aug 2026 07:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/api-security-protect-public-api/</guid><description>&lt;p>Most teams treat API security as an authentication problem. They add tokens, check them on every route, and consider the job done. Then a tester changes one number in a URL and reads another customer&amp;rsquo;s invoice.&lt;/p>
&lt;p>That gap between &amp;ldquo;authenticated&amp;rdquo; and &amp;ldquo;authorised&amp;rdquo; is where the majority of real API breaches live, and it is not something a scanner finds reliably. An automated tool sees a valid token and a 200 response and reports success. Only a human who understands your business rules notices that the response contained somebody else&amp;rsquo;s data.&lt;/p></description></item><item><title>WordPress Hacked: Malware Removal and Recovery Guide</title><link>https://mecanik.dev/en/posts/wordpress-hacked-malware-removal-recovery/</link><pubDate>Fri, 07 Aug 2026 19:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/wordpress-hacked-malware-removal-recovery/</guid><description>&lt;p>If your WordPress site was hacked and is now showing pharmaceutical spam, redirecting visitors to somewhere unpleasant, or has been flagged by Google as deceptive, start here rather than with a plugin. The instinct is to install a security scanner and click clean. That removes the visible symptom and leaves the way in, which is why so many sites get reinfected within days and their owners conclude that WordPress is simply insecure.&lt;/p></description></item><item><title>Cyber Essentials Compliance: A UK Vetting Guide 2026</title><link>https://mecanik.dev/en/posts/cyber-essentials-compliance-uk-guide/</link><pubDate>Mon, 27 Jul 2026 19:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/cyber-essentials-compliance-uk-guide/</guid><description>&lt;p>Securing Cyber Essentials compliance is a major step for UK businesses looking to protect their server networks in 2026. This government-backed scheme helps companies demonstrate their commitment to data security to public sector buyers and enterprise clients, and maintaining these baselines blocks up to eighty percent of standard cyber attacks. This guide breaks down the certification process, technical controls, and budgeting guidelines required to achieve certification.&lt;/p>
&lt;blockquote>
&lt;p>&lt;strong>Scoping Recommendation:&lt;/strong> When preparing your audit scope, document all devices that access company databases (including remote worker laptops). Failing to list remote devices is the leading cause of audit failure during Cyber Essentials assessments.&lt;/p></description></item><item><title>Website Security Audit: Prevent Enterprise Breaches</title><link>https://mecanik.dev/en/posts/website-security-audit-cost-mitigation-guide/</link><pubDate>Mon, 27 Jul 2026 07:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/website-security-audit-cost-mitigation-guide/</guid><description>&lt;p>Determining your website security audit cost is a critical risk-management step for UK enterprises aiming to protect customer databases in 2026. Data breaches expose companies to hefty fines under compliance rules, alongside severe damage to brand reputation. Regular security audits guard your business against automated botnets and malicious exploit attempts. This guide reviews the budgeting layers, scanning methodologies, and consultant rates that make up such an audit.&lt;/p>
&lt;blockquote>
&lt;p>&lt;strong>Audit Frequency Tip:&lt;/strong> For standard marketing websites, an annual security check is sufficient. However, for active e-commerce platforms or enterprise portal setups, run automated vulnerability scans monthly and schedule manual code audits post-update.&lt;/p></description></item><item><title>Penetration Testing Cost: 2026 Enterprise Budgeting Guide</title><link>https://mecanik.dev/en/posts/penetration-testing-cost-uk-budgeting-guide/</link><pubDate>Sun, 26 Jul 2026 19:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/penetration-testing-cost-uk-budgeting-guide/</guid><description>&lt;p>Calculating the cost of penetration testing in the UK is a vital compliance task for enterprises planning cyber security audits in 2026. With business transactions shifting online, maintaining strict application security is critical to protect sensitive client databases and avoid expensive regulatory penalties. Commissioning an annual penetration test has shifted from a general recommendation to a standard requirement under local frameworks. This guide breaks down the pricing models, scope definitions, and compliance standards used to calculate penetration testing budgets.&lt;/p></description></item><item><title>Types of Penetration Testing: Black, White and Grey Box</title><link>https://mecanik.dev/en/posts/types-of-penetration-testing-black-box-white-box-grey-box/</link><pubDate>Wed, 08 Jul 2026 19:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/types-of-penetration-testing-black-box-white-box-grey-box/</guid><description>&lt;p>Not all penetration tests are the same. The types of penetration testing differ along two axes: how much the tester knows about your systems in advance (black, white, or grey box) and what part of your environment is in scope (a web app, an API, the network perimeter, and so on). Getting these right is what makes a test cost-effective and genuinely useful rather than a box-ticking exercise. This guide explains the options so you can choose well.&lt;/p></description></item><item><title>Server Security Audit Checklist: What Actually Gets Checked</title><link>https://mecanik.dev/en/posts/server-security-audit-what-gets-checked/</link><pubDate>Wed, 08 Jul 2026 07:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/server-security-audit-what-gets-checked/</guid><description>&lt;p>A server security audit is a systematic review of a server&amp;rsquo;s exposure and configuration to find where an attacker could get in and what they could do once inside. If you have been asked to commission one, or you want to run an internal review, this guide explains exactly what a thorough audit examines and why each area matters.&lt;/p>
&lt;p>An audit is diagnostic: it tells you where you stand. It pairs naturally with &lt;a href="https://mecanik.dev/en/posts/linux-server-hardening-guide-2026/">hardening&lt;/a>
, which is the work of fixing what the audit finds.&lt;/p></description></item><item><title>OWASP Top 10 Explained for Business Owners</title><link>https://mecanik.dev/en/posts/owasp-top-10-explained-for-business-owners/</link><pubDate>Tue, 07 Jul 2026 19:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/owasp-top-10-explained-for-business-owners/</guid><description>&lt;p>The OWASP Top 10 is the most widely referenced list of web application security risks, published by the &lt;a href="https://owasp.org/www-project-top-ten/" target="_blank" rel="nofollow noopener noreferrer">Open Worldwide Application Security Project (OWASP)&lt;svg class="external-link-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">&lt;path d="M14 3h7v7M21 3l-11 11M10 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5"/>&lt;/svg>&lt;/a>
, a respected non-profit. It is written for security professionals, but the risks it describes have direct business consequences: data breaches, downtime, fines, and lost trust. This guide explains each category in plain English so you can ask the right questions about your own applications.&lt;/p></description></item><item><title>Linux Server Hardening Guide for 2026</title><link>https://mecanik.dev/en/posts/linux-server-hardening-guide-2026/</link><pubDate>Tue, 07 Jul 2026 07:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/linux-server-hardening-guide-2026/</guid><description>&lt;p>A default Linux install is convenient, not secure. Hardening is the process of reducing a server&amp;rsquo;s attack surface and tightening its configuration so that the inevitable probing from the internet finds nothing easy to exploit. This guide covers the hardening steps that matter most in 2026, in a sensible order of priority.&lt;/p>
&lt;p>&lt;strong>TL;DR&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>SSH is your biggest exposed surface: use key-based authentication, disable root login and passwords, and rate-limit connections&lt;/li>
&lt;li>Run a default-deny firewall and shut down every service and port you do not need&lt;/li>
&lt;li>Keep the system patched automatically, and apply kernel and account hardening&lt;/li>
&lt;li>Use SELinux or AppArmor, enable audit logging, and measure yourself against the CIS Benchmark for your distribution&lt;/li>
&lt;/ul>
&lt;h2 id="1-lock-down-ssh">1. Lock Down SSH&lt;/h2>
&lt;p>SSH is how you administer the server and how attackers try to get in. Harden it first.&lt;/p></description></item><item><title>WordPress Security Hardening Checklist for 2026</title><link>https://mecanik.dev/en/posts/wordpress-security-hardening-checklist-2026/</link><pubDate>Mon, 06 Jul 2026 19:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/wordpress-security-hardening-checklist-2026/</guid><description>&lt;p>&lt;a href="https://developer.wordpress.org/advanced-administration/security/hardening/" target="_blank" rel="nofollow noopener noreferrer">WordPress&lt;svg class="external-link-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">&lt;path d="M14 3h7v7M21 3l-11 11M10 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5"/>&lt;/svg>&lt;/a>
 powers a huge share of the web, which makes it a constant target. The good news is that the overwhelming majority of WordPress compromises exploit a small, predictable set of weaknesses, and almost all of them are preventable. This WordPress security hardening checklist walks through the steps that actually move the needle in 2026, roughly in priority order.&lt;/p></description></item><item><title>GDPR Technical Compliance for UK Developers in 2026</title><link>https://mecanik.dev/en/posts/gdpr-technical-compliance-for-uk-developers-in-2026/</link><pubDate>Wed, 24 Jun 2026 07:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/gdpr-technical-compliance-for-uk-developers-in-2026/</guid><description>&lt;p>ICO enforcement action against UK organisations rose sharply in 2024 and 2025, with fines totalling over £12 million across the two years for failures in technical security measures. The pattern in ICO enforcement notices is consistent: organisations that suffered a breach and could not demonstrate that they had implemented appropriate technical controls faced the harshest outcomes. For developers, this is a direct professional concern. The decisions you make about encryption, logging, access control, and data retention are the technical controls that determine whether an organisation can defend itself before the ICO.&lt;/p></description></item><item><title>Penetration Testing in the UK - What to Expect in 2026</title><link>https://mecanik.dev/en/posts/penetration-testing-uk-what-to-expect-in-2026/</link><pubDate>Tue, 23 Jun 2026 19:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/penetration-testing-uk-what-to-expect-in-2026/</guid><description>&lt;p>Searches for penetration testing services in the UK grew by over 35% between 2023 and 2025, driven by a combination of ransomware incidents, tightening regulatory obligations, and a wave of insurance underwriters demanding evidence of active security testing before issuing cyber policies. Despite that demand, there is still widespread confusion about what a penetration test actually is, how it differs from a vulnerability scan, and what a good one costs.&lt;/p></description></item><item><title>Website Security Audit Guide for UK Businesses in 2026</title><link>https://mecanik.dev/en/posts/website-security-audit-for-uk-businesses-in-2026/</link><pubDate>Sun, 21 Jun 2026 19:00:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/website-security-audit-for-uk-businesses-in-2026/</guid><description>&lt;p>A website security audit is a structured assessment that identifies vulnerabilities in your web presence before an attacker finds and exploits them. For UK businesses in 2026, this is not a theoretical concern. The DSIT/NCSC Cyber Security Breaches Survey reported that over 50% of medium-sized UK businesses experienced a cyber attack or breach in the past year.&lt;/p>
&lt;p>This guide explains what a website security audit covers, how the process works, what it costs, and what you should do with the results.&lt;/p></description></item><item><title>Password Managers: Unlocking Online Security | Comprehensive Guide</title><link>https://mecanik.dev/en/posts/password-managers-unlocking-online-security-comprehensive-guide/</link><pubDate>Sat, 08 Apr 2023 07:59:00 +0100</pubDate><guid>https://mecanik.dev/en/posts/password-managers-unlocking-online-security-comprehensive-guide/</guid><description>&lt;p>Are you tired of remembering countless passwords for various online accounts? With the increasing number of cyber-attacks and data breaches, it&amp;rsquo;s more important than ever to prioritize online security. Password managers can be your key to enhancing password security and simplifying your digital life.&lt;/p>
&lt;p>In this article, we will explore what password managers are, why you should use them, how to use them effectively, and some popular examples to help you choose the right one for your needs.&lt;/p></description></item><item><title>TryHackMe Room: Borderlands</title><link>https://mecanik.dev/en/posts/tryhackme-room-borderlands/</link><pubDate>Tue, 22 Jun 2021 15:40:24 +0600</pubDate><guid>https://mecanik.dev/en/posts/tryhackme-room-borderlands/</guid><description>&lt;p>Today I will help you complete another room: &lt;a href="https://tryhackme.com/room/borderlands" target="_blank" rel="nofollow noopener noreferrer">Borderlands&lt;svg class="external-link-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">&lt;path d="M14 3h7v7M21 3l-11 11M10 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5"/>&lt;/svg>&lt;/a>
 which is part of the Networking category.&lt;/p>
&lt;p>This is a Hard room (hardest in networking) and if you complete all the tasks you get 540 points!&lt;/p>
&lt;p>Normally you need to perform the tasks yourself (I recommend you do so) and even if you are skilled you will need up to 1 hour to finish all the tasks.&lt;/p></description></item><item><title>TryHackMe Room: Introductory Networking</title><link>https://mecanik.dev/en/posts/tryhackme-room-introductory-networking/</link><pubDate>Mon, 21 Jun 2021 15:40:24 +0600</pubDate><guid>https://mecanik.dev/en/posts/tryhackme-room-introductory-networking/</guid><description>&lt;p>Today I will help you complete another room: &lt;a href="https://tryhackme.com/room/introtonetworking" target="_blank" rel="nofollow noopener noreferrer">Introductory Networking&lt;svg class="external-link-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">&lt;path d="M14 3h7v7M21 3l-11 11M10 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5"/>&lt;/svg>&lt;/a>
 which is part of the Networking category.&lt;/p>
&lt;p>It is strongly recommended that you do some actual reading as well instead of just copy-pasting, otherwise you will not learn anything.&lt;/p>
&lt;p>Complete a room every day and the website will award you a “hacking streak” badge, which I`m pretty sure you would love to have! 😉&lt;/p></description></item><item><title>TryHackMe Room: Metasploit</title><link>https://mecanik.dev/en/posts/tryhackme-room-metasploit/</link><pubDate>Sun, 20 Jun 2021 15:40:24 +0600</pubDate><guid>https://mecanik.dev/en/posts/tryhackme-room-metasploit/</guid><description>&lt;h2 id="how-to-complete-tryhackme-metasploit">How to complete TryHackMe: Metasploit!&lt;/h2>
&lt;p>In this post I will offer you all the answers you need to get your second (easy) completed room about &lt;a href="https://www.metasploit.com/" target="_blank" rel="nofollow noopener noreferrer">Metasploit&lt;svg class="external-link-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">&lt;path d="M14 3h7v7M21 3l-11 11M10 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5"/>&lt;/svg>&lt;/a>
. Please note that I have deliberately skipped questions that required no answers.&lt;/p>
&lt;p>The answers posted here should be used if you are &lt;strong>really stuck&lt;/strong> on a task and you &lt;strong>need help&lt;/strong>.&lt;/p></description></item><item><title>TryHackMe Room: Nmap [Task1-15]</title><link>https://mecanik.dev/en/posts/tryhackme-room-nmap-task1-15/</link><pubDate>Sun, 14 Feb 2021 15:40:24 +0600</pubDate><guid>https://mecanik.dev/en/posts/tryhackme-room-nmap-task1-15/</guid><description>&lt;p>So you wanna become a hacker heh ? 😉 You probably found &lt;a href="https://tryhackme.com/" title="TryHackMe" target="_blank" rel="nofollow noopener noreferrer">TryHackMe&lt;svg class="external-link-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">&lt;path d="M14 3h7v7M21 3l-11 11M10 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5"/>&lt;/svg>&lt;/a>
 and now trying to complete some rooms and flex off to friends, but you are lost.&lt;/p>
&lt;p>In this post I will offer you all the answers you need to get your first (easy) completed room. However, I don’t recommend you simply copy-paste the answers without actually reading anything because then you will not learn anything.&lt;/p></description></item></channel></rss>