Skip to content

A simple project to demonstrate how to use the tls callback to Any in Python

Notifications You must be signed in to change notification settings

xiongsp/TLScallback2Any

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TLS callback to Any

Introduction

This is a simple project to demonstrate how to use the tls callback to Any in Python.

iat.py is a simple script that uses the pefile to obfuscate the import address table (IAT) of a PE file.

main.py will inject a shellcode into a PE file that will be executed before the original entry point (TLS callback).

Environment

Only tested on Python 3.11 and Windows 11, with defaultly closed ASLR.

Related Projects

About

A simple project to demonstrate how to use the tls callback to Any in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published