Code Monkey home page Code Monkey logo

crypto-auditing's People

Contributors

beldmit avatar dependabot[bot] avatar simo5 avatar t184256 avatar ueno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

crypto-auditing's Issues

Document probe points for generic cryptographic operations

It would make sense to define some probe points for generic crypto operations, in a protocol agnostic way, for example:

  • pk::sign, pk::encrypt, pk::decrypt, aead::encrypt, aead::decrypt context names
  • hash::algorithm, pk::algorithm, pk::key_size, aead::algorithm events

Maybe we could use OID for *::algorithm events if it is not too much burden to parse.

Collect instrumented library name

It would be nice to collect library names where probes are instrumented. This could be done in the following steps:

  • The BPF program reports PID and the topmost symbol address obtained with bpf_get_stack(..., BPF_F_USER_STACK)
  • The agent reads the /proc/$PID/map_files directory and finds the library which is loaded and mapped to a memory area containing the symbol address

As this may affect performance, a caching mechanism would be desired.

Add automated integration tests

We currently only have a couple of unit tests. It would be nice to have integration tests that exercise communication between the components (agent, event-broker, and client).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.