ahri / burp-report-to-elasticsearch

A Burp extension that passes along discovered Issues to an ElasticSearch database.
1 stars 2 forks source link

Name

Burp Report to ElasticSearch

Version

0.0.4

Author

Adam Piper adam@ahri.net

Description

An extension that reports Issues discovered by Burp to either stdout or an ElasticSearch database.

Configuration

When running Burp via the UI, configuration is always sourced from the Java Preferences store. Conversely, when running headless the configuration is always sourced from environment variables.

The environment variables are guessable from UI, i.e.

- "Type"                 -> BURP_R2E_TYPE
- "Elasticsearch Host"   -> BURP_R2E_ELASTICSEARCH_HOST
- "Elasticsearch Port"   -> BURP_R2E_ELASTICSEARCH_PORT
- "Elasticsearch Prefix" -> BURP_R2E_ELASTICSEARCH_PREFIX

Additionally, some configuration is available only for headless mode:

- BURP_R2E_STATIC_SCAN_ID - set a scan ID of your choosing rather than having UUIDs generated
- BURP_R2E_AUTO_QUIT - quit after the first scan ends (set to "true" to enable)

Notes

Scan IDs are generated in the extension, and the end of a scan is detected via a cooldown period calculated from current user settings. Concurrent scan IDs are therefore not supported and the extension will consider concurrent scans to be part of a single, overall scan. In the future, if Burp attaches its own IDs to scans and announces the start/end of scans, this could be more accurate (and timely!)

Currently, authenticated access to ElasticSearch is not supported.

It's possible to switch output type while a scan is in progress. No special handling occurs; events after this point will be streamed to the latter output, i.e. it will be missing the start of the current scan.