Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-18-2022, 21:24
Turkuaz Turkuaz is offline
Family
 
Join Date: Sep 2017
Posts: 148
Rept. Given: 3
Rept. Rcvd 6 Times in 3 Posts
Thanks Given: 36
Thanks Rcvd at 134 Times in 47 Posts
Turkuaz Reputation: 6
Loader for .NET Assemblies

Hello all,
I am working on a programme written in c#. I can not patch the executable files on the disk because of integrity checking.

I would like to patch some part of dll's after they are loaded into memory, I mean a loader.

Is it possible? If yes any guidance and help will be highly appreciated.

Thanks
Reply With Quote
  #2  
Old 03-19-2022, 00:42
congviet congviet is offline
Family
 
Join Date: Jun 2010
Location: Vi
Posts: 148
Rept. Given: 30
Rept. Rcvd 76 Times in 42 Posts
Thanks Given: 49
Thanks Rcvd at 51 Times in 29 Posts
congviet Reputation: 76
Quote:
Originally Posted by Turkuaz View Post
Hello all,
I am working on a programme written in c#. I can not patch the executable files on the disk because of integrity checking.

I would like to patch some part of dll's after they are loaded into memory, I mean a loader.

Is it possible? If yes any guidance and help will be highly appreciated.

Thanks
Try use hxxps://github.com/pardeike/Harmony
Or Dup2: hxxps://dup-patcher.blogspot.com/
Reply With Quote
The Following User Says Thank You to congviet For This Useful Post:
niculaita (03-19-2022)
  #3  
Old 03-19-2022, 00:54
Stingered Stingered is offline
Friend
 
Join Date: Dec 2017
Posts: 182
Rept. Given: 0
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 234
Thanks Rcvd at 134 Times in 63 Posts
Stingered Reputation: 2
Read her:

https://guidedhacking.com/threads/c-dll-loader-embedded-injector.14177/

and:

https://github.com/Akaion/Bleak
Reply With Quote
The Following 3 Users Say Thank You to Stingered For This Useful Post:
mcr4ck (03-19-2022), niculaita (03-19-2022), Turkuaz (03-19-2022)
  #4  
Old 03-19-2022, 05:17
p4r4d0x p4r4d0x is offline
Friend
 
Join Date: Jul 2012
Location: https://www.youtube.com/watch?v=GoCOg8ZzUfg
Posts: 125
Rept. Given: 96
Rept. Rcvd 21 Times in 11 Posts
Thanks Given: 372
Thanks Rcvd at 124 Times in 58 Posts
p4r4d0x Reputation: 21
https://github.com/WilsonPublic/SimpleLoader
Reply With Quote
The Following User Says Thank You to p4r4d0x For This Useful Post:
Turkuaz (03-19-2022)
  #5  
Old 04-18-2022, 04:55
lahma lahma is offline
Friend
 
Join Date: Jul 2016
Location: US
Posts: 13
Rept. Given: 0
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 5
Thanks Rcvd at 36 Times in 9 Posts
lahma Reputation: 2
Is your c# app .NET Core?
Reply With Quote
  #6  
Old 04-20-2022, 02:56
Turkuaz Turkuaz is offline
Family
 
Join Date: Sep 2017
Posts: 148
Rept. Given: 3
Rept. Rcvd 6 Times in 3 Posts
Thanks Given: 36
Thanks Rcvd at 134 Times in 47 Posts
Turkuaz Reputation: 6
Quote:
Originally Posted by lahma View Post
Is your c# app .NET Core?
No, it is not
Reply With Quote
  #7  
Old 04-25-2022, 11:07
lahma lahma is offline
Friend
 
Join Date: Jul 2016
Location: US
Posts: 13
Rept. Given: 0
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 5
Thanks Rcvd at 36 Times in 9 Posts
lahma Reputation: 2
Quote:
Originally Posted by Turkuaz View Post
No, it is not
I just did a quick write-up/tutorial on forcing .NET Framework apps to load modified assemblies. I'm not sure of your needs but perhaps you might find it useful:
https://forum.exetools.com/showthread.php?t=20144
Reply With Quote
The Following User Says Thank You to lahma For This Useful Post:
niculaita (04-25-2022)
Reply

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 Off
HTML code is Off



All times are GMT +8. The time now is 20:01.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX
( 1998 - 2022 )