Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[Challenge] Introductory cryptanalysis.

Solve for the following ciphertext:
Code
0000000 22 5c 78 43 33 27 5c 78 38 45 2a 7a 5c 78 44 35
0000010 38 5c 78 38 42 5c 78 41 42 5c 78 46 46 54 45 31
0000020 5c 78 30 32 4e 5c 78 38 30 33 50 5c 78 39 46 5c
0000030 78 45 44 5c 78 42 32 5c 78 46 46 2b 5c 78 45 46
0000040 59 53 3b 5c 78 45 38 5c 78 45 37 7b 5c 78 46 44
0000050 5c 72 5c 78 46 32 5c 78 46 46 5c 78 30 35 5c 78
0000060 30 35 5c 78 44 30 5c 78 31 39 5c 78 41 35 5c 78
0000070 43 37 5c 22 26 26 5c 78 43 36 5c 78 30 30 5c 78
0000080 31 35 5c 78 30 45 5c 78 38 43 5c 78 44 35 5c 78
0000090 42 32 58 31 5c 78 44 42 5c 78 45 35 5c 78 31 34
00000a0 6a 63 5c 78 41 34 5c 78 46 37 5c 78 39 30 5c 78
00000b0 44 44 5c 78 44 36 5c 78 44 41 5c 78 42 39 25 5c
00000c0 78 31 44 5c 78 41 36 5c 78 43 46 5c 78 42 43 5c
00000d0 78 44 45 5c 78 30 30 5c 78 39 46 5c 78 42 44 5c
00000e0 66 37 5c 78 46 32 5c 78 41 36 76 5c 78 38 36 29
00000f0 51 55 5c 78 43 43 5c 78 43 31 57 59 3d 5c 78 31
0000100 36 5c 78 46 32 5c 78 43 32 48 5c 78 30 30 5c 78
0000110 39 33 5c 78 31 30 5c 78 41 42 5c 78 39 44 5c 78
0000120 38 43 5c 78 44 33 6d 5c 78 39 33 5c 78 42 37 6d
0000130 5c 78 38 36 5c 78 44 41 73 5c 78 38 35 5c 78 44
0000140 33 5c 78 46 46 3c 65 5c 78 46 46 5c 78 43 39 5c
0000150 78 45 32 5c 78 39 44 5c 78 39 43 5c 78 41 33 5c
0000160 78 46 31 34 5c 78 31 37 5c 78 43 41 70 5c 78 30
0000170 34 5c 78 44 43 4d 5c 78 44 31 5c 78 44 45 5c 78
0000180 45 37 5c 78 39 36 5c 78 46 41 5c 78 44 38 5c 78
0000190 43 46 5c 78 30 35 60 5f 5c 78 46 42 41 5c 78 46
00001a0 36 5c 78 41 38 2d 5c 78 30 45 5c 78 38 46 3b 56
00001b0 2d 23 5c 78 39 42 5c 78 38 33 7a 5c 78 45 39 5c
00001c0 78 43 30 5c 78 43 46 5c 78 39 38 5c 78 38 41 5c
00001d0 78 44 32 5c 78 39 33 5c 78 44 38 5c 78 38 34 5c
00001e0 78 39 39 5c 78 39 30 5c 78 45 37 57 5c 78 41 38
00001f0 5c 78 46 46 5c 78 43 42 5c 78 30 33 5c 78 31 32
0000200 5c 78 42 35 5c 78 39 30 5c 78 42 45 5c 66 31 5c
0000210 78 42 31 5c 78 45 43 5c 78 44 33 5c 78 44 41 5c
0000220 78 43 46 5c 78 44 45 5c 78 43 44 5c 78 44 45 5c
0000230 78 43 39 5c 78 39 42 5c 78 43 43 5c 78 44 32 5c
0000240 78 44 37 5c 78 44 37 5c 78 39 42 5c 78 43 32 5c
0000250 78 44 34 5c 78 43 45 5c 78 39 42 5c 78 44 46 5c
0000260 78 44 34 5c 78 39 42 5c 78 44 35 5c 78 44 34 5c
0000270 78 43 43 5c 78 38 34 4b 21 5c 78 38 44 32 5c 78
0000280 30 33 5c 78 43 30 5c 78 38 43 5c 6e 2f 7b 5c 78
0000290 44 46 31 5c 78 44 37 5c 78 45 45 5c 78 44 37 5c
00002a0 78 38 43 44 78 5c 78 30 46 6a 5c 78 46 37 5c 78
00002b0 42 41 35 5c 78 42 39 5c 78 43 30 36 72 5c 78 30
00002c0 46 5c 78 44 46 43 5c 78 43 41 5c 78 41 41 5c 78
00002d0 43 31 5c 78 46 39 4f 5c 78 44 31 25 5c 78 44 32
00002e0 76 5c 78 42 36 24 5c 78 39 31 5c 78 38 31 3a 5c
00002f0 78 43 34 31 5c 78 44 34 5c 22 70 41 73 5c 78 44
0000300 31 3c 46 2e 5c 78 43 34 5a 5c 78 43 39 5c 78 41
0000310 46 5c 78 30 45 5c 78 46 42 2e 26 74 5c 74 5c 78
0000320 38 33 5c 65 2b 3c 5c 78 46 38 5c 78 45 44 5c 78
0000330 39 43 5c 6e 7a 5c 78 31 32 5c 78 46 41 26 4a 5c
0000340 78 46 31 55 5c 78 39 45 5c 78 41 43 37 5c 78 44
0000350 45 5c 74 5c 78 30 33 5c 78 39 42 58 2c 5c 66 30
0000360 5c 78 41 46 5c 78 42 31 5c 78 41 30 76 5c 78 39
0000370 38 5c 78 46 41 5c 78 41 42 5c 78 43 31 7b 5c 78
0000380 38 44 77 5c 78 31 43 68 51 5c 78 30 46 5c 78 46
0000390 45 57 5c 78 45 45 5c 78 42 37 5c 78 44 32 5c 78
00003a0 45 36 5c 78 41 45 53 5c 78 30 31 5c 78 43 46 25
00003b0 5c 78 38 46 24 26 6d 5c 78 46 46 6e 52 4f 5c 78
00003c0 42 32 65 77 48 5c 78 30 30 5c 78 43 30 5c 78 31
00003d0 38 5c 78 42 30 37 2c 5e 5c 78 41 32 5c 61 5c 78
00003e0 31 37 5c 78 43 39 5c 78 45 41 5c 78 41 44 39 56
00003f0 5f 5c 78 42 41 5c 78 38 32 5c 78 43 33 5c 78 43
0000400 44 5c 78 41 39 63 5c 78 44 45 32 5c 62 5c 78 46
0000410 46 5c 78 39 35 4c 5c 78 42 46 5c 78 45 39 32 41
0000420 5c 78 45 31 5c 78 45 45 39 5c 78 46 33 71 59 5c
0000430 78 42 34 5c 78 46 35 2d 5c 78 31 44 5c 78 42 35
0000440 22 0a

