User Tools

Site Tools


challenges-anssi-ecsc-pwn-armory

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
challenges-anssi-ecsc-pwn-armory [2019/05/16 13:31] – created didzkovitchzchallenges-anssi-ecsc-pwn-armory [2020/12/15 21:12] (current) – removed didzkovitchz
Line 1: Line 1:
-====== ANSSI ECSC ~~ Challenges pwn ~~ Armory ====== 
-[[anssi-ecsc|Retour]] 
  
-===== Présentation ===== 
- 
-Saurez-vous exploiter le binaire fourni et extraire le flag ? 
- 
-nc challenges.ecsc-teamfrance.fr 4003 
- 
-+ fichier armory sans extension 
- 
-===== 1 - file ===== 
- 
-''file armory'' 
- 
-<code> 
-armory: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=aaa2d5ba6d3a6cf3958eb9073e673795c2f1e24e, not stripped 
-</code> 
- 
-===== 2 - gdb ===== 
- 
-Comme on peut s'y attendre, s'agissant d'un fichier ARM, impossible de le lancer sur x86_64. 
- 
-''gdb ./armory'' 
- 
-<code> 
-GNU gdb (Debian 8.2.1-2) 8.2.1 
-Copyright (C) 2018 Free Software Foundation, Inc. 
-License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 
-This is free software: you are free to change and redistribute it. 
-There is NO WARRANTY, to the extent permitted by law. 
-Type "show copying" and "show warranty" for details. 
-This GDB was configured as "x86_64-linux-gnu". 
-Type "show configuration" for configuration details. 
-For bug reporting instructions, please see: 
-<http://www.gnu.org/software/gdb/bugs/>. 
-Find the GDB manual and other documentation resources online at: 
-    <http://www.gnu.org/software/gdb/documentation/>. 
- 
-For help, type "help". 
-Type "apropos word" to search for commands related to "word"... 
-Reading symbols from ./armory...(no debugging symbols found)...done. 
-(gdb) r 
-Starting program: /mnt/c/Users/didier/Documents/ANSSI-ECSC/armory 
-/bin/bash: /mnt/c/Users/didier/Documents/ANSSI-ECSC/armory: cannot execute binary file: Exec format error 
-/bin/bash: /mnt/c/Users/didier/Documents/ANSSI-ECSC/armory: Success 
-During startup program exited with code 126. 
-(gdb) q 
-</code> 
- 
- 
-===== 3 - qemu-user ===== 
- 
-Article intéressant : [[https://ownyourbits.com/2018/06/13/transparently-running-binaries-from-any-architecture-in-linux-with-qemu-and-binfmt_misc/]] 
- 
-''qemu-arm armory'' 
- 
-<code> 
-/lib/ld-linux.so.3: No such file or directory 
-</code> 
challenges-anssi-ecsc-pwn-armory.1558006292.txt.gz · Last modified: 2019/05/16 13:31 by didzkovitchz