Win32Hooking
Description
This module hooks IAT and EAT to monitor all external functions calls, very useful for [malware] reverse and debugging.
This module should run in a virtual machine without any EDR because it hook all exported and imported functions. Hooks may be detected and EDR can kill the process and removes files.
Some EDR inject DLL in the process and modify some elements to resolve functions by EAT, i wrote a little bypass to run it on a machine with a specific EDR. You can probably use it with an EDR but it's not recommended.
Requirements
This package require:
- python3
- python3 Standard Library
- PyPeLoader >= 0.2.0
- PythonToolsKit >= 1.2.4
Installation
Pip
python3 -m pip install Win32Hooking
Git
git clone "https://github.com/mauricelambert/Win32Hooking.git"
cd "Win32Hooking"
python3 -m pip install .
Wget
wget https://github.com/mauricelambert/Win32Hooking/archive/refs/heads/main.zip
unzip main.zip
cd Win32Hooking-main
python3 -m pip install .
cURL
curl -O https://github.com/mauricelambert/Win32Hooking/archive/refs/heads/main.zip
unzip main.zip
cd Win32Hooking-main
python3 -m pip install .
Usages
Command line
Win32Hooking # Using CLI package executable
python3 -m Win32Hooking # Using python module
python3 Win32Hooking.pyz # Using python executable
Win32Hooking.exe # Using python Windows executable
Win32Hooking "C:\Windows\System32\calc.exe"
Python script
from Win32Hooking import load
load(r"C:\Windows\System32\calc.exe")
Links
License
Licensed under the GPL, version 3.
Metadata
Release files for Win32Hooking 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| win32hooking-1.2.1.tar.gz | 39.3 kB | Without provenance | Details for win32hooking-1.2.1.tar.gz |
Release files / win32hooking-1.2.1.tar.gz
| Download URL | win32hooking-1.2.1.tar.gz |
|---|---|
| Size | 39.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
efab019e30769fc342308e14b158043c239d1c876b80274f4a2c08d66fd1b0b7
|
|
BLAKE2b-256 checksum How to use checksums |
fb342a2aa25b1b92f5f8333db57963e791b0a76e25dd044dfc7396bc543c3364
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for Win32Hooking 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.