Java Sandbox Breakout '19 (Mirror)

Note: This is a mirror of the official contest on DMOJ. If you wish to compete officially, you should do it there instead.

Welcome to the first CTF-esque contest hosted on WLMOJ!

The goal of this contest is to test your ability to exploit Java by bypassing security systems.

There will be 5 equally weighted problems of varying difficulty, all of which have one goal: to capture the flag!

You will have the full time length of the contest to complete the problems.

The problem writer for this contest is c.

The Setup

Every problem will have some kind of sandbox in the form of a Java agent. You will be trying to bypass the restrictions that the agent imposes. To show that you have bypassed it, you will print a flag (in form ^CTF-[A-F0-9]{32}$) to the stdout stream.

Each problem will give you a mock Java agent and its source so you can test locally. This agent will be the exact same as the one the judge is using, but with the actual flag replaced with CTF-00000000000000000000000000000000.

The standard Java security sandbox is disabled and replaced with the DMOJ's cptbox. This will degrade performance slightly but will allow you to use all Java language features.

Only Java 8 will be allowed.

There will be no partial points for any of the problems.

Scoring

This contest uses the AtCoder format, but with the penalty set to 0. This effectively means that the scoreboard is sorted by most points to least points. If two people are tied in points, the person to have achieved that point value first will be on top.

Special Feedback System

The feedback system for this contest is different from other contests. Each verdict will contain some feedback:

WA

  • No Flag Printed: You have not printed anything.
  • Invalid Flag Printed: Your output is in an incorrect format.
  • Wrong Flag Printed: Your output is the incorrect flag.

AC

  • Full Points: You've successfully captured the flag and receive full points.

IR

  • Likely Java Runtime Error: A non-zero / non-security return code was received, likely due to runtime error.
  • Security System Triggered: You've triggered the security system.

To prevent cheating, exception names and clipped output are both not shown.


Problems

Problem Points AC Rate Users
JSB '19 - P1 5 41.7% 2
JSB '19 - P2 7 20.0% 1
JSB '19 - P3 7 9.1% 1
JSB '19 - P4 15 50.0% 1
JSB '19 - P5 17 50.0% 1

Comments

There are no comments at the moment.