Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 56 guests and 1 member online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Network Pen Testingarrow Pentesting the computer of a friend
EH-Net
May 22, 2013, 02:49:58 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: Pentesting the computer of a friend  (Read 8841 times)
0 Members and 1 Guest are viewing this topic.
H1t M0nk3y
Hero Member
*****
Offline Offline

Posts: 864



View Profile
« on: May 11, 2010, 07:16:03 AM »

Hi everyone,

A friend of mine (actually, a co-worker) want to play a little game with me: we both want to set up a web server at home and try to hack each other. Since we are both web app developers, we think it would be a good exercise for us to learn both the defense and the attack of such servers.

We will install a VPN so we can do our stuff without alerting/disturbing anyone else. However, we plan to secure our servers as much as we can so having them face the internet (instead of using a VPN) wouldn't be a big worry for us.

Finally, we will give each other written permissions before we start doing anything.

My question is: If we wouldn't use a VPN and our server would be serving web pages on the internet, could our scans, brute force attacks, etc disturb other people?

Here I think more of our respective ISP (and possibly others?). What could we do to mitigate the risk of getting into troubles instead of using the VPN? Maybe it doesn't make any difference?

I want to add that I will use a VPN regardless of the answers and we both have no malicious intention whatsoever. We want to compete, that's all!!  Grin


Logged

OSCP, GPEN, GWAPT, GSEC, CEH, CISSP
j0rDy
Hero Member
*****
Offline Offline

Posts: 590


View Profile
« Reply #1 on: May 11, 2010, 07:27:45 AM »

this seems like a fun game! good luck and you better win, cause i will be cheering for you Wink

if you direct your scans/attacks directly at the system of your friend, you dont have to worry about disturbing other people. this happens all the time on the internet by other people. think of automated zombies scanning for other victims, black hats scanning full domains for vulnerable systems, script kiddies who dont know what there doing, and dont forget windows machines that generate wierd traffic just for no reason at all. This blends in with what is called "internet static" that doesnt disturb anyone and is just "there".

if you just focus on the machine at hand, and not anything ISP related (like DNS poisoning), you will be fine...
Logged

ISC2 Associate, CEH, ECSA, OSCP, OSWP

earning my stripes appears to be a road i must travel alone...with a little help of EH.net
hayabusa
Hero Member
*****
Offline Offline

Posts: 1632



View Profile
« Reply #2 on: May 11, 2010, 08:01:45 AM »

My only note would be that IF you bypass the VPN route, I wouldn't be doing your port scanning, etc, on the open network.  When done over VPN, it's all tunneled across the single port / connection of the VPN, whereas, if you port scan, openly, on your internet connection, many ISP's will disconnect you, and possibly terminate your service.  I know my home ISP has strict policies, forbidding port scanning, etc, and WILL close out my service if I perform those activities from home.  (Thus, the VPN to keep it looking "legit", when I test things from home.)
Logged

~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
H1t M0nk3y
Hero Member
*****
Offline Offline

Posts: 864



View Profile
« Reply #3 on: May 11, 2010, 08:15:59 AM »

So I guess you are both right. If my ISP doesn't care about me scanning servers, then I would be fine.

I will read their policies if I do scan servers in the future.

Is Hayabusa the only one warned or blocked by their ISP?
Logged

OSCP, GPEN, GWAPT, GSEC, CEH, CISSP
chrisj
Hero Member
*****
Offline Offline

Posts: 1163


View Profile WWW
« Reply #4 on: May 11, 2010, 10:15:33 AM »

if you port scan, openly, on your internet connection, many ISP's will disconnect you, and possibly terminate your service.  I know my home ISP has strict policies, forbidding port scanning, etc, and WILL close out my service if I perform those activities from home. 

My ISP acts a little different. If I run NMAP against my work's firewall (usually after I make big changes to it), AT&T move the box out from behind the firewall, and leaves it wide open to everything. I've only had the one box, so I don't know if they do it to the whole network. I do know that the TV, DVR and surfing the web don't work right when they do it.

Their status message says there is a firewall behind their firewall. Please fix or set up a dmz.
Logged

OSWP, Sec+
ajohnson
Recruiters
Hero Member
*
Offline Offline

Posts: 1057


aka dynamik


View Profile WWW
« Reply #5 on: May 11, 2010, 03:32:48 PM »

Is Hayabusa the only one warned or blocked by their ISP?

I was going to warn you against this as well. Some ISPs prohibit this completely while others will sell you a premium service where those types of activities are acceptable. I'd definitely check with your ISP before doing anything.
Logged

