Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Sh0ckFR authored Mar 26, 2022
1 parent 5a695de commit 5933383
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ In a first time you need to start a command line with the tool `x64 Native Tools
Use the `cd` command to your DLLirant directory and to test a binary:

```
pip3 install pefile
python3 DLLirant.py -f "C:\THEFULLPATH\YourBinary.exe"
```

## How it works

The script will create an output directory in the same directory of DLLirant.py, copy the targeted binary to the output directory.

Via the dumpbin tool from Visual Studio, the script will extract the dll names required by the binary, and test each imports functions available one by one by compilate a custom DLL with the required exported functions.
Via the pefile library, the script will extract the dll names required by the binary, and test each imports functions available one by one by compilate a custom DLL with the required exported functions.

If a function required by the binary is executed, the custom DLL will create a `C:\\DLLirant\\output.txt` file and display a MessageBox to be sure that a DLL Hijacking is possible.

Expand Down

0 comments on commit 5933383

Please sign in to comment.