Skip to content

A collection of actively-maintained scripts for network reconnaissance and identity assurance.

License

Notifications You must be signed in to change notification settings

ndr-repo/finalResolution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to finalResolution!

finalResolution is an optimized collection of scripts for working with common network indicators. These are mostly time savers that I use for validating external presence on the net & performing quick lookups of hostnames and IPs through common APIs.

These can be used for threat hunting, but I mostly use these during external pentest work and not for creating CTI. I would definitely recommend the resolvers over a traditional nslookup when working with indicators, since these tools all resolve by proxy through another host and not your own box. At most, I would use them to find any initial indicators (i.e: Quad9 blocked ___ hostname), and then move the work over to a CTI platform for OSINT like AlienVault OTX.

I will continue to update the repository with more tools as time goes on. Most of my time with new additions is spent performing internal QA to ensure they are easy to read from the IDE and provide a good experience during input handling. :)

Plans include setup scripts for Windows & popular Linux distros to quickly set the script folders to PATH/environment variables. In the mean time, I recommend manually adding the 'Resolvers' and 'Validators' folder to your PATH for quick use. This is what I personally do.

Quick Reference - Command Syntax

-Resolv - Uses a hostname

-Lookup - Uses an IP address

Resolvers

cfResolv - Resolve a hostname through CloudFlare's one.one.one.one resolver. Returns A records and DNSSEC info by default. This is an alternative way to call this information through DoH (DNS over HTTPS).

cfResolv-v - Resolve a hostname through multiple public CloudFlare resolvers. At times, you can find different entries for the same hostname this way that may not have been previously visible.

gnResolv

gnResolv - Pings a host using Shodan's public geonet API, then attempts a lookup of the hostname using various geonet servers across the globe. This can be useful for identifying load balancers or mirror servers created for availability on a target domain.

idLookup - Resolves an IP address using Shodan's public InternetDB service. The InternetDB can resolve shortened ipv6 addresses as well.

idLookup-T - Reformatted layout for idLookup. Displays results in a table. I find this useful if I know I am going to call a few hosts in a row but dont have a list I can scan all at once.

idLookup-X - Expanded results for a specific value when checking IPs on the InternetDB. If you find a load balancer for example, a lot of times you will not be able to see all the hostnames from standard view. If you run the IP through here and expand the hostnames column, it will format a list of hostnames for that IP.

Sometimes, the domain may block the internetDB from indexing the address. In these cases, I often see a ton of ports flooding the results. You can validate this usually by checking the common platform enumerator {cpes} value, and it will usually have the name of a security appliance (i.e Imperva).

q9Lookup

q9Status - Check if a hostname is blocked by Quad9 DNS. This will show who flagged the host as malicious. Source Indicator - Alienvault OTX

Validators

cfWhoami - Check your external IP address, user-agent, and detected location using CloudFlare's public trace services.

mvWhoami - An external check to validate connections to Mullvad VPN. This uses their public "Am I Mullvad?" service and a good second-opinion scan after your local command line if youre doing things like split tunneling or using proxies.

cfUagTest cfUagTest - Cloudflare User-Agent Test. Test a user-agent on Cloudflare Trace to see how it looks on the other end. Verify discrepencies against parsers, etc.

Support

  • If you find use from this, consider supporting my work on Ko-fi.
  • As of this release, I'm currently consulting full-time and get paid by the project, not by my time.

About

A collection of actively-maintained scripts for network reconnaissance and identity assurance.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published