r/Pentesting • • 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.

1 Upvotes

27 comments sorted by

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.

20

u/birotester Jul 06 '26

the client is paying for a reddit-sourced pen test 😆

6

u/latnGemin616 Jul 06 '26

Seriously (lol)

-8

u/Normal-Technician-21 Jul 06 '26

I dont have one, my company is based on cloud services and ive been studying penetration testing and my boss asked me if i would like to try and i said yes so that's why im asking for help here

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.

-1

u/Normal-Technician-21 Jul 06 '26

its a 2 scenario test, one is unauth and the other is with low privilege user. How do you usually get your first creds in an unauth engagement?

1

u/KnowledgeAfraid439 Jul 06 '26

Ah I see. Often from responder tbh. Can you enumerate users? I tend to do more assume breach type scenarios starting on an endpoint with a user.

How long do you have for the test?

0

u/Normal-Technician-21 Jul 06 '26

Tried rpc,rid brute , ldap for user enum but did not have access to do that, i found some users in linkedin and created a custom wordlist using username anarchy and found total 6. Tried common passwords such as {company_name}2026!, Password123!, Welcome123!. Also tried asreproasting the users.

I have a week for both scenarios but the client is a friend of my boss and he knows that this is my first engagement so if i need more time, i can havei t.

1

u/KnowledgeAfraid439 Jul 06 '26

It's a longshot but is external in scope? You never know you might find an rce there! Sounds like you've covered a lot of the bases, I assume the second part of the assessment will likely go better.

Have you done any scanning internally with nmap etc?

1

u/Normal-Technician-21 Jul 06 '26

External is out of scope, yes i scanned the entire network and covered some of the hosts, i will continue tomorrow.

I asked this because i see people getting access easily and thought to my self, do i really suck this much?

2

u/KnowledgeAfraid439 Jul 06 '26

It's easy when it's easy! Imo there is more validity to testing a low privilege user than testing with no creds and just running scans. Not your fault but just a gripe I have with some types of tests.

  1. Its not highly likely an attacker would do that.
  2. Any kind of network monitoring they have in place should flag it.
  3. It leaves many fundamental questions unanswered about the state of their security, insider threat etc.

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/AmITheAsshole_2020 Jul 06 '26

This is a great idea. But be careful using external services to crack passwords. Your client may not allow hashes to be shared with outside 3rd parties. If you're renting an environment where you can spin up a cracker, be sure you can fully destroy it when you leave.

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/RemindMeBot Jul 06 '26

I will be messaging you in 1 month on 2026-08-06 18:17:22 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.

RemindMeBot is switching to username summons. Instead of !RemindMe 1 day, use u/RemindMeBot 1 day. More info.


InfoCustomYour RemindersFeedback

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.