Sponsored by: â–ˆ Sparkhost - Hosting Without Compromises! â–ˆ Hybrid Performance Web Hosting â–ˆ Spark Host Stream Hosting â–ˆ Hybrid IRC & IRCd Server Shell Accounts
Disabling Internet Access
#31
Posted 18 November 2007 - 09:40 AM
You are right on the money, a batch script could be made for EXACTLY that purpose. The batch script could most definitely be run at login through either the registry under hkey_current_users i believe, this will be run upon login. I don't believe you can with native capabilities execute a script at logoff, that would be nice though. Instead of that you could design 2 batch scripts one that corrects the route, and one that mangles it. The script that mangles it goes on the dis-allowed IE people, while the correction script goes on the users who are allowed internet access.
#32
Posted 19 November 2007 - 01:02 PM
These type of restrictions are best placed in the infrastructure (routers, switches, content filtering). Anything you do on the computer could be reversed by the user, especially if they have elevated privileges, such as local admin. If your users knowledge isn't basic, anything you implement locally would only serve as a temporary measure at best.
Personally, I think 5 is the easiest if you don't have access to the network equipment, but have access to the machine. 7 can get dangerous when corrupting the stack, but you can google that and learn a bit about it. As for 8, google tools like ettercap, cain and abel,etc... There's a few out there that do that. Most of the good one's should be listed at insecure.org's top 100 security tools.
5 is too easy to solve. They aren't computer geeks but they will try to solve an IP address related issue and in the end they will succeed, even randomlyBut a more subtle solution would be very difficult for them to solve. I will research something about TCP stack corruption. If you can point me to some good article I'm glad to know :-)
Oh, yes, they have admin access. Some other useful information: the internet connection is wireless and the PC is a portable computer. I think this could make mitm and request redirection more difficult and not so reliable. Am I wrong?
That is correct. With this being portable, it will be more difficult.
I picked up this pdf by Aleph1 at phrack the other day called "Smashing the Stack for Fun and Profit" the other day. I'm at work right now and can't easily browse the site to give you a direct link to it, but take a look. I'm pretty sure that's where I got it.
Another possibility might be to attempt a local policy that gets pushed for that user. That disables internet access or maybe even IE?
Just a thought. I haven't created many local policies on a PC before. I've pushed several out through a domain though.
#33
Posted 20 November 2007 - 03:06 AM
I came across this article (hxxp://www.phrack.org/issues.html?issue=49&id=14#article) but couldn't find a pdf version. I'm afraid this document is way over my head so hope that it makes sense to someone who might be able to give some clues as to what exactly's happening!I picked up this pdf by Aleph1 at phrack the other day called "Smashing the Stack for Fun and Profit" the other day. I'm at work right now and can't easily browse the site to give you a direct link to it, but take a look. I'm pretty sure that's where I got it.
Another possibility might be to attempt a local policy that gets pushed for that user. That disables internet access or maybe even IE?
I've been thinking about simply disabling IE and suspect that a user could get around that by using an alternative browser. I think that "attacking" the network connection in some way (such as using a dead proxy) would be the way to go. I'm particularly interested in registry tweaks or policies that can be used.
#34
Posted 20 November 2007 - 03:07 AM
have a look at this site: hxxp://vlaurie.com/computers2/Articles/group_policy_editor.htmThe batch script could most definitely be run at login through either the registry under hkey_current_users i believe, this will be run upon login. I don't believe you can with native capabilities execute a script at logoff, that would be nice though.
It shows how you could add your script to logon or logoff from the gpo (local or domain policy)
#35
Posted 20 November 2007 - 10:27 AM
have a look at this site: hxxp://vlaurie.com/computers2/Articles/group_policy_editor.htmThe batch script could most definitely be run at login through either the registry under hkey_current_users i believe, this will be run upon login. I don't believe you can with native capabilities execute a script at logoff, that would be nice though.
It shows how you could add your script to logon or logoff from the gpo (local or domain policy)
I'll try to jump on one of my boxes tonight and try to work this policy out. Nice find on the site. I was just going to say go to control panel and administration tools. haha
#36
Posted 20 November 2007 - 11:49 AM
I'm fairly sure that a colleague did some work with this before. As I recall, when the PC starts or shuts down, it announces that a script is running. Ideally, I'd like it to run silently.I'll try to jump on one of my boxes tonight and try to work this policy out. Nice find on the site. I was just going to say go to control panel and administration tools. haha
#37
Posted 25 November 2007 - 12:36 PM
hxxp://support.microsoft.com/kb/813878#top#top
hxxp://windows.uwaterloo.ca/Security/Hardening/IP_Security/W2Kwrkst_IPSEC.htm
hxxp://www.petri.co.il/block_web_browsing_with_ipsec.htm
#38
Posted 25 November 2007 - 06:25 PM
#39
Posted 26 November 2007 - 03:23 AM
I posted a comment on Nov 17 about one of the proposed techniques blocking Outlook as well as internet access. I experimented and found that the IPSec technique blocked the internet but allowed Outlook to work.To disable outlook you will have to close its ports. I think these are all the ports it uses 143, 993, 110, 995, 135, 593, and 25. These are the ports for pop3, pop3 over ssl, imap, imap over ssl, rpc, rpc over html, and finally smtp.
I'm intrigued to learn that Outlook uses so many ports. Did you get this list by investigating your own system or by research on the internet? I'd no idea that ports specific for pop3 and imap over ssl existed! I must look into this further.
#40
Posted 26 November 2007 - 09:18 AM
#41
Posted 28 November 2007 - 09:07 AM
I would also wonder about your motivation for this. Possibilities:
1) You have organizational authority and some good reason; in which case you should be able to gain the cooperation of the firewall/router admin through the support of upper management if the reason is legit. You wouldn't have needed to post this question.
2) You just want to mess with the guy. Hey, have fun. All these suggestions have that potential.
3) Your purpose has something malicious behind it. Find something better to do.
#42
Posted 28 November 2007 - 11:13 AM
I intend nothing malicious - I simply want to extend my knowledge. I've seen comments on Computer Forensics sites where to "good guys" have researched the techniques used by the "bad guys" so they can level the playing field.
#43
Posted 28 November 2007 - 02:31 PM
#44
Posted 10 December 2007 - 07:31 AM
#45
Posted 21 March 2008 - 09:31 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












