Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.computer > #10434
| From | VanguardLH <V@nguard.LH> |
|---|---|
| Newsgroups | alt.computer |
| Subject | Re: "hit list" |
| Date | 2017-07-04 23:18 -0500 |
| Organization | Usenet Elder |
| Message-ID | <fmce707d2bax.dlg@v.nguard.lh> (permalink) |
| References | <ZQA6B.51441$on3.6068@fx26.iad> <ojemd4$fi4$1@dont-email.me> <ty7a10vov651.12u6owv5guxld.dlg@40tude.net> <1qipgpqa44bvn.dlg@v.nguard.lh> <kJU6B.148461$lx.105618@fx43.iad> |
Robert Baer wrote: > I happen to have the Professional edition of each or my Win OSes. > Maybe _you_ can define SRPs etc but i have no clue whatsoever as > where or how this is done. Remember, i do not run any version of > WinServer,Visa,Win8,,10,11... One (if you can count that high) of the > many references happens to mention XP. Which might be useful. Next > time i am running XP,i will see how much M$ fantasy this is. NO > confidence in M$; however since you mentioned it, i may be able to > find and use it. SRPs are part of policies. All policies are registry entries. Load the policy editor (gpedit.msc). I don't have Pro at home so I cannot walk you through the tree list to get to SRPs. Home editions don't have the policy editors (gpedit.msc for group policy editor and, I think, secpol.msc for the local policy editor). Since SRPs are local policies, doesn't matter which editor you use. I suppose SRPs are also available on server editions of Windows but I never used any of those. Mine were always workstation editions (Home or Pro). For the following reason, I only used SRPs on the Pro edition of XP. I tried to use regedit but ran into Windows' security on SRPs. Although all policies are registry entries, Windows will create a unique hash on each SRP rule. You cannot just make one up yourself. When you look in the registry, the SRPs are listed by their hash value (and, as I recall, the settings are hashed, too). The idea is that no one else nor malware can touch these registry entries without corrupting the hash. https://4sysops.com/archives/hardening-windows-xp-with-software-restriction-policies/ (watch out for the embedded ads in that articles) It has been way too long (and was too short for use) since I last used Windows 2000. I don't remember if SRPs were available in Windows 2000. They were definitely available in Windows XP because that's when I first learned about them to block some programs from loading. Didn't matter if they were loaded as a startup program, by Task Scheduler, in the Start menu, or called by another [parent] program. No matter how they got called, the SRP would block them. https://technet.microsoft.com/en-us/library/bb457006.aspx From that article, looks like Windows 2000 didn't yet have SRPs. To do the same, you had to use psexec, dropmyrights, or a HIPS (host intrusion protection system) security program (often including with 3rd party firewalls) to force a process to run under a LUA (limited user access) token. There were a lot of security features that were not available in Windows NT3, NT4, or 2000 and showed up starting with Windows XP. https://www.google.com/search?q=windows%20xp%20software%20restriction%20policies That finds lots of articles on how to use SRPs in Windows XP. That's how I learned how to use SRPs: someone online told me the procedures. Often they might use a hash rule so it did not matter what was the filename for the program. For example, someone might rename malware.exe to goodware.exe but the hash would not change so that process regardless of its name would get forced to the configured priv mode in the SRP rule. I never bothered trying to use SRPs to eliminate malware from usurping system or goodware filenames. That's what my anti-virus is supposed to take care of. I just used SRPs to rein in the rude programs and those don't change their filenames (but might have a version number in them that changes in an upgrade). Since I used SRP Path rules, I could actually copy the executable file to somewhere else so the default one would not run but I could still run the program from the alternate path. This is how I got around MagicJack's automatic updates that would replace their updater in the standard path but I blocked it using a SRP rule. When I wanted to run a manual update, I had the updater's .exe in another path and used that one. In fact, back in Windows XP, only the Allow and Block privilege levels were available for a SRP path rule. I wanted to run some web-centric programs under the Basic user privs (Restricted User) so I could still logon under an admin-level account but the web browser, e-mail client, and other web-centric apps would run under the privs token of a basic account. However, XP did not include the Basic mode, just Allow or Block. There was a registry hack to add Basic mode to SRPs. To add Basic to the list of priv modes of a SRP rule, you ran: reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers" /v "Levels" /t REG_DWORD /d 0x20000 (all one line so be careful of wordwrap in your client) Then Allow and Block priv modes list of a SRP gets updated to let you select Allow, Block, or Basic. There are many similar tools that try to limit the priv token of a process to effectively run it under a basic account. Sysinternals has its psexec (the -l argument for limited account). DropMyRights was also popular. The problem with those is that the program had to be listed as an argument. That is, the program ran under a basic account ONLY if you used the shortcut to run psexec -l or dropmyrights with the program as an argument. That would not force the process to run under a limited user access (LUA) token for a basic account when that program was called by another [parent] program. Clicking on a hyperlink in an e-mail would load the web browser with the same privs as the account under which you logged into Windows, not necessary under a LUA token. SRPs would force the Allow, Block, or Basic priv mode no matter how the process got loaded.
Back to alt.computer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
"hit list" Robert Baer <robertbaer@localnet.com> - 2017-07-03 16:56 -0800
Re: "hit list" Paul <nospam@needed.invalid> - 2017-07-03 20:14 -0400
Re: "hit list" JJ <jj4public@vfemail.net> - 2017-07-04 10:11 +0700
Re: "hit list" VanguardLH <V@nguard.LH> - 2017-07-04 00:02 -0500
Re: "hit list" Robert Baer <robertbaer@localnet.com> - 2017-07-04 15:33 -0800
Re: "hit list" VanguardLH <V@nguard.LH> - 2017-07-04 23:18 -0500
Re: "hit list" Robert Baer <robertbaer@localnet.com> - 2017-07-06 23:58 -0800
Re: "hit list" VanguardLH <V@nguard.LH> - 2017-07-07 08:25 -0500
Re: "hit list" Robert Baer <robertbaer@localnet.com> - 2017-07-07 22:52 -0800
Re: "hit list" Robert Baer <robertbaer@localnet.com> - 2017-07-04 15:13 -0800
Re: "hit list" VanguardLH <V@nguard.LH> - 2017-07-04 23:29 -0500
Re: "hit list" Robert Baer <robertbaer@localnet.com> - 2017-07-06 23:56 -0800
Re: "hit list" VanguardLH <V@nguard.LH> - 2017-07-07 08:44 -0500
Re: "hit list" VanguardLH <V@nguard.LH> - 2017-07-03 21:16 -0500
Re: "hit list" Robert Baer <robertbaer@localnet.com> - 2017-07-04 15:53 -0800
Re: "hit list" VanguardLH <V@nguard.LH> - 2017-07-04 23:26 -0500
csiph-web