• Welcome to Valhalla Legends Archive.
 

Battle.net Server Signature

Started by iago, March 19, 2005, 01:24 PM

Previous topic - Next topic

iago

Last night and this morning I spent a little time and figured out how Battle.net's server signatures work.  It's a simple RSA decryption, r = sk % n, where n is a 128-byte constant, k is a 4-byte constant, and s is the 128-byte signature.  See this document for more details:

http://www.javaop.com/~iago/ServerSig.html

This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Blaze

Silly blizzard. Good job iago. :)
Quote
Mitosis: Haha, Im great arent I!
hismajesty[yL]: No

Adron

I.e. it's a RSA signature... Might be good to add that ;)

iago

Yeah, I should. I updated the document:
- Now mentions RSA a couple times
- Now has a sample implementation

And incidentally, this won't help people create pirate servers (that'll work with the actual game client) unless somebody feels like brute-forcing Blizzard's private key :P
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Networks

[22:33] iago: So if you had every atom in the Universe, and all the time in the Universe, you still couldn't brute force the key :)

You've wasted you time you nub!!!!!! <3

iago

Incidentally, if you're wondering why they pad it with 0xBB, think about this.  As a signed byte, 0xBB is -69.  I think somebody as blizzard has a dirty mind :)
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Blaze

The character &HBB is also the >> symbol.
Quote
Mitosis: Haha, Im great arent I!
hismajesty[yL]: No

Lenny

Quote from: Networks on March 19, 2005, 11:37 PM
[22:33] iago: So if you had every atom in the Universe, and all the time in the Universe, you still couldn't brute force the key :)

You've wasted you time you nub!!!!!! <3

Actually if you had an infinite amount of time, at some point a monkey on a type writer would crack it  :P
The Bovine Revolution
Something unimportant

Live Battle.net:

WARNING: The preceding message may have contained content unsuitable for young children.

iago

0xBB isn't any standard character.  Anything over 0x7F isn't standard.  I still think they like the -69 :)

Lenny -- I didn't say infinite time I said all the time in the Universe.  Something like 50 billion years.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Networks

Quote from: Lenny on March 20, 2005, 12:38 AM
Quote from: Networks on March 19, 2005, 11:37 PM
[22:33] iago: So if you had every atom in the Universe, and all the time in the Universe, you still couldn't brute force the key :)

You've wasted you time you nub!!!!!! <3

Actually if you had an infinite amount of time, at some point a monkey on a type writer would crack it  :P

nah...the monkey would die, maybe several billion monkeys.

iago

Quote from: Networks on March 20, 2005, 09:09 AM
nah...the monkey would die, maybe several billion monkeys.

You're thinking way too small.  A billion is nothing when we're talking about 1024-bit encryption. 
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Warrior

I guessed and got it right :D
lmao
Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?

Networks

Quote from: iago on March 20, 2005, 09:25 AM
Quote from: Networks on March 20, 2005, 09:09 AM
nah...the monkey would die, maybe several billion monkeys.

You're thinking way too small.  A billion is nothing when we're talking about 1024-bit encryption. 

Oh right we went over this 1 billion to the power of 1 billion? (that might be medium)

iago

That's a little too big :P

It's on the order of 10**300 possible keys :P
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


TaGBaN

There I cracked it:
--------------------------------


Oh wait, that was my mom's wedding goblet. Sorry I thought we were tallking about drinking cups.

~Tagban