NEW: Microsoft Vulnerabilities Report 2022 - Read the Findings of Our Annual Report Read Now

  • Partners
  • Support
  • Careers
  • English
    • Deutsch
    • français
    • español
    • 한국어
    • português
BeyondTrust
  • Products

    Privileged Password Management

    Discover, manage, audit, and monitor privileged accounts and credentials.

    • Password Safe
    • DevOps Secrets Safe
    • Privileged Access Discovery Application

    Endpoint Privilege Management

    Enforce least privilege across Windows, Mac, Linux, and Unix endpoints.

    • Windows and Mac
    • Unix and Linux
    • Active Directory Bridge

    Secure Remote Access

    Centrally manage remote access for service desks, vendors, and operators.

    • Remote Support
    • Privileged Remote Access
    • Privileged Access Discovery Application

    Cloud Security Management

    Automate the management of identities and assets across your multicloud footprint.

    • Cloud Privilege Broker

    BeyondInsight

    Experience the industry’s most innovative, comprehensive platform for privileged access management.

  • Solutions

    Use Cases

    • Cloud Security
    • Compliance
    • Cyber Insurance
    • Digital Transformation
    • Endpoint Security
    • Operational Technology
    • Ransomware
    • Service Desk Efficiency
    • Zero Trust

    Industry Applications

    • Financial Services
    • Government Agencies
    • Healthcare
    • Law Enforcement
    • Manufacturing
    • Schools & Universities

    Solutions

    The BeyondTrust Privileged Access Management portfolio is an integrated solution that provides visibility and control over all privileged accounts and users.

  • Resources

    Learn

    • Blog
    • Customer Stories
    • Competitor Comparisons
    • Datasheets
    • Videos
    • Glossary
    • Infographics
    • Podcast
    • Whitepapers

    Attend

    • Events
    • Go Beyond
    • Training
    • Webinars

    Support

    • Changelog
    • Professional Services
    • Technical Documentation

    Universal Privilege Management

    Our innovative Universal Privilege Management approach secures every user, asset, and session across your entire enterprise.

  • Company
    • About
    • Leadership
    • Core Values
    • Partners
    • Careers
  • Watch Demo
  • Contact Sales

How to Hone Proactive Security Hardening Tactics via Milnet CTF

January 14, 2019

  • Blog
  • Archive
  1. Home
  2. Blog
  3. How to Hone Proactive Security Hardening Tactics via Milnet CTF

I really enjoy playing the Capture the Flag (CTF) challenges you'll find on VulnHub.com or at an information security conference. Even more, I enjoy teaching others how to block the red team attack paths through proactive security hardening.

In episode 5 of my Attacking and Defending Linux series, we proceed through a three-stage attack, breaking into the Cuckoo's Egg-themed Milnet Boot2Root CTF virtual machine, collecting flags as we go. Milnet is an intentionally-vulnerable CTF puzzle, created by Sebastian Brabetz and inspired by Cliff Stoll's book, The Cuckoo's Egg. Stoll’s book, published in 1989, details the fascinating true story of how he caught a hacker. In my on-demand webinar, we initially play the role of hacker. Then, we put on our white hats and execute one proactive defense that would break a link in the attack chain we just used.

These CTFs involve chaining vulnerabilities together to reach a goal. On the webinar, we break exploitation of one of the vulnerabilities, but today, let’s talk about how we could break the very first exploit in the chain: the point where we got the Internet-accessible web application to give us a low privileged shell. That exploit uses a Remote File Inclusion vulnerability to trick the application server into downloading and running code from a remote machine.

Now, we can’t always be sure that our programs lack vulnerabilities, but a simple proactive best practice would have broken the attack here: an outbound host-based firewall. A host-based firewall can prevent the application server from initiating a connection to an arbitrary host on the Internet. If we activate the machine's built-in host-based firewall, we'll foil any remote file inclusion vulnerability, basically by the very definition of that vulnerability.

However, keep in mind, this is just one of several tactics to block this attack. To see and understand the full attack path, as well as another defense, watch the webinar! You can even download the same virtual machine I did from VulnHub (https://www.vulnhub.com/entry/milnet-1,148/) and play along.

Footnote to "play along": You'll want a copy of Kali Linux if want to use the same attacker environment that I did.

Photograph of Jay Beale

Jay Beale, CEO, CTO at InGuardians, Inc.

Jay Beale has created several defensive security tools, including Bastille Linux/UNIX and the CIS Linux Scoring Tool, both of which were used widely throughout industry and government. He has served as an invited speaker at many industry and government conferences, a columnist for Information Security Magazine, SecurityPortal and SecurityFocus, and a contributor to nine books, including those in his Open Source Security Series and the “Stealing the Network” series. He has led training classes on Linux Hardening and other topics at Black Hat, CanSecWest, RSA, and IDG conferences, as well as in private corporate training. Jay is a co-founder, Chief Operating Officer and CTO of the information security consulting company InGuardians.

Stay Up To Date

Get the latest news, ideas, and tactics from BeyondTrust. You may unsubscribe at any time.

I agree to receive product related communications from BeyondTrust as detailed in the Privacy Policy, and I may manage my preferences or withdraw my consent at any time.

You May Also Be Interested In:

Whitepapers

IDSA Report: 2022 Trends in Securing Digital Identities

Whitepapers

Microsoft Vulnerabilities Report 2022

Whitepapers

Cybersecurity Insurance Checklist

Keep up with BeyondTrust

I agree to receive product related communications from BeyondTrust as detailed in the Privacy Policy, and I may manage my preferences or withdraw my consent at any time.

Customer Support
Contact Sales

Products

  • Endpoint Privilege Management
  • Password Management
  • Privileged Remote Access
  • DevOps Secrets Safe
  • Remote Support
  • Cloud Privilege Broker

Resources

  • Blog
  • Case Studies
  • Competitor Comparisons
  • Datasheets
  • Glossary
  • Infographics
  • Podcast
  • Videos
  • Webinars
  • Whitepapers

About

  • Company
  • Careers
  • Contact
  • Events
  • Leadership Team
  • Partner Program
  • Press
BeyondTrust Logo
  • Facebook
  • Twitter
  • LinkedIn
  • Privacy
  • Security
  • Manage Cookies
  • WEEE Compliance

Copyright © 1999 — 2022 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.