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
-
@lakshmana said in Bat file Protection:
Could you please explain me about the compiler?
Yes, but let's save that for a different thread. None of this will help you here. It is distracting you from discussing your problem which you've thus far completely avoided mentioning. Just make a new thread to ask how compilers work.
-
-
@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!
-
@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?
-
So let's just be honest here. You're trying to create a payload to send to someone's system to get information
-
@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.
-
@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.
-
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 -
@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 storyI 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?
-
@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 storyBut 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.
-
@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 storyI 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.
-
@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 storyI 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 -
@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 storyI 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 nowNo, 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.
-
@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 storyI 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.
-
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
-
@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.
-
And around and around we go.
-
@scottalanmiller said in Bat file Protection:
And around and around we go.
-
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.