Trying to decrypt obfuscated python code – Digitalmunition




Home Forums Trying to decrypt obfuscated python code

This topic contains 1 reply, has 2 voices, and was last updated by  tsuto 1 month, 1 week ago.

  • Author
    Posts
  • #370564

    anonymous
    Participant

    I have a python program that is encrypted via 256bit aes encryption using source defender. Is there some way to find the decryption key in memory when launching the program? Thanks!

  • #370566

    homelikepants45

    Unless there’s some way to get the key I really don’t see how someone can just decrypt AES.

  • #370567

    InnerEggplant

    Maybe try viewing the process memory using HeapMemView or Cheat Engine or static code analysis using ollydbg/ida

  • #370565

    tsuto

    Not really, because the library depends on the user to provide the password/salt as environment variables or in the code they use to load the encrypted file. So yes, if you were sitting at someone’s computer where said file was already running, then you may be able to get the password by examining files, but having the encrypted .pye file doesn’t provide you anything to be able to recover it by itself.

You must be logged in to reply to this topic.