How to discover hidden URLs?

Author
Discussion

Brother D

Original Poster:

3,918 posts

182 months

Monday 5th September 2022
quotequote all
One of the sites I look after has the login page url hidden and non-standard nomenclature, but somehow people are still finding it? It's not an issue - but I'm interested in how people are finding this unique url - it's not like it's listed in the sitemap. A quick look on line doesn't really bring anything up apart from links of how to obfuscate the login url..

bmwmike

7,298 posts

114 months

Monday 5th September 2022
quotequote all
Back in the day when i was security testing web sites, would use tools like nikto to scan for hidden links. Also its probably not as random as you think, unless it really has a truly random number or GUID in the URI?

Or its something daft, like published in r0bots.txt or inside some javascript file, which again, is all scanned for intel/info.

ETA wierdly if you spell R0bots.txt properly it causes PH to throw a 503 lol hmmmm

Edited by bmwmike on Monday 5th September 16:09

vaud

51,832 posts

161 months

Monday 5th September 2022
quotequote all
Brother D said:
One of the sites I look after has the login page url hidden and non-standard nomenclature, but somehow people are still finding it? It's not an issue - but I'm interested in how people are finding this unique url - it's not like it's listed in the sitemap. A quick look on line doesn't really bring anything up apart from links of how to obfuscate the login url..
Is it linked to from another site? What happens when you google the URL (or partial URL)?

rich12

3,468 posts

160 months

Monday 5th September 2022
quotequote all
Have you tried typing the URL of the login page into google search to see whether it is linked on another site?

Alternatively you could use something like Screaming Frog SEO Spider/AHRefs to see if there are any backlinks/redirects to it etc.

bmwmike

7,298 posts

114 months

Monday 5th September 2022
quotequote all
Try checking referer header on the login url.

Brother D

Original Poster:

3,918 posts

182 months

Monday 5th September 2022
quotequote all
bmwmike said:
Back in the day when i was security testing web sites

, would use tools like nikto to scan for hidden links. Also its probably not as random as you think, unless it really has a truly random number or GUID in the URI?

Or its something daft, like published in r0bots.txt or inside some javascript file, which again, is all scanned for intel/info.
Ok thanks - no not listed in robots, but I'll dig a little deeper and see where it's referenced.

somouk

1,425 posts

204 months

Tuesday 6th September 2022
quotequote all
Who is hosting the site?

Is it using a wordpress or similar system for it to be maintained?

Is it just people picking up the referer where someone has browsed from another site directly to the login page?

MikeGTi

2,545 posts

207 months

Tuesday 6th September 2022
quotequote all
Nikto or DirBuster would be my thoughts.

Although, if you're using a CMS then they tend to be fairly standard with how they 'hide' things.

eeLee

837 posts

86 months

Tuesday 6th September 2022
quotequote all
your security by obscurity will not work in a world with Google Chrome. Undoubtedly, the Big G is getting telemetry from visitors using Chrome and this will lead to discoverability. Even better should someone link to your "hidden" login page.

what are you trying to protect against?

Brother D

Original Poster:

3,918 posts

182 months

Tuesday 6th September 2022
quotequote all
eeLee said:
your security by obscurity will not work in a world with Google Chrome. Undoubtedly, the Big G is getting telemetry from visitors using Chrome and this will lead to discoverability. Even better should someone link to your "hidden" login page.

what are you trying to protect against?
Just security and looking to reduce the login attempts. The few other sites I look after have similar almost random login page urls, but this one site I've changed twice and after a few weeks the login attempts start again. This is more out of interest in 'how' the url is being found.


bmwmike

7,298 posts

114 months

Wednesday 7th September 2022
quotequote all
If the other 2 sites are identical and only this one is getting discovered it is likely as other have said, that there is an external link. Could be one of your users bookmarking it somewhere public.

Perhaps referer will tell you where they are coming from? Webstats? IP origins may tell you something of their legitimacy too.

Also consider using Google captcha to cut down on login attempts.

Other technologies such as device assurance and bot prevention depending on budget etc.




Brother D

Original Poster:

3,918 posts

182 months

Wednesday 7th September 2022
quotequote all
bmwmike said:
If the other 2 sites are identical and only this one is getting discovered it is likely as other have said, that there is an external link. Could be one of your users bookmarking it somewhere public.

Perhaps referer will tell you where they are coming from? Webstats? IP origins may tell you something of their legitimacy too.

Also consider using Google captcha to cut down on login attempts.

Other technologies such as device assurance and bot prevention depending on budget etc.
It's only myself that accesses the login page.
I use the standard limit login attempts which lock out the source IP after 3 tries.
There were +500 attempts Sunday, 200 monday, and none since then.
Login attemps are from the usual suspects.
It's only a brochureware site for a small restaurant, so their budget doesn't stretch too far...

Anyway as mentioned it's not an issue just an interest where they are pulling the url info from - I'll have a play with nikto and see what that comes back with





bmwmike

7,298 posts

114 months

Wednesday 7th September 2022
quotequote all
Perhaps the issue is not your website, but malware on the users desktops...

buggalugs

9,243 posts

243 months

Wednesday 7th September 2022
quotequote all
On google do a site:yourwebsite.com search and check if the page in question is listed?

silentbrown

9,243 posts

122 months

Wednesday 7th September 2022
quotequote all
What CMS are you using?

If it's wordpress, for example it's just going to be https://mysite.com/wp-login.php

Require strong passwords, block IP addresses for x hours after N failed attempts, etc. The URL really isn't important.

vdn

8,974 posts

209 months

Wednesday 7th September 2022
quotequote all
silentbrown said:
What CMS are you using?

If it's wordpress, for example it's just going to be https://mysite.com/wp-login.php

Require strong passwords, block IP addresses for x hours after N failed attempts, etc. The URL really isn't important.
And install Wordfence! I don't run a WP site without it.

eeLee

837 posts

86 months

Thursday 8th September 2022
quotequote all
WP will also support MFA and you can also limit the IP for logins - some of this is native and some is plugins-based.


Oh and 27 more votes for Wordfence. It will stop many things, even in free mode.