Results 1 to 8 of 8
  1. #1
    qddW$#%^jtyjtyj's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    721
    Reputation
    7
    Thanks
    148
    My Mood
    Mellow

    Executable verification

    Hi im asking how i could like make a launcher wich you HAVE to run to get the other program to run.
    Like the launher checks for update(i know how to do that part)
    Then it updates the exe(Wich means the .exe shouldnt be executed)
    (You cant launch the program by double clicking, only launched trough launcher)

    So i want like a verification that it only runs if launcher executes it.
    (Cause that will keep the program up to date)

  2. #2
    confict's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    422
    Reputation
    3
    Thanks
    290
    My Mood
    Relaxed
    Quote Originally Posted by techial2 View Post
    Hi im asking how i could like make a launcher wich you HAVE to run to get the other program to run.
    Like the launher checks for update(i know how to do that part)
    Then it updates the exe(Wich means the .exe shouldnt be executed)
    (You cant launch the program by double clicking, only launched trough launcher)

    So i want like a verification that it only runs if launcher executes it.
    (Cause that will keep the program up to date)
    A real easy solution is:

    Your launcher processname is: techlaunch.exe

    Then at your application:

    Code:
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Dim teststr As String = ""
            For Each p As Process In Process.GetProcesses
                teststr = teststr & (p.ProcessName.ToLower)
            Next
            If teststr.Contains("techlaunch") Then
                MsgBox("")
            End If
        End Sub
    Not perfect, can be faked.
    But a simple example ^^

    ITS MEH BITCHESSS !!!

  3. #3
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Just put some code in your main programs startup code to check for an update, if one is available start your updater running and close the .exe.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  4. #4
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,843
    Reputation
    425
    Thanks
    8,616
    In the main executable, make it only run if its command line argument is "techial2" and then you can do: Process.Start("appnamehere", "techial2")

  5. #5
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by NOOB View Post
    In the main executable, make it only run if its command line argument is "techial2" and then you can do: Process.Start("appnamehere", "techial2")
    Easy to crack though, communication through the commandline is really easy to fake. One more secure method would be to use named pipes to communicate.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  6. #6
    Lyoto Machida's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Far away with girls
    Posts
    3,734
    Reputation
    133
    Thanks
    1,621
    My Mood
    Aggressive
    Make your launcher make a temporary file, And then make your program check if the file exists..If exists then start, if not it close..
    And every time you open the launcher it creates the temporary file (To be able to start )
    and when you close the launcher, the temporary file is deleted...Something like that..

    Sorry my english..

  7. #7
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Get the parent process, verify its checksum. If its aye okay, continue, else, DIEEEEE()!!!

  8. #8
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    Use the way that AlterIWnet uses. Rename the exe to an other format, like .dat, .wtf, or whatever else. And then makes the launcher to run that app. Add updater etc...
    Process.Start("urapp.dat", Nothing, Nothing)