WIP: GCFA | www.infosiege.net | @infosiege

The day you stop learning is the day you start becoming obsolete.
j0rDy
Hero Member
*****
Offline Offline

Posts: 590


View Profile
« Reply #6 on: May 12, 2010, 03:47:21 AM »

i have done a couple of pentests from my home, and havent got into any trouble with my ISP. so it depends on the ISP. i'm sure there is an answer to this in the FAQ of your current ISP. i know mine is too busy capping newsgroup bandwith from the leechers so they are forgetting about us Grin
Logged

ISC2 Associate, CEH, ECSA, OSCP, OSWP

earning my stripes appears to be a road i must travel alone...with a little help of EH.net
delusion
Newbie
*
Offline Offline

Posts: 49



View Profile
« Reply #7 on: May 12, 2010, 03:54:44 AM »

Hey that sounds really fun!! and cool! I need to get me a hacking buddy!!

Enjoy the game duuuude, lets us know of your battles, defeats if there are any and your victories!! Enjoy!!
Logged

You Cant Resolve Problems Whilst At WAR!
Ketchup
Hero Member
*****
Offline Offline

Posts: 1021



View Profile
« Reply #8 on: May 12, 2010, 08:30:16 PM »

With some ISPs, you never know what they are blocking at any given moment.  This tends to throw off your results. 
Logged

~~~~~~~~~~~~~~
Ketchup
Equix3n-
Sr. Member
****
Offline Offline

Posts: 386



View Profile
« Reply #9 on: May 12, 2010, 11:28:56 PM »

My ISP is apparently too busy to block anything. I haven't heard a single instance of them blocking someone or some scan because it looked malicious. Neither have I seen any mention of blocking malicious scans in their policy and FAQ. So I guess I'm free to do whatever pleases me.
« Last Edit: May 15, 2010, 11:19:18 PM by Equix3n- » Logged
What90
Full Member
***
Offline Offline

Posts: 120


View Profile WWW
« Reply #10 on: May 13, 2010, 12:03:37 AM »

@hitmonkey

We did a similar thing to help a friend practice pentesting.
He started getting a lot of hostile scans on those web services, which ending up being quite annoying and chewed up bandwidth.

In the end we set up a VPN from where he could SSH into a local machine running BT4. From there he could attack the systems in peace and quiet.
Logged

H1t M0nk3y
Hero Member
*****
Offline Offline

Posts: 864



View Profile
« Reply #11 on: May 13, 2010, 07:01:14 AM »

Thanks guys,

Ketchup, I didn't think of ISP blocking stuff, but it makes so much sense... I am still learning a lot!!! Cry

I will be very busy for another month or so (I am finishing OSCP...), but we should create a little game among some us. This could be a great way of learning, making contact and have fun!
Logged

OSCP, GPEN, GWAPT, GSEC, CEH, CISSP
j0rDy
Hero Member
*****
Offline Offline

Posts: 590


View Profile
« Reply #12 on: May 14, 2010, 03:10:53 AM »

i think there are more people on this board interesting in starting such a showdown (atleast i am). maybe its an idea to team up with other member and start a EH.net wide game?
Logged

ISC2 Associate, CEH, ECSA, OSCP, OSWP

earning my stripes appears to be a road i must travel alone...with a little help of EH.net
chrisj
Hero Member
*****
Offline Offline

Posts: 1163


View Profile WWW
« Reply #13 on: May 14, 2010, 11:20:44 AM »

i think there are more people on this board interesting in starting such a showdown (atleast i am). maybe its an idea to team up with other member and start a EH.net wide game?

Some problems I see with doing that (not that it wouldn't be fun).

1) you'd have to create a EH DMZ (where the vpn terminates and only allowing access to the hack boxes).

2) you have to trust the people you give access too.

3) having a large enough pipe to support the traffic (I'm running an ftp server for a martial arts school from home).
Logged

OSWP, Sec+
H1t M0nk3y
Hero Member
*****
Offline Offline

Posts: 864



View Profile
« Reply #14 on: May 14, 2010, 01:57:43 PM »

@chrisj: I was thinking of using SSL certificates at both ends of the VPN connection for dual authentication. This way, I will know who is connected. But this only work amongst friends. A nickname in a forum isn't really a person you can trust...

Also, the goal is to have a very secure box. So even if it were wide open to the internet, it wouldn't be to bad (at least, for this box). But you are right, a VPN ending in a DMZ would be better.
Logged

OSCP, GPEN, GWAPT, GSEC, CEH, CISSP
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.085 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
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:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.