SeGuard Public Resources
SeGuard is a static analyzer framework for building semantic graphs of android malware.
Download seguard-java.tar.gz
and seguard-python.tar.gz
to current folder from https://github.com/uwplse/seguard-resources/releases. Install dependencies specified here or use the following quick instructions:
For ubuntu (assuming using bash
):
$ wget https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u222b10.tar.gz
$ tar xvf OpenJDK8U-jdk_x64_linux_hotspot_8u222b10.tar.gz
$ echo "export PATH=$PWD/jdk8u222-b10/bin:$PATH" >> ~/.bashrc
$ source ~/.bashrc
$ sudo apt-get install gcc python-virtualenv python3-dev maven graphviz libgraphviz-dev unzip
Then,
# project root
mkdir seguard-framework
# install java artifact
mv seguard-java.tar.gz seguard-framework
cd seguard-framework
tar xvf seguard-java.tar.gz
cd ..
# install python artifact
tar xvf seguard-python.tar.gz
mv seguard-0.1dev seguard-framework/tools/python`
cd seguard-framework
virtualenv -p python3 .venv
source .venv/bin/activate
pip install -e tools/python
# try it
tools/seguard-cli examples/drebin0-5fd871.apk
Check out https://izgzhen.github.io/seguard-www/troubleshooting.html if you got into any problems.
https://github.com/izgzhen/seguard-resources/wiki
(Edit as will)
http://bit.ly/SeGuardDemo