MajorGeeks Support Forums

Go Back   MajorGeeks Support Forums > ----------= PC, Desktop and Laptop Support =---------- > Software
Register FAQ Members List Calendar Casino Mark Forums Read

Software Software such as operating systems like Windows XP, Windows Vista, Windows 7 etc., or specific programs.


Reply
 
Thread Tools Display Modes
  #1  
Old 08-04-06, 08:40
Kolya Kolya is offline
Private E-2
 
Join Date: Oct 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to prevent a program's system calls

I have a chatbot connected to IRC. It can do system calls, to access services running on my computer (winXP) and get back text information. I don't use that feature though.
Now I added a capability to the bot, to learn new answers. The problem is that it can learn to start a system call simply by a user telling it so on IRC. :/
I can't prevent this atm, I could only turnoff the learning capability. But I'd rather not do that. So my question is: Can I safely prevent a program from doing any system calls?

EDIT: I tried placing the bot in NOD32's or Avast's quarantine folder. That didn't work. I have a Sygate Firewall running, maybe that could be used to monitor the bot.
Reply With Quote
Sponsored links
  #2  
Old 08-04-06, 08:42
matt.chugg's Avatar
matt.chugg matt.chugg is offline
Major Geek
 
Join Date: Jul 2006
Location: Cornwall UK
Posts: 3,260
Thanks: 0
Thanked 3 Times in 3 Posts
Default Re: How to prevent a program's system calls

Your bot should have an ACL its a pretty bad design if a normal user can access your system from it. This also seems like a pretty hefty security risk, I'd recommend removing this feature form the bot for safety or at least implimenting an ACL
Reply With Quote
  #3  
Old 08-04-06, 08:52
Kolya Kolya is offline
Private E-2
 
Join Date: Oct 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: How to prevent a program's system calls

ACL=AccessControlList?

Well it's my fault for teaching the bot how to learn I guess.
I can rewrite the bot's "intelligence" so that only a few persons can access the Learning feature. But that isn't what I'm looking for. First I'd have to really really trust these people ... second others couldn't teach the bot anymore.

Of course it would be better to change the bot itself - I totally agree with that. But I cant program C++ nor do I know how to compile this thing. So for the moment I'm basically looking for a crude hack.
Reply With Quote
  #4  
Old 08-04-06, 08:58
matt.chugg's Avatar
matt.chugg matt.chugg is offline
Major Geek
 
Join Date: Jul 2006
Location: Cornwall UK
Posts: 3,260
Thanks: 0
Thanked 3 Times in 3 Posts
Default Re: How to prevent a program's system calls

To block system calls would require subclassing which you should not even attempt as you already mention you are not familiar with c++. I'd suggest removing the bot from irc entirly, your better with no bot that a bot the poses a security risk.
Reply With Quote
  #5  
Old 08-04-06, 09:03
Kolya Kolya is offline
Private E-2
 
Join Date: Oct 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: How to prevent a program's system calls

Yes of course I removed the bot immediately from IRC as soon as I realised what could happen (fortunately I was the first to do so).

Hmm, I'll try and contact the original authors of this chatbot. Won't be too easy since they stopped the project 3 years ago. So wish me luck. And thanks for your answers matt.chugg.
Reply With Quote
Sponsored links
  #6  
Old 08-04-06, 09:04
matt.chugg's Avatar
matt.chugg matt.chugg is offline
Major Geek
 
Join Date: Jul 2006
Location: Cornwall UK
Posts: 3,260
Thanks: 0
Thanked 3 Times in 3 Posts
Default Re: How to prevent a program's system calls

No problem

Good Luck
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -5. The time now is 15:30.

MajorGeeks.Com Menu

MajorGeeks.Com \ All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ NEW! PC Games \ System Tools \ Macintosh \ Demonews.Com \ Top Downloads

MajorGeeks.Com \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds


All content Copyright MajorGeeks.com source code Powered by vBulletin® Version 3.8.4
Copyright © 2009 vBulletin Solutions, Inc. All rights reserved.
Ad Management by RedTyger