Encrypting .exe files...

Posts 1–6 of 6 · Page 1 of 1
Encrypting .exe files...
Guys i need a program and a tutorial how to encrypt a .exe file

Example: I want a program to automaticky BLOCK access to the information in the .exe file with Net Reflector

Please i will appreciate...
What you have to do is open the file up at the binary level and read/write using some type of algorithm. It's similar to file compression, I guess.... I've done file compression once for school and that is the approach I would take (except using a different algorithm).
What you're looking for is "virtualization", use Themida or Enigma.
Quote Originally Posted by Null::Void View Post
Go with Themida in my opinion, Its what a lot of game companies use

http://www.mpgh.net/forum/31-c-c-pro...e-themida.html

Just made a tutorial for you man enjoy
Wow thank you so much!!! @Null::Void How can i remove the "Themida" Window after i execute the program?
Heres a simple solution to stop .Net Reflector from opening your .exe. Basic i know but it works.

Reference
System IO
And just place this code in button
Code:
            OpenFileDialog iLod = new OpenFileDialog();
            iLod.Filter = "Programs (*.exe)|*.exe";
            if (iLod.ShowDialog() == DialogResult.OK)
            {
                if (MessageBox.Show("Are you sure you want to Patch (" + Path.GetFileNameWithoutExtension(iLod.FileName) + ")", "Patch It!...", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
                {
                    try
                    {
                        byte[] Byts = File.ReadAllBytes(iLod.FileName);
                        string tmp = Path.GetTempFileName();
                        Byts[0xF4] = 10;
                        File.WriteAllBytes(tmp, Byts);
                        File.Delete(iLod.FileName);
                        File.Move(tmp, iLod.FileName);
                        MessageBox.Show("Patched...", "Done..");
                    }
                    catch { MessageBox.Show("Did Not Patch...", "Failed!.."); }
                }
            }
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us