[18800] in Kerberos_V5_Development
RE: TGS-REP TICKET decrypting problem
daemon@ATHENA.MIT.EDU (Zheng, Kai)
Tue Jun 10 03:34:35 2014
From: "Zheng, Kai" <kai.zheng@intel.com>
To: somenath saha <saha.somenath.88@gmail.com>,
Wang Weijun
<weijun.wang@oracle.com>,
"krbdev@mit.edu" <krbdev@mit.edu>
Date: Tue, 10 Jun 2014 07:34:17 +0000
Message-ID: <8D5F7E3237B3ED47B84CF187BB17B666118D848A@SHSMSX103.ccr.corp.intel.com>
In-Reply-To: <CAKSryKWkMm2ovWDG3AYq-OqnkddiNDtYQ+ZUpsDeH9UMwzhqtw@mail.gmail.com>
Content-Language: en-US
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Errors-To: krbdev-bounces@mit.edu
Content-Transfer-Encoding: 8bit
Hi Somenath,
When you send TGS_REQ with a tgt to request a service ticket for a service/server, you must specify the service/server principal in TGS_REQ. KDC will query the backend for the encryption key of the specified service principal and use the encryption key to encrypt enc-part of the issued service ticket.
Hope this helps.
Kai
-----Original Message-----
From: krbdev-bounces@mit.edu [mailto:krbdev-bounces@mit.edu] On Behalf Of somenath saha
Sent: Tuesday, June 10, 2014 3:17 PM
To: Wang Weijun; krbdev@mit.edu
Subject: Re: TGS-REP TICKET decrypting problem
thanks Wang. but it did not help me as ktexport doesn't work. please provide me some other solution. i'm stuck yet.
regards,
somenath
On Tue, Jun 10, 2014 at 10:15 AM, Wang Weijun <weijun.wang@oracle.com>
wrote:
> Windows hides the keys in a "protected storage". After some googling,
> I find a page showing how to reset or extract those keys. Hope it
> helps (I haven't tried it).
>
> http://wiki.wireshark.org/Kerberos
>
> --max
>
> On Jun 10, 2014, at 12:12, somenath saha <saha.somenath.88@gmail.com>
> wrote:
>
> > Hi,
> >
> > you told me that KDC is using secret key of the computer itself to
> encrypt
> > the ticket. How do we find this secret key in-order to decrypt the
> ticket?
> > please provide some details about that how to find out the machine
> > secret key. its urgent. I became stuck in this point for some week.
> >
> > regards,
> > somenath
> >
> >
> >>
> >>
> >>
> >> On Tue, May 20, 2014 at 4:17 PM, somenath saha <
> saha.somenath.88@gmail.com
> >>> wrote:
> >>
> >>>
> >>>
> >>> ---------- Forwarded message ----------
> >>> From: Wang Weijun <weijun.wang@oracle.com>
> >>> Date: Tue, May 20, 2014 at 3:25 PM
> >>> Subject: Re: TGS-REP TICKET decrypting problem
> >>> To: somenath saha <saha.somenath.88@gmail.com>
> >>> Cc: "krbdev@mit.edu" <krbdev@mit.edu>
> >>>
> >>>
> >>> The KDC is using the secret key of the computer itself, which is
> >>> not
> the
> >>> same as any of those user accounts. Assuming your KDC is a Windows
> Server,
> >>> you will see "Users and Computers" in the Active Directory Domain
> Services
> >>> manager, which means each user and computer is a different principal.
> >>>
> >>> --Max
> >>>
> >>>
> >>> On May 20, 2014, at 17:09, somenath saha
> >>> <saha.somenath.88@gmail.com>
> >>> wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> I need some information regarding the ticket creation in KDC.
> >>>>
> >>>> Assume my pc’s host name is “SOMENATH-PC” & it has 3 user
> accounts.
> >>>> They are:
> >>>>
> >>>>
> >>>>
> >>>> *USER NAME PASSWORD*
> >>>>
> >>>> i) Administrator administrator
> >>>>
> >>>> ii) Somenath somenath
> >>>>
> >>>> iii) Guest guest
> >>>>
> >>>>
> >>>>
> >>>> Now in TGS_REQ message I send “*cifs/SOMENATH-PC.xyz.com
> >>>> <http://somenath-pc.xyz.com/>” *as server name (Service & Host)
> >>>> in KDC_REQ_BODY. After receiving TGS_REQ message KDC prepare a
> >>>> ticket
> >>> which is
> >>>> encrypted by using server’s secret key i.e. SOMENATH-PC’s secret key.
> >>>>
> >>>>
> >>>>
> >>>> Now my question is that in order to encrypt the enc-part of the
> >>>> ticket
> >>> what
> >>>> credential’s is used by KDC as *“SOMENATH-PC”* has three user
> >>>> accounts which is mentioned above. Please provide me some
> >>>> information regarding
> >>> my
> >>>> question.
> >>>>
> >>>>
> >>>>
> >>>> Regards,
> >>>>
> >>>> Somenath
> >>>>
> >>>>
> >>>> On Thu, May 15, 2014 at 12:56 PM, somenath saha
> >>>> <saha.somenath.88@gmail.com>wrote:
> >>>>
> >>>>> Hi,
> >>>>>
> >>>>> I need some information regarding the ticket creation in KDC.
> >>>>>
> >>>>> Assume my pc’s host name is “SOMENATH-PC” & it has 3 user
> >>> accounts.
> >>>>> They are:
> >>>>>
> >>>>>
> >>>>>
> >>>>> *USER NAME PASSWORD *
> >>>>>
> >>>>> i) Administrator administrator
> >>>>>
> >>>>> ii) Somenath somenath
> >>>>>
> >>>>> iii) Guest guest
> >>>>>
> >>>>>
> >>>>>
> >>>>> Now in TGS_REQ message I send “*cifs/SOMENATH-PC.xyz.com
> >>>>> <http://SOMENATH-PC.xyz.com>” *as server name (Service & Host)
> >>>>> in KDC_REQ_BODY. After receiving TGS_REQ message KDC prepare a
> >>>>> ticket
> >>> which is
> >>>>> encrypted by using server’s secret key i.e. SOMENATH-PC’s secret key.
> >>>>>
> >>>>>
> >>>>>
> >>>>> Now my question is that in order to encrypt the enc-part of the
> ticket
> >>>>> what credential’s is used by KDC as *“SOMENATH-PC”* has three
> >>>>> user accounts which is mentioned above. Please provide me some
> >>>>> information regarding my question.
> >>>>>
> >>>>>
> >>>>>
> >>>>> Regards,
> >>>>>
> >>>>> Somenath
> >>>>>
> >>>> _______________________________________________
> >>>> krbdev mailing list krbdev@mit.edu
> >>>> https://mailman.mit.edu/mailman/listinfo/krbdev
> >>>
> >>>
> >>>
> >>>
> >>
> > _______________________________________________
> > krbdev mailing list krbdev@mit.edu
> > https://mailman.mit.edu/mailman/listinfo/krbdev
>
>
_______________________________________________
krbdev mailing list krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev
_______________________________________________
krbdev mailing list krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev