reverse-skills-max: initial public release (restored, redacted, hardened)
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
---
|
||||
name: competition-mailbox-abuse
|
||||
description: Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for enterprise mail abuse, OAuth consent, inbox or forwarding rules, transport rules, shared mailbox access, phishing chains, and token-to-mailbox side effects. Use when the user asks to trace mailbox rules, OAuth consent grants, forwarding or delegate abuse, shared mailbox access, message-trace evidence, or explain how mail artifacts turn into persistence, exfiltration, or privilege. Use only after `$ctf-sandbox-orchestrator` has already established sandbox assumptions and routed here.
|
||||
---
|
||||
|
||||
# Competition Mailbox Abuse
|
||||
|
||||
Use this skill only as a downstream specialization after `$ctf-sandbox-orchestrator` is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to `$ctf-sandbox-orchestrator` first.
|
||||
|
||||
Use this skill when the decisive path runs through mailbox behavior, consent flow, or message-routing effects rather than generic AD evidence alone.
|
||||
|
||||
Reply in Simplified Chinese unless the user explicitly requests English.
|
||||
|
||||
## Quick Start
|
||||
|
||||
1. Decide whether the active path is phishing-to-consent, token-to-mailbox, rule-based persistence, or transport-level mail rerouting.
|
||||
2. Keep mailbox evidence, identity evidence, and message-trace evidence tied to the same user, mailbox, token, or message ID.
|
||||
3. Separate possession of a token or delegate edge from the actual mailbox effect it enables.
|
||||
4. Record forwarding targets, rule predicates, consent scopes, shared mailbox edges, and resulting mail flow in compact blocks.
|
||||
5. Reproduce the smallest mail effect that proves persistence, exfiltration, or privilege.
|
||||
|
||||
## Workflow
|
||||
|
||||
### 1. Map The Mail Trust Path
|
||||
|
||||
- Identify the principal, mailbox, token or session, consent grant, delegate edge, shared mailbox relationship, or app registration involved.
|
||||
- Record consent scopes, mailbox permissions, rule ownership, transport actions, and message-trace identifiers.
|
||||
- Distinguish client-visible symptoms from server-side mailbox or transport state.
|
||||
|
||||
### 2. Prove The Mailbox Effect
|
||||
|
||||
- Correlate consent logs, sign-ins, message traces, inbox rules, transport rules, forwarding settings, and mailbox audit events.
|
||||
- Show which rule or token produces which concrete effect: silent forwarding, marking read, deletion, delegate access, or message rerouting.
|
||||
- Keep message IDs, sender or recipient pairs, and timestamps aligned across logs.
|
||||
|
||||
### 3. Reduce To The Decisive Abuse Chain
|
||||
|
||||
- Compress the path to the smallest sequence: lure or grant -> token or delegate edge -> mailbox or transport mutation -> resulting mail effect.
|
||||
- State clearly whether persistence lives in consent, mailbox rules, transport config, or shared mailbox permissions.
|
||||
- If the task broadens into host pivots or Kerberos acceptance, switch back to the broader identity skill.
|
||||
|
||||
## Read This Reference
|
||||
|
||||
- Load `references/mailbox-abuse.md` for the consent checklist, rule checklist, and evidence packaging.
|
||||
|
||||
## What To Preserve
|
||||
|
||||
- Consent scopes, token claims, mailbox permissions, rule definitions, forwarding targets, and message IDs
|
||||
- Message-trace lines, audit events, and mailbox effects tied to the same mail path
|
||||
- The smallest replayable sequence that proves persistence, exfiltration, or delegate access
|
||||
@@ -0,0 +1,7 @@
|
||||
interface:
|
||||
display_name: "Competition Mailbox Abuse"
|
||||
short_description: "Trace mailbox rules, OAuth consent, and mail-flow abuse"
|
||||
default_prompt: "After $ctf-sandbox-orchestrator is active, use $competition-mailbox-abuse to trace how mailbox rules, OAuth consent, forwarding, or transport actions create the decisive mail-flow effect."
|
||||
|
||||
policy:
|
||||
allow_implicit_invocation: false
|
||||
@@ -0,0 +1,26 @@
|
||||
# Mailbox Abuse Checklist
|
||||
|
||||
## Core Surfaces
|
||||
|
||||
- Consent grants, app registrations, delegated or application scopes, sign-in events
|
||||
- Inbox rules, forwarding settings, delegate access, shared mailbox permissions, transport rules
|
||||
- Message traces, mailbox audit events, sender or recipient pairs, message IDs, folder actions
|
||||
|
||||
## Abuse Chain To Reconstruct
|
||||
|
||||
1. Lure, consent, or credential acquisition
|
||||
2. Token or delegate edge obtained
|
||||
3. Mailbox or transport mutation applied
|
||||
4. Message flow altered, hidden, or exfiltrated
|
||||
|
||||
## Evidence To Keep Together
|
||||
|
||||
- Identity side: user, app, scope, token claim, delegate edge
|
||||
- Mail side: rule predicate, forward target, folder action, message ID, transport action
|
||||
- Result side: delivered, forwarded, deleted, rerouted, or silently hidden effect
|
||||
|
||||
## Common Pitfalls
|
||||
|
||||
- Reporting a token without showing the mailbox effect it actually enables
|
||||
- Mixing inbox rules and transport rules without proving which one caused the observed message flow
|
||||
- Ignoring shared mailbox or delegate permissions when the mailbox owner itself never logged in
|
||||
Reference in New Issue
Block a user