Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds Register FAQ Members Social Groups User Map Calendar Search Today's Posts Mark Forums Read

Group Project A place to discuss the group projects.

Go Back   EduGeek.net Forums > Coding and Web Development > Group Project
Reply
 
LinkBack Thread Tools Search Thread Language
Sponsored Links
Old 12-09-2005, 01:52 PM   #1
 
RobC's Avatar
 
Join Date: Jun 2005
Location: Elgin, Scotland
Posts: 365
uk scotland
Thanks: 1
Thanked 3 Times in 3 Posts
Rep Power: 8 RobC is on a distinguished road
Send a message via MSN to RobC
Default Security Based Project Idea

Ok. I finally have a worthwhile idea to pitch for the project. This one is security based and spurred on by the security article here, and in particular, this quote:

Quote:
One clear symptom that you have a case of "Enumerating Badness" is that you've got a system or software that needs signature updates on a regular basis, or a system that lets past a new worm that it hasn't seen before. The cure for "Enumerating Badness" is, of course, "Enumerating Goodness." Amazingly, there is virtually no support in operating systems for such software-level controls. I've tried using Windows XP Pro's Program Execution Control but it's oriented toward "Enumerating Badness" and is, itself a dumb implementation of a dumb idea.
How difficult would it be to write a program that monitors all code executed by the system? This would look at programs that run, etc and decide, based on a list of rules, what is allowed to run. Anything else would be prevented and logged with the ability to allow it if it is a legitimate application.

Not being a programmer, I don't quite know the implications of this task such as processor time, memory usage, etc. but I think this would be a very useful feature for schools. Certainly it would stand as a big barrier to spyware, malware, adware, etc, as well as stopping staff & pupils trying to install unauthorised applications.

Can someone tell me if this is possible, and whether it can be added to the (potential) features list for the Edugeek Project?

Cheers,

Rob.
  Reply With Quote
Old 12-09-2005, 01:57 PM   #2
 
russdev's Avatar
 
Join Date: Jun 2005
Location: Leicestershire
Posts: 5,225
uk
Thanks: 34
Thanked 85 Times in 60 Posts
Blog Entries: 1
Rep Power: 33 russdev is a glorious beacon of lightrussdev is a glorious beacon of lightrussdev is a glorious beacon of lightrussdev is a glorious beacon of lightrussdev is a glorious beacon of light
Send a message via ICQ to russdev Send a message via AIM to russdev Send a message via MSN to russdev Send a message via Yahoo to russdev Send a message via Skype™ to russdev
Default Re: Security Based Project Idea

well project (once i get my net connection sroted) is an admins tool kit in not so many words and adding it as part of project not an issue..

As for program side not sure problem is have to make sure that it very small as it need to run a lot if think of amount of work doing for example just do task list to see amount it would have to check before you start doing anything.

but could be possable...

what do others think?

russ
  Reply With Quote
Old 12-09-2005, 02:02 PM   #3
 
Geoff's Avatar
 
Join Date: Jun 2005
Location: Fylde, Lancs, UK.
Posts: 9,934
uk uk lancashire
Thanks: 42
Thanked 230 Times in 209 Posts
Blog Entries: 1
Rep Power: 67 Geoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud of
Send a message via ICQ to Geoff Send a message via AIM to Geoff Send a message via MSN to Geoff Send a message via Yahoo to Geoff Send a message via Skype™ to Geoff
Default Re: Security Based Project Idea

Quote:
How difficult would it be to write a program that monitors all code executed by the system? This would look at programs that run, etc and decide, based on a list of rules, what is allowed to run.
Certainly on Linux systems, this is possible today. Playing with mount options is an obvious starting point. Then you can move on to more complex measures like Systrace, Tripwire and SELinux or GRSecurity.

Disclaimer: Here be dragons.

I don't believe this is possible on Windows at the moment. You need intimate support from the OS internals to do this kind of thing and it just doesn't exist.
  Reply With Quote
Old 13-09-2005, 07:13 AM   #4
 
russdev's Avatar
 
Join Date: Jun 2005
Location: Leicestershire
Posts: 5,225
uk
Thanks: 34
Thanked 85 Times in 60 Posts
Blog Entries: 1
Rep Power: 33 russdev is a glorious beacon of lightrussdev is a glorious beacon of lightrussdev is a glorious beacon of lightrussdev is a glorious beacon of lightrussdev is a glorious beacon of light
Send a message via ICQ to russdev Send a message via AIM to russdev Send a message via MSN to russdev Send a message via Yahoo to russdev Send a message via Skype™ to russdev
Default Re: Security Based Project Idea

was thinking about this problem being is that got antivirus software that intercepts programs and then this could slow system right down...

russ
  Reply With Quote
Old 10-01-2006, 09:43 PM   #5
 
uk101man's Avatar
 
Join Date: Jan 2006
Location: Hertfordshire
Posts: 87
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0 uk101man is an unknown quantity at this point
Send a message via MSN to uk101man
Default Re: Security Based Project Idea

It is possible in vb to list all running application and with that information could compare every title against a safe list and the close the program that is not on the list

Tom
  Reply With Quote
Old 10-01-2006, 09:51 PM   #6
 
webman's Avatar
 
Join Date: Nov 2005
Location: County Durham
Posts: 5,687
uk uk durham city
Thanks: 106
Thanked 90 Times in 73 Posts
Blog Entries: 1
Rep Power: 38 webman is a name known to allwebman is a name known to allwebman is a name known to allwebman is a name known to allwebman is a name known to allwebman is a name known to all
Default Re: Security Based Project Idea

Quote:
Originally Posted by uk101man
It is possible in vb to list all running application and with that information could compare every title against a safe list and the close the program that is not on the list

