Random Homebrew: IAR (Icon Action Replacer)
If you don't know how to go about this whole thing, it's best you check out the readme file included [...]
Friends: Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita

Can one encrypt a DLL with custom encryption?

Discuss security issues on computers here.
Content that is judged "dangerous" might be removed without prior notice

Can one encrypt a DLL with custom encryption?

Postby Nickolas » Mon Sep 19, 2011 7:48 pm

I wasn't sure if I should post this in Security or Programming but I guess that is closer to Security. Anyway, is there a specific standard for .dll files or is there a way to apply my own encryption algorithm?
Image
Image
Image
Image
Nickolas
 
Posts: 382
Joined: Sat Jan 22, 2011 3:14 pm
Location: In a black hole...

Re: Can one encrypt a DLL with custom encryption?

Postby m0skit0 » Mon Sep 19, 2011 8:30 pm

DLLs are not encrypted, so there's no "standard". You can use what you wish. Just keep in mind that when you want to execute them, you'll obviously have to decrypt them. Windows will not decrypt DLLs for you, and you cannot run encrypted DLLs for obvious reasons.

If you're searching for a "security" feature, then this is not one. First, you'll have to include key and algorithm for decryption (from which the encryption algorithm can be also deduced, btw) on on your application, and also anyone can retrieve the unencrypted DLL from RAM.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Re: Can one encrypt a DLL with custom encryption?

Postby Nickolas » Tue Sep 20, 2011 11:52 am

m0skit0 wrote:DLLs are not encrypted, so there's no "standard". You can use what you wish. Just keep in mind that when you want to execute them, you'll obviously have to decrypt them. Windows will not decrypt DLLs for you, and you cannot run encrypted DLLs for obvious reasons.

If you're searching for a "security" feature, then this is not one. First, you'll have to include key and algorithm for decryption (from which the encryption algorithm can be also deduced, btw) on on your application, and also anyone can retrieve the unencrypted DLL from RAM.


OK, so to decrypt, I have to create another program, or use the program that uses the DLL for the decryption proccess. Thanks m0skit0.
Image
Image
Image
Image
Nickolas
 
Posts: 382
Joined: Sat Jan 22, 2011 3:14 pm
Location: In a black hole...

Re: Can one encrypt a DLL with custom encryption?

Postby m0skit0 » Tue Sep 20, 2011 11:57 am

Nickolas wrote:OK, so to decrypt, I have to create another program, or use the program that uses the DLL for the decryption proccess. Thanks m0skit0.

That's it. You're welcome.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm


Return to Security

Who is online

Users browsing this forum: No registered users and 0 guests