Skip to content

Commit

Permalink
add ctf
Browse files Browse the repository at this point in the history
  • Loading branch information
jschauma committed May 6, 2014
1 parent 55a0e3e commit 3f23097
Show file tree
Hide file tree
Showing 6 changed files with 291 additions and 2 deletions.
64 changes: 64 additions & 0 deletions html/ctf-level0.html
@@ -0,0 +1,64 @@
<!DOCTYPE HTML PUBLIC "-//W4C//DTD HTML 4.01 Transitional//EN">

<HTML>
<HEAD>

<TITLE>CS615A -- Aspects of System Administration -- CtF: Level 0</TITLE>
<STYLE type="text/css">
body {
background-color: #FFFFFf;
}
</STYLE>
<STYLE type="text/css">
li.c1 {list-style: none}
</STYLE>
</HEAD>

<BODY>
<TABLE border="1" align="center" cellpadding="15">
<TR>
<TD valign="top">
<H2>CS615A -- Aspects of System Administration - Spring 2014</H2>

<H3>Capture The Flag!</H3>

<h4>Level 0</h4>
<p>
The instructions for the next level are, of course, top secret.
Hence, they can only be made available in encrypted form.
Likewise, we want to ensure that only authorized parties have
access to these instructions.
</p>
<p>
We accomplish this by using <a
href="https://en.wikipedia.org/wiki/Pretty_Good_Privacy">Pretty Good
Privacy</a> (PGP). If you don't know how to use PGP yet, maybe <a
href="https://duckduckgo.com/?q=gpg+tutorial">this link</a> will help.
</p>
<p>
Your team needs to send an email encrypted with <a
href="/~jschauma/public_key.gpg.asc">this key</a> to <a
href="mailto:jschauma@stevens.edu?subject=[CS615] level 0">jschauma@stevens.edu</a>
with a subject of "[CS615] level 0". In this email, you must
note:
<ul>
<li>the name of your team</li>
<li>the Stevens usernames of all members of your team</li>
<li>the PGP key id(s) for which the instructions should be encrypted</li>
</ul>
</p>
<p>
Each team may submit this email exactly one time in any 24 hour
window. If not all the correct information is contained in the
email or it is not properly encrypted, then that team must wait
for 24 hours to try again.
</p>
<p>
Upon successful completion of this task, all team members will
receive (encrypted) instructions on how to proceed to <a
href="ctf-level1.html">level 1</a>.
</p>
<hr>
[<a href="index.html">Course Website</a>]
</BODY>
</HTML>
45 changes: 45 additions & 0 deletions html/ctf-level1.html
@@ -0,0 +1,45 @@
<!DOCTYPE HTML PUBLIC "-//W4C//DTD HTML 4.01 Transitional//EN">

<HTML>
<HEAD>

<TITLE>CS615A -- Aspects of System Administration -- CtF: Level 1</TITLE>
<STYLE type="text/css">
body {
background-color: #FFFFFf;
}
</STYLE>
<STYLE type="text/css">
li.c1 {list-style: none}
</STYLE>
</HEAD>

<BODY>
<TABLE border="1" align="center" cellpadding="15">
<TR>
<TD valign="top">
<H2>CS615A -- Aspects of System Administration - Spring 2014</H2>

<H3>Capture The Flag!</H3>

<h4>Level 1</h4>
<p>
Congratulations! You have cleared level 0.
</p>
<p>
In order to receive the instructions for the next level, you must send
another message to <a
href="mailto:jschauma@stevens.edu?subject=[CS615] level
1">jschauma@stevens.edu</a>, this time with a subject of "[CS615] level 1".
</p>
<p>
This message must contain the secret passphrase. This passphrase
has been made available to you in a file conveniently readable by
anybody on a system you have access to.
To help you find that file, here is it's checksum:
</p>
<p><tt>d946a25b0d503c9d761b28ea97008da4c93433e30c45b6d38cfc075b0311b246</tt></p>
<hr>
[<a href="index.html">Course Website</a>]
</BODY>
</HTML>
39 changes: 39 additions & 0 deletions html/ctf-level2.html
@@ -0,0 +1,39 @@
<!DOCTYPE HTML PUBLIC "-//W4C//DTD HTML 4.01 Transitional//EN">

<HTML>
<HEAD>

<TITLE>CS615A -- Aspects of System Administration -- CtF: Level 2</TITLE>
<STYLE type="text/css">
body {
background-color: #FFFFFf;
}
</STYLE>
<STYLE type="text/css">
li.c1 {list-style: none}
</STYLE>
</HEAD>

<BODY>
<TABLE border="1" align="center" cellpadding="15">
<TR>
<TD valign="top">
<H2>CS615A -- Aspects of System Administration - Spring 2014</H2>

<H3>Capture The Flag!</H3>

<h4>Level 2</h4>
<p>
Congratulations! You have cleared level 1.
</p>
<p>
The passphrase to receive the instructions for the next level can
be obtained from this URL:
</p>
<p>
<a href="https://www.cs.stevens.edu/~jschauma/cgi-bin/ctf.cgi">https://www.cs.stevens.edu/~jschauma/cgi-bin/ctf.cgi</a>
</p>
<hr>
[<a href="index.html">Course Website</a>]
</BODY>
</HTML>
40 changes: 40 additions & 0 deletions html/ctf-level3.html
@@ -0,0 +1,40 @@
<!DOCTYPE HTML PUBLIC "-//W4C//DTD HTML 4.01 Transitional//EN">

