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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

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 #169 of 1156 |
Re: [vmu] Attempt to decypher Dreamkey attachment format


> It's encrypted. Alessandro and I did an experiment with a file
> containing only a large amount of zeroes. The attachment had the
> expected length, but the data was not even periodical. So it's
> probably RC4 encrypted or something.
>
>
> // Marcus

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 Base64 decoder.
# -----------------------------------------------------
# encryption table
@base64 = ('A','B','C','D','E','F','G','H','I','J',
'K','L','M','N','O','P','Q','R','S','T',
'U','V','W','X','Y','Z','a','b','c','d',
'e','f','g','h','i','j','k','l','m','n',
'o','p','q','r','s','t','u','v','w','x',
'y','z','0','1','2','3','4','5','6','7',
'8','9','+','/','=');

@dp_base64 = ('A','Z','O','L','Y','N','d','n','E','T',
'm','P','6','c','i','3','S','z','e','9',
'I','y','X','B','h','D','g','f','Q','q',
'7','l','5','b','a','t','M','4','r','p',
'K','J','j','8','C','u','s','x','R','F',
'+','k','2','V','0','w','U','G','o','1',
'v','W','H','/','=');

######################################################################
#######
# decode_dp_base64(<DP base 64'd data stream>)
# returns an array derived from DP base64 decoding the data stream.
#
# Argument: Character lines encoded by DP_BASE64.
# Back: Encoded bit character lines.
######################################################################
######
sub decode_dp_base64 {
my $src = shift;
my $bindata = ();
my $i;

my $count = 0;
foreach my $c(split(//,$src))
{
if ($c eq '-') {
last;
}

for ($i = 0; $i < 65; $i++)
{
if ($c eq $dp_base64[$i]) {
$count++;
$bindata .= $base64[$i];
if ($count == 77) {
$count = 0;
$bindata .= "\n";
}
last;
}
}
}

return $bindata;
}









Thu May 4, 2000 5:33 pm

villagra@...
Send Email Send Email

Forward
Message #169 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