Log in

View Full Version : how to beat rc4 encryption


r00t
04-04-2014, 12:28 AM
Hey Boss. I've always hated you. I quit. Sincerely, Bob

Plaintext
-------------
0000000: 48 65 79 20 42 6f 73 73 2e 20 49 27 76 65 20 61 Hey Boss. I've a
0000010: 6c 77 61 79 73 20 68 61 74 65 64 20 79 6f 75 2e lways hated you.
0000020: 20 49 20 71 75 69 74 2e 20 53 69 6e 63 65 72 65 I quit. Sincere
0000030: 6c 79 2c 20 42 6f 62 0a ly, Bob.

Ciphertext
-------------
0000000: 78 b9 50 ef b1 81 28 e0 d4 38 05 d9 35 6e fe 43 x.P...(..8..5n.C
0000010: bc cc 95 8c d8 73 50 b0 7c 06 03 91 c6 5e 2d 5a .....sP.|....^-Z
0000020: b5 21 6a c5 3a 9b cf 4e 1f 84 d1 e2 d6 4a 32 76 .!j.:..N.....J2v
0000030: 29 00 57 7d 25 61 6e 8f ).W}%an.

68 61 74

71 75 69 74

48 65 79 20 42 6f 73 73 2e 20 49 5c 27 76 65 20 61 6c 77 61 79 73 20 68 61 74 65 64 20 79 6f 75 2e 20 49 20 71 75 69 74 2e 20 53 69 6e 63 65 72 65 6c 79 2c 20 42 6f 62

78 b9 50 ef b1 81 28 e0 d4 38 05 d9 35 6e fe 43 bc cc 95 8c d8 73 50 b4 72 04 03 91 c6 5e 2d 5a b5 21 6a c5 38 9a c7 43 1f 84 d1 e2 d6 4a 32 76 29 00 57 7d 25 61 6e 8f

101100000111110000000110
011010000110000101110100

110110000001110101110010

1110001011101010110100101110100
0111010100110111100111101001110

1001011111011101010011000111010

4BEEA63A
73746179

6c6f76
D81D72

Hey Boss. I've always loved you. I stay. Sincerely, Bob

khanable
04-04-2014, 12:33 AM
Okay

r00t
04-04-2014, 12:34 AM
In cryptography, RC4 (also known as ARC4 or ARCFOUR meaning Alleged RC4, see below) is the most widely used software stream cipher

khanable
04-04-2014, 12:36 AM
neat

Azure
04-04-2014, 12:36 AM
It sux... looks incredibly weak. Might as well use rot13

holsteinrx7
04-04-2014, 12:44 AM
man unless youre running the revolution, whats the point of this? some ben franklin shit.

Bardalicious
04-04-2014, 08:07 AM
Relevant?

http://redmondmag.com/articles/2013/11/13/broken-rc4-encryption.aspx

If you're going to post this sort of shit, you could at least attempt to explain the steps.

radditsu
04-04-2014, 08:15 AM
Oh look h00t trying to make it look like he is not an entry level code monkey. Keep it up owl-dicker

Swish
04-04-2014, 09:16 AM
<b>Hi guys!</b>

<i>I'm a computer programmer too!</i>
<p><p>
<u>I made my own website</u>
<img src="http://www.swish.com/swish.gif">

r00t
04-04-2014, 09:19 AM
Relevant?

http://redmondmag.com/articles/2013/11/13/broken-rc4-encryption.aspx

If you're going to post this sort of shit, you could at least attempt to explain the steps.



Hey Boss. I've always hated you. I quit. Sincerely, Bob

Plaintext
-------------
0000000: 48 65 79 20 42 6f 73 73 2e 20 49 27 76 65 20 61 Hey Boss. I've a
0000010: 6c 77 61 79 73 20 68 61 74 65 64 20 79 6f 75 2e lways hated you.
0000020: 20 49 20 71 75 69 74 2e 20 53 69 6e 63 65 72 65 I quit. Sincere
0000030: 6c 79 2c 20 42 6f 62 0a ly, Bob.