<HTML>
<HEAD>

<TITLE>CS615A -- Aspects of System Administration -- CtF: Level 3</TITLE>
<STYLE type="text/css">
body {
background-color: #FFFFFf;
}
</STYLE>
<STYLE type="text/css">
li.c1 {list-style: none}
</STYLE>
</HEAD>

<BODY>
<TABLE border="1" align="center" cellpadding="15">
<TR>
<TD valign="top">
<H2>CS615A -- Aspects of System Administration - Spring 2014</H2>

<H3>Capture The Flag!</H3>

<h4>Level 3</h4>
<p>
Congratulations! You have cleared level 2.
</p>
<p>
The passphrase to receive the instructions for the next level can
be obtained by running the following command on
<tt>linux-lab.cs.stevens.edu</tt>:
</p>
<p>
<tt>~jschauma/ctf/level3</tt>
</p>
<hr>
[<a href="index.html">Course Website</a>]
</BODY>
</HTML>
99 changes: 99 additions & 0 deletions html/ctf.html
@@ -0,0 +1,99 @@
<!DOCTYPE HTML PUBLIC "-//W4C//DTD HTML 4.01 Transitional//EN">

<HTML>
<HEAD>

<TITLE>Team RAMROD was here</TITLE>
<STYLE type="text/css">
body {
background-color: #FFFFFf;
}
</STYLE>
<STYLE type="text/css">
li.c1 {list-style: none}
</STYLE>
</HEAD>

<BODY>
<TABLE border="1" align="center" cellpadding="15">
<TR>
<TD valign="top">
<H2>CS615A -- Aspects of System Administration - Spring 2014</H2>

<H3>Capture The Flag!</H3>

<h4>Introduction</h4>
<p>
In this group assignment, your task is to "capture the flag" by
solving a few exercises and problems of increasing
difficulty.
</p>
<p>
The final "flag" is to take control of, and then defend against
the other teams, the content of a web server. Note that in this
game you are simultaneously attackers and defenders: you are
working against time, trying to solve the problems, while at the
same time trying to work against the other teams.
</p>
<p>
Each level has one intended solution. Solving all levels in order
should allow you to capture the flag. However, it is possible
that you can solve a level in a way not anticipated by the
instructor, or that you can capture the flag without solving all
or some of the levels. That's perfectly fine.
</p>
<h4>Final Flag</h4>
<p>
The final flag is to take control of this site: <a
href="http://cs615-ctf.netmeister.org">http://cs615-ctf.netmeister.org</a>
by having the site display your team's name and members. Once you
have accomplished this, you need to defend it against take-over by
another team.
</p>
<h4>Points</h4>
<p>
Capturing (and defending) the flag will gain each of your team's
member 75 points.
</p>
<p>
Individual levels may gain you partial credit along the way. If
you solve all individual levels and capture the flag, you will
gain a total of 75 points; if you find another way to capture the
flag, you will gain 75 points. That is, you cannot gain
<em>more</em> than 75 points, but if you attempt to capture the
flag without solving any of the levels and then fail, you will not
get any points.
</p>
<h4>Proving levels</h4>
<p>
In order to claim the points for a given level (including the
final flag), you must write a document describing how you solved
the problem. This document must be made available online under
one of your team member's course website (ie
<tt>https://www.cs.stevens.edu/~yourname/615/</tt>) and the URL
sent via email to <a
href="mailto:jschauma@stevens.edu">jschauma@stevens.edu</a>.
</p>
<p>
After your instructor has acknowledged having retrieved the document,
you may remove it again (for example to prevent other teams from
finding out how you solved the problem).
</p>
<p>
24 hours after a level has been solved by any one team, it will be
opened up and the points will no longer be available.
</p>
<hr>
<h3>Levels</h3>
<ul>
<li><a href="ctf-level0.html">Level 0</a> &nbsp;5 point</li>
<li><a href="ctf-level1.html">Level 1</a> &nbsp;5 points</li>
<li><a href="ctf-level2.html">Level 2</a> 10 points</li>
<li><a href="ctf-level3.html">Level 3</a> 15 points</li>
<li>Level 4 20 points</li>
<li>Level 5 25 points</li>
</ul>
<hr>
[<a href="index.html">Course Website</a>]
</BODY>
</HTML>
6 changes: 4 additions & 2 deletions html/index.html
Expand Up @@ -473,9 +473,11 @@ <H3><A name="syllabus">Syllabus</A>:</H3>
</TR>
<TR>
<TD>2014-05-01</TD>
<TD>AMA / Misc. Topics / Presentations</TD>
<TD>Capture The Flag!</TD>
<TD>&nbsp;</TD>
<TD><em>Note: Thursday class!</em></TD>
<TD><a
href="ctf.html">instructions</a><br>
<a href="https://lists.stevens.edu/pipermail/cs615asa/2014-May/001034.html">Wrap-Up</a></TD>
</TR>

</TABLE>
Expand Down

0 comments on commit 3f23097

Please sign in to comment.