Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yugr/interposechecker
Experimental project to locate symbol interpositions in Debian packages
https://github.com/yugr/interposechecker
binary-analysis debian shared-library static-analysis
Last synced: 29 days ago
JSON representation
Experimental project to locate symbol interpositions in Debian packages
- Host: GitHub
- URL: https://github.com/yugr/interposechecker
- Owner: yugr
- License: mit
- Created: 2018-06-15T07:08:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-29T08:22:38.000Z (over 5 years ago)
- Last Synced: 2024-11-07T04:49:45.307Z (3 months ago)
- Topics: binary-analysis, debian, shared-library, static-analysis
- Language: Python
- Size: 17.6 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# What is this?
This is an UNFINISHED experimental project to locate symbol interpositions in Debian packages.
Inspired by [Flameeyes' link-collisions script](https://github.com/Flameeyes/ruby-elf/tree/master/tools/link-collisions).
# Usage
First of all install prerequisites:
```
$ sudo apt-get install mysql-server mysql-client python3-mysqldb
$ pip3 install pyelftools python-magic
```Then update APT database:
```
$ sudo apt-get update
```
and generate up-to-date package list:
```
$ ./download_pkg_list.py > pkgs.lst
```Finally extract relevant subset from `pkgs.lst` (e.g. via `find_deps.sh`) and run analysis
```
$ ./index_packages.py min.lst
$ ./find_interposes.py
```
(may need to update MySQL root password in `lib/database.py`).