Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.
/ dan Public archive

Automatic privilege evaluation of D-Bus services

Notifications You must be signed in to change notification settings

kiding/dan

Repository files navigation

Dan the D-Bus Analyzer

The Icon

Automatic privilege evaluation of D-Bus services on a remote device.

Presented at DEF CON 26 (slide, video)

Supported Platforms

See branches of this Git repository.

  • tizen-wearable-2.3.2
  • tizen-wearable-3.0

Requirements

Usage

yarn install
yarn run all

Dan spawns a test process with no privilege on a remote device. The process recursively scans through its D-Bus tree to acquire its structure; bus names, objects, interfaces, properties, methods, and signals. The analyzer tries to gather every property of every object, and to call every method of every interface for privilege evaluation. Finally, the data is written into the files for further analysis.

  • db.json: A simple JSON database for the analyzer, containing the D-Bus tree structure
  • properties.log: A list of properties accessible from the test process
  • callables.log: A list of methods callable from the test process, formatted as shell commands

License

GPLv3

About

Automatic privilege evaluation of D-Bus services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published