Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random String from project is set to a field #41

Open
PiotrKFtw opened this issue Apr 26, 2019 · 0 comments
Open

Random String from project is set to a field #41

PiotrKFtw opened this issue Apr 26, 2019 · 0 comments

Comments

@PiotrKFtw
Copy link

PiotrKFtw commented Apr 26, 2019

How to reproduce this?

  1. Make a c# dll with public class and public static method Load with parameter string
  2. Make another c# internal class with method Start that assigns some random values to 3 fields
  3. Make a field of type string internal named Hash
  4. Make another c# internal class and put there internal field named Hash and internal method Init
  5. put another method inside of the Load method and in that method make new instance of both classes and assign the parameter to field hash
  6. in the Init method pop message box with value of that field
  7. Put [Obfuscation(Exclude = true)] on Load method
  8. Obfuscate code with:
  • Rename
  • Control Flow
  • Constants
  • Ref proxy
  • Anti Ildasm and Resources and enable inherit protections
  1. Call the load method using Mono and put random string as parameter
  2. the messagebox will popup as random string from the code not what you put as parameter and the popped message will change if you delete any of the obfuscations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant