Skip to main content

Settings

Color Mode

Theme Skin

Background

Appearance preferences are saved in this browser only.

Environment

Current Environment Production

Built with JEKYLL_ENV=production. Changes require deployment.

Quick Links

Theme & Build

Jekyll v3.10.0
Last BuildNov 24, 17:25

Page Location

Page Info

Layout default
Collection wargames
Path _wargames/vortex/vortex18.md
URL /wargames/vortex/vortex18/
Date 2026-04-07

Vortex Level 18

Vortex Level 18 — take advantage of how the program depends on /dev/urandom for its seeds.

Table of Contents

Source: This content is aggregated from overthewire (MIT). Visit the original repository for the latest version.

urandom seeds

Take advantage of the application’s urandom dependency.

Study guide

Level map: logged in as vortex18, obtain access to vortex19.

What this level teaches

How randomness sources are used, and what happens when a program uses them badly.

Key ideas

  • /dev/urandom. A cryptographically strong source of random bytes; it is only as good as how the program uses it.
  • Dependence. The program relies on it in a way you can influence or predict.
  • Environment control. Think about what the program does if the random source behaves differently, is exhausted, or is read in an unexpected way.

How to approach it

  1. Trace the program’s file and system calls with strace.
  2. See exactly how many bytes it reads and what it does with them.
  3. Find the assumption that fails.

Why it matters

Seeding mistakes are a recurring cause of weak keys and tokens.