Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/seisvelas/SAN-Scanner

Burp Suite extension for passively discovering Subject Alt Names in SSL/TLS certificates
https://github.com/seisvelas/SAN-Scanner

burp burp-extensions burpsuite security security-tools ssl-certificates

Last synced: 3 months ago
JSON representation

Burp Suite extension for passively discovering Subject Alt Names in SSL/TLS certificates

Awesome Lists containing this project

README

        

SAN Scanner is a Burp Suite extension for enumerating associated domains & services via the Subject Alt Names section of SSL certificates.

| Index |
| ------------- |
| [What is a SAN cert](#what-is-a-san-cert) |
| [Use for security professionals](#Use-for-security-professionals) |
| [Building the extension](#building-the-extension) |

## What is a SAN cert

Some webmasters use a single SSL certificate to secure multiple domain names. This is accomplished via the Subject Alternative Name field. For example,
the cert for StackOverflow.com contains dozens of other domain names covered by the same cert:

![StackOverflow SSL Cert](https://github.com/seisvelas/SAN-Scanner/blob/master/screenshots/Screenshot%20from%202020-09-28%2001-27-24.png)

SAN certs convenience admins because they only have to worry about updating a single certificate for the various domains under their stewardship.

## Use for security professionals

Examining Subject Alt Names is a routine part of enumeration and OSINT. Given a domain, SANs help you find associated domains and services, often hosted in the same
network or server. Recreationally, SAN enumeration is often useful for CTF security games (the
[Mango](https://medium.com/@tellicolungrevink/hack-the-box-mango-70d906fc8b58) machine on HackTheBox famously hid a needed domain name in an otherwise
inocuous SSL cert).

Aside from the offensive component, SANs often point to out-of-date or no longer extant domains that can be or have been picked up by others. This extension
is useful for reminding webmasters to update such certs.

## Building the extension

You can build the directory using the following commands (on Linux):

```
git clone [email protected]:seisvelas/SAN-Scanner.git
cd SAN-Scanner/
gradle build
```

That's it! The .jar will be created in `build/libs/SAN\ Scanner.jar`, which you can load into Burp Extender.