Skip to content
This repository was archived by the owner on Jan 4, 2022. It is now read-only.

Latest commit

 

History

History
36 lines (22 loc) · 1.33 KB

README.md

File metadata and controls

36 lines (22 loc) · 1.33 KB

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