Results 1 to 18 of 18

Thread: Codebreaking (A CHALLENGE)

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    England, Buckingham
    Posts
    1,341

    Codebreaking (A CHALLENGE)

    Hi all,

    A few days ago Dimitri (aka Dimava) sent me an exe file (attached in a zip) where you enter in a 5 letter keyword and it would output a 5 letter password. Now the problem is that the program was made in 1992 and the src is no longer around, yet dimitri needs to know the algorithm for creating the password from the keyword.

    I have attached the program and i have also some notes from me playing around with it:

    (key) = (pass)
    AAAAA = UWKWP
    AAABA = TWKWP
    AAACA = SWKWP
    AAADA = ZWKWP

    BBBAB = UXHZS
    BBBBB = TXHZS
    BBBCB = SXHZS
    BBBDB = ZXHZS

    CCCAC = UYIYR
    CCCBC = TYIYR
    CCCCC = SYIYR
    CCCDC = ZYIYR

    DDDAD = URFBU
    DDDBD = TRFBU
    DDDCD = SRFBU
    DDDDD = ZRFBU

    If you look at the above list you can see that the letter 4th along in the keyword some how by changing that it relates to the first letter of the password so like A seems to match to U and B to T. I have a few more notes too)

    Can anyone help to attempt to crack the keyword to password algorithm ?
    Attached Files Attached Files

  2. #2
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    I'm willing to help

    The 3rd letter becomes the first one. The letters varie with their position - it seems to me that their Ascii value is increased by some ammount.
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  3. #3
    Member
    Join Date
    Mar 2001
    Posts
    60

    Re: Codebreaking

    Since its encryption its likly to use some sort of random number or some **** like that which is quite hard to crack. Why not use a program like Windasm32 and look at the assembly in the program that encrypts/decrypts it then from that u will have a better idea of how it works or make a crack for it
    What is Life? One big dream or one Big nightmere.

  4. #4
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    we have the Assembler code, but it makes no sense to us. We also have the Turbo C code for it, but we can't understand that either.


    ~~~Dimava~~~
    NXSupport - Your one-stop source for computer help

  5. #5
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530
    Why not break it with brute force. Shouldn't take too long with only 5 letter password. Just need to write an app to do the permutations for you.

  6. #6
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    noo.. you dont see, i need the algorythem of this key generator

    ~~~Dimava~~~
    NXSupport - Your one-stop source for computer help

  7. #7
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Why do you need the algo?
    And post the turbo C source.

  8. #8
    Tygur
    Guest
    It doesn't look like this is doing any kind of randomization..

    I'm going to look at this a bit more, but I don't know if I'm actually going to come up with something..

  9. #9
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    here's the source
    Attached Files Attached Files
    NXSupport - Your one-stop source for computer help

  10. #10
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    MAN!!!

    Do you expect to easily write a decrypting program for something that has been encrypted with +80kbs of code?!
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  11. #11
    gaffa
    Guest
    That's some fine looking code

    Well, you've got the source, so don't you have the algorithm? Shouldn't be too hard to convert VB (he says thanking his lucky stars that he's not the poor bastard whose got to do said conversion)

    - gaffa

  12. #12
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    how would I convert it though? I seached the web for over an hour, and I can't find a C to VB converter.... any ideas?


    ~~~Dimava~~~
    NXSupport - Your one-stop source for computer help

  13. #13
    gaffa
    Guest
    To be honest - no.

    The "C" code is just glorified assembler. The best you could do woyuld be to convery sub by sub, but it's messy as all hell, with calls left right and centre.


    I don't know of any decent code scrubbers.

    - gaffa

  14. #14
    Hyperactive Member
    Join Date
    May 2001
    Location
    Beirut, Lebanon
    Posts
    318
    WHAT'S THAT CODE????????

    That's a very interesting topic you guys got here.

    I got the code I'll work on it.
    Hope I can get something.

  15. #15
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    thanks Gush
    NXSupport - Your one-stop source for computer help

  16. #16
    Hyperactive Member
    Join Date
    May 2001
    Location
    Beirut, Lebanon
    Posts
    318
    Here's the code a little more readable.
    Attached Files Attached Files

  17. #17
    Hyperactive Member
    Join Date
    May 2001
    Location
    Beirut, Lebanon
    Posts
    318
    It's the same source code, why is that?

    when I open it from my Hard drive I read it fine.

    ??????????

  18. #18

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    England, Buckingham
    Posts
    1,341
    Well i (coz i know C++ unlike dimava) had a look at it but it looks seriously messed and it would not compile on my pc due to like 400errors and 200warnings. So.....

    A very very big thanks for this help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width