Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Hardcore" reverse #53

Merged
merged 9 commits into from
Sep 17, 2020
Merged

"Hardcore" reverse #53

merged 9 commits into from
Sep 17, 2020

Conversation

AXDOOMER
Copy link
Member

@AXDOOMER AXDOOMER commented Sep 17, 2020

Un challenge de Golang pour nos débutants. Est faisable pour quelqu'un qui a compris tous les défis précédents.

Laissez-moi merge (squash) après la review.

@AXDOOMER AXDOOMER changed the title Hardcore reverse "Hardcore" reverse Sep 17, 2020
@AXDOOMER AXDOOMER requested review from xshill and CycleOfTheAbsurd and removed request for xshill September 17, 2020 01:58
Copy link
Member

@CycleOfTheAbsurd CycleOfTheAbsurd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

J'aime ça! C'est plus difficile, mais quand même faisable pour quelqu'un qui a bien compris les autres chals de reverse. Go ça donne des binaires juste assez weird (comparé à C/C++) pour que ça soit déstabilisant, sans que ça soit totalement différent.


Défi "hardcore". Ne vous sentez pas mal si vous ne le réussissez pas.

Vous devez utiliser toutes les compétances acquises durant les défis précédants et faire vos propres recherches pour le réussir.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/compétances/compétences/


![image](https://user-images.githubusercontent.com/6194072/93267395-a0da8380-f779-11ea-9e10-fbb29c00d67c.png)

Flag: `fl4g-7u_3s7_7r0p_c0mp374n7_p0ur_37r3_4u_un1t3dc7f`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol, c'est pas faux

0x66,0x6e,0xca,0x66,0xbe,0x68,0xd0,0xbe,0xd0,0xc2,0x62,0xce,0x66,0xe2,0xe0,0x6e,0xe6
```

Son adresse est chargée dans le registre `rbx` qu'on voit utilisé plus loin avec l'instruction `movzx eax, byte ptr [rbx+rsi]`. `rsi` est utilisé comme un offset (décalage) et est peut-être l'indice de la boucle qui itère sur la chaîne. Deux instruction sous `mov rbx, cs:main_gfal`, on vouyait le contenu de `rdx` mis dans `rdi`. Le contenu de `rdx` était assigné trois instructions plus haut. `mov rdx, cs:qword_55AAB8` copie la valeur 0x31 (49).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/vouyait/voyait/

@AXDOOMER
Copy link
Member Author

@CycleOfTheAbsurd Fautes corrigées. Merci pour la review!

@AXDOOMER AXDOOMER merged commit f9c2b5c into master Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants