Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Help:Decrypting- HTTPS/TLS

1 view
Skip to first unread message

Harsha gowda

unread,
Jul 10, 2009, 8:27:45 AM7/10/09
to
--000e0cd17296f0a062046e5918d1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Thanks a lot...
In deed it was -e...
When i used -d i was abel to decrypt the text with

Key : A0C0A4BCDAF92230CDCBCE634F9AFB031427F44BA310C341DA1CBB7E36457142
IV : 2736022241F1EAA189591A1DA4A1E113

But even if i give any initialisation vector i am able to decrypt...
So when will it be used?

Thanks & Regards


On Fri, Jul 10, 2009 at 5:45 PM, sandeep kiran p <sandee...@gmail.com>w=
rote:

> The option for decrypting data is
> openssl enc -d ...
>
> You gave it as
>
> openssl enc -e ...
>
> Can you cross check that again? Secondly, from the .cap file that you hav=
e
> attached, I see the application data starting from 00 21 9B ... but you
> mentioned otherwise.
>
> Sandeep
>
>
> On Tue, Jul 7, 2009 at 8:23 AM, Harsha gowda <harsha....@gmail.com>wr=
ote:
>
>> Hi all,
>>
>> *key_block =3D PRF(SecurityParameters.master_secret, "key expansion",
>> SecurityParameters.server_random + SecurityParameters.client_random);*
>>
>>
>> Key_block for my capture file is as below.
>>
>>
>> client_write_MAC_secret : 24 37 4F EB 79 47 5F 28 48 5D CB CA BF B2 EF F=
C
>> 09 64 64 F9
>>
>> server_write_MAC_secret : C5 89 AD 3E EC 97 B0 85 66 43 DE EA 6A 83 10 1=
6
>> 9A 72 FE 1D
>>
>>
>> client_write_key : A0 C0 A4 BC DA F9 22 30 CD CB CE 63 4F 9A FB 03 14 27
>> F4 4B A3 10 C3 41 DA 1C BB 7E 36 45 71 42
>>
>> server_write_key : A6 99 74 CE BE E9 64 4C 6F 5E A3 82 E1 D6 3E 5A E6 B9
>> 36 4C 53 78 45 D4 9B A0 7D 49 F1 88 A2 46
>>
>>
>> client_write_IV : 27 36 02 22 41 F1 EA A1 89 59 1A 1D A4 A1 E1 13
>>
>> server_write_IV : 18 F0 AC B1 DC F3 1B E8 2B F1 5E 97 E9 39 01 11
>>
>>
>>
>> I am unable to decrypt the application data present in frame number 10
>>
>>
>> can any one help how to decrypt it.. ?
>>
>> i tried as below
>>
>> *C:\OpenSSL\bin>*openssl enc -e -in *app1 *-aes-256-cbc -K
>> A0C0A4BCDAF92230CDCBCE634F9AFB031427F44BA310C341DA1CBB7E36457142 -iv
>> 2736022241F1EAA189591A1DA4A1E113
>>
>> and app1 file contains TLS application data e8 e4...cf
>>
>>
>> can any one help me decrypting it
>> --
>> =E0=B2=87=E0=B2=82=E0=B2=A4=E0=B2=BF
>> =E0=B2=B9=E0=B2=B0=E0=B3=8D=E0=B2=B7 =E0=B2=95=E0=B3=83 =E0=B2=97=E0=B3=
=8C=E0=B2=A1
>>
>>
>


--=20
=E0=B2=87=E0=B2=82=E0=B2=A4=E0=B2=BF
=E0=B2=B9=E0=B2=B0=E0=B3=8D=E0=B2=B7 =E0=B2=95=E0=B3=83 =E0=B2=97=E0=B3=8C=
=E0=B2=A1

