Modifying .NET Exe: Encrypt to Decrypt [HackTheBox Coder] @0xdf
Modifying .NET Exe: Encrypt to Decrypt [HackTheBox Coder]  @0xdf
Uploaded December 2023 | Updated November 2026, 3 hours ago
In the Coder box from HackTheBox, I get a encryption executable and an encrypted file. In this video, I'll use DotPeek and Visual Studio to create a decryptor program and decrypt the file.

HackTheBox Coder: hackthebox.com/machines/coder
Coder Blog Post: 0xdf.gitlab.io/2023/12/16/htb-coder.html
DotPeek: jetbrains.com/decompiler

☕ Buy Me A Coffee: buymeacoffee.com/0xdf

[00:00] Introduction
[00:49] Reversing with DotPeek
[02:07] Export to VS Project
[02:56] Making sure code runs
[03:16] Replacing arg parse with hardcoded input / output
[04:21] Hardcoding datetime for random seed
[06:22] EncryptFile to DecryptFile
[07:37] Checking output in Linux VM
[08:13] Review and Conclusion

#pentest #ctf #bugbounty #csharp #dotpeek #visualstudio
Modifying .NET Exe: Encrypt to Decrypt [HackTheBox Coder]Day 20 - Firewall Rules [Revival of Code 2023 - Advent of Code 2016]Day 5 - How About a Nice Game of Chess? [Revival of Code 2023 - Advent of Code 2016]Hacking the HackTheBox Code EditorRelic Maps [Forensics - Cyber Apocalypse 23 CTF]Guard Gallivant [Day 6 - Advent of Code 2024 - Python]RAM Run [Day 18 - Advent of Code 2024 - Python]Reindeer Maze [Day 16 - Advent of Code 2024 - Python]Malicious JavaScript Vjw0rm / STRRAT AnalysisCafeteria [AOC2025 Day 5]Malicious XLS Analysis // CVE-2017-11882 Still Lives!Day 24: Never Tell Me The Odds [AOC2023 Python]
0xdf |

Modifying .NET Exe: Encrypt to Decrypt [HackTheBox Coder]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER