Page 2 of 2

Re: Making a exe crypter (how to?)

Posted: Thu Jun 10, 2010 5:46 pm
by LuCiFeR[SD]
Does elfo116 make me the second most hated person on the forum guys? :)

Hehehehehehe

Re: Making a exe crypter (how to?)

Posted: Thu Jun 10, 2010 6:08 pm
by elfo116
if looking at a code sample is a Lammer ... Who would not ever looked at a sample codes integrated into the PureBasic editor?, Hehe.

Stop nonsense and give me and my example now! XD

Something tells me this does not end here ...

Re: Making a exe crypter (how to?)

Posted: Thu Jun 10, 2010 6:43 pm
by luis
elfo116 wrote:just look for an example (I see no crime in that), not a complete code, but people here do not have the capacity.
Yes, you just demonstrated how good are you in spotting computer-illiterate people. Good job !
elfo116 wrote: Unfortunately there is not much information on PureBasic in other forums or google, a sign that this language is dead, but the basic reminds me of my good times with the ZX Spectrum XD
Definitely dead, better not waste time here.
elfo116 wrote: Thanks and Bye !
Right on !

Re: Making a exe crypter (how to?)

Posted: Thu Jun 10, 2010 6:46 pm
by LuCiFeR[SD]
I would say it does end here :). You see, calling people lamer's etc. is not really going to make them want to help you is it :P. I personally couldn't care less what you want to write in PB...

I honestly think you would struggle to write "Hello world" with a pen and a piece of paper let alone write a single line of code for yourself.

Please feel free to insult me as much or as little as you like :) Because I know which one of us will run away crying to momma, it won't be me that's for sure, I haven't got time to drive a couple of hundred miles to the graveyard to dig her up you see! :P

Now, have fun trying to write an EXE cryptor in the language of your choice, with no help from anybody here.

There are a few links to C++ versions posted in the forum and there are plenty of FREE C++ compilers and IDE's out there.... Now run along like a good little boy and prove how 1337 your skills are!... thats a good chap.

Re: Making a exe crypter (how to?)

Posted: Thu Jun 10, 2010 6:53 pm
by SFSxOI
elfo116 wrote:if looking at a code sample is a Lammer ... Who would not ever looked at a sample codes integrated into the PureBasic editor?, Hehe.

Stop nonsense and give me and my example now! XD

Something tells me this does not end here ...
Sounds to me like you just ended it yourself.

Re: Making a exe crypter (how to?)

Posted: Thu Jun 10, 2010 7:01 pm
by elfo116
I asked only one example and I named Lammer ... what kind of forum is this? : S

hahaha XD

Re: Making a exe crypter (how to?)

Posted: Thu Jun 10, 2010 7:15 pm
by elfo116
Now I have the solution, I created a library for use with PB, an example would be something like:

Code: Select all

 

;<I use my personal library created in C # Lamer.zip>

If ReadFile (0, "mortalvirus.exe")
CreateFile (1, "ilammer.exe")
WriteData (Cryptlammer (ReadData (0, * lamerbuffer, Len (0)), KEY), Len (0))
CloseFile (0)
MessageRequester ("I Lamm", "yes ... Big Lammer", 0)
Else
MessageRequester ("nothings to Lamming !","¬¬", 0)
End
EndIf
Thanks all

Re: Making a exe crypter (how to?)

Posted: Fri Jun 11, 2010 2:17 am
by Thorium
The part that you don't get is that there is no example existing, maybe a complete code but no simple example. A exe crypter isnt a 3 line code. There is nothing wrong with looking at code from other people and using it. But you don't want to learn how it works, your just crying for code.

Re: Making a exe crypter (how to?)

Posted: Fri Jun 11, 2010 7:50 am
by Rings
something good of this topic,
Thorium wrote: You don't want to be a script kiddy, do you?
thx for my new signature


:mrgreen:

Re: Making a exe crypter (how to?)

Posted: Sun Jun 13, 2010 1:17 am
by Crusiatus Black
elfo116 wrote:Unfortunately there is not much information on PureBasic in other forums or google, a sign that this language is dead, but the basic reminds me of my good times with the ZX Spectrum XD
This language is not dead, this language is for the great elite programmers who all have an open mind. It's a VIP Language! :D
Now, I've recieved much help from many users on these forums, when I ask for a wise approach or a small idea that perhaps can
help me out with something, they provided me with that help, and I usually tried to give something in return (however I don't know
wether I did that propperly :p)

So please, respect all help and advice you are getting, and don't troll at the users.

Re: Making a exe crypter (how to?)

Posted: Sun Jun 13, 2010 11:16 am
by datachild
Basic Crypter with EOF

Crypters are used by malware to avoid detection ...
also they are used legally to Protect Software and data ...

The most simplest Crypter is a Crypter wich stores the crypted file at the EOF (EndOfFile) and decrypts the file to the hard drive to use it ...
These Crypters are used as "Installers" 4 example ...

Code: Select all

The Builder (The Builder will crypt the file u selected and append it to the Installer by simply writing the data at the EOF of the Installer):
- Read the File u want to crypt into memory...
- Crypt the file in the memory with RC4 for example...
- Open the Installer and write the crypted data at the Installers EOF
- Done...

Code: Select all

The Installer (File which is created by the Builder which holds ur encrypted data) Data: 
- Read the Installer into memory
- Get the data stored at the EOF and load it into memory
- Decrypt the data
- Save the data to the hard drive
- Do whatever u want ...
thats how a simple crypter works... :>

datachild

Re: Making a exe crypter (how to?)

Posted: Sun Jun 13, 2010 3:00 pm
by elfo116
Hello datachild,

Some like this ?

Code: Select all

;Exe 1 -> gui to select and cryp file

;Exe 2 -> program whit decrypt functions

;Exe 3 -> file to Crypt

Exe 1 include Exe 2 in Exe 3 and make new <crpyted.exe>

when launch crypted.exe -->{Exe2 decrypt and Execute exe3}
if exe3 is malicious code, when run crypted.exe would not be detected by antivirus ?
This function would be Runtime or Scantime ?

Thanks !

Re: Making a exe crypter (how to?)

Posted: Sun Jun 13, 2010 3:20 pm
by datachild
elfo116 wrote:Hello datachild,
Some like this ? yup...
if exe3 is malicious code, when run crypted.exe would not be detected by antivirus ?
This function would be Runtime or Scantime ?
Thanks !
It would be scantime otherwise u have to inject the crypted exe ....

So u want a crypter for malicious purpose ? -.-