And much more!

Coding

S.H.O.C.K.

Update

Positions of the teams and their scores are as follows

Team    Reverse (42)    Forward (60)

 1      18              33.6           
 2      11              38
 3      8.5             44.5
 4      11              34.2
 5      18              36.6
 6      7               20.5
 9      19.5            39.6
10      25.5            21.0
11      28              46.2
12      13              35.6

First - Team 11
Second - Team 9
Third - Team 5

Click here to download the SHOCK prelims paper

Click here to download the submissions of the forward round


Introduction

SHaastra Obfuscated Code Kontest is about code and logic obfuscation. Obfuscation in code involves making programs hard to interpret by using various methods and features of the programming language. Obfuscation is gaining importance as reverse engineering is a hard problem to tackle. The event is targeted at those with programming experience in C. Prior knowledge of obfuscation is NOT required.

Total prize money: Rs. 15,000




Introductory Session

This is an introductory session to tell the participants what code obfuscation is. This will be held on the first day, before the commencement of the Prelims. This will include a talk by the sponsors of the event on their perspective of obfuscation and the incentives for participants of SHOCK. It is expected to take around 45 minutes. All are welcome to attend this session.

Prelims

The prelims will take place on the second day, and will consist of questions based on

  1. General coding gyaan
  2. Logic
  3. C syntax rules

You will have around 45 minutes to crack the prelims. It will be a written prelims and teams of 3 or less are allowed to take part. No registration is required for the prelims (walk in and take part). However, all participants must have a Shaastra ID card.

Note : No prior knowledge of obfuscation is needed to take part in the prelims.

Orientation for finals

8-10 finalists will be chosen to take part in the finals. This will be an orientation to obfuscation for the finalists. In contrast to the introductory session, the orientation will include

  1. A discussion on C syntax abuse rules
  2. A review of entries from IOCCC finalists
  3. A special lecture by an expert with domain knowledge on obfuscation

This orientation session will take place on the third day and will last for around 2 hours. We request all finalists to attend this session.

Finals

The finals will take place on the fourth and last day and will be held in two rounds. The first round will be a reverse obfuscation round and this will be followed by a forward obfuscation round. In the reverse obfuscation round, the finalists will have 2 hours to look at obfuscated code, comprehend it and arrive at an explanation of its function. This will be followed by 4 hours of forward obfuscation, where simple C code will be given, that the finalists will try to obfuscate. All code will be compiled using GNU gcc 3.4.3.

Here are some useful links that contain information about obfuscation.

http://www.ioccc.org/
http://en.wikipedia.org/wiki/Obfuscated_code
http://en.wikipedia.org/wiki/Quine_(computing)

Contacts

For further information about the event, write directly to us with the subject line "SHOCK 2008". We would be glad to be of assistance.

Ramanathan V.G.

Coordinator, SHOCK

vgramanathan@gmail.com

Saikanth Varma

Coordinator, SHOCK

saikanthvarma@gmail.com

Userportal  Helpdesk

Final round results:

  1. First: The_Company(74.2)
  2. Second: SLS (Special Mention)(59.1)
  3. Third : BTVP(54.5)

Entries of forward round will be uploaded soon. Thank you for participating.