Giter Site home page Giter Site logo

binsec's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar ex0dus-0x avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

binsec's Issues

Configuration consumption support

Allow users to construct YAML/TOML-based configurations that define the binaries to be analyzed, and the specific mode of execution mode they would like the detector to analyze it under.

Miscellaneous enhanced checks

Add other checks that can't be grouped and organized together.

This can include:

  • Calling home using HTTP routines/syscalls or presence of URLs
  • Presence of cryptocurrency addresses, strings or library calls
  • May contain some type of polyglot embedded within the binary
  • ..etc!

Incorporate opinionated security recommendations for binary harden checks

If specified with a flag like --opinion, return compiler flags that can be harnessed in order to mitigate any security features that are not set for the specific instance. Ie with partial RELRO for ELF binaries, we can recommend the following to upgrade to a full RELRO to prevent jumps to dynamically linked symbols:

-Wl,-z,relro,-z,now

If flag is set, this output should be incorporated in all output formats that are emitted.

Enhance bulk executable consumption and output

If we take in several executables at once and specify the output to be some type of serializable format, have some type of configuration to concatenate all of them together and output as one unit rather than seperate ones at once.

Revamp: binsec for CI/CD

This started out as a learning lesson for parsing binaries with goblin and recognizing exploit protection primitives. However, there can be a much stronger push for this as an integration into software supply chain security mitigations.

binsec should be fully CI/CD ready for GitHub Actions, trigger detections on binary artifact releases and recommending additional compilation steps (as per #62). Not only does this create actionable security items for devs, but also a point of transparency for security researchers looking for vulns.

Data Research

  • Generate datasets for features of all built-in binaries for specific operating systems
  • Delivery report / visualization for built-ins or binaries in the wild
  • Malware too??

Project Roadmap

Here are potential ideas for what to implement down the road:

  • Multi-Platform Support - Windows and macOS binary security features
  • Check security features on procs
  • Recommended compiler flags to pass to enforce better security
  • Use case - integration with automated CI/CD security pipeline to solve CTF challenges, or patch compiled unit tests.
  • Potential malware detection support (integrate in YARA) ??
  • Other binary security features I missed out on

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.