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 49 Times in 11 Posts
Thanks Given: 5
Thanks Rcvd at 50 Times in 12 Posts
TomaHawk Reputation: 49
[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, 26 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: 52
Rept. Given: 0
Rept. Rcvd 4 Times in 4 Posts
Thanks Given: 19
Thanks Rcvd at 85 Times in 34 Posts
DavidXanatos Reputation: 4
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 online now
Friend
 
Join Date: Jul 2019
Location: DNR
Posts: 6
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 3
Thanks Rcvd at 11 Times in 4 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 15 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



All times are GMT +8. The time now is 21:50.


��ICP��05004977��
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX