Exetools  

Go Back   Exetools > General > Source Code

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 08-26-2019, 21:30
TomaHawk TomaHawk is offline
Family
 
Join Date: Jan 2014
Posts: 20
Rept. Given: 2
Rept. Rcvd 50 Times in 11 Posts
Thanks Given: 5
Thanks Rcvd at 56 Times in 12 Posts
TomaHawk Reputation: 50
[MASM Source] - ZwCreateThread example (winAPI CreateThread emulation)

I used this in my MyAppSecured exe protector project. This code emulates the winAPI CreateThread using ZwCreateThread, in pure MASM, compiled in WinASM studio.

Feel free to use it for your own projects.
Attached Files
File Type: rar ZwCreateThread example.rar (5.5 KB, 28 views)
Reply With Quote
The Following 2 Users Gave Reputation+1 to TomaHawk For This Useful Post:
Mahmoudnia (08-27-2019), mrfearless (09-06-2019)
The Following 4 Users Say Thank You to TomaHawk For This Useful Post:
DavidXanatos (08-31-2019), elephant (09-07-2019), niculaita (08-27-2019), quygia128 (08-27-2019)
  #2  
Old 08-27-2019, 02:47
quygia128's Avatar
quygia128 quygia128 is offline
Family
 
Join Date: Apr 2011
Location: SomeWhere
Posts: 108
Rept. Given: 233
Rept. Rcvd 182 Times in 47 Posts
Thanks Given: 58
Thanks Rcvd at 25 Times in 17 Posts
quygia128 Reputation: 100-199 quygia128 Reputation: 100-199
Wakeup, have a long time to sleep !
Nice work TomaHawk, really i fear ASM Inline Code now )

BR,
qg128
Reply With Quote
The Following User Says Thank You to quygia128 For This Useful Post:
TomaHawk (08-27-2019)
  #3  
Old 08-31-2019, 16:09
DavidXanatos DavidXanatos is offline
Friend
 
Join Date: Jun 2018
Posts: 65
Rept. Given: 0
Rept. Rcvd 13 Times in 8 Posts
Thanks Given: 21
Thanks Rcvd at 131 Times in 43 Posts
DavidXanatos Reputation: 13
could you upload it to a locations everyone can download it pelase?
Reply With Quote
  #4  
Old 09-02-2019, 00:45
Lueilwitz Lueilwitz is offline
Friend
 
Join Date: Jul 2019
Location: DNR
Posts: 9
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 5
Thanks Rcvd at 13 Times in 5 Posts
Lueilwitz Reputation: 0
+1 for everyone can download
Reply With Quote
  #5  
Old 09-08-2019, 14:06
JMP-JECXZ JMP-JECXZ is offline
Friend
 
Join Date: Mar 2017
Posts: 15
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 4
Thanks Rcvd at 16 Times in 8 Posts
JMP-JECXZ Reputation: 0
DavidXanatos, here sir
Code:
https://www.upload.ee/files/10455919/ZwCreateThread_example.rar.html
Reply With Quote
The Following 2 Users Say Thank You to JMP-JECXZ For This Useful Post:
DavidXanatos (09-08-2019), Pansemuckl (09-10-2019)
Reply

Tags
createthread, emulation, masm, ntcreatethread, zwcreatethread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[C++ & MASM Source] - MyAppSecured v1.00 Beta (exe protector) TomaHawk Source Code 2 09-08-2019 14:07
[C] Winapi Call Dynamically and easily 0xall0c Source Code 40 10-17-2018 19:36
WinAPI: No WM_COMMAND Message? aldente General Discussion 2 07-05-2006 07:17


All times are GMT +8. The time now is 19:10.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX