Cyberlium
Cyberlium
Cyberlium on Android·Google Play Store

Learn cybersecurity with hands-on labs and AI mentor support on your phone.

Exploit › Module 7 › Lesson 3

BeginnerModule 7Lesson 3/5

Rules of CTF

CTF rules literacy — scope, time box, no infra attack, team ethics; pwn awareness on platforms you enroll in.

15 min+40 XP3 quiz
Module progress3 of 5

Visual · t24_rules_of_ctf

CTF rules = platform RoE. Original Cyberlium.

Opening

CTF rules exist so learning stays legal — breaking them turns practice into incident response for the organizers.

CTF rules of engagement: compete only on assigned challenge infra, respect time windows, no attacking scoreboard or other teams, no sharing live flags when forbidden, no DoS on challenge servers, no using skills on non-CTF targets afterward as excuse. Pwn-specific: use provided VPN/bastion, do not port-scan campus outside scope, report accidental out-of-scope touch to organizers. Cyberlium teaches rules literacy before any advanced authorized pwn track — YOUR $PWN_LAB mirrors rules with instructor brief as RoE. Refused: 'CTF practice' on employer network, cheating by flag paste, attacking CTF platform to steal flags. Document rules acknowledgment in chmod 600 notes before team events.

1. Core CTF rules

Stay in scope: challenge IPs/hostnames only. No lateral movement to organizer corp net.

Collaborate per team rules; cite sources; no plagiarism in writeups.

Command guide

Try these commands — Core CTF rules

═══ LINUX (Binary Analysis & Reverse Engineering) ═══

Disassemble main function using Intel assembly syntax

Command — copy this

objdump -d -M intel -j .text ./target_binary 2>/dev/null | head -30

Check binary security mitigations (NX, Canary, ASLR, PIE)

Command — copy this

checksec --file=./target_binary 2>/dev/null || readelf -l ./target_binary | grep GNU_STACK

Generate unique cyclic pattern for buffer overflow offset calculation

Command — copy this

python3 -c "
from itertools import product
chars = [b'A', b'B', b'C']
pattern = b''.join(b''.join(p) for p in product(b'ABCDEFGHIJKLMNOPQRSTUVWXYZ', b'abcdefghijklmnopqrstuvwxyz', b'0123456789'))[:128]
print('Cyclic Test Pattern (128 bytes):', pattern.decode())
"

GDB debugging session quick start gdb -q ./target_binary (gdb) disassemble main (gdb) info registers

Primary tools to practice this lesson: grep, curl. Reference sites: pwn.college rules (https://pwn.college/); CWE responsible use (https://cwe.mitre.org/); Microsoft SDL (https://learn.microsoft.com/en-us/security/sdl/). Run every command in the box — install first, then the usage lines — only on YOUR lab / program scope.

2. Pwn-specific etiquette

Do not crash shared challenge infra intentionally beyond brief — report unstable service.

Local $PWN_LAB practice before firing scripts at remote — even in CTF, be deliberate.

3. After CTF

Skills feed defensive reporting and secure coding — not unauthorized prod pwn.

Writeups after deadline per policy; redact infra details.

4. What you ship: CTF rules checklist

Eight rules + pwn etiquette trio + post-CTF ethics line.

5. What you record before the next lesson

CTF rules checklist path.

6. Wrong vs right: weaponized exploits vs memory-safety literacy

Worked failure — same MSF word, opposite target. Right never needs a café Wi-Fi or classmate laptop.

  • Wrong

    Port-scan entire university during pwn CTF 'for recon.'

  • Right

    CTF rules checklist signed. Next: CTF Lab.

Mission: CTF rules checklist

1) List eight CTF scope rules. 2) Write three pwn etiquette items. 3) Draft rules acknowledgment for team. 4) Post-CTF unauthorized-use refuse line.

Stuck? Ask Cyberlium AI Mentor

Ask Mentor: “Accidental out-of-scope touch — report how?”

Knowledge Check

1

APPLY: CTF rules require:

Multiple choice

Knowledge Check

2

APPLY: True or False: CTF skills justify prod pwn without authorization.

True or False

Knowledge Check

3

APPLY: Pwn CTF etiquette includes:

Multiple choice

← Previous

Answer all 3 knowledge checks to continue. (0/3 answered)