Skip to content

MITRE ATT&CK CTT with Least Authority audit mitigations - #9

Draft
edtubbs with Copilot wants to merge 7 commits into
masterfrom
copilot/perform-mitre-cyber-tabletop
Draft

MITRE ATT&CK CTT with Least Authority audit mitigations#9
edtubbs with Copilot wants to merge 7 commits into
masterfrom
copilot/perform-mitre-cyber-tabletop

Conversation

Copilot AI commented Feb 9, 2026

Copy link
Copy Markdown

Repeats the MITRE ATT&CK Cyber Table Top exercise, incorporating findings from the Least Authority Dogecoin Node Upgrade audit (April 2023).

Least Authority audit mitigations

  • Issue B – Core dump data leakage: Disable core dumps at startup via setrlimit(RLIMIT_CORE, {0,0}) and prctl(PR_SET_DUMPABLE, 0). Complements existing MADV_DONTDUMP on the locked pool by covering the full process address space.
  • Issue C – Legacy key derivation: Emit InitWarning on startup when wallet lacks HD (BIP32) derivation, advising migration.
  • Issue D – No wallet recovery path: Automatic timestamped wallet backup on startup to the configured backup directory (wallet-autobackup-<epoch>.dat). Opt out with -disableautobackup.
  • Suggestion 3 – Replace-by-fee: DEFAULT_WALLET_RBF changed from false to true.

Prior CTT mitigations (unchanged)

  • T1548: Root user detection warning
  • T1003: mlockall(MCL_CURRENT | MCL_FUTURE) with ENOMEM/EPERM diagnostics
  • T1110: Per-IP RPC auth rate limiting (5 failures → 300s lockout, escalating delay capped at 750ms, HTTP 429)
  • T1110: Wallet KDF floor raised from 25k → 100k iterations
  • T1499: Per-peer P2P message rate limiting (200 msgs/10s window, 10-point misbehavior score)
  • T1040: RPC TLS absence warnings, extra warning when -rpcallowip set

Tests

  • wallet_rbf_default_enabled – asserts DEFAULT_WALLET_RBF == true
  • core_dumps_can_be_disabled – exercises setrlimit(RLIMIT_CORE, 0) roundtrip
  • All wallet-dependent tests guarded with #ifdef ENABLE_WALLET for nowallet CI

Documentation

doc/mitre-attack-mitigations.md updated with full audit finding → mitigation mapping table and assessment of findings not requiring code changes (Issues A/E/F/G/H, Suggestions 1-2).


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits February 9, 2026 23:45
…e limiting, peer msg rate limiting, increased KDF iterations, RPC TLS warning

Co-authored-by: edtubbs <84785904+edtubbs@users.noreply.github.com>
Co-authored-by: edtubbs <84785904+edtubbs@users.noreply.github.com>
…nostics, cap delay, prevent double-penalizing peers

Co-authored-by: edtubbs <84785904+edtubbs@users.noreply.github.com>
Copilot AI changed the title [WIP] Conduct MITRE cyber tabletop on core and implement migrations Implement MITRE ATT&CK mitigations for Dogecoin Core Feb 10, 2026
Copilot AI requested a review from edtubbs February 10, 2026 00:00
…build

Co-authored-by: edtubbs <84785904+edtubbs@users.noreply.github.com>
Copilot AI changed the title Implement MITRE ATT&CK mitigations for Dogecoin Core MITRE ATT&CK tabletop: harden core against credential, DoS, and privilege escalation vectors Feb 10, 2026
Copilot AI and others added 2 commits March 24, 2026 18:14
…let warning, auto-backup, enable RBF by default

Co-authored-by: edtubbs <84785904+edtubbs@users.noreply.github.com>
Agent-Logs-Url: https://github.com/edtubbs/dogecoin/sessions/05a391c2-8ff8-4c96-af5f-379b47cfe5f0
Copilot AI changed the title MITRE ATT&CK tabletop: harden core against credential, DoS, and privilege escalation vectors MITRE ATT&CK CTT with Least Authority audit mitigations Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants