Re:Announcing The Matasano/Square CTF
by Veraticus on Friday January 17, 2014 @01:50AM
(#7074636)
This is embarrassing, but... I'm totally stuck on puzzle #2 (Sydney) since the cmp doesn't seem to match up with what's in memory, and I bet that the puzzles won't get any easier from here! Is there a good resource, trove of documentation, or excellent book for those of us who would love to learn how to do this stuff? The tutorial great, but it was definitely pretty basic.
[ Parent
| on HN ]
Re:Announcing The Matasano/Square CTF
by somethingnew on Friday January 17, 2014 @02:54AM
(#7074775)
Me too! I must be missing something...
Re:Announcing The Matasano/Square CTF
by pythoniclifter on Saturday January 18, 2014 @06:52PM
(#7082789)
Not sure if anyone is still checking comments or not. I'm completely new to reverse engineering, ASM, etc. Looking at the cmp statements I tried the changing the endienness of the address being compared, but I still am not seeing that address. For example, when looking at 'cmp #0x3866, 0x0(r15)', to me this means add 0 to the value of r15 and look up the value at that address and compare that to the value at memory address 0x3866. So I'm changing the endienness of 0x3866 to 0x6683. Is this the correct thought process? Thanks.
It's been a long time since i've written any asm, but I just did this. You're almost correct; 0x3866 contains 2 pieces of information, 38 and 66. so you should end up with 0x6638
http://mspgcc.sourceforge.net/manual/x147.html helped me with this.
Re:Announcing The Matasano/Square CTF
by Ellipsis753 on Saturday January 18, 2014 @11:27AM
(#7081308)
Thank you. I came to this thread for this.