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/semtex/semtex10.md
URL /wargames/semtex/semtex10/
Date 2026-04-07

Semtex Level 10

Semtex Level 10 — exploit a weakness in how an authentication daemon checks passwords, in the style of old Windows 95/98 network shares.

Table of Contents

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

Hacking szene

Thanks to zaphod and Mush for finding a bugs in this level

Do you know these hacking movies where they push some buttons, then the evil hacker script window turns up and a percentage bar is showing how far the password cracking has gone?

0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
password cracked!

Ever wanted to do it yourself? Here is your chance.\

This level implements a weakness in the authentication scheme used by M$ win95 and win98 for the netbios shares.

There is a TCP daemon on brebera port 24019. It authenticates your password. Once you send the correct password, it echoes it back. Well, let the source speak for itself. As far as brute force may take you, a little brain is never bad :P Perhaps you have heard of pqwak?

Study guide

Level map: the daemon listens on port 24019 of the Semtex network host; its source is provided.

What this level teaches

How a flawed authentication scheme lets you recover a password far faster than brute force.

Key ideas

  • Movie hacking. The page jokes about the progress-bar password crackers from films.
  • The weakness. It mirrors a real flaw in Windows 95 and 98 network shares, where a password could be verified in pieces, so each part can be guessed separately.
  • Source provided. Study how the daemon compares your input and what it reveals.
  • Brain over brawn. The page notes brute force goes only so far, then mentions a tool called pqwak.

How to approach it

  1. Read the source and note how the comparison is done and what feedback you get.
  2. Design an attack that learns the password one part at a time.
  3. Script it and watch the answer appear.

Why it matters

Comparison functions that reveal how much of a guess was right are a real weakness; use constant-time comparison and rate limiting.