Ciphertext
-------------
0000000: 78 b9 50 ef b1 81 28 e0 d4 38 05 d9 35 6e fe 43 x.P...(..8..5n.C
0000010: bc cc 95 8c d8 73 50 b0 7c 06 03 91 c6 5e 2d 5a .....sP.|....^-Z
0000020: b5 21 6a c5 3a 9b cf 4e 1f 84 d1 e2 d6 4a 32 76 .!j.:..N.....J2v
0000030: 29 00 57 7d 25 61 6e 8f ).W}%an.

68 61 74 <--- h a t

71 75 69 74 <--- q u i t

48 65 79 20 42 6f 73 73 2e 20 49 5c 27 76 65 20 61 6c 77 61 79 73 20 68 61 74 65 64 20 79 6f 75 2e 20 49 20 71 75 69 74 2e 20 53 69 6e 63 65 72 65 6c 79 2c 20 42 6f 62

78 b9 50 ef b1 81 28 e0 d4 38 05 d9 35 6e fe 43 bc cc 95 8c d8 73 50 b0 7c 06 03 91 c6 5e 2d 5a b5 21 6a c5 3a 9b cf 4e 1f 84 d1 e2 d6 4a 32 76 29 00 57 7d 25 61 6e 8f

101100000111110000000110
011010000110000101110100

110110000001110101110010 <--------- xor = key for hat

1110001011101010110100101110100
0111010100110111100111101001110

1001011111011101010011000111010 <------ xor = key for quit

4BEEA63A
73746179 <v---- apply substitution

6c6f76
D81D72


78 b9 50 ef b1 81 28 e0 d4 38 05 d9 35 6e fe 43 bc cc 95 8c d8 73 50 b4 72 04 03 91 c6 5e 2d 5a b5 21 6a c5 38 9a c7 43 1f 84 d1 e2 d6 4a 32 76 29 00 57 7d 25 61 6e 8f

Hey Boss. I've always loved you. I stay. Sincerely, Bob

r00t
04-04-2014, 09:23 AM
Oh look h00t trying to make it look like he is not an entry level code monkey. Keep it up owl-dicker

laffed at being considered "entry level" when I have been doing this for 2 decades

r00t
04-04-2014, 09:27 AM
oya this kid with 3 masters degrees working on his phd dissertation has the same job as me. Another is a part time professor at the university. cant make this shit up ppl

Barkingturtle
04-04-2014, 09:55 AM
I think it's great that even someone with your obvious disadvantages is still able to find a job. Show 'em you're a tiger, Tiger.

Bardalicious
04-04-2014, 10:06 AM
I'm with you up until you convert the keys for hat and quit back to hex. I don't understand what you mean by applying substitution at that step, or where the strings:

73746179

6c6f76

Are coming from. At the end result, it appears you've re-encrypted the message to decrypt as the desired output after changing those 2 words. But does that help decrypt the original message somehow if you don't know it already?

harnold
04-04-2014, 10:09 AM
I dont know if you realize this but this is an everquest forum and nobody gives a shit

Bardalicious
04-04-2014, 10:19 AM
Shut up moran.

Azure
04-04-2014, 10:27 AM
Not that I'm mad-butthurt or anything but what are your credentials rellapse? what do you do? what are you accomplished in? how did you get there?

The people want to know. It's curiosity namean?

Azure
04-04-2014, 10:28 AM
@rellapse^

Bardalicious probably is a brain surgeon who enjoys lobotomizing his patients.

moklianne
04-04-2014, 10:35 AM
RC4 is weak as shit and is going away anyway.

r00t
04-04-2014, 10:36 AM
I'm with you up until you convert the keys for hat and quit back to hex. I don't understand what you mean by applying substitution at that step, or where the strings:

73746179

6c6f76

