The Cogs of Blackmail

Flag: HACKDAY{dllCeption-be9746fa-d0f7-4761-a5ba-0e461a162877}

Challenge

3MB
Ouvrir

Description


In a city where steam and gears govern the world, a major steampunk company named SteamVault Industries dominates the market for mechanical inventions. You are a cybersecurity expert serving the citizens of this futuristic city.

One morning, Victor Gearstone, the chief system administrator of SteamVault, receives an anonymous message from a hacker claiming to possess compromising images of his wife. In exchange for silence, the hacker demands that Victor grant them permanent access to the company’s internal system, jeopardizing critical industrial secrets. Panicked, Victor turns to you to investigate and determine whether the hacker’s claims are genuine or a sophisticated lie.

Your mission is to inspect the received files, analyze the malware sent by the hacker, and uncover the truth. Everything must be done with precision and discretion.


sha256 : ae50d86ac083698999075e8cdf4aac49ff6f1f93622753b04a5cd122155bcd06

Solution

Ce challenge contient une DLL .NET. Celle-ci contient des donnĂ©es chiffrĂ©es en AES-CBC, ces donnĂ©es sont en fait une autre DLL .NET contenant la mĂȘme chose. Et ceci, 150 fois.

La clé, l'IV et les données chiffrées sont statiques dans la DLL, on va donc faire un petit programme .NET permettant de récupérer ces valeurs et les déchiffrer. Ici, j'utilise dnlib pour le faire.

AprÚs avoir build le projet, on va lancer en boucle notre exécutable sur la DLL avec python, jusqu'à ce que ça plante.

Mis Ă  jour

Ce contenu vous a-t-il Ă©tĂ© utile ?