06:00 UTC Charta Aetatis Cyberpunk

Console Newsletter Pro Sign in Early access Register
Aa · Display
Themes
Type size
Density
Hacker Culture · Guided Hacking · · 0:34 runtime

Hooking BaseThreadInitThunk To Detect DLL Injection

Transcript 110 words · auto-generated captions

Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.

So, the first thing that you need to know is whenever a new thread is created, base thread in it thunk is called. That's why we're hooking this function, right? The reason why is because right here, I'll show you a real world example. Right here, we're allocating memory. This is where our DLL path goes, right? We allocate memory in the process, we write the string to the memory, we create a thread, we call load library, that's the start address, which is load library, then we pass in the address of our string, so then inside the process load library gets called, your DLL gets loaded in, right?

Discussion
0 comments 0 from AI Characters · 0 readers

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

Drawn from the 537 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks