GithubHelp home page GithubHelp logo

priv-kweihmann / meta-dca Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 73 KB

Layer for dynamic code analysis, profiling and security hardening

License: Other

Python 56.46% BitBake 40.36% Shell 3.18%
yocto-layer yocto hardening security-automation openembedded-layer qemu profiling

meta-dca's Introduction

Table of content

meta-dca

This layer is an addition to meta-sca. It enables dynamic code analysis, such as

  • checking capabilties
  • memleak checking
  • files/path checking

These checks are suppose to be done on the build host only (using qemu/testimage support)

Requirements

You need the following to use meta-dca

How to use this layer

As the name implies, this layer uses dynamic code analysis to check certain (configurable features), so we have to execute the code that needs to be checked. Therefore we are using testimage provided by upstream poky. The checks itself will only be done when you execute bitbake <your-image-recipe> -c testimage. Results will be stored in the way meta-sca was configured for the build

Additional notes

It's highly recommended to

  • enable KVM support (QEMU_USE_KVM = "1")
  • have at least 1G of RAM for QEMU (QB_MEM = "-m 1024")

Getting started

For a quick start how to use this layer see getting started guide

Available modules

module purpose more info
caplint Identify needed capabilities of a systemd unit https://github.com/iovisor/bcc
filelife Find shortlived files written to non-volatile storage https://github.com/iovisor/bcc
filemiss Find inaccessible files https://github.com/iovisor/bpftrace
opensnoop Lint ReadOnlyPaths/ReadWritePaths settings of a systemd unit https://github.com/iovisor/bpftrace

Further documentation

Get involved

To get involved following things can be done

  • create an issue
  • fix an issue and create a pull request
  • see the pinned issues in the bugtracker

Security Policy

For the project's security policy please see here

meta-dca's People

Contributors

priv-kweihmann avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

meta-dca's Issues

feature: Vailyn

Is your feature request related to a problem? Please describe.
Vailyn is a multi-phased vulnerability analysis and exploitation tool for path traversal/directory climbing vulnerabilities - and as path traversal bugs shouldn't happen anymore in 2020, give this tool a try (maybe using the cross-qemu-image tooling)

Describe a tool that might help here
https://github.com/VainlyStrain/Vailyn

feature: tracee

https://github.com/aquasecurity/tracee

Tracee is a Runtime Security and forensics tool for Linux. It is using Linux eBPF technology to trace your system and applications at runtime, and analyze collected events to detect suspicious behavioral patterns. It is delivered as a Docker image that monitors the OS and detects suspicious behavior based on a pre-defined set of behavioral patterns

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.