Writeups of secarmy CTF 2.0 my team : Krypton full post here
we have given two files with numbers in it 1 ) 73 65 63 61 72 6d 79 7b
2 ) 116 165 155 63 145 162 137 163 171 163 67 63 155 175
as the name suggests the first part was hex and the second was octal so doing a simple conversion we got the flag
two files given
- ********c2VjYXJteXtmbEBnXzFzXw==*******
- **********L52GQM27MJAHGM35*********
the first one was base64 and the second one was base32 encoded
one's and zeroes to be converted to text
01110011 01100101 01100011 01100001 01110010 01101101 01111001 01111011 01101000 00110011 01110010 00110011 01011111 01111001 00110000 01110101 01011111 01100011 01000000 01110000 01110100 01110101 01110010 00110011 01111101
doing a simple zsteg revealed the flag
same thing again the flag was revealed by a zsteg
a corrupted png file was given https://raw.githubusercontent.com/madhusudanbabar/secarmy-CTF-2.0/master/forensics%20head%20orig.png
so i tried hexdump but the magic bytes were different from png so i changed them with hexedit which revealed the flag.
a pdf with a username and a password hidden by asterisks after using pdftotext tool the flag was found
https://github.com/madhusudanbabar/secarmy-CTF-2.0/raw/master/Secret.pdf
flag was split and hidden in two images the first part was ROT13 and second was ROT47
here you have the flag :- 61 48 52 30 63 48 4d 36 4c 79 39 77 59 58 4e 30 5a 57 4a 70 62 69 35 6a 62 32 30 76 54 45 30 35 63 57 56 33 64 57 6b 3d|61 48 52 30 63 48 4d 36 4c 79 39 77 59 58 4e 30 5a 57 4a 70 62 69 35 6a 62 32 30 76 57 6d 52 71 54 6a 6
hex to text conversion gave two links of pastebin out of which the second one was working flag
as the name suggests i did strings on the elf which gave me some weird strings c2VjYXJtH eXtsMDBrH X2E3X3RoH M19zdHIxH bmc1ISF9H
i tried base64 but it didnt worked then i removed the H at the end and it gave me flag https://github.com/madhusudanbabar/secarmy-CTF-2.0/raw/master/stringy
here's the binary : https://github.com/madhusudanbabar/secarmy-CTF-2.0/raw/master/smash
here's the binary : https://github.com/madhusudanbabar/secarmy-CTF-2.0/raw/master/F-L-A-S-H
here's the binary : https://github.com/madhusudanbabar/secarmy-CTF-2.0/raw/master/moo on reversing it with radare2 gave me a link to google drive file which has moo written everywhere, then i decoded it with cow interpreter