dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

re-1.gohtml (1689B)


      1 {{ define "sub-content" }}
      2 
      3 <h2>Reverse Engineering Challenge 1</h2>
      4 
      5 <h3>Instructions</h3>
      6 <ul>
      7     <li>You are provided with a ransomware application that can both encrypt and decrypt the provided "target" folder.</li>
      8     <li>The key for encryption/decryption is hardcoded in cleartext within the application.</li>
      9     <li>The files in "target" has already been encrypted.</li>
     10     <li>Your goal is to reverse engineer the application, find the encryption key, decrypt the "secret.txt.data" file using <code>./ransomware-re-challenge1 --decrypt --key XXX</code> , and find the secret token.</li>
     11 </ul>
     12 
     13 <table class="table table-striped table-sm">
     14     <thead>
     15     <tr>
     16         <th>{{ t "File name" . }}</th>
     17         <th>{{ t "OS" . }}</th>
     18         <th>{{ t "Arch" . }}</th>
     19         <th>{{ t "Size" . }}</th>
     20         <th>{{ t "SHA256 Checksum" . }}</th>
     21     </tr>
     22     </thead>
     23     <tbody>
     24     {{ range .Data.Files }}
     25         <tr>
     26             <td><a href="/vip/challenges/re-1/{{ .Name }}">{{ .Name }}</a></td>
     27             <td>{{ .OS }}</td>
     28             <td>{{ .Arch }}</td>
     29             <td>{{ .Bytes }}</td>
     30             <td class="align-middle" style="font-size: 10px; font-family: monospace;">{{ .Checksum }}</td>
     31         </tr>
     32     {{ else }}
     33         <tr><td colspan="5"><em>{{ t "No files to display" . }}</em></td></tr>
     34     {{ end }}
     35     </tbody>
     36 </table>
     37 
     38 <hr class="mt-5 mb-5" />
     39 
     40 <form method="post">
     41     <div>{{ .Data.FlagMessage }}</div>
     42     <input type="hidden" name="csrf" value="{{ .CSRF }}" />
     43     <label for="flag">Flag:</label>
     44     <input type="text" name="flag" id="flag" maxlength="100" autocomplete="off" />
     45     <button type="submit">Validate</button>
     46 </form>
     47 
     48 {{ end }}