--000e0cd17296f0a062046e5918d1
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Thanks a lot...<br>In deed it was -e...<br>When i used -d i was abel to dec=
rypt the text with <br><br>Key=C2=A0 :=C2=A0=C2=A0 A0C0A4BCDAF92230CDCBCE63=
4F9AFB031427F44BA310C341DA1CBB7E36457142<br>=C2=A0IV=C2=A0=C2=A0=C2=A0 :=C2=
=A0=C2=A0 2736022241F1EAA189591A1DA4A1E113 <br>
<br>But even if i give any initialisation vector i am able to decrypt...<br=
>So when will it be used?<br><br>Thanks &amp; Regards<br><br><br><div class=
=3D"gmail_quote">On Fri, Jul 10, 2009 at 5:45 PM, sandeep kiran p <span dir=
=3D"ltr">&lt;<a href=3D"mailto:sandee...@gmail.com">sandeepkiranp@gmail=
.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The option for de=
crypting data is=C2=A0<div><br></div><div>openssl enc -d ...</div><div><br>=
</div>
<div>You gave it as=C2=A0</div><div><br></div><div>openssl enc -e ...</div>=
<div><br></div><div>Can you cross check that again? Secondly, from the .cap=
file that you have attached, I see the application data starting from 00 2=
1 9B ... but you mentioned otherwise.</div>

<div><br></div><div><font color=3D"#888888">Sandeep</font><div><div></div><=
div class=3D"h5"><br><br><div class=3D"gmail_quote">On Tue, Jul 7, 2009 at =
8:23 AM, Harsha gowda <span dir=3D"ltr">&lt;<a href=3D"mailto:harsha.k.gowd=
a...@gmail.com" target=3D"_blank">harsha....@gmail.com</a>&gt;</span> wrot=
e:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br><br><b>key_block =3D PRF(SecurityParameters.master_secret, &quot=
;key expansion&quot;,
SecurityParameters.server_random + SecurityParameters.client_random);</b><b=
r><br><br>Key_block for my capture file is as below.<br><br><br>client_writ=
e_MAC_secret : 24 37 4F EB 79 47 5F 28 48 5D CB CA BF B2 EF FC 09 64 64 F9<=
br>


<br>server_write_MAC_secret : C5 89 AD 3E EC 97 B0 85 66 43 DE EA 6A 83 10 =
16 9A 72 FE 1D <br><br><br>client_write_key : A0 C0 A4 BC DA F9 22 30 CD CB=
CE 63 4F 9A FB 03 14 27 F4 4B A3 10 C3 41 DA 1C BB 7E 36 45 71 42 <br>


<br>server_write_key : A6 99 74 CE BE E9 64 4C 6F 5E A3 82 E1 D6 3E 5A E6 B=
9 36 4C 53 78 45 D4 9B A0 7D 49 F1 88 A2 46 <br><br><br>client_write_IV : 2=
7 36 02 22 41 F1 EA A1 89 59 1A 1D A4 A1 E1 13 <br><br>server_write_IV : 18=
F0 AC B1 DC F3 1B E8 2B F1 5E 97 E9 39 01 11 <br>


<br><br><br>I am unable to decrypt the application data present in frame nu=
mber 10<br><br><br>can any one help how to decrypt it.. ?<br><br>i tried as=
below<br><br><b>C:\OpenSSL\bin&gt;</b>openssl enc -e -in <b>app1 </b>-aes-=
256-cbc -K A0C0A4BCDAF92230CDCBCE634F9AFB031427F44BA310C341DA1CBB7E36457142=
-iv 2736022241F1EAA189591A1DA4A1E113 <br>


<br>and app1 file contains TLS application data e8 e4...cf <br clear=3D"all=
"><br><br>can any one help me decrypting it<br><font color=3D"#888888">-- <=
br>=E0=B2=87=E0=B2=82=E0=B2=A4=E0=B2=BF <br>=E0=B2=B9=E0=B2=B0=E0=B3=8D=E0=
=B2=B7 =E0=B2=95=E0=B3=83 =E0=B2=97=E0=B3=8C=E0=B2=A1<br><br>
</font></blockquote></div><br></div></div></div>
</blockquote></div><br><br clear=3D"all"><br>-- <br>=E0=B2=87=E0=B2=82=E0=
=B2=A4=E0=B2=BF <br>=E0=B2=B9=E0=B2=B0=E0=B3=8D=E0=B2=B7 =E0=B2=95=E0=B3=83=
=E0=B2=97=E0=B3=8C=E0=B2=A1<br><br>

--000e0cd17296f0a062046e5918d1--
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List opens...@openssl.org
Automated List Manager majo...@openssl.org

0 new messages