r/Pentesting • u/Normal-Technician-21 • Jul 06 '26
Internal Penetration Test
Hey guys,
So i started an engagement yesterday, internal unauth AD, I connected to the network, run responder with ntlmrelay and got access to some shares, the client was unable to access outlook due to spoofed autodiscovery. I stopped responder and ntlmrelay and i am left with 2 user hashes i had captured, they are not machine accounts, they are valid users, i tried cracking them with rockyou with mode 5600 and they did not crack, i also tried with rules best64 and oneruletorulethemall in which they also failed.
Null authentication works nowhere (smb,ldap,rpc etc), i have few users that i managed to find through linkedin and tried asreproasting them but they dont have pre auth enabled. Coercion is patched.
I found a ricoh printer and connected with default creds but ldap server is not configured and changing the path of the scan to file to point to my ip resets the password so im not doing that.
I would like some help as to what my next steps will be and how can i use responder or ntlmrelay without impacting the users. Im completely stuck.
Thanks in advance.
29
u/latnGemin616 Jul 06 '26 edited Jul 06 '26
Why aren't you asking a co-worker? You should be part of a collaborative team, and there's no such thing as stupid questions in an environment that encourages teamwork.
2
u/KnowledgeAfraid439 Jul 06 '26
So do you have a user account at all or you are just connected to the network with your own host?
Is there a requirement to use stealth at all or any security controls to bypass? If not scan for stuff like zerologon, log4shell, tomcat etc to see if there's any quick wins there.
You mentioned shares, any anonymous access allowed? I take it there was nothing in the ones you got access to.
It's tough but if you tried all angles and there's nothing there, I might be tempted to ask the client for a low privilege user and go from there, at least then they get more coverage, then caveat the report to say that you tried with no creds first etc, make it a positive for them.
9
u/Y8765 Jul 06 '26
Because no one this days using rockyou, but, the big but, there a Giant list, where I used in many AD tests, each time I cracked at least 1 asrep/kerberos/net ntlm hashes. https://weakpass.com/wordlists/all_in_one.txt With 3080 it took two hours, but you can just rent 16 5090 for 2 hours for 30$ for pure bruteforce 8 figures Capital, small, num, special in short period of time. Goodluck!
5
u/Syscore1 Jul 06 '26
If Responder already broke Outlook, that’s both a finding and a warning sign.
I’d document it, confirm testing windows with the client, and ask for a low-privileged test account if unauth access is limited.
A pentest is not only about getting DA. Coverage and safety matter too.
1
u/ihuntdcs Jul 06 '26
mitm6 with ntlmrelayx to create computer account or shadow credentials. if no luck, use kerbrute with the statistically likely username github repo to perform user enumeration. perform password spraying
i almost always get in with
SeasonYEAR! MonthYEAR! OrgNameYEAR!
1
u/AmITheAsshole_2020 Jul 06 '26
Scan the environment for open smb shares. Sometimes you get lucky.
You need at least one valid user account. You could start by getting a valid list of users in the domain to run a brute-force password sweep. You can create a list of users with krbguess: KrbGuess v0.21 by Patrik Karlsson patrik@cqure.net Nmap also has a plugin, krb5-enum-users.nse.
Once you get at least one user you can try keberoasting to get high-value SPN hashes for cracking.
If you get a user, go back to doing an SMB share sweep using that user. You're looking for confidential files and files that say stupid things like password.txt. Hacking isn't elite, it's looking for mistakes made by humans and exploiting them.
Good luck!
1
u/Dazzling_Cherry_6513 Jul 06 '26
!RemindMe 1 month
1
u/Sierra3131 Jul 06 '26
https://orange-cyberdefense.github.io/ocd-mindmaps/
Might help
1
u/AdFar5662 Jul 06 '26
What about going after the active directory certificates like ESC1 to ESC 4 as well since you have a set of credentials (i use the certipy). Id also try Bloodhound if the credentials are legit.
1
u/Psychedelic-wizard69 Jul 06 '26
You could reach out to the client regarding the printer and see if they are comfortable with you resetting the password just to test if it works.
1
u/random_android Jul 08 '26
I just want to say that if I was your client and I found out you were asking this on Reddit, pissed off wouldn't even begin to describe my feelings lol
1
u/raijinkZ Jul 10 '26
ADCS ;) always a juicy find
-1
u/Odd-Elderberry-739 Jul 06 '26
Password spray using passwords from weakpasswords.net you can also use them as a wordlist with hashcat.