Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Alternatives to JitHooking

Featured Replies

Posted

Yo,

I am planning to code some method encryption, and I wanted to ask if there are alternatives to JitHooking.

The problem is not hoe to encrypt/decrypt the methodbodys, - that's simple, the question is how I can detect the calls so I know when to decrypt.

JitHooking is pretty unstable and might not work properly in future versions of the .Net FW.

I am open for ideas and suggestions.

You can use Invoke and Pointer, if, for instance, you store your encrypted method in a specific Header


You can create a DynamicMethod. It has its limitations but should work with most methods. Used by some obfuscators.

  • Author

You can create a DynamicMethod. It has its limitations but should work with most methods. Used by some obfuscators.

Yo,

I've heared of dynamic methods before but I don't entirely get the concept behind.

For example, I encrypt the methodbody of some testmethod.

Alright.

I can also insert some decryption method somewhere, also not a problem.

But how would you detect the calls to the original method so the decryption will be triggered?

Could you give me some more detailed explanation please, that would be nice :)

(Yes I know the msdn articles about dynamic methods)

just replace every methodbody with the call to a dynamic method which uses the original method body.


Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.