[{"data":1,"prerenderedAt":264},["ShallowReactive",2],{"post-\u002Fen\u002Fblog\u002Fwatch-a-real-hack-inside-our-live-penetration-lab":3,"post-surround-\u002Fen\u002Fblog\u002Fwatch-a-real-hack-inside-our-live-penetration-lab":253},{"id":4,"title":5,"authors":6,"badge":7,"body":9,"date":236,"dateModified":6,"description":237,"extension":238,"image":239,"meta":244,"navigation":245,"path":246,"seo":247,"stem":250,"translation":251,"__hash__":252},"blog\u002Fen\u002Fblog\u002Fwatch-a-real-hack-inside-our-live-penetration-lab.md","Watch a real hack, step by step: inside our live penetration lab",null,{"label":8},"Security",{"type":10,"value":11,"toc":219},"minimark",[12,21,24,34,39,42,79,82,86,89,94,105,109,115,119,137,141,151,155,161,165,171,175,185,189,192,195,199,202,210],[13,14,15,16,20],"p",{},"Most security pages tell you they're good at their job. We'd rather show you. So we built a small, interactive ",[17,18,19],"strong",{},"penetration lab",": open it in your browser and watch real attack tools break into our own throwaway servers, one step at a time, with a plain-language explanation of what just happened and how we stop it.",[13,22,23],{},"It is the opposite of a jargon-filled report. You see the scan, the crack and the captured \"flag\" the way an attacker would, and next to every step you see the fix. Knowing the attack from the inside is what proves you can prevent it.",[13,25,26],{},[17,27,28],{},[29,30,33],"a",{"href":31,"rel":32},"https:\u002F\u002Fdelta.codingdelta.com\u002Fpentest",[],"Try it yourself at delta.codingdelta.com\u002Fpentest →",[35,36,38],"h2",{"id":37},"how-the-lab-works-and-why-its-safe","How the lab works (and why it's safe)",[13,40,41],{},"Everything runs against servers we create ourselves and throw away straight afterwards:",[43,44,45,52,58],"ul",{},[46,47,48,51],"li",{},[17,49,50],{},"Only our own systems."," The targets are disposable containers in an isolated environment with no connection to the internet. No third-party system is ever touched.",[46,53,54,57],{},[17,55,56],{},"No free-form shell."," You pick from fixed, scripted attacks. You can't type arbitrary commands; the lab only runs the exact steps we scripted against our own target.",[46,59,60,63,64,68,69,68,72,68,75,78],{},[17,61,62],{},"Real tools, real exploits."," The scans and attacks use the same tools a real attacker uses — ",[65,66,67],"code",{},"nmap",", ",[65,70,71],{},"hydra",[65,73,74],{},"sqlmap",[65,76,77],{},"curl"," — not a pre-recorded video pretending to be a terminal.",[13,80,81],{},"You start a session with your e-mail (and a one-time code), then drive the attack yourself: run each step, read the output as it streams in, and see the vulnerability and its fix side by side.",[35,83,85],{"id":84},"the-examples-in-the-lab","The examples in the lab",[13,87,88],{},"Each scenario is a different class of attack. Here's what you'll see, and the one-line version of how it's prevented.",[90,91,93],"h3",{"id":92},"_1-a-weak-ssh-password","1. A weak SSH password",[13,95,96,97,100,101,104],{},"The classic way in. We scan the server, find the SSH door open, and guess the password (",[65,98,99],{},"password123",") from a list of common ones in seconds. One command later we're logged in and reading files.\n",[17,102,103],{},"The fix:"," turn off password logins in favour of SSH keys, restrict SSH to known addresses or a VPN, and block repeated guesses automatically (fail2ban).",[90,106,108],{"id":107},"_2-sql-injection-in-a-login-form","2. SQL injection in a login form",[13,110,111,112,114],{},"A login form that drops whatever you type straight into a database query. A single quote breaks the query — the classic sign — and a crafted input logs us in without a password. From there we read out the entire user table and its secrets.\n",[17,113,103],{}," use parameterised queries (prepared statements), never trust visitor input, and put a web application firewall in front.",[90,116,118],{"id":117},"_3-a-php-web-shell-via-a-shipped-dev-tool-cve-2017-9841","3. A PHP web shell via a shipped dev tool (CVE-2017-9841)",[13,120,121,122,125,126,128,129,132,133,136],{},"A PHP site that accidentally published a development file — PHPUnit's ",[65,123,124],{},"eval-stdin.php",", which runs whatever you send it — into its public web root. Through that one file we run our own code on the server, no login required.\n",[17,127,103],{}," never install dev dependencies in production (",[65,130,131],{},"composer install --no-dev","), keep ",[65,134,135],{},"vendor\u002F"," out of the web root, and don't run the web server as root. This remains one of the most-exploited PHP flaws in the wild.",[90,138,140],{"id":139},"_4-apache-path-traversal-remote-code-execution-cve-2021-41773","4. Apache path traversal → remote code execution (CVE-2021-41773)",[13,142,143,144,147,148,150],{},"A version of the Apache web server (2.4.49) with a flaw in how it handles paths. With a cleverly encoded ",[65,145,146],{},"..\u002F"," we read files far outside the website — like the server's user list — and then turn the same trick into running commands.\n",[17,149,103],{}," upgrade Apache (2.4.51+), deny access to the filesystem by default, and disable CGI if you don't need it.",[90,152,154],{"id":153},"_5-shellshock-commands-hidden-in-a-header-cve-2014-6271","5. Shellshock — commands hidden in a header (CVE-2014-6271)",[13,156,157,158,160],{},"An old script run by a pre-patch version of Bash. Because web servers hand HTTP headers to scripts as environment variables, we smuggle a command into something as innocent as the browser-name header, and it runs on the server.\n",[17,159,103],{}," patch Bash (this bug is from 2014 and still gets scanned for daily), and don't run CGI scripts through Bash.",[90,162,164],{"id":163},"_6-heartbleed-reading-the-servers-memory-cve-2014-0160","6. Heartbleed — reading the server's memory (CVE-2014-0160)",[13,166,167,168,170],{},"A different class of attack: no shell, just a leak. An old OpenSSL version answers a malformed \"heartbeat\" by handing back up to 64 KB of its own working memory — which can contain session data, passwords or encryption keys. We read a secret straight out of a running server, and it leaves no trace.\n",[17,169,103],{}," upgrade OpenSSL, and — because anything that leaked may already be copied — replace the server's keys and certificates and reset passwords and sessions.",[90,172,174],{"id":173},"_7-struts-2-code-execution-via-a-header-cve-2017-5638","7. Struts 2 — code execution via a header (CVE-2017-5638)",[13,176,177,178,181,182,184],{},"The flaw behind the Equifax breach. A Java web framework evaluates a crafted ",[65,179,180],{},"Content-Type"," header as code, so a single request runs commands on the server without any login.\n",[17,183,103],{}," patch Struts, keep sample\u002Fshowcase apps off production, put a web application firewall in front, and run the app with least privilege.",[35,186,188],{"id":187},"what-it-proves","What it proves",[13,190,191],{},"Every one of these is a real, well-known vulnerability — most of them actively exploited, several still being scanned for right now. The point of showing them isn't shock value. It's that the people who can take a system apart, step by step, are the people who know exactly where to reinforce it. You can't defend against an attack you've never watched happen.",[13,193,194],{},"That's also why the lab pairs every step with its mitigation: the demo is the \"why\", and the fix is the \"what to do\".",[35,196,198],{"id":197},"see-it-for-yourself","See it for yourself",[13,200,201],{},"The lab is free and runs in your browser — no software to install, nothing touched but our own servers.",[13,203,204],{},[17,205,206],{},[29,207,209],{"href":31,"rel":208},[],"Open the penetration lab at delta.codingdelta.com\u002Fpentest",[13,211,212,213,218],{},"Want this on your own environment? What you see in the lab, we also do on-site: a full, thorough security test of your systems, with a clear report and concrete fixes. ",[29,214,217],{"href":215,"rel":216},"\u002F#contact",[],"Talk to us"," and we'll set it up.",{"title":220,"searchDepth":221,"depth":221,"links":222},"",2,[223,224,234,235],{"id":37,"depth":221,"text":38},{"id":84,"depth":221,"text":85,"children":225},[226,228,229,230,231,232,233],{"id":92,"depth":227,"text":93},3,{"id":107,"depth":227,"text":108},{"id":117,"depth":227,"text":118},{"id":139,"depth":227,"text":140},{"id":153,"depth":227,"text":154},{"id":163,"depth":227,"text":164},{"id":173,"depth":227,"text":174},{"id":187,"depth":221,"text":188},{"id":197,"depth":221,"text":198},"2026-11-17","Security isn't proven with words. So we built a live lab where you watch real attacks run against our own throwaway servers, step by step, and see exactly how we shut each one down.","md",{"src":240,"alt":241,"height":242,"width":243},"\u002Fcontent\u002Fimages\u002Fwatch-a-real-hack-live-pentest-lab.jpg","Cover: 'Watch a real hack. Step by step.' with the Delta Security Δ and a terminal cracking an SSH login",1260,2400,{},true,"\u002Fen\u002Fblog\u002Fwatch-a-real-hack-inside-our-live-penetration-lab",{"title":248,"description":249},"See a real hack, step by step: Delta's live penetration lab","A free, interactive lab where real tools crack our own throwaway servers, one step at a time, each paired with the fix. Weak SSH, SQL injection, PHP RCE, Heartbleed and more.","en\u002Fblog\u002Fwatch-a-real-hack-inside-our-live-penetration-lab","zie-een-echte-hack-in-ons-live-penetratietest-lab","vVvn4GCmH7OQJ5qypoVSHB_tsCUc0AfB0vILQyS6KCE",[254,259],{"title":255,"path":256,"stem":257,"description":258,"children":-1},"AI found the bugs. Now the race is on: PHP2Shell, nginx and Node.js in 2026","\u002Fblog\u002Fai-found-the-bugs-php-nginx-nodejs-security-2026","en\u002Fblog\u002Fai-found-the-bugs-php-nginx-nodejs-security-2026","AI models are finding critical vulnerabilities in the software that runs most of the web faster than ever. What happened with PHP, nginx and Node.js this autumn, what it means for your website, and what to do this week.",{"title":260,"path":261,"stem":262,"description":263,"children":-1},"Optimizing Air Quality Monitoring with IoT: A Case Study","\u002Fblog\u002Foptimizing-air-quality-monitoring-with-iot","en\u002Fblog\u002Foptimizing-air-quality-monitoring-with-iot","How we use 100s of sensors to improve air quality.",1794965176187]