Skip to content

Empire C2 / Starkiller Interface - Default Login

ID: empirec2-default-login

Severity: high

Author: clem9669,parzival

Tags: default-login,empire,c2,intrusive

Empire C2 / Starkiller Default Administrator Credentials Discovered.

id: empirec2-default-login
info:
name: Empire C2 / Starkiller Interface - Default Login
author: clem9669,parzival
severity: high
description: |
Empire C2 / Starkiller Default Administrator Credentials Discovered.
reference:
- https://github.com/BC-SECURITY/Empire
- https://github.com/BC-SECURITY/empire-docs/blob/main/restful-api/README.md
metadata:
verified: true
max-request: 2
tags: default-login,empire,c2,intrusive
http:
- raw:
- |
POST /token HTTP/1.1
Host: {{Hostname}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryoZwyedGcQU4FrcFV
Accept: application/json, text/plain, */*
------WebKitFormBoundaryoZwyedGcQU4FrcFV
Content-Disposition: form-data; name="username"
{{username}}
------WebKitFormBoundaryoZwyedGcQU4FrcFV
Content-Disposition: form-data; name="password"
{{password}}
------WebKitFormBoundaryoZwyedGcQU4FrcFV--
- |
POST /api/admin/login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"username":"{{user}}","password":"{{pass}}"}
attack: pitchfork
payloads:
username:
- empireadmin
password:
- password123
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'access_token'
- '{"token":".*"}'
condition: or
- type: word
part: header
words:
- application/json
- type: status
status:
- 200
# digest: 490a00463044022044c758e01e394523b3b6bb5d679b7227393a7252e0c126529b34b46ae78ef58d02207460770f1220b569c94ddc35c63cf515fcda18b90740fd98522582100cf3cc9c:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/default-logins/empire/empirec2-default-login.yaml"

View on Github