Содержание
- 2. Thread Local Storage callbacks were discovered in 2000. However, widespread use didn’t occur until 2004. Now,
- 3. Peter Ferrie, Microsoft Corporation Entry Point
- 4. Peter Ferrie, Microsoft Corporation C3 RET
- 5. So the main file does nothing. If we assume that the structure is normal, then we
- 6. Peter Ferrie, Microsoft Corporation TLS is present (size doesn’t matter)
- 7. Peter Ferrie, Microsoft Corporation Callback pointer Callback array
- 8. So the search moves to the callbacks, of which there is only one... or is there?
- 9. Peter Ferrie, Microsoft Corporation
- 10. Am I Missing Somethi CODE:00401013 mov ds:TlsCallbacksEnd, offset loc_401000 CODE:0040101D retn Who ever heard of a
- 11. It’s about what you write, and where you write it. By writing to TlsCallbacksEnd, the array
- 12. Peter Ferrie, Microsoft Corporation
- 13. The second entry is executed after the first one returns. The array can be extended infinitely.
- 15. Скачать презентацию