Search the web
Sign In
New User? Sign Up
vmu-dev · The VMU Development list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Attempt to decypher Dreamkey attachment format   Message List  
Reply | Forward Message #186 of 1156 |
Re: [vmu] Attempt to decypher Dreamkey attachment format

--- In vmu-dev@egroups.com, "Marcus Comstedt" <marcus@i...> wrote:
>
> First of all, it's great to see you here Alex. Welcome.
>
> Had it just been the modified base64, it wouldn't have been a
problem
> to crack the format, but there's obviuosly more to this than that.
>
>
> // Marcus

Then maybe they are using technology similar to other decoding
routines I have seen. Sonic adventure does some weird decryption of
the data before it gets outputted.

Do the Base64 decoding first. The other base64 encoding scheme is
used for VMU Uploads through web pages. Since that is not the method
they are using for e-mails, then try this code. Replace $dc-
>decode_base64 with your own routine. Change the length of the $i
for loop to be equal to the length of the data you are encoding
divided by 4. The following routine decodes 80 bytes. I don't have
any information about this, since the data was never designed to be
decoded by users. Let me know if any of this helps.

my (@XOR_CODE) = (65,84,69,90); # 0x5A455441
my (@PLUS_VAL) = (65,78,65,78); # 0x4E414E41

# BASE64Decode
@BINDATA = ();
@BINDATA = $dc->decode_base64($srcdata);


my @tmp_val = (0,0,0,0);
for(my $i=0;$i<20;$i++) {
my $tmp_val2 = 0;
for(my $j=0;$j<4;$j++) {
$BINDATA[$i*4+$j] ^= ($tmp_val[$j] ^ $XOR_CODE[$j]);
$tmp_val[$j] = ($tmp_val[$j] + $PLUS_VAL[$j] + $tmp_val2);
$tmp_val2 = $tmp_val[$j]>>8;
$tmp_val[$j] &= 255;
}
}


Alexander Villagran
VMU Developer





Mon May 8, 2000 4:48 pm

villagra@...
Send Email Send Email

Forward
Message #186 of 1156 |
Expand Messages Author Sort by Date

I've added a new folder in the files section, which contains three files, a .vmi and a .vms file and an email (including all headers) in which I attached this...
Richard Munn (aka ben...
richard.munn@...
Send Email
Apr 9, 2000
5:31 pm
Soeren Gust
sgust@...
Send Email
Apr 18, 2000
7:43 pm

... is ... the ... It's encrypted. Alessandro and I did an experiment with a file containing only a large amount of zeroes. The attachment had the expected...
Marcus Comstedt
marcus@...
Send Email
Apr 18, 2000
7:55 pm

... The encoding format is as follows: Here is Perl code to convert the modified Base64 format. After it is decoded, you then pass it through a standard...
Alexander Villagran
villagra@...
Send Email
May 4, 2000
5:33 pm

First of all, it's great to see you here Alex. Welcome. ... is ... This is all and well (I had expected some kind of base64 reordering of this kind), however...
Marcus Comstedt
marcus@...
Send Email
May 4, 2000
11:06 pm

... problem ... Then maybe they are using technology similar to other decoding routines I have seen. Sonic adventure does some weird decryption of the data...
Alexander Villagran
villagra@...
Send Email
May 8, 2000
4:48 pm

... Hm... I tried my best, but it doesn't seem to work. Maybe I didn't understand some of the code? Can anyone explain? Sorry if my explanations sound a bit...
tyro@...
Send Email
May 22, 2000
2:37 am

... Sorry, but Alex algorithm doesn't work. There are no values for the XOR_CODE and PLUS_VAL vectors that produce a correct result for normal or "modified"...
Marcus Comstedt
marcus@...
Send Email
May 22, 2000
3:05 pm

... Well, could you please look through my comments of the posted source code anyway and tell me if I understood everything correctly, at least? Thanks ...
Alessandro Sanasi
tyro@...
Send Email
May 26, 2000
5:44 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help