HackTheBox You Cant C Me Writeup
Explore the basics of cybersecurity in the You Cant C Me Challenge on Hack The Box. This easy-level Challenge introduces encryption reversal and file handling concepts in a clear and accessible way, perfect for beginners.
https://app.hackthebox.com/challenges/209
Description
Can you see me?
Exploitation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python3
def get_flag():
v4 = 0x5517696626265E6D
v5 = b"o&kUZ'ZUYUc)"
v4_bytes = v4.to_bytes(8, 'little')
combined = v4_bytes + v5
result = ''
for i in range(20):
result += chr((combined[i] + 10) & 0xFF)
return f"HTB{{{result}}}"
if __name__ == "__main__":
print(get_flag())
Summary
The You Cant C Me Challenge on Hack The Box is an easy-level reverse engineering puzzle that introduces participants to basic byte manipulation and data transformation techniques. The challenge involves decrypting a hidden flag by combining and processing predefined byte sequences using a simple arithmetic transformation. Participants write a Python script to merge a 64-bit integer and a byte string, apply a transformation to each byte, and reconstruct the flag. This challenge serves as an excellent introduction to reverse engineering and low-level data manipulation, making it ideal for beginners in cybersecurity.