dAngr - A Debugger for Angr
dAngr offers a streamlined approach to leverage angr's powerful symbolic execution capabilities within a user-friendly command-line interface (CLI) environment, eliminating the necessity for extensive programming knowledge usually required to use angr. Providing powerful capabilities for analyzing and debugging binaries.
Features
- Perform symbolic execution on binaries for debugging purposes.
- Command-line interface for easy interaction.
- Easy way to call a function with chosen arguments without the hassle of memory management and argument parsing.
- Platform independent execution
Installation
To use dAngr, follow these steps:
-
Preferable create a virtual environment, for instance using venv.
-
Install the required dependencies by running the following command:
pip install .
Note: on MacOS you may need to run the following for now:
pip install --pre --no-binary capstone capstone==5.0.0.post1
- Run dAngr:
dAngr
Docker
For simplicity dAngr is also available using a Dockerfile.
Build Dockerfile to create an clean environment for dAngr.
docker build -t dangr .
Run the Docker image and get the dAngr command prompt.
docker run -it dangr
If you wish to run the dAngr Docker on your own binaries, you may need use shared volumes.
docker run -it dAngr -v <loal-binary-dir>:/home/ubuntu/dAngr/<binaryfile>
Help
- In the debugger prompt, you can find help as follows:
(dAngr)> help
Documentation
Further documentation on the commands that may be used can be found here.
Example Usage
A basic example, demonstrating the capabilities of dAngr, can be found here
A more practical example, a simplified version of the vulnerability found in the Eufy ecosystem, can be found here
Advanced Symobic Use Case
Without specifying any concrete inputs, dAngr will execute the target binary using symbolic inputs.
Contributing
Contributions to dAngr are welcome! If you find any bugs or have suggestions for new features, please open an issue or submit a pull request on GitHub.
Research
Check out our other research here
Contact
Have questions or feedback? Don't hesitate to reach out to us! open an issue on our repository or feel free to contact one of the authors.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Notes:
When installing pygraphviz, you may need to first install graphviz with dev extensions: apt-get install graphviz graphviz-dev
Metadata
Release files for dAngr 0.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dangr-0.0.13.tar.gz | 108.4 kB | Without provenance | Details for dangr-0.0.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dAngr-0.0.13-py3-none-any.whl | Python 3 | none | any | Details for dAngr-0.0.13-py3-none-any.whl |
Total release size: 231.6 kB
Release files / dangr-0.0.13.tar.gz
| Download URL | dangr-0.0.13.tar.gz |
|---|---|
| Size | 108.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8638d3bcf3e27726ff102c572497c92f656c9a4f3ef1d0427320b91317029e68
|
|
BLAKE2b-256 checksum How to use checksums |
7041f26a1210da6db7c20130fe6442204ba795bf14615e690276ac60e0ec2353
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Release files / dAngr-0.0.13-py3-none-any.whl
| Download URL | dAngr-0.0.13-py3-none-any.whl |
|---|---|
| Size | 123.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab7dd98c86b7d82a7ed735fe762698ddcbd4385df3412bca094c7d5ca6cd0a97
|
|
BLAKE2b-256 checksum How to use checksums |
f477448c287c8f2c22d55ae9a5f5fe96a8a02ff52b7bf480750d523ebd14e9a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Security for dAngr 0.0.13
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.