bmorphism
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # cve/acc Vulnerability disclosure hyperstructure - infinite game or infinite pain? 🏴 (or who will pay the price of anarchy in vulnerability disclosure) ## < v0 Traditional dynamics of exploit marketplaces already allow for an imperfect ability to get a gauage on whether a given disclosure is real, i.e. membership in a known threat group, vx-underground bona fides, or even more explicit reputation systems on message boards. The goal of the protocol is to allow for an even more trustless operation, and therefore larger volume and more efficient exchange of warez. ### Proof of ability to exploit a vulnerability Ability to illustrate the ability to attack the target and accomplish specific tactical objectives, defined within a well-defined framework, such as a subset of **MITRE ATT&CK** / **ATLAS**. More precisely, we can imagine a naive and a pessimistic / ZK view of how the "labs" allowing for disclosure process to proceed can be established. #### Naive (~=hardware): an indirect "detonation" inside of TEE Presents an indirect bounty on TEE itself. Absent open hardware TEEs, and slow-moving updates to secure enclaves (e.g. AMD SEV) out in the field. For instance, Intel SGX is _to this day_ used as the enclave of choice by a major chain touting secrecy. Pros: - easier to understand conceptually for broader audiences - given the experience is that of, say, GCP Confidential Computing, and the TEE is as widely accessible as AMD SEV, easier to find a model for detonation lab operators to provide hardware Cons: - ultimately an extended bounty on TEE itself, leading to chaos around the transition to new hardware - researchers in Germany smashing stacks - opaque hardware supply chain issues and slow-moving upgrades #### Pessimistic / ZK (~= software): https://blog.trailofbits.com/2020/05/21/reinventing-vulnerability-disclosure-using-zero-knowledge-proofs/ https://www.risczero.com/docs/explainers/proof-system/ By following a zero-knowledge model, perform a verifiable computation and use receipt (verifier further confirmed using replicated computation?). ### Censorship resistance A topic in its own right, one can assume the payloads associated with the protocol will be of the highest interest to threat actors up to jurisdictional authorities that will seek to shut the payloads down. A solution within the broader set of censorship resistance will emerge, but, in the meantime two approaches: - 🎭 encryption, "differential privacy" masquarade as other payloads using the same footprint and patterns of distribution, but benign intent, or indeed engineer incentives for storage such that including or removing a piece of malware into any given data stream is not identifiable as such - maximalist approach that uses a censorship-resistant key-value store and content-addressing system https://github.com/angrymouse/elymus that then spreads any payload as wide as possible to the extent systems are accessible within a given jurisdiction ### Disclosure and incentives In order to ensure that the leading malware researchers (the hard side of the network) come to cve/acc to deal and not the traditional purveyors of malware, the guarantees (plausible deniability, structured communication to the public, and eventual unconditional disclosure) are some of the configurable primitives which need to constitute the configurable, opt-in aspects of the protocol. The protocol and its uses need to have legitimacy with broad swaths of network participants (those affected, those discovering and disclosing, those applying vulnerabilities in the tactical setting). It is extremely unlikely that the right set of incentives will be arrived at right away, but it is also not difficult to imagine a structured disclosure process operated by a mechanism #### Timelocks! One of the ways to ensure that the payload is disclosed after a certain period of time (subject to protocol instantiation parameters) is to use **Timelock Encryption**, like that found in https://github.com/drand/tlock. This ensures that one eager buyer does not accumulate a stash of vulnerabilities and sits on them indefinitely (though, of course, the tactical superiority of having done so for a period of time is what brings the buyers to marketplaces in the first place). Rather than leaving this to opaque considerations of governments and NSOGroup, the market can have a structured default, e.g. **120 days** to disclose the vulnerability no matter what. Somewhere along the way, the **viewing of the payload** would be availablre to the marketplace participants who win the bid to buy the vulnerability and no one else. However large the window of unique access to the payload can also be subject to configuration. This removes choice from the researcher, and prevents idiosyncracies or trigger-happy legal departments from deviating from agreed-upon "fair or as best as we can make it" series of steps. As a simplistic example, nested timelocks can provide for gradual disclosure, i.e. a timelock of 30 days containing a plaintext scope of impact (Remote Code Execution, Privilege Escalation and so on) + timelock of 60, which in turn can contain more plaintext evidence + tlock of 90 and so on. # Payout In order to simply discover the price, subject to a more efficient market where both malware-seeking capital and malware can be deployed more efficiently, a variety of auction mechanisms for the "uniquely viewable by the winner of the bid" period can be applied. But what happens if the target fails to fix the vulnerability in time, after being notified? Can the knowledge of impending fallout from disclosure be integrated for additionally bolstering the cve/acc protocol? ## When bounties are not enough https://docs.hackerone.com/programs/bounties.html In some sense, the bounties in a variety of settings operated by HackerOne are simply a side-effect of needing to have a proxy and deciding authority in gate-keeping access to what a true value of disclosure could be worth. Is there still room for bounties, or will market pressures alone provide enough incentives? ## PUT option? https://primitive.xyz/whitepaper-rmm-01.pdf If the target does not co-operate, having a instrument with deep enough liquidity that appreciates as the target's tokenized or otherwise financialized integrity go down. ## `$RISK` token https://www.cybergrx.com/platform/cybergrx-exchange If successful, the protocol would have the earliest risk indicators for specific systems and can participate in well-established risk exchange. If a portion of that value of the network can be translated into a tokenized instrument, its ownership and issuance subject to gradual optimization for the objectives of the marketplace - then this very token can be used to reward participants in disclosure for whom the happy pathways (target fixes the vulnerability or the buyer pays up) did not work out. Varying amount of `$RISK` token at different stages an for different attack surface can then be used for more dynamic experimentation with incentives. ## Plausible deniability, meta-bounty for hacking it all Operating a decentralized protocol using the best payments mechanism available at the time (Penumbra, zCash, Namada etc.) and pseudonymous, cryptographically-enabled identity will in themselves form an attack surface that should have external authority that can deliver the payout when the protocol itself is hacked. In this case, maintaining the most reputable / legitimate jurisdictional bounty operator or even adjacent protocol (ImmuneFi?) can serve as a fall-back mechanism, and the learnings from failure in code - the substance of v(n+1). ## Big Questions (ultimately, "should we?") Can we discover a set of incentives and guarantees for software vulnerability disclosure to accelerate the discovery of bugs, and do so _responsibly_ in ways that ultimately make our software systems safer? Is such a (transparent, opt-in) decentralized vulnerability marketplace preferable to the existing disclosure procedures, and by which measure (e.g. loss of life, property), if at all, can one measure the ethical dimension of the choice? Given a configurable evolutionary protocol, how are we to make sure that the most predatory but also lucrative set of instantiation parameters is not the one that comes to dominate? On a practical level, if such protocol is inevitable, what set of guarantees / incentives can bring together the hard side of the network to deal? (malware researchers driven by intrinsic and extrinsic incentives)

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully