Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

想用之前没有MmpTls的版本来加载版本号为21H1的win10 #6

Open
xtayaitak opened this issue Feb 21, 2022 · 5 comments
Open

Comments

@xtayaitak
Copy link

xtayaitak commented Feb 21, 2022

最新的版本依赖很多HOOK来达到处理tls相关函数的效果。
我使用HOOK会有问题,想用之前没有MmpTls的版本来在win10 21H1平台下的dll。

是不是我只需要补充LdrpHandleTlsData的特征码就能达到我想要的效果了。谢谢。

@xtayaitak xtayaitak changed the title 请问一下内存加载dll,有什么办法做隐藏效果 想用之前没有MmpTls的版本来加载版本号为21H1 Feb 21, 2022
@xtayaitak xtayaitak changed the title 想用之前没有MmpTls的版本来加载版本号为21H1 想用之前没有MmpTls的版本来加载版本号为21H1的win10 Feb 21, 2022
@bb107
Copy link
Owner

bb107 commented Feb 21, 2022

是的,你需要手动提取LdrpHandleTlsData和LdrpReleaseTlsEntry的特征码。

@jackyuke
Copy link

How to extract feature code? Any guidance?

@bb107
Copy link
Owner

bb107 commented May 15, 2023

Hi there! If you want to extract feature codes (or patterns), you'll need a PE editor or debugger like x64dbg first. Next, select some consecutive machine code within the function and calculate the distance between its start address and the first byte of your choice. It's important to choose complex instructions to ensure the patterns you pick are unique within the module's segment.

IMG

@jackyuke
Copy link

Trying to load more dll at once. It it exceeds InvertedTable->MaxCount. Can we increase it?

@bb107
Copy link
Owner

bb107 commented May 24, 2023

As far as I know, INVERTED_FUNCTION_TABLE is a fixed size struct and is not dynamically allocated, so we cannot increase its size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants