Making a exe crypter (how to?)

Just starting out? Need help? Post your questions and find answers here.
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Re: Making a exe crypter (how to?)

Post by LuCiFeR[SD] »

Does elfo116 make me the second most hated person on the forum guys? :)

Hehehehehehe
elfo116
User
User
Posts: 39
Joined: Sun Oct 12, 2008 9:50 am
Location: CADIZ

Re: Making a exe crypter (how to?)

Post 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 ...
User avatar
luis
Addict
Addict
Posts: 3893
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: Making a exe crypter (how to?)

Post 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 !
Last edited by luis on Thu Jun 10, 2010 6:49 pm, edited 1 time in total.
"Have you tried turning it off and on again ?"
A little PureBasic review
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Re: Making a exe crypter (how to?)

Post 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.
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Re: Making a exe crypter (how to?)

Post 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.
The advantage of a 64 bit operating system over a 32 bit operating system comes down to only being twice the headache.
elfo116
User
User
Posts: 39
Joined: Sun Oct 12, 2008 9:50 am
Location: CADIZ

Re: Making a exe crypter (how to?)

Post by elfo116 »

I asked only one example and I named Lammer ... what kind of forum is this? : S

hahaha XD
elfo116
User
User
Posts: 39
Joined: Sun Oct 12, 2008 9:50 am
Location: CADIZ

Re: Making a exe crypter (how to?)

Post 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
Thorium
Addict
Addict
Posts: 1305
Joined: Sat Aug 15, 2009 6:59 pm

Re: Making a exe crypter (how to?)

Post 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.
User avatar
Rings
Moderator
Moderator
Posts: 1435
Joined: Sat Apr 26, 2003 1:11 am

Re: Making a exe crypter (how to?)

Post 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:
SPAMINATOR NR.1
User avatar
Crusiatus Black
Enthusiast
Enthusiast
Posts: 389
Joined: Mon May 12, 2008 1:25 pm
Location: The Netherlands
Contact:

Re: Making a exe crypter (how to?)

Post 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.
Image
Bas Groothedde,
Imagine Programming

I live in a philosophical paradoxal randome filled with enigma's!
datachild
User
User
Posts: 11
Joined: Sat Jun 12, 2010 7:47 pm

Re: Making a exe crypter (how to?)

Post 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
elfo116
User
User
Posts: 39
Joined: Sun Oct 12, 2008 9:50 am
Location: CADIZ

Re: Making a exe crypter (how to?)

Post 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 !
datachild
User
User
Posts: 11
Joined: Sat Jun 12, 2010 7:47 pm

Re: Making a exe crypter (how to?)

Post 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 ? -.-
Post Reply