Task #1016

Switch asymmetrical encryption standard

Added by ex1st almost 5 years ago. Updated over 4 years ago.

Status:NewStart date:04/10/2013
Priority:HighDue date:04/19/2013
Assignee:harlo% Done:

0%

Category:-
Target version:v1 - "Sailor"
Component:

Description

From Abel:
It appears [1] you are using standard AES-CBC to encrypt the message
contents before the stego process. AES-CBC is an unauthenticated form of
encryption. I don't see any code doing additional MACing of the
ciphertext, so Pixel Knot is vulnerable to active attackers flipping
bits as the messages travel on the wire.

I recommend switching to an authenticated encryption cipher mode,
namely, GCM.

If you're interested in Authenticated Encryption, Mathew Green's blog
post on this is super [2].

~abel

[1]:
https://github.com/guardianproject/PixelKnot/blob/master/src/info/guardianproject/pixelknot/crypto/Aes.java#L81

[2]:
http://blog.cryptographyengineering.com/2012/05/how-to-choose-authenticated-encryption.html

History

#1 Updated by ex1st over 4 years ago

  • Target version changed from v2 - "Prusik" to v1 - "Sailor"

Also available in: Atom PDF