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

Add Layer Dependability #9

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

Add Layer Dependability #9

capnspacehook opened this issue Nov 5, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@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.
@capnspacehook capnspacehook added the enhancement New feature or request label Nov 5, 2018
@capnspacehook capnspacehook self-assigned this Nov 5, 2018
@capnspacehook capnspacehook added this to To do in Initial Release via automation Nov 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant