Debugging with Angr package
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dangr-0.0.6.tar.gz.
File metadata
- Download URL: dangr-0.0.6.tar.gz
- Upload date:
- Size: 108.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
391cfdd45f97708fbe51869ad29b3830850b69bc34d5a0a6f3650acb9348d7d9
|
|
| MD5 |
8b95e8f0718661c5aa974d321ef4110e
|
|
| BLAKE2b-256 |
2b0c4d750eb2acdfeecb8e529c59c3af1445791432c1f01095d0786adb9fc775
|
File details
Details for the file dAngr-0.0.6-py3-none-any.whl.
File metadata
- Download URL: dAngr-0.0.6-py3-none-any.whl
- Upload date:
- Size: 123.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
115e7dd76d9eebc6d1b1b0df9afcf9844db6c2f6466b3a1f8117835b4c6f869f
|
|
| MD5 |
c3902775e3a80313c5396e7c715d6acc
|
|
| BLAKE2b-256 |
bd6ea6a60e98272b8dde8cd267f8167e48b8999c9feb9fa8ed0de718df644189
|