← Back to Writeups
CUSTOMTrivialReversing

Mic Check Two

XESXOR9/2/20261 min read
#reversing#custom#trivial#source_code_analysis#string_comparison_bounds

Mic Check Two

Platform: CUSTOM | Category: Reversing | Type: Challenge | Difficulty: Trivial | OS: N/A | **Author: XESXOR Techniques: source_code_analysis, string_comparison_bounds

Summary

Walkthrough of the CUSTOM Reversing Mic Check Two. Language: C. Source code provided. Flag checker with length and string comparison bounds.

Description

Language: C. Source code provided. Flag checker with length and string comparison bounds.

Analysis

The source code checks:

  1. strlen(input) != 12 — length must be 12
  2. strcmp(input, "MicCheck_h4w") <= 0 — string must be > "MicCheck_h4w"
  3. strcmp(input, "MicCheck_h4y") >= 0 — string must be < "MicCheck_h4y"

Solution

Need a 12-character string, lexicographically between "MicCheck_h4w" and "MicCheck_h4y". The obvious answer is REDACTED. ‍​‌‌​​‌​​​‌‌​​‌​​​​‌‌​‌​​​​‌‌‌​​‌​​‌‌​​​‌​​‌‌‌​​​​​‌‌​‌‌​​​‌‌​​​​‍

Key Takeaways / Lessons

  • Mastering source_code_analysis, string_comparison_bounds was key to this challenge.
  • Always check for common misconfigurations and verify assumptions.

Crafted by XESXOR Research • 2026-03-09 • CUSTOM • Mic Check Two • Difficulty: Trivial