Tom
Comparing by window title can sometimes be unreliable as there are no strict rules applications adhere to and can change regularly, but it is certainly possible and a lot easier on resources. AFAIK, this is how Ranger does it.
  Reply With Quote
Old 10-01-2006, 10:00 PM   #7
 
uk101man's Avatar
 
Join Date: Jan 2006
Location: Hertfordshire
Posts: 87
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0 uk101man is an unknown quantity at this point
Send a message via MSN to uk101man
Default Re: Security Based Project Idea

i would have to check my coding but i think it possible to pull the programs path and name, which i'm guessing you could use to check against a safe list
  Reply With Quote
Old 10-01-2006, 10:52 PM   #8
 
E1uSiV3's Avatar
 
Join Date: Aug 2005
Location: Birmingham, UK
Posts: 495
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 E1uSiV3 is an unknown quantity at this point
Default Re: Security Based Project Idea

using names as a basis for comparison is a bad idea, for instance, i could just rename a malicious piece of code to a process name that has been declared safe to run and voila, md5sums of the exes would be more useful, but would need to be updated when the program version changes

On a side note, doesnt windows group policies have a similar sort of system for safe program execution (which uses the path system and invariably can be bypassed with the method above)
  Reply With Quote
Old 10-01-2006, 11:05 PM   #9
 
webman's Avatar
 
Join Date: Nov 2005
Location: County Durham
Posts: 5,687
uk uk durham city
Thanks: 106
Thanked 90 Times in 73 Posts
Blog Entries: 1
Rep Power: 38 webman is a name known to allwebman is a name known to allwebman is a name known to allwebman is a name known to allwebman is a name known to allwebman is a name known to all
Default Re: Security Based Project Idea

@E1uSiV3: Yes, I know the exact GPO you are thinking of and it goes back to Win9x days, "Only allow the following programs to be executed" or similar wording. In Win9x it was possible to rename an EXE to something that was allowed, but as far as I know, the newer Win2K+ version of this GPO actually makes a hash of the file, which means that users can't rename EXEs they want to run - but secondly, when applications change, you must remember to re-do the hash of the EXE otherwise it might not run at all
  Reply With Quote
Old 11-01-2006, 02:36 PM   #10
 
pete's Avatar
 
Join Date: Dec 2005
Location: In the server room, with the lead pipe.
Posts: 1,044
Thanks: 26
Thanked 36 Times in 25 Posts
Rep Power: 15 pete has a spectacular aura aboutpete has a spectacular aura aboutpete has a spectacular aura about
Default Re: Security Based Project Idea

I have a nasty feeling that hashes + automatic patching = bad things.

You'd have to be able to easily check which system file hashes have changed, whether the change is legit (or not) and be able to push out the new hashes as part of the patching process.

Is anyone here using this function with success / beyond testing?
  Reply With Quote
Old 11-01-2006, 03:13 PM   #11
 
wesleyw's Avatar
 
Join Date: Dec 2005
Location: Walsall
Posts: 1,253
Thanks: 27
Thanked 6 Times in 5 Posts
Rep Power: 10 wesleyw is on a distinguished road
Default Re: Security Based Project Idea

I would have thought that the hashing for Windows System patches and the like would be fine just the application software would be the issue? I suppose it depends on how much software you run and how frequently it needs patching. As long as you run the update then make the changes I can't see a problem with that solution?

Wes
  Reply With Quote
Old 17-01-2006, 10:06 PM   #12
 
mac_shinobi's Avatar
 
Join Date: Aug 2005
Posts: 1,694
Thanks: 11
Thanked 31 Times in 30 Posts
Rep Power: 15 mac_shinobi has a spectacular aura aboutmac_shinobi has a spectacular aura about
Default Re: Security Based Project Idea

Dont exe's or any other file types that are able to run have digital signatures or something to that effect or possibly something else that allow you to determine if it is malware or not ?
  Reply With Quote
Old 18-01-2006, 12:48 PM   #13
 
E1uSiV3's Avatar
 
Join Date: Aug 2005
Location: Birmingham, UK
Posts: 495
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 E1uSiV3 is an unknown quantity at this point
Default Re: Security Based Project Idea

Quote:
Originally Posted by gecko
Dont exe's or any other file types that are able to run have digital signatures or something to that effect or possibly something else that allow you to determine if it is malware or not ?
In theory, yes, but its voluntary and no bugger uses is apart from microsoft and a few other people.

The whole windows patching issue can be avoided by adding a rule for the whole windows directory as it should be read only anyway for joe public
  Reply With Quote
Old 18-01-2006, 12:55 PM   #14
 
_Bob_'s Avatar
 
Join Date: Jun 2005
Posts: 197
Thanks: 0
Thanked 3 Times in 3 Posts
Rep Power: 9 _Bob_ is on a distinguished road
Default Re: Security Based Project Idea

Indeed. The trouble is you get naff educational software that insists on having write access to .ini files it installs in the windows folder, despite the fact that it only ever reads settings from them.
  Reply With Quote
Old 18-01-2006, 02:49 PM   #15
 
mac_shinobi's Avatar
 
Join Date: Aug 2005
Posts: 1,694
Thanks: 11
Thanked 31 Times in 30 Posts
Rep Power: 15 mac_shinobi has a spectacular aura aboutmac_shinobi has a spectacular aura about
Default Re: Security Based Project Idea

Asked a Q on EE , here is the URL :

http://www.experts-exchange.com/Prog..._21700066.html

Registration is free ( at least there should be an option to register for free )

If not let me know and I can post back with the info.
  Reply With Quote
Reply

Register now for FREE and post messages!


Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Birthday:      
Image Verification
  I agree to forum rules 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search Thread
Search Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 01:28 AM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright EduGeek.net