Are coming from. At the end result, it appears you've re-encrypted the message to decrypt as the desired output after changing those 2 words. But does that help decrypt the original message somehow if you don't know it already?

6c6f76 = lov

73746179 = stay

if yuoure like "wow thats so easy", then it is. its just a simple xor stream cipher. its garbage.


theres all kinds of attacks on it. I think the hardest to brute force is about a week. WEP keys (wifi) use it, and can be cracked in seconds.

Bardalicious
04-04-2014, 11:19 AM
Bardalicious probably is a brain surgeon who enjoys lobotomizing his patients.

:D

khanable
04-04-2014, 11:23 AM
Oh look h00t trying to make it look like he is not an entry level code monkey. Keep it up owl-dicker

First step of becoming what you want to be is pretending you are already what you want to be

BigHurb
04-04-2014, 11:24 AM
Wowowo im so impressed at copy paste of complex things i just learned about today in CS 112!

r00t you are a loser and so if your gf

r00t
04-04-2014, 11:43 AM
this was from a grad course

LulzSect
04-04-2014, 11:45 AM
http://f.kulfoto.com/pic/0001/0034/23fbo33790.jpg

radditsu
04-04-2014, 02:06 PM
6c6f76 = lov

73746179 = stay

if yuoure like "wow thats so easy", then it is. its just a simple xor stream cipher. its garbage.


theres all kinds of attacks on it. I think the hardest to brute force is about a week. WEP keys (wifi) use it, and can be cracked in seconds.

Wep is a thing still?

BigHurb
04-04-2014, 02:21 PM
this was from a grad course

then how come u sound like a retard

BigHurb
04-04-2014, 02:49 PM
exactly

r00t
04-04-2014, 02:56 PM
my troll style is playing devils advocate, which means I use critical thinking to challenge and show flaws ideas assumed true, which upsets narrowminded people

I'm basically Socrates but since this is America and not ancient Greece you can't execute ppl like me

LulzSect
04-04-2014, 03:06 PM
By all means, marry. If you get a good wife, you'll become happy; if you get a bad one, you'll become a philosopher.

-Socrates

radditsu
04-04-2014, 03:22 PM
my troll style is playing devils advocate, which means I use critical thinking to challenge and show flaws ideas assumed true, which upsets narrowminded people

I'm basically Socrates but since this is America and not ancient Greece you can't execute ppl like me


http://en.m.wikipedia.org/wiki/Conium. Prove a point bro.

Rellapse40
04-04-2014, 03:35 PM
Not that I'm mad-butthurt or anything but what are your credentials rellapse? what do you do? what are you accomplished in? how did you get there?

The people want to know. It's curiosity namean?

I have not even posted in this thread yet you bring my name up? Shit is comical i have you so fucking rustled i stay on your mad small mind 24/7

Yes you are the worlds ugliest tranny, You were an ugly ass dude who makes a even worse fake woman.

Stay rustled fgt

BigHurb
04-04-2014, 04:38 PM
my troll style is playing devils advocate, which means I use critical thinking to challenge and show flaws ideas assumed true, which upsets narrowminded people

I'm basically Socrates but since this is America and not ancient Greece you can't execute ppl like me

so hows that one vagina working out for you.. the one between your legs

radditsu
04-04-2014, 05:28 PM
What does Tralina smell like? I imagine a lot like Lindsay Lohan.... I dont know why.

Rellapse40
04-04-2014, 05:57 PM
salmon

Shannacore
04-04-2014, 06:40 PM
What does Tralina smell like? I imagine a lot like Lindsay Lohan.... I dont know why.

http://c2.beautybar.com/images/products/p/phi/phi-093_1z.jpg

Thana8088
04-04-2014, 07:16 PM
[IMG]

Nice! I have the lotion and it's awesome. :)

Rellapse40
04-04-2014, 07:16 PM
salmon

radditsu
04-04-2014, 07:47 PM
http://c2.beautybar.com/images/products/p/phi/phi-093_1z.jpg

Thanks....it helps me...