Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 32 guests and 1 member online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Web Applications
Content filtering proxy service
EH-Net
May 24, 2013, 12:14:53 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Web Applications
(Moderator:
don
) >
Content filtering proxy service
Pages: [
1
]
2
Go Down
« previous
next »
Print
Author
Topic: Content filtering proxy service (Read 11019 times)
0 Members and 1 Guest are viewing this topic.
xFrosty
Newbie
Offline
Posts: 14
Content filtering proxy service
«
on:
May 13, 2010, 03:05:11 PM »
I'd like to start telling that I'm rather new.. no this is my first "job".. well it's not even a real job it's just a test, ok enough.
I'll have to test his "content filtering service"
the proxy is based on Squid
http://en.wikipedia.org/wiki/Squid_%28software%29
and the content filtering part is managed by DansGuardian
http://en.wikipedia.org/wiki/DansGuardian
all the software is updated to the latest version and the content-filtering is based on (words weight / banned urls and IPs)
everything on an external CentOS machine
for the first tests I'll just have to test for filter evasion nothing hard yet
if this will go well i think he'll make me test it a little bit deeper
could you help me to compile something like a check list about the tests to do?
or just some tips/hints
P.S. I wasn't really sure about the section so feel free to move the post
Logged
xFrosty
Newbie
Offline
Posts: 14
Re: Content filtering proxy service
«
Reply #1 on:
May 14, 2010, 10:20:51 AM »
it will be on Tuesday!
Logged
MicroJay
Full Member
Offline
Posts: 101
Re: Content filtering proxy service
«
Reply #2 on:
May 14, 2010, 10:29:20 AM »
Welcome aboard!
One suggestion would be think like the user that wants to avoid being filtered. Use google and search for "anonymous proxies". Click on each link until you are able to view the site. Done!
If it passes that (you can't get to one), set up a anonymous proxy yourself and see if you can get to it. (Does it block uncatagorized sites.)
Next...would be to see if there were any vulnerabilities. But if it is patched fully, it might not be as easy.
Just some quick thoughts as I have gone through this with our content filter devices in the past.
Logged
GSEC - GCIH - GSNA - GPEN
Ketchup
Hero Member
Offline
Posts: 1021
Re: Content filtering proxy service
«
Reply #3 on:
May 14, 2010, 10:59:12 AM »
There is also tunneling, especially over encrypting protocols.
Logged
~~~~~~~~~~~~~~
Ketchup
xFrosty
Newbie
Offline
Posts: 14
Re: Content filtering proxy service
«
Reply #4 on:
May 14, 2010, 11:09:45 AM »
Thanks for the answers!
I've been successfully bypassing the filters using a proxy and tunneling (we had the same service at school)
my suggest to fix the proxy (if not elite) problem would be to block all the packets with a "Forwarded" header
and all the tor's endpoints
what you think about it?
Logged
MicroJay
Full Member
Offline
Posts: 101
Re: Content filtering proxy service
«
Reply #5 on:
May 14, 2010, 11:31:48 AM »
Correct! VPN or any encrypted tunneling would do as well.
Use that a lot when at hotels!
Logged
GSEC - GCIH - GSNA - GPEN
xFrosty
Newbie
Offline
Posts: 14
Re: Content filtering proxy service
«
Reply #6 on:
May 14, 2010, 11:39:38 AM »
Thank you xD
any idea how to fix it?
how to filter encrypted traffic.. i was thinking about a..MitM attack (a legit one) made by the proxy (our..their service), but I'm afraid it would mess with the certificates making all the MitM countermeasures go vane
Logged
Ketchup
Hero Member
Offline
Posts: 1021
Re: Content filtering proxy service
«
Reply #7 on:
May 14, 2010, 12:07:18 PM »
I am not sure if it can completely fixed. I usually implement egress filtering at the firewall that only permits traffic from certain hosts. With Proxies, centralized Email servers, etc, the users don't really need to leave the firewall. The server makes the request for them. For those that need more connectivity and are trusted, I make exceptions in the firewall.
Logged
~~~~~~~~~~~~~~
Ketchup
Equix3n-
Sr. Member
Offline
Posts: 386
Re: Content filtering proxy service
«
Reply #8 on:
May 14, 2010, 12:15:23 PM »
I don't think you can filter out all tunneling. You need to develop solid outbound access policy. For HTTP tunneling regularly check the logs and block the relay server. Check for CONNECT requests to odd ports etc.
Edit: Ketchup beat me to it.
«
Last Edit: May 14, 2010, 12:18:01 PM by Equix3n-
»
Logged
xFrosty
Newbie
Offline
Posts: 14
Re: Content filtering proxy service
«
Reply #9 on:
May 14, 2010, 01:02:51 PM »
i forgot to mention that it blocks all the ports except for the allowed ones unless the Administrator sets it
Logged
Equix3n-
Sr. Member
Offline
Posts: 386
Re: Content filtering proxy service
«
Reply #10 on:
May 15, 2010, 10:57:54 AM »
The only option I can think of (or find) right now is to block HTTP CONNECT to all websites except the valid ones. Like I previously stated, you'll need o develop strong outbound access rules. If HTTPS is allowed to random sites users can always find a way to bypass the firewall.
If blocking access to all sites is not feasible then you can use various addons with squid to blacklist 'improper' websites. You can easily find a large number of URL blacklists.
Logged
xFrosty
Newbie
Offline
Posts: 14
Re: Content filtering proxy service
«
Reply #11 on:
May 15, 2010, 11:23:41 AM »
there already is a blacklist (a huge paid blacklist is updated daily) system
and thanks for the comments!
you think that username:password@bannedurl.com would trick the url detection?
if not, would whitelistedurl.mydomain.com be unbannable? (i mean making a sub-domain named after a white listed url
Logged
Equix3n-
Sr. Member
Offline
Posts: 386
Re: Content filtering proxy service
«
Reply #12 on:
May 15, 2010, 11:39:04 AM »
I'm not sure about it. But I think that in the conflict of whitelist and blacklist, blacklist always wins. But in this case I think that squid shouldn't block whitelistedurl.mydomain.com unless you've added *mydomain.com in the blacklist. Someone more experienced should help here. However, I found links that might be helpful to you.
http://marc.info/?l=squidguard&m=108285256707491
http://marc.info/?l=squidguard&m=108260329925644&w=2
Logged
xFrosty
Newbie
Offline
Posts: 14
Re: Content filtering proxy service
«
Reply #13 on:
May 15, 2010, 12:45:59 PM »
Thank you!
Logged
chrisj
Hero Member
Offline
Posts: 1163
Re: Content filtering proxy service
«
Reply #14 on:
May 15, 2010, 02:03:26 PM »
I haven't played with squid much, but typically if you have something white listed it'll get checked before the black list and always be allowed through.
I'm basing this off firewalls (ip tables, ip chains, and cisco asa), where the allowed traffic usually comes before the deny all statement at the end.
So as far as I understand it, you can have allowed.domain.com in the white list, and *.domain.com in the black list, but you should still be able to get to allowed.domain.com.
I could be wrong. Like I said I'm basing this off my firewall knowledge and applying proxy filters to that.
squid example: unfiltered adults, white listed kids, deny everything else
Logged
OSWP, Sec+
Pages: [
1
]
2
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
SANSFIRE 2013
June 15 - 22
5% Off
w/ Code
:
EHN_5
SANS Deals 4 EH-Netters
5% OFF
Any
SANS Course
in Any Format!
Coupon Code:
EHN_5
Including
SANS Rocky Mountain 2013
&
SANS Boston 2013
Polls
Compared to this year, 2013 will be:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
Tools
: Symbolic Exploit Assistant project is looking for collaborators
(0) by
galapag0
Greetings
: Hi from the UK
(5) by
prats84
GCIH - GIAC Certified Incident Handler
: Passed my GCIH
(9) by
prats84
Network Pen Testing
: Want a challenge? Want a GXPN practice exam?
(0) by
ajohnson
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(29) by
ajohnson
GCIH - GIAC Certified Incident Handler
: GCIH Free Practice test attempt
(1) by
prats84
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.