Author Topic: File Protector/Encryptor  (Read 11119 times)

0 Members and 1 Guest are viewing this topic.

Offline Koga73

  • Newbie
  • *
  • Posts: 19
  • I'm new here!
    • View Profile
File Protector/Encryptor
« on: September 14, 2005, 10:41:20 pm »
hello, im new to the forums if u didnt know, anyways, i made this pretty neat little program. Fairly simple, but very effective. basically, you select a file within it, then enter a password (up to 8 characters), and press the encrypt button. Itll encrypt the file using the password you typed in, makeing the file unusable (any file type). So, if it was a text file, and u used the lowest speed (for best encryption), it would be jibberish, and impossible to decrypt without knowing the password (since it uses the password for the actual encryptin method). To decrypt the file, do the exact same thing, itll decrypt it. If you enter the incorrect password, itll still decrypt it, but it wont do it correctly, so ull just have a fucked up file. And, the best part about it is, your file wont change a single bit in size!

Heres a screenshot, pretty basic:


Tell me whata think about the whole concept :).

EDIT:
just realized, thats an older screenshot, i added in an area in the new version to set the encryption speed (the speed is just how many characters it jumps between each encrypted character, so with big files, the more jumps the faster it goes, but less secure, espically with text, a fast speed wont do much).

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: File Protector/Encryptor
« Reply #1 on: September 14, 2005, 10:57:34 pm »
How does the encryption work? Is it a standard encryption, or did you invent it yourself? 

Also, why limit passwords to 8 characters? Passwords should be _AT LEAST_ 8 characters, preferably more.  8 characters passwords are possible to bruteforce.


Offline Blaze

  • x86
  • Hero Member
  • *****
  • Posts: 7136
  • Canadian
    • View Profile
    • Maide
Re: File Protector/Encryptor
« Reply #2 on: September 14, 2005, 11:03:06 pm »
I bet its something he made up.
And like a fool I believed myself, and thought I was somebody else...

Offline Koga73

  • Newbie
  • *
  • Posts: 19
  • I'm new here!
    • View Profile
Re: File Protector/Encryptor
« Reply #3 on: September 14, 2005, 11:06:47 pm »
Well, idk, i just figured 8 characters would be fine. And as for bruteing it... its not possible to... if you put in the right or wrong password, itll still decrypt it, so unless you can make a program to go thro all the combos, and then check to see if the file has been decrypted correctly, bruting it wont work.

What it does is goes character by character (stepping by the speed, the speed can be from 1-1024, as long as the number between 1-1024 can be mod by the size of the file), and each character it comes to, goes thro each character in the password, converts that character into ascii, and converts the character in the file into ascii, then Xors the ascii from the character in the file by the ascii in the character of the code. So, if u use an 8 character code, itll Xor each character in the file 8 times. So, when u decrypt it, it does the exact same thing.

Incase you dont know what Xor is, ill explain it real quik.

12 xor 6 = 10
how?

00001100 = 12 in binary
00000110 = 6 in binary

so, match coorsponding columns, and if the numbers are the same, then the resultant = 0, if not, the resultant = 1, so the end result would be:

00001010, or 10 in binary.

Offline Blaze

  • x86
  • Hero Member
  • *****
  • Posts: 7136
  • Canadian
    • View Profile
    • Maide
Re: File Protector/Encryptor
« Reply #4 on: September 14, 2005, 11:11:51 pm »
unless you can make a program to go thro all the combos, and then check to see if the file has been decrypted correctly, bruting it wont work.

Well, why would you do it any other way?
And like a fool I believed myself, and thought I was somebody else...

Offline Koga73

  • Newbie
  • *
  • Posts: 19
  • I'm new here!
    • View Profile
Re: File Protector/Encryptor
« Reply #5 on: September 14, 2005, 11:14:33 pm »
err... i know how bruting works... but when its encrypted, and if its an exe lets say, itll be corrupt/nonworking until decrypted (usable again). So... if u were to go thro every combo, and try to decrypt it, it would decrypt it no matter what you typed in, but you wouldnt get a working version until u got the right pass typed in. And since u decrypt it each time, it would keep decrypting the decrypted file. YOud have to check the file to see if it works like its supposed to (which idk how ud even go about this), and if not, reencrypt the file, the goto the next combo.

Offline Blaze

  • x86
  • Hero Member
  • *****
  • Posts: 7136
  • Canadian
    • View Profile
    • Maide
Re: File Protector/Encryptor
« Reply #6 on: September 14, 2005, 11:26:44 pm »
Send me the encryptor, and an encrypted version of it.
And like a fool I believed myself, and thought I was somebody else...

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: File Protector/Encryptor
« Reply #7 on: September 14, 2005, 11:40:07 pm »
I'd make a copy of the file, decrypt it with a password, check if it's a valid exe (by checking if the first 2 bytes are MZ, or using the 'file' command on Linux).  If that doesn't work, move onto the next one.  That can be automated and done quite quickly, especially considering I only have to decrypt the first 2 bytes of the file.

You should use AES or DESx3. 

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh

Offline Koga73

  • Newbie
  • *
  • Posts: 19
  • I'm new here!
    • View Profile
Re: File Protector/Encryptor
« Reply #9 on: September 15, 2005, 08:07:31 am »
hmm, ok, ill find a place to post it. Ill post a zip/rar file including the installer/program (a little shitty isntallr is included incase they dont got runtime files), along with an encrypted exe, lets see if anybody can get the exe working :). Gimme a day or so to post it, ill reply with a link.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: File Protector/Encryptor
« Reply #10 on: September 15, 2005, 10:30:38 am »
When will a Linux version be available?


Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: File Protector/Encryptor
« Reply #11 on: September 15, 2005, 01:18:21 pm »
Yeah.  Bruting 8 bites is a pretty insignificant task.

Offline Quik

  • Webmaster Guy
  • x86
  • Hero Member
  • *****
  • Posts: 3262
  • \x51 \x75 \x69 \x6B \x5B \x78 \x38 \x36 \x5D
    • View Profile
Re: File Protector/Encryptor
« Reply #12 on: September 15, 2005, 07:06:57 pm »
Yeah. Bruting 8 bites is a pretty insignificant task.

It takes me 8 bites to eat a piece of pizza. Maybe you're thinking of something else? :p
Quote
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: File Protector/Encryptor
« Reply #13 on: September 15, 2005, 07:09:31 pm »
Yeah. Bruting 8 bites is a pretty insignificant task.

It takes me 8 bites to eat a piece of pizza. Maybe you're thinking of something else? :p

Fast typing FTW.

Offline Blaze

  • x86
  • Hero Member
  • *****
  • Posts: 7136
  • Canadian
    • View Profile
    • Maide
Re: File Protector/Encryptor
« Reply #14 on: September 15, 2005, 07:27:58 pm »
It takes me 8 bites to eat a piece of pizza.
8?  I must be doing something wrong...
And like a fool I believed myself, and thought I was somebody else...