Alert icon Keyboard navigation enabled.
Alert icon TAB or Shift+TAB to navigate across. Down ↓ to open menu. ESC to close menu.
Alert icon Down ↓ to select section. Right → to activate. Up ↑ / Down ↓ / Tab to traverse all. ESC to exit.
BeyondTrust
Skip to content Use space or enter to skip.

What can we help you find today?

Instant Results
  • Website Results
  • Technical Documentation

Filter Options

Focus your search

Filtering by

Your recent searches:

Contact Us Chat with Sales Get Support
  • English
  • Deutsch
  • français
  • español
  • 한국어
  • português
  • Home
  • Resources
  • Blog
  • Learning Linux Systems Hardening Techniques through a Moonraker-themed CTF current page
Link copied

Learning Linux Systems Hardening Techniques through a Moonraker-themed CTF

Mar 5, 2019
Author:
Jay Beale 2021 Headshot
Jay Beale
CEO, CTO at InGuardians, Inc.
Blog banner default
Learning Linux Systems Hardening Techniques through a Moonraker-themed CTF
Jay Beale 2021 Headshot
Jay Beale
CEO, CTO at InGuardians, Inc.

In Episode 007 of my Linux Attack and Defense webinar series, I attack a James Bond-themed, intentionally-vulnerable capture the flag (CTF) system created by "creosote."

Playing this CTF, I chain together attacks. While many of the steps are focused on discovering or guessing passwords, there are two vital actions in the attack that aren't. The first action initiates the attack: I send an image tag through a vulnerable support form, where it causes a browsing support technician to leak the URL of a management page. This tag never should have been allowed into a support application without first being filtered and safely encoded. The second vital action takes the attack from the web onto the Linux command line—I construct a deserialization exploit against a Node.JS application. It's difficult to execute, but a great skill to learn.

Once I have obtained root and get to watch the destruction of the evil Moonraker space station, I put on my "blue team" patch and prepare to apply proactive hardening measures to break the cyberattack path.

There are at least five ways to proactively break this attack, even if you didn't know there were vulnerabilities. Here's what you could do for the two vital steps:

  • Use an egress iptables ruleset to stop the image tag from causing an outbound request from the support technician.
  • Use ModSecurity, a free web application firewall, to block support requests that carry an image tag.
  • Switch the application's deserialization library.

In my webinar, you will also learn additional systems hardening steps to thwart other stages of the attack. You can check out the on-demand webinar here and play along using your own copy of Kali Linux, attacking the Moonraker virtual machine you’ll find on VulnHub.com at: https://www.vulnhub.com/entry/moonraker-1,264/

Latest Posts
  • 14 Password Management Best Practices
    May 28, 2026 14 Password Management Best Practices
    Blog
    12m
  • A Security Researcher’s Guide to Understanding Copilot Studio AI Agents
    May 26, 2026 A Security Researcher’s Guide to Understanding Copilot Studio AI Agents
    Blog
    3m
  • How to Secure Cloud-Native Infrastructure at Scale and Speed: A Conversation with Madhu Adireddi
    May 21, 2026 How to Secure Cloud-Native Infrastructure at Scale and Speed: A Conversation with Madhu Adireddi
    Blog
    5m
  • Cybersecurity as a Boardroom Priority for Major African TelCos
    May 12, 2026 Cybersecurity as a Boardroom Priority for Major African TelCos
    Blog
    8m
  • Geopolitics and Cybersecurity: Why Attackers Go After Identities and Privileged Access First
    May 11, 2026 Geopolitics and Cybersecurity: Why Attackers Go After Identities and Privileged Access First
    Blog
    4m
Related
  • Remote Support Version 19.1 Introduces Improved Usability, Enhanced Security, & New Brand Elements
    Apr 9, 2019 Remote Support Version 19.1 Introduces Improved Usability, Enhanced Security, & New Brand Elements
    Blog
    1m
  • Vulnerability Scanning from a Virtual Machine
    Mar 30, 2011 Vulnerability Scanning from a Virtual Machine
    Blog
    1m
Share this Article
  • Link
Stay up to Date
Get the latest news, ideas, and tactics from BeyondTrust. You may unsubscribe at any time.

Keep up with BeyondTrust

Customer Support Get Started
  • LinkedIn
  • X
  • Facebook
  • Instagram
  • Add BeyondTrust as a preferred source on Google
  • Privacy
  • Security
  • Manage Cookies
  • Do Not Sell My Data
  • WEEE Compliance

Copyright © 2003 — 2026 BeyondTrust Corporation. All rights reserved. Other trademarks identified on this page are owned by their respective owners. BeyondTrust Corporation is not a chartered bank or trust company, or depository institution. It is not authorized to accept deposits or trust accounts and is not licensed or regulated by any state or federal banking authority.

Prefers reduced motion setting detected. Animations will now be reduced as a result.