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: 161
Rept. Given: 3
Rept. Rcvd 7 Times in 4 Posts
Thanks Given: 39
Thanks Rcvd at 136 Times in 49 Posts
Turkuaz Reputation: 7
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: 151
Rept. Given: 30
Rept. Rcvd 76 Times in 42 Posts
Thanks Given: 56
Thanks Rcvd at 52 Times in 30 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: 256
Rept. Given: 0
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 296
Thanks Rcvd at 179 Times in 89 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: 142
Rept. Given: 95
Rept. Rcvd 21 Times in 11 Posts
Thanks Given: 396
Thanks Rcvd at 146 Times in 64 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: 14
Rept. Given: 0
Rept. Rcvd 4 Times in 2 Posts
Thanks Given: 5
Thanks Rcvd at 39 Times in 9 Posts
lahma Reputation: 4
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: 161
Rept. Given: 3
Rept. Rcvd 7 Times in 4 Posts
Thanks Given: 39
Thanks Rcvd at 136 Times in 49 Posts
Turkuaz Reputation: 7
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: 14
Rept. Given: 0
Rept. Rcvd 4 Times in 2 Posts
Thanks Given: 5
Thanks Rcvd at 39 Times in 9 Posts
lahma Reputation: 4
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 13:59.


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