Author Topic: Crypted rcon password  (Read 7361 times)

gynterk

  • Posts: 33
  • Turrets: +1/-1
Crypted rcon password
« on: April 01, 2008, 08:39:33 am »
Would be excellent to have crypted rcon password in config file. That would also mean modifying both client and server afaik.
Code: [Select]
set rconpassword {MD5}34819d7beeabb9260a5c854bc85b3e44
#or
set rconpassword {SHA1}91dfd9ddb4198affc5c194cd8ce6d338fde470e2

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Crypted rcon password
« Reply #1 on: April 01, 2008, 06:01:57 pm »
this doesn't really help anything, since the biggest insecurity is in the transmission and not the storage of the password.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

techhead

  • Posts: 1496
  • Turrets: +77/-73
    • My (Virtually) Infinite Source of Knowledge (and Trivia)
Re: Crypted rcon password
« Reply #2 on: April 01, 2008, 08:10:18 pm »
I am assuming that this idea of jumbled rcon passwords is actually a serious one, even considering it's outlandishness and concurrence with the holiday known as April Fool's Day.
I'm playing Tremulous on a Mac!
MGDev fan-club member
Techhead||TH
/"/""\"\
\"\""/"/
\\:.V.://
Copy and paste Granger into your signature!

gynterk

  • Posts: 33
  • Turrets: +1/-1
Re: Crypted rcon password
« Reply #3 on: April 07, 2008, 08:33:34 am »
this doesn't really help anything, since the biggest insecurity is in the transmission and not the storage of the password.
Yes, indeed. If someone logs your packets, then rcon pass stealing would be still possible. Maybe adding both encryption and SSL support? Or add guid check that certain guid clients can only use /rcon in this server.

Lava Croft

  • Guest
Re: Crypted rcon password
« Reply #4 on: April 07, 2008, 10:26:53 am »
Or just do not use rcon at all since it's a security risk. SSH to the server's screen session and acess it from there.

techhead

  • Posts: 1496
  • Turrets: +77/-73
    • My (Virtually) Infinite Source of Knowledge (and Trivia)
Re: Crypted rcon password
« Reply #5 on: April 08, 2008, 08:18:00 pm »
Or, walk over to the physical computer and type it in there yourself.
Public-key cryptography is for smart people!
(Please do not ask for public-key encoded rcon password support in Tremulous)
I'm playing Tremulous on a Mac!
MGDev fan-club member
Techhead||TH
/"/""\"\
\"\""/"/
\\:.V.://
Copy and paste Granger into your signature!

Oblivion

  • Posts: 410
  • Turrets: +27/-22
    • Gamez-Host.com
Re: Crypted rcon password
« Reply #6 on: April 10, 2008, 11:00:52 pm »
Would be excellent to have crypted rcon password in config file. That would also mean modifying both client and server afaik.
Code: [Select]
set rconpassword {MD5}34819d7beeabb9260a5c854bc85b3e44
#or
set rconpassword {SHA1}91dfd9ddb4198affc5c194cd8ce6d338fde470e2

Well to let you know both of those encrypted passwords can easily be cracked.  For instance the password that is hashed is: mypassword

World Wide Server Host

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Crypted rcon password
« Reply #7 on: April 11, 2008, 01:35:56 am »
Would be excellent to have crypted rcon password in config file. That would also mean modifying both client and server afaik.
Code: [Select]
set rconpassword {MD5}34819d7beeabb9260a5c854bc85b3e44
#or
set rconpassword {SHA1}91dfd9ddb4198affc5c194cd8ce6d338fde470e2

Well to let you know both of those encrypted passwords can easily be cracked.  For instance the password that is hashed is: mypassword


a real password won't fall to dictionaries and rainbow tables like that
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Oblivion

  • Posts: 410
  • Turrets: +27/-22
    • Gamez-Host.com
Re: Crypted rcon password
« Reply #8 on: April 11, 2008, 02:21:41 am »
Your right.  But if they are not smart it is very possible it could be cracked.
World Wide Server Host

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Crypted rcon password
« Reply #9 on: April 11, 2008, 04:13:19 am »
not if the hash is salted
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

techhead

  • Posts: 1496
  • Turrets: +77/-73
    • My (Virtually) Infinite Source of Knowledge (and Trivia)
Re: Crypted rcon password
« Reply #10 on: April 11, 2008, 08:15:53 pm »
What always got me confused about PKC is, if someone got to your packet as it was en route to the server, then they could just re-send that packet, right?
So if the packet was just the password, then they wouldn't need the password OR the key to resend it, unless the packet was time-stamped and said time-stamp was encoded so you couldn't modify it...
Actually... thats probably how they do it, so you can ignore this entire rant if you feel like it.
That, or a new decryption/encryption key pair is used every time it is utilized...
I'm playing Tremulous on a Mac!
MGDev fan-club member
Techhead||TH
/"/""\"\
\"\""/"/
\\:.V.://
Copy and paste Granger into your signature!

Rocinante

  • Posts: 642
  • Turrets: +252/-668
    • My Homepage
Re: Crypted rcon password
« Reply #11 on: April 11, 2008, 08:34:17 pm »
Many PKC systems do it this way:

1) Generate session key, which is used to encrypt all traffic
2) Use public key to encrypt session key
3) Send encrypted session key over the wire, to be decrypted by private key
4) Use session key for further transactions

So if you got the initial packet and re-sent it, you'd be trying to use a session key which has likely expired.
}MG{Mercenaries Guild
"On my ship, the Rocinante, wheeling through the galaxies, headed for the heart of Cygnus, headlong into mystery." -- Rush, "Cygnus X-1"