Re: RE: Changing local admin PW using vb logon script - can it beencrypted?



Hi everyone,


As Thor noticed, script placed on sysvol share can be read by anyone. I've
had the same problem once. Script can be readable by users, but password
has to be secured. I placed password in a separate file, put it on a share
and set share permissions that only computer accounts had read permissions
(it was startup script). Location of password file was hard-coded into
script. Users were not able to open it. Of course, during network
trasmission it would be sent in clear text, so IPSec would be great
solution for securing comm channel.


Best regards,

Vedran Matica


> Hi Jason,
> That does help, thank you and thanks to everyone for the help and
> bountiful responses.
>
> We are really most concerned with casual viewing of the script though by
> users,etc. With that in mind, I think I've settled on using the Windows
> Script Encoder. This will encode the vbscript to the point of
> unreadability, again, only from the casual standpoint. We're not
> ultimately concerned about packet sniffers so IPSEC would be overkill.
>
> On the note of using Windows Script Encoder (and this is probably the
> wrong place to ask); has anyone successfully used this to encode a working
> script? I got the script (VB) running on my computer. I run the encoder
> and it seems to succesfully encode the script. I attempt to run it and it
> doesn't seem successful. It won't debug itself either so I'm having a
> hard time figuring out what is happening between the encode and the run
> that is breaking it.
>
> I apologize if this has moved off topic and thank everyone again for your
> help and suggestions.
>
> best,
> ...tom
>
> ---------------------------------------------------------------------------
> ---------------------------------------------------------------------------
>


---------------------------------------------------------------------------
---------------------------------------------------------------------------



Relevant Pages

  • minidom xml & non ascii / unicode & files
    ... at first i had no problem using python minidom and everything concerning my regex/xml processing works fine, until i tested my tool on some french page with "non ascii" chars and my script started to throw errors all over the place.. ... I've looked into the matter and discovered the unicode / string encoding processes implied when dealing with non ascii texts and i must say i almost lost my mind.. ... And can i decode it to unicode and encode it back to a byte string so i can use it in my code, with the charsets i want, like ... in the same idea could anyone try to post the few lines that would actually parse an xml file, with non ascii chars, with minidom. ...
    (comp.lang.python)
  • Re: Script Encoder
    ... but apparently it doesn't recognize the scrambled file as an encoded ... Microsoft VBScript compilation error '800a0400' ... I must mention that I INCLUDEd the encoded file within a non-encoded script ... included file contents to the main page and encode it then it works fine. ...
    (microsoft.public.windows.server.scripting)
  • Re: Encrypt Statrup Script Password Using Group Policy
    ... I have managed to find PrimalScript 2007 Enterprise which seems to be secure so far, you can create your VBS, encode to VBE and then compile this to an exe, the old version 4.1, created the .exe but when invoked, created a random .vbs/.vbe in temp, which you could easily read using the below decode script, I believe the .exe also works via gpo for startup scripts, from discussions with other IT professionals. ... If the script is .vbe they can run it as if they copied it locally and it ...
    (microsoft.public.windows.group_policy)
  • RE: Changing local admin PW using vb logon script - can it be encrypted?
    ... When you encode a vbscript, make sure the output file is given a .vbe ... Subject: RE: Changing local admin PW using vb logon script - can it be ... but isn't very strong encryption. ... security risks of having 1 password on all of our computers and are ...
    (Focus-Microsoft)
  • Re: Hiding the source code
    ... The Script Encoder is not meant to ... be a bulletproof encryption product - it's good for deterring casual users ... >> How do i hide the source code of my page such that it can't be viewed on ... > Do a google on VBScript +Encode. ...
    (microsoft.public.scripting.vbscript)