ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Bat file Protection

    Scheduled Pinned Locked Moved IT Discussion
    79 Posts 9 Posters 6.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LakshmanaL
      Lakshmana @scottalanmiller
      last edited by

      @scottalanmiller ok

      1 Reply Last reply Reply Quote 0
      • DustinB3403D
        DustinB3403 @Lakshmana
        last edited by

        @lakshmana said in Bat file Protection:

        @travisdh1 said in Bat file Protection:

        Trying to get someones system information stealthily isn't really what we're about here. You'd need to look elsewhere if you really want to start down the dark path.

        I don't want to go for Dark path as of now.

        Quit being dense and carefully read what we are telling you! FFS. You're probably the guy @JaredBusch ignores.

        Explain what it is you actually are doing with this bat file, why you want your buddy to be able to execute it, but not read it, and then maybe, some how with the grace of god, you won't ruin my buzz.

        God damn it, I'm actually sober from reading this thread. . . FFS!

        1 Reply Last reply Reply Quote 2
        • donaldlandruD
          donaldlandru @Lakshmana
          last edited by

          @lakshmana said in Bat file Protection:

          @donaldlandru said in Bat file Protection:

          What are you trying to accomplish with this script exactly? Can you post the code here?

          Basic details about computer like processor details,hostname etc

          Okay, any why don't you want your friend to see the code?

          1 Reply Last reply Reply Quote 0
          • stacksofplatesS
            stacksofplates
            last edited by stacksofplates

            So let's just be honest here. You're trying to create a payload to send to someone's system to get information

            1 Reply Last reply Reply Quote 2
            • scottalanmillerS
              scottalanmiller @Lakshmana
              last edited by

              @lakshmana said in Bat file Protection:

              @scottalanmiller said in Bat file Protection:

              Again, you keep talking about files. This is not a goal. You must tell me what you are trying to actually accomplish. Don't ask any questions and don't tell me how you want to accomplish anything. Tell me why you are doing any of this, what do you want to have as a result of all of this?

              I have a script written the BAT file, i don't want my friend to read the code, that code should be like machine understandable file only like a BIN file

              This is not a goal. This is still talking about this BAT file. Don't talk about that. It's the wrong solution to whatever it is you want to do. You are stuck on this and aren't telling us why you want to do this. Who cares about running a BAT file. It's what the BAT file does that is important, but we've never heard what that is yet.

              1 Reply Last reply Reply Quote 1
              • scottalanmillerS
                scottalanmiller @Lakshmana
                last edited by

                @lakshmana said in Bat file Protection:

                @donaldlandru said in Bat file Protection:

                What are you trying to accomplish with this script exactly? Can you post the code here?

                Basic details about computer like processor details,hostname etc

                Okay, so you want to get basic details. This is going to sound silly but... why aren't you using Sodium for this? This is exactly what it does and doesn't put any code on the machine for your friend to see. This is why I wanted to know your goals... because the answer is probably so easy as to be crazy, yet we had this long thread talking about things that have nothing to do with what you want to accomplish.

                1 Reply Last reply Reply Quote 0
                • LakshmanaL
                  Lakshmana
                  last edited by

                  Having 15 Softwares like Adobe,Microsoft Office Package,Antivirus are packaged as .exe.
                  Where having 7 zip the friend able to see the files inside that .exe file
                  Inside the exe file the bat file is there for automation of the installation but the friend able to read that initialization of the commands for security reasons he should not see that file.This is the full story

                  donaldlandruD scottalanmillerS dbeatoD 3 Replies Last reply Reply Quote 0
                  • donaldlandruD
                    donaldlandru @Lakshmana
                    last edited by

                    @lakshmana said in Bat file Protection:

                    Having 15 Softwares like Adobe,Microsoft Office Package,Antivirus are packaged as .exe.
                    Where having 7 zip the friend able to see the files inside that .exe file
                    Inside the exe file the bat file is there for automation of the installation but the friend able to read that initialization of the commands for security reasons he should not see that file.This is the full story

                    I still don't understand what security risk there is your friend seeing silent install commands. Unless are you providing passwords to elevate the context the script runs in?

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @Lakshmana
                      last edited by

                      @lakshmana said in Bat file Protection:

                      Having 15 Softwares like Adobe,Microsoft Office Package,Antivirus are packaged as .exe.
                      Where having 7 zip the friend able to see the files inside that .exe file
                      Inside the exe file the bat file is there for automation of the installation but the friend able to read that initialization of the commands for security reasons he should not see that file.This is the full story

                      But that makes no sense. There is no value to hiding that from him. If he wants to know and you make him run it, he can find out, period. No exceptions, ever.

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @donaldlandru
                        last edited by

                        @donaldlandru said in Bat file Protection:

                        @lakshmana said in Bat file Protection:

                        Having 15 Softwares like Adobe,Microsoft Office Package,Antivirus are packaged as .exe.
                        Where having 7 zip the friend able to see the files inside that .exe file
                        Inside the exe file the bat file is there for automation of the installation but the friend able to read that initialization of the commands for security reasons he should not see that file.This is the full story

                        I still don't understand what security risk there is your friend seeing silent install commands. Unless are you providing passwords to elevate the context the script runs in?

                        Basically he's got a friend acting as the administrator and he's trying to violate an immutable law of security - you always have to trust your administrators.

                        LakshmanaL donaldlandruD 2 Replies Last reply Reply Quote 1
                        • LakshmanaL
                          Lakshmana @scottalanmiller
                          last edited by

                          @scottalanmiller said in Bat file Protection:

                          @donaldlandru said in Bat file Protection:

                          @lakshmana said in Bat file Protection:

                          Having 15 Softwares like Adobe,Microsoft Office Package,Antivirus are packaged as .exe.
                          Where having 7 zip the friend able to see the files inside that .exe file
                          Inside the exe file the bat file is there for automation of the installation but the friend able to read that initialization of the commands for security reasons he should not see that file.This is the full story

                          I still don't understand what security risk there is your friend seeing silent install commands. Unless are you providing passwords to elevate the context the script runs in?

                          Basically he's got a friend acting as the administrator and he's trying to violate an immutable law of security - you always have to trust your administrators.

                          Now here i am admin and my friend is like guest account.
                          He there is no violation i am doing as of now

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @Lakshmana
                            last edited by

                            @lakshmana said in Bat file Protection:

                            @scottalanmiller said in Bat file Protection:

                            @donaldlandru said in Bat file Protection:

                            @lakshmana said in Bat file Protection:

                            Having 15 Softwares like Adobe,Microsoft Office Package,Antivirus are packaged as .exe.
                            Where having 7 zip the friend able to see the files inside that .exe file
                            Inside the exe file the bat file is there for automation of the installation but the friend able to read that initialization of the commands for security reasons he should not see that file.This is the full story

                            I still don't understand what security risk there is your friend seeing silent install commands. Unless are you providing passwords to elevate the context the script runs in?

                            Basically he's got a friend acting as the administrator and he's trying to violate an immutable law of security - you always have to trust your administrators.

                            Now here i am admin and my friend is like guest account.
                            He there is no violation i am doing as of now

                            No, if he's the one running the BAT file, he's the admin. This entire problem only exists if he is the admin. If you were the admin, he'd have no way to even know that a BAT file existed.

                            1 Reply Last reply Reply Quote 1
                            • donaldlandruD
                              donaldlandru @scottalanmiller
                              last edited by

                              @scottalanmiller said in Bat file Protection:

                              @donaldlandru said in Bat file Protection:

                              @lakshmana said in Bat file Protection:

                              Having 15 Softwares like Adobe,Microsoft Office Package,Antivirus are packaged as .exe.
                              Where having 7 zip the friend able to see the files inside that .exe file
                              Inside the exe file the bat file is there for automation of the installation but the friend able to read that initialization of the commands for security reasons he should not see that file.This is the full story

                              I still don't understand what security risk there is your friend seeing silent install commands. Unless are you providing passwords to elevate the context the script runs in?

                              Basically he's got a friend acting as the administrator and he's trying to violate an immutable law of security - you always have to trust your administrators.

                              0_1501892058674_200_s.gif

                              1 Reply Last reply Reply Quote 0
                              • LakshmanaL
                                Lakshmana
                                last edited by

                                yes you comes to the point now.I am admin with .exe file where the .bat file is there inside .exe.The friend opened the .exe with the help of .zip or 7 zip.He should not do that and should not read the .bat file too

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @Lakshmana
                                  last edited by

                                  @lakshmana said in Bat file Protection:

                                  yes you comes to the point now.I am admin with .exe file where the .bat file is there inside .exe.The friend opened the .exe with the help of .zip or 7 zip.He should not do that and should not read the .bat file too

                                  Why does your friend see the BAT file at all? If you are the admin, there is no need for him to have access to the BAT.

                                  donaldlandruD 1 Reply Last reply Reply Quote 2
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    And around and around we go.

                                    travisdh1T 1 Reply Last reply Reply Quote 2
                                    • travisdh1T
                                      travisdh1 @scottalanmiller
                                      last edited by

                                      @scottalanmiller said in Bat file Protection:

                                      And around and around we go.

                                      popcorn.jpg

                                      1 Reply Last reply Reply Quote 1
                                      • donaldlandruD
                                        donaldlandru
                                        last edited by

                                        Ok maybe I am slow but I am piecing this together.

                                        The .exe is probably a self extracting zip file. Inside is a bunch of installers and a batch file to run them.

                                        Just stop doing this now. Grab PDQ Deploy or ninite or any other number of tools. Use sodium for the inventory portion.

                                        scottalanmillerS 1 Reply Last reply Reply Quote 2
                                        • scottalanmillerS
                                          scottalanmiller
                                          last edited by

                                          Problems:

                                          1. There is no reason to have a BAT file at all.
                                          2. As the admin, there is no reason for anyone but you to see your files.
                                          3. As a general script, there is no reason for you to care if anyone sees the file.

                                          None of this makes sense. Fix ANY of these major three problems and everything is solved.

                                          So we are lost because...

                                          • Why is there a BAT file at all (answer: no good reason)
                                          • Why is your friend getting access to the file in any form if he's not the admin (answer: he's the actual admin)
                                          • Why do you care? (answer: no reason)
                                          1 Reply Last reply Reply Quote 2
                                          • scottalanmillerS
                                            scottalanmiller @donaldlandru
                                            last edited by

                                            @donaldlandru said in Bat file Protection:

                                            The .exe is probably a self extracting zip file. Inside is a bunch of installers and a batch file to run them.

                                            There is no exe, he's stuck on things that he thinks are encryption. And he's confused and thinks that encrypted files can't be read by the admin.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • First post
                                              Last post