I'll give a hint if no one makes it through the first stage. Although, I would prefer not to, as this is beginner-level cryptanalysis. You shouldn't need hints.

Good luck.
[Image: 8Yoto.png]
Bumping to potentially attract interested people. This one is much easier than my previous challenges. Give it a try if you're new to cryptography/cryptanalysis and want to learn something. Try my other challenges after to learn even more.
[Image: 8Yoto.png]
Looks interesting, I have some understanding of cryptography but cryptanalysis not yet.
I will give it a shot sometimes soon.
Would I need a strong computer for this introductory challenge (as cryptanalysis sometimes requires)?
(Jan 3, 2018 01:48 AM)Red-1 Wrote:  Looks interesting, I have some understanding of cryptography but cryptanalysis not yet.
I will give it a shot sometimes soon.
Would I need a strong computer for this introductory challenge (as cryptanalysis sometimes requires)?

No, you don't require a good CPU/GPU. Cryptanalysis generally does not require it, in fact. The only time it is necessary is when you are attempting to crack (e.g. brute-force/wordlist attack on keys), which is not really cryptanalysis. There is no analysis of the cipher involved in such attacks. In general (and in this case), the computations required are inexpensive.
[Image: 8Yoto.png]
This awesome technic and how to learn is this best way in platform
Any attempts? Feel free to ask questions.
[Image: 8Yoto.png]
I havn't figured it out yet, the format looks very familiar like a hex dump found in a debugger. But after that I am not sure what I can do with the data.
(Jan 8, 2018 03:01 PM)[BLANK] Wrote:  I havn't figured it out yet, the format looks very familiar like a hex dump found in a debugger. But after that I am not sure what I can do with the data.

From what I can see and tell it is a hex data dump so I believe you are right here. I would guess the next stage would be to convert the hex to ascii form. Once the hex is converted to ascii then you should be able to get a understanding of the encrypted data. Like what type of encryption / algorithm it might it be using, Give its not a salted hash encryption should be crackable.

