![]() |
|
#51
|
||||
|
||||
|
My mother asked me to help setup an XP machine for the daughter of a neighbour of her, the machine was not very powerfull. Just 2 GB RAM and a harddisk with hardly 50 MB/sec read throughput.
This is what I did Deny execute on user space a) Installed XP FSE (http://www.fajo.de/main/) This gets the security tab on XP Home. Created a data partition, moved the My Documents and added a deny execute to the data partition for every one (take away the travese folder and execute right). Added a deny execute to Chrome's download directory for everyone also. b) Installed your PGS Put all internet facing aps and open office aps (both paths and and execute name also just to be sure) running as basic user. Also put the rest of the User Space running as basic user, except temp and a special installation directory. Also added USB drives as basic user. c) Installed Chrome Added McFee site advisor and set the wireles client to use Clearcloud DNS (they have a server in Amsterdam also, so pretty fast in NL too) d) Installed the PrevX Safe On-linefacebook freebie This protects them doing on-line shopping and banking activities, set heuristics to high after age/popularity (so it only checks the latest entries and does not consume a lot of CPU) e) Installed Avast free Only install the File Shield, Behavioral and Script shield, enable sandbox (on auto). The sandbox analysis the executable's profile (unsigned and unknown publishers are sandboxed). When you track CPU sage and disk access, the fileshield gives the lowest amount of overhead of all free av's to my knowledge. The script shield filters out coding techniques to obscufate intrusions. You can add the nice Avast feature to send you an e-mail when it detects something (in their case the mother of the girl). Protected Avast with password. f) Added the 1806 trick Showed them how to unblock and did not offer the switch back g) Added NoAutorun to complete protection for USB infections http://sourceforge.net/projects/noautorun/ Bottem line. User is still in full control of their system. Can install everything when they unblock the executables downloaded from internet (in zipped files windows does not extract executables which are marked as originating from the internet when 1806 is set to block). They are still master of their PC, Avast blocks out 98%, PrevX ensures safe internet transaction, drive by's are nearly impossible, only weak spot is user stupidity. Regards Kees Last edited by Kees1958 : April 23rd, 2011 at 04:36 PM. |
|
#52
|
||||
|
||||
|
@ Kees1958
Was this a fresh format/install or did you clean it out etc first ? Be interesting to see, how she likes it & if she gets any infections etc via the "weak spot" ![]()
__________________
. Malware = You don't scare me A different perspective https://rt.com - https://rt.com/on-air |
|
#53
|
||||
|
||||
|
I have always very similar setup to Kees1958 (I'm very inspired with his approach
)I just needed Returnil to make my system as static as possible. Windows 7 Professional 32-bit separate partitions for:
Setup:
Google Chrome --safe-plugins -incognito (XSS auditor,Click to Play,Block 3rd Party Cookies from being set and read and ignore exceptions)
__________________
Win7PRO64bit | SUA | SRP | UAC | EMET | SpywareBlaster | MVPSHOST | OpenDNS | SandboxIE | Privoxy | Windows Image Backup . built-in security + sandboxing fag. Last edited by Konata Izumi : April 23rd, 2011 at 06:30 PM. |
|
#54
|
||||
|
||||
|
Quote:
The machine was terribly infected. The family is really traditional regarding IT. So there were no family pictures on, only teen age girls stuff. I asked her (the girl) when there is data out there you want to get back, I will have to go looking for it. That means I read and see things of you, so do you want that or shall I just re-format the harddisk. She said: reformat please ![]() |
|
#55
|
||||
|
||||
|
Quote:
Konata, What sites are you visiting that you need three levels of containment (safe-admin, returnil and GeSWall) ![]() |
|
#56
|
||||
|
||||
|
Quote:
I got curious Quote:
shady sites, very,very shady ![]()
__________________
Win7PRO64bit | SUA | SRP | UAC | EMET | SpywareBlaster | MVPSHOST | OpenDNS | SandboxIE | Privoxy | Windows Image Backup . built-in security + sandboxing fag. |
|
#57
|
||||
|
||||
|
i am the only one using this machine so i have a little more latitude when it comes to security.
my first priority has always been to be able to either reformat/re-install or restore a clean image. i knew nothing about imaging until a couple years ago. before that, i was the King of Reformat. i knew my 25 digits Windows serial number by heart. since over 2 years ago i have tried many different types of security "solutions". i am now a big fan of using what is already there in the OS. no conflict, no BSOD, and a fast system. what's in my signature is what i'm using. i don't see that changing for a long time, now that my quest is over. ![]() i have to thank the good folks here @ Wilders for helping out.
__________________
| NoScript || Image for Linux + BootIt Bare Metal | |
|
#58
|
|||
|
|||
|
Quote:
Sul.
__________________
I do things TO my computer, not WITH my computer.. I am a nerd. |
|
#59
|
|||
|
|||
|
Over last Christmas and New Year I started a project on hardening Windows XP Home edition and documented it in a blog. I favored using features of the OS like ACLs and free tools.
I focused mainly on the concept of least privilege. And the target audience only uses the machine to surf, do MS Office things, and play games ( since I'm dealing with XP Home ). http://xpsecurity.wordpress.com All comments are welcome. Last edited by lunarlander : April 30th, 2011 at 10:53 PM. |
|
#60
|
||||
|
||||
|
Isn't it quite late for that? XP will be practically obsolete in 2 years. I would be focusing on Windows 7.
__________________
|
|
#61
|
|||
|
|||
|
Yes, I know XP is going to be unsupported soon. But it has the weakest security out of the box, so I addressed that first.
|
|
#62
|
|||
|
|||
|
Windows 7 is bloatware but as far as that goes
so is XP, I thought many times of going back to 2000 Pro It is not as pretty but it is far less bloat so far I have just ripped a lot of CRAP out of XP and it seems to be doing a fair job I may just have to learn another system and get away from Windows altogether Maybe I need to get my scalpel out and start on Windows 7 ugh, what a task ![]() |
|
#63
|
|||
|
|||
|
Hi,
Quote:
@Sully How do number 3, sir? Presume there is a global setting to replace Creator Owner on all new objects rather than change exising ones? Also, the reg keys to change on Win7 system, is there a link to a list? I remain paranoid ... don't believe any security setup on a home pc is gonna protect user if bad guys can crack government spooks' networks. My 'umble Win 7 Home Premium doesn't give me SRP, so I use Parental Controls per Wilders with Comodo's HIPs and pretty exhaustive list of global rules in their firewall. I use Avast AV with MBAM and SuperAntiSpyware on demand. Leave Windows Defender on as well! EMET is set to stop all it can and I've trawled through file and registry permissions as well as all the SDDL strings for services DACLs. Can't understand why Aunthenticated Users get Modify by default while Builtin\Users get the safer, lower rights. Too scared to reduce AU rights! I only use LUA account specially online and keep financial folders limited to Admin. Would never use credit cards online either! My non-geek brain swims with jargon but I don't feel any more secure. I used to trawl thru ethereal (now whiteshark?) logs but life is too short. ![]() |
|
#64
|
|||
|
|||
|
Quote:
All of those values can also be triggered in the registry as well (and there are other ways ). I have not explored them yet.If you can work with SACL/DACL stuff, you should be able to make yourself as secure as anyone. That is the really geeky stuff, and if you can wrap yourself around it, you can devise your own security that is going to be pretty hard to break, IMHO. Sul.
__________________
I do things TO my computer, not WITH my computer.. I am a nerd. |
|
#65
|
|||
|
|||
|
@ Sully. Thanks for quick response.
Read somewhere that 70% of Microsoft's profit comes from home users not using Pro or Ultimate versions. Shame they don't see us worthy of secpol.msc. But that i guess is not for this thread... ![]() |
|
#66
|
|||
|
|||
|
I have been using LUA+SRP default deny for a bit now. I like some aspects of this approach, but I am (as always) finding there are drawbacks when the system is apt to change frequently. In this case I am creating custom tools for users of one form or another, for various reasons. I have been finding myself at the computers quite often figuring out why something is not working and creating exclusions. This is not such a big deal, except I have many other things to be doing. It allows me and my helper to be in full control over everything that happens, but is seemingly too much control
![]() Here are some thoughts I have been contemplating. I don't know if I will change from the LUA/SRP or not. If most of the "pains" have been found, it offers really good protection from many angles, but there are always more than one way... Quote:
Sul.
__________________
I do things TO my computer, not WITH my computer.. I am a nerd. |
|
#67
|
||||
|
||||
|
Quote:
Re-imaging is the best... In 7,5 min/8 min Keriver completely restore my system partition!
__________________
Linux Mint 13 MATE x64 |
|
#68
|
||||
|
||||
|
My security approach (Thanks to people in these forums
) is DENY DENY DENY! I treat EVERYTHING from software on my PC's, apps on my phone to computers on my network as a threat until proven otherwise! My entire setup is in the other thread but the basics of it is:1) Deny execution 2) Sandbox 3) LAU/UAC 4) FW - MAX 5) DEP/ASLR etc. and before anything is ran or connects to my WiFi: 1) Scan with sophos AV (or Avast!) 2) hitman pro scan 3) PrevX 4) run in Vbox 5) run sandboxed for 24 hours 6) Keep or delete For devices I just issue a full scan and have Isolated devices enabled on my network so nothing can see or connect to anything else (This really annoys my friends when I make them scan before connecting :p ) |
|
#69
|
||||
|
||||
|
I´ve read several times something like: "if it cannot execute, it cannot infect".
So wouldn´t be the case of the implemantation of "UAC @ max + SUA + SRP (via Parental Controls)" - whitelisting - (moontan´s setup) be almost "bulletproof"? What are the remaining attack vectors, if any? Thanks!
__________________
Linux Mint 13 MATE x64 |
|
#70
|
|||
|
|||
|
Quote:
There are holes in AppLocker and SRP. http://www.wilderssecurity.com/showthread.php?t=291593 http://www.wilderssecurity.com/showthread.php?t=291467 But, these would be targeted attacks, considering SRP and AppLocker are not used by the majority of Windows users. |
|
#71
|
||||
|
||||
|
tnx moonblood.
i'm gonna try learning the icalcs stuff so i can run Firefox in Low Integrity level. that should help a little more.
__________________
| NoScript || Image for Linux + BootIt Bare Metal | |
|
#72
|
|||
|
|||
|
icacls can do a lot, but with integrity it is pretty basic
you start with a command to a file or folder icacls.exe "c:\program files\myApp" icacls.exe "c:\users\sul\myFolder\some_file.exe" You need to make sure to enclose the path in double quotes if there are any spaces. It is a good idea to get used to using quotes even without spaces, but it is a preference thing. After you know the object you want to do something to, you need to pass the command parameter to icacls that tells it you want to work with IntegreityLevels, like this icacls.exe "c:\program files\myApp" /SetIntegrityLevel After that parameter, you then need to tell icacls what IL you want to apply, like this icacls.exe "c:\program files\myApp" /SetIntegrityLevel L You can use the first letter (L,M,H) if you like rather than the whole word ![]() Now, here is what you must understand. By default, only a few files/folders will have an Integrity Level applied to them. When an IL is put on an item by you or the system, it is called an EXPLICIT IL. It has been explicitly set. Most all objects do NOT have an IL applied to them. What happens that is that when you start a process, and no IL is applied to it, it gets by default a MEDIUM IL. If you run as Admin, then that gets raised to HIGH IL. But, if you use icacls to apply an IL (low, med or high), that process will now start at that IL level. So, suppose you used icacls to give that folder called myApp a Low IL, it now has an EXPLICIT IL. To remove that IL, using icacls, you have to set it to Medium. icacls does not simply "remove" an IL, it cannot do that. You can use the tool chml instead to apply the IL and remove the IL, or you can copy the file/folder, and the copy will have no IL, but icacls can only set it, not remove it. Usually this is no problem, as the system will give everything medium IL anyway, so just set it to medium. OK, also realize that when you apply an Low IL with my example above, you are applying it ONLY to the object you used in the command. If you applied it to a directory, that directory itself would have a Low IL, but NOTHING inside it would, because you did not tell it to. It does not matter when you apply it to a file, as files don't have anything that lives within them that need to inherit anything, they are stand alone objects. If you wanted to apply a Low IL to a directory, and you wanted all FILES within that directory to inherit that Low IL, you would use the Object Inherit option. It is expressed as (OI) and the command would look like this icacls.exe "c:\program files\myApp" /SetIntegrityLevel (OI)L Using that will cause all files within that myApp folder to get the Low IL through inheritance. If you had a subfolder which had files, and you wanted all subfolders/files to also inherit the Low IL of the myApp folder, you would include the Container Inherit option as well, like this icacls.exe "c:\program files\myApp" /SetIntegrityLevel (OI)(CI)L Understanding inheritance is important because if you use a Low IL for something like a downloads directory, you obviously want everything you download into that directory to have a Low IL, so you must make sure the directory passes the Low IL onto everything that lives inside of it. HTH. Sul.
__________________
I do things TO my computer, not WITH my computer.. I am a nerd. |
|
#73
|
||||
|
||||
|
Quote:
tnx for the tutorial Sully. it's much appreciated! i'm going to give it another try this afternoon.
__________________
| NoScript || Image for Linux + BootIt Bare Metal | |
|
#74
|
||||
|
||||
|
Quote:
Thanks for the reading m00nbl00d. So, SRP and AppLocker have intentional design flaws (what for, by the way? ) but those shouldn´t be a problem to the regular home user, since most real world malware haven´t be designed to abuse them (very few people use SRP and AppLocker). However, those flaws can be easily explored in a targeted attack taken care by a skilled hacker. Seems that SUA+SRP (or a commercial Anti-Executable) is a excelent defensive layer in any setup, especially if used together with a light virtualization program.@moontan, or anyone else, did you had the opportunity to test SUA+SRP (via parental control) against the execution of some malware? Do you know any Anti-executable outhere, Windows 7 compatible, that (maybe) would be more effective than SRP and Applocker? Thanks!
__________________
Linux Mint 13 MATE x64 |
|
#75
|
||||
|
||||
|
Quote:
hi alex, no i have not tested SRP vs malwares. i think the best way to find out would be to find a site that has drive-by attacks. there does not seem to be that many alternatives to SRP. the only ones i have heard of is Faronics Anti-Executable and Horizon Datasys Executable Lockdown. i have not tested them as i am not keen of paying for things that are free and included in Windows.
__________________
| NoScript || Image for Linux + BootIt Bare Metal | |
| « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|
|