Hooking Functions in a different Process

  Рет қаралды 866

Pavel Yosifovich

Pavel Yosifovich

Күн бұрын

Пікірлер: 7
@bloodyink3423
@bloodyink3423 5 ай бұрын
Thank you 4 ur videos
@Alchemytweaks
@Alchemytweaks 6 ай бұрын
You the best ❤
@MrDimension0
@MrDimension0 4 ай бұрын
Thank you for the great video. I am wondering if we need thread-synchronization especially for the wchar process name changed by the configurator process and used inside the compare function inside the .dll? Also what about memory barriers so that writes to pid and process name are actually flush the store buffer and can be observed by dll inside task manager? I'm a total noob on this and I am probably wrong. I would be grateful if you could add a short explanation why we don't need to care about these threading-problems in this case. Thanks a lot
@zodiacon
@zodiacon 4 ай бұрын
In theory, you would need thread sync (a simple mutex or SRWLock will do) because the globals are read and written potentially at the same time from 2 different threads, but not really in practice, since if something is observed as partially changed, it will be picked up correctly the next time NtQuerySystemInformation is called. A memory barrier here is an alternative to synchronization - you could add a memory barrier to force the memory to be observed by other processors right after update to ensure sequential consistency, but again, from a practical perspective it's not needed, especially since the configurator exits quickly which will force store buffer flushing . And in any case, the example is non-trivial as it is without adding sync to the mix :)
@slava_xd
@slava_xd 6 ай бұрын
pavel will you make a video on WTL in the future?
@zodiacon
@zodiacon 6 ай бұрын
I have a complete course on that... training.trainsec.net/gui-programming-with-wtl There are some free videos there.
@slava_xd
@slava_xd 6 ай бұрын
@@zodiacon oh, I'll buy it then. thank you :)
Simple Function Hooking
18:21
Pavel Yosifovich
Рет қаралды 1,1 М.
Introduction to ETW
23:11
Pavel Yosifovich
Рет қаралды 2 М.
Girl, dig gently, or it will leak out soon.#funny #cute #comedy
00:17
Funny daughter's daily life
Рет қаралды 7 МЛН
C++ vs Rust: which is faster?
21:15
fasterthanlime
Рет қаралды 394 М.
How To Solve Amazon's Hanging Cable Interview Question
6:54
MindYourDecisions
Рет қаралды 14 МЛН
Native Applications: What, Why, and How?
1:01:40
Pavel Yosifovich
Рет қаралды 6 М.
Drivers And Devices (Part 1)
29:23
Pavel Yosifovich
Рет қаралды 991
Darkside Clone Demo from the webinar
1:22:48
Pavel Yosifovich
Рет қаралды 1 М.
Writing Custom Malware: Import Address Table Hooking
48:52
John Hammond
Рет қаралды 62 М.
Modules Enumeration
30:39
Pavel Yosifovich
Рет қаралды 686
(Simple) Reverse Shell
44:58
Pavel Yosifovich
Рет қаралды 915
Postgres just got even faster
26:42
Hussein Nasser
Рет қаралды 20 М.