首页 > 数据库技术 > 详细

Ethical Hacking - GAINING ACCESS(2)

时间:2019-12-19 22:58:59      阅读:90      评论:0      收藏:0      [点我收藏+]

Server Side Attacks - INFORMATION GATHERING

  • Need an IP address.
  • Very simple if target is on the same network (netdiscover or zenmap).
  • If target has a domain, then a simple ping will return its IP.

  > ping www.XXXX.com

  • Getting the IP is tricker if the target is a personal computer, might be useless if the target is accessing the internet through a network as the IP will be the router IP and not the targets, client side attacks are more effective in this case as reverse connetcion can be use.

INFORMATION GATHERING

  • Try default password(ssh iPad case).
  • Services might be mis-configured, such as the "r" service. Ports 512, 513, 514
  • Some might even contain a back door!
  • Code execution vulnerabilites.

CASE:

Target - Server Metasploitable

Tool - Zenmap on Kali Linux

Start the metasploit server first.(The same network with Kali Linux)

技术分享图片

 

 Input the target IP  and click start button.

技术分享图片

 

After scan is finished, we need to analyse the scan result.

技术分享图片

 

 We find netkit-rsh and google it. It maybe interesting.

技术分享图片

 

Install rsh-client firstly.

技术分享图片

 

 We login the target server with default account - root.

技术分享图片

 

 We have the root right now, so can find many useful information about this target server.

技术分享图片

 

Ethical Hacking - GAINING ACCESS(2)

原文:https://www.cnblogs.com/keepmoving1113/p/12070582.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!