Can you see the source code of an application?

Discussion in 'Mixed Languages' started by Jeslie Jovelle Sanchez, Nov 20, 2018.

  1. Jeslie Jovelle Sanchez

    Nov 19, 2018
    1
    0
    0
    #1 Jeslie Jovelle Sanchez, Nov 20, 2018
    Last edited: Nov 21, 2018
    I was just wondering if there are any possible ways for me to see the source code of an application? Specifically the microsoft toolkit? Thanks in advance!
     
  2. K4onashi

    K4onashi MDL Debugger

    Mar 7, 2012
    1,815
    1,988
    60
    #2 K4onashi, Nov 21, 2018
    Last edited: Jan 30, 2020
    If a developer obfuscates their software then it would be very hard, then it's a case of what language they use if not protected, .NET CLR assembly can be made readable with ILSpy. If you're really clever the whole thing can be debugged back into an app.

    You may also want to ask CODY before you start pulling Microsoft Toolkit apart.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,130
    24,236
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. K4onashi

    K4onashi MDL Debugger

    Mar 7, 2012
    1,815
    1,988
    60
    #4 K4onashi, Nov 21, 2018
    Last edited: Nov 21, 2018
    Oh, I didn't realise and only MTK was mentioned, not the emulator source.

    Visual Studio 2015 IDE for the sever emulator code.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. kaljukass

    kaljukass MDL Guru

    Nov 26, 2012
    2,303
    811
    90
    So maybe you will reveal the secret of how to do it?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. CHEF-KOCH

    CHEF-KOCH MDL Expert

    Jan 7, 2008
    1,206
    1,183
    60
    You can reverse engineer every application, however, that doesn't show the actual source code but it reveals how the actual program structure work.

    As far as I'm aware of it, MDL does not allow talking about such topics nor to give specific tutorials on this.
     
  7. Michaela Joy

    Michaela Joy MDL Crazy Lady

    Jul 26, 2012
    4,082
    4,654
    150
    The best thing to do is to ask the developer if you can take a look at the source.
    That shows respect. He / She may ask why, and what you plan to do with it.

    If you suggest a change that will benefit the user base at large, the dev may add the changes for you. :)

    When you "Reverse Engineer" an application, there are many things that you need to understand before
    starting an ambitious task like that.

    For one thing, what development system was used to build the original app?

    Is it a compiled language? An interpreted language? (older versions of Pascal used to use P-code, which was interpreted.)

    Is it .NET? A vast majority of the app code in .NET lives outside of the app itself. Typically in DLLs.

    At this point, the code will be x86 or x86_64 (Assembler)

    So you better know it like the back of your hand. ;)

    Good luck.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. CHEF-KOCH

    CHEF-KOCH MDL Expert

    Jan 7, 2008
    1,206
    1,183
    60
    The problem with source code is that the code must be "reproducible" otherwise each time you compile the app it might change the checksum. So even if the developer open source the app and provides the checksum, you never know if the checksums (provided on the server) are the correct ones. For example if an attacker attacks the server, manipulate the checksums to match the malware you can't verify anything and basically execute malware anyway, of course the attacker must get access to the entire website/server to replace the file and change the checksum, but it happened with, was it Linux Mint (?) already in the past. So this is not a theoretical problem.