For example converting the first few lines of hex data to ascii results in the following which does seem to be encrypted data.
Code
"\xC3'\x8E*z\xD58\x8B\xAB\xFFTE1\x02N\x803P\x9F\xED\xB2\xFF+\xEFYS;
\xE8\xE7{\xFD\r\xF2\xFF\x05\x05\xD0\x19\xA5\xC7\"&&\xC6\x00\x15\x0E\x8C\xD5\xB2X1\xDB\xE5\x14jc\xA4\xF7\x90\x

If I had to guess it looks almost like a UTF-8 encoding sequence at this stage. So from this point you might just need to convert the UTF-8 back to byte sequence data.
When i convert hex to ascii i get all these special characters (that look like a small square with 4 small numbers in it susualy four 0s) appearing in groups of 3s and 2s in amongst the code, i know that ascii converts into text useing numbers in groups of 3 ?

doing some research on how to decrypt ascii.

I don't know anything at all about decryption so excuse my total ignorance i just like a challenge.
W0LFSec
Studying 'n' Cultivating


Soundcloud.com/Mad_Kaizer


Donations
BTC- 13KCXFmuF1MrN8to2vvawBFA2v512oqMd8
(Jan 8, 2018 03:45 PM)L0-kae Wrote:  When i convert hex to ascii i get all these special characters (that look like a small square with 4 small numbers in it susualy four 0s) appearing in groups of 3s and 2s in amongst the code, i know that ascii converts into text useing numbers in groups of 3 ?

doing some research on how to decrypt ascii.

I don't know anything at all about decryption so excuse my total ignorance i just like a challenge.

Sounds like you are getting a charmap issue with the dumped ascii data.

Try using https://www.rapidtables.com/convert/numb...ascii.html
That's the exact converter i was using, I tryed typing the 3 didget groups into a ascii to text converter i found but that's not it as the output was plain text nonsence like" ?,' " to i don't think that's the right direction to take,.

I'm going to try the same thing on another computer and OS to see if the characters I'm missing show up differently,they look like the filler icon for special characters not recognized (i think?) they looks like EG.
l00l
l04l
but in one character space.
. UPDATE: Still getting the same special character issue on other systems
W0LFSec
Studying 'n' Cultivating


Soundcloud.com/Mad_Kaizer


Donations
BTC- 13KCXFmuF1MrN8to2vvawBFA2v512oqMd8
(Jan 8, 2018 04:05 PM)L0-kae Wrote:  That's the exact converter i was using, I tryed typing the 3 didget groups into a ascii to text converter i found but that's not it as the output was plain text nonsence like" ?,' " to i don't think that's the right direction to take,.

I'm going to try the same thing on another computer and OS to see if the characters I'm missing show up differently,they look like the filler icon for special characters not recognized (i think?) they looks like EG.
l00l
l04l
but in one character space.
. UPDATE: Still getting the same special character issue on other systems

You are putting it in wrong then my guess is you are including the line numbers of the hex data which should not be the case.

Paste like so
Code
38 5c 78 38 42 5c 78 41 42 5c 78 46 46 54 45 31
5c 78 30 32 4e 5c 78 38 30 33 50 5c 78 39 46 5c
78 45 44 5c 78 42 32 5c 78 46 46 2b 5c 78 45 46

That is HEX

Dont include the 

0000000
0000010

Then convert the HEX to ASCII
I'm such a stupid C#@$, thanks so much.


�q'�2��Uא�X̮t�]mGz������8YGb=��#}����P�Q
K�~�����yʆm2k�

This is what i get when i convert the ascii (as it's converted) to text so i don't think that is the right thing todo still.

im going to look up other ways to decrypt it.

Update: Put it threw a a decoder (https://www.dcode.fr/ascii-code) and got more gibberish (to me) but it seems that looking at it that i need to clean up or do something to the ascii code to make it look more like this (64 43 6F 64 65 20 41 53 43 49 49) but i feel very stupid right now i need to do a bit more research into howcypher decryption works as this is supposed to be easy and i'm finding it quite hard, i've never looked at a cypher thou.

Will update if i get anywhere with it.
W0LFSec
Studying 'n' Cultivating


Soundcloud.com/Mad_Kaizer


Donations
BTC- 13KCXFmuF1MrN8to2vvawBFA2v512oqMd8
(Jan 8, 2018 04:31 PM)L0-kae Wrote:  I'm such a stupid C#@$, thanks so much.


�q'�2��Uא�X̮t�]mGz������8YGb=��#}����P�Q
K�~�����yʆm2k�

This is what i get when i convert the ascii (as it's converted) to text so i don't think that is the right thing todo still.

im going to look up other ways to decrypt it.

Thats because you are not doing it right lol


you convert the HEX code to ASCII

DONE thats it you are finished.

YOU DONT CONVERT THE ASCII TO TEXT

The ASCII is text already !


Now that the HEX data is converted to readable ASCII you have the encrypted data which looks like.

Code
"\xC3'\x8E*z\xD58\x8B\xAB\xFFTE1\x02N\x803P\x9F\xED\xB2\xFF+\xEFYS;
\xE8\xE7{\xFD\r\xF2\xFF\x05\x05\xD0\x19\xA5\xC7\"&&\xC6\x00\x15\x0E\x8C\xD5\xB2X1\xDB\xE5\x14jc\xA4\xF7\x90\x
This is the encrypted ASCII data "ENCRYPTED"

You must decrypt this data now, Simply converting the ASCII to text will do nothing for you at this point.

You must now find what this new ASCII encrypted data is storing and its algorithm.
Right i'll do some research now.


pleas excuse my total ignorance
W0LFSec
Studying 'n' Cultivating


Soundcloud.com/Mad_Kaizer


Donations
BTC- 13KCXFmuF1MrN8to2vvawBFA2v512oqMd8


Possibly Related Threads...
Thread / Author Replies Views Last Post
by PhizoAug 3, 2017 07:22 AM 22 885 Aug 3, 2017 07:22 AM
Last Post: Baud
by xMoDOct 3, 2014 06:13 PM 9 315 Oct 3, 2014 06:13 PM
Last Post: Zabuza…
by pampam25Sep 23, 2012 12:19 PM 2 63 Sep 23, 2012 12:19 PM
Last Post: Mr.Green™