Skip to content

AngrPT recover the Windows Driver's DeviceIoControl Interface and Dependencies for getting higher coverage in Fuzzing Process.

License

Notifications You must be signed in to change notification settings

0dayResearchLab/angrPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is angrpt?

AngrPT recover the Windows Driver's DeviceIoControl Interface. It can provide the Constraint of IoControlCode for get higher coverage in Fuzzing Process.

AngrPT also analyze global variable dependencies between iocontrol codes.

It based on IREC and improve the IREC's limitations.

Components of angrPT

angrPT
├── tests                                   # Test drivers to verify test-driver
├── projects                                # Driver analysis projects
│   ├── symbolic                            # Techniques using symbolic execution.
│   ├──wdm.py                               # WDM driver analysis 
│   └──mangrpt.py                           # angrpt tech module
└── angrpt.py                               # Main module

Manual Usage

  • Install Dependencies
pip uninstall virtualenv
pip install virtualenv
sudo apt install python3-virtualenv -y

virtualenv $YOUR_NAME
source $YOUR_NAME/bin/activate

pip install angr
pip install virtualenvwrapper
pip install angr boltons argparse ipdb angr-utils

git clone https://github.com/angr/angr-dev.git
cd angr-dev
git clone https://github.com/axt/bingraphvis
pip install -e ./bingraphvis
git clone https://github.com/axt/angr-utils
pip install -e ./angr-utils
  • Starting Analyze
python3 angrpt.py -d [Driver Name] --user-static [Address of Device IoControl Handler]

Docker Usage

  • Docker build
docker build -t angrpt .
  • Start Analyze
docker run --rm -v $(pwd):/data angrpt -d [Driver Name] --user-static [Address of Device IoControl Handler] -output /data

About

AngrPT recover the Windows Driver's DeviceIoControl Interface and Dependencies for getting higher coverage in Fuzzing Process.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5