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

Add Layer Dependability #9

Open
capnspacehook opened this Issue Nov 5, 2018 · 0 comments

Comments

1 participant
@capnspacehook
Copy link
Member

capnspacehook commented Nov 5, 2018

When layering obfuscation methods, it can be fairly simple to modify a layer to print out the next layer. Then you can keep doing this until the unobfuscated command is printed. To combat this, I am proposing a layer dependability feature. It will work like this:

  • Generate obfuscated layer 1.
  • Save a random amount of variable instantiation statements for later, do not include them in the first layer.
  • Generate obfuscated layer 2.
  • Put the saved variable instantiation statements needed by layer 1 somewhere random in layer 2.
  • During runtime of the obfuscated payload, the variables needed by layer 1 are first instantiated in layer 2.
  • Layer 2 then runs layer 1, who knows the values of the variables instantiated in the previous layer.
  • Successful execution of layer 1 by itself without modification is impossible, since it depends on commands being executed prior to itself being executed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment