设为首页 收藏本站
查看: 559|回复: 0

[经验分享] Dumping NTLM Hash’s from Windows with Fgdump.

[复制链接]

尚未签到

发表于 2016-5-21 09:38:05 | 显示全部楼层 |阅读模式
  With the release of the new Question-Defense online NTLM, MD5 and MD4cracker I decide to write a quick how to on grabbing the hash’s from a windows system. In order for this to work you need at least one usernameand logon of a user with admin privileges.  I may in the future write aarticle on how to escalate your privileges from a user to a admin, but for the sake of this article will assume you know at least one admin user log on.
  
  The tool I am going to use is called fgdump and is available here. The are other tools called PWDump which achieve the same result but I really like fgdump so I use it for all my hash dumping needs. My target is going to be a Windows 2003 server, but this will work on XP, Vista and Windows 7.
  The tool can just be run on the local machine with no arguments at all and will dump the hash’s to a log file:
DSC0000.png

  Now this is pretty easy but what if you do not have physical access to the server?
  We can use fgdump remotely which is the way I generally use it.
  Lets run a quick scan of our target and make sure its up withthe proper ports open for the connection:
DSC0001.png

  Ok so we see if our server target is up.
  I use a great many command line windows tool so I try to keep them all in the C:/tools directory and add it to the path. I also like to have my cygwin binaries in the path so I can have UNIX like commands in my windows terminal. Checkthis articleif you are interested in doing that.
  So lets run our tool. Its pretty much the same we just need to add a few arguments:


  • -h the ip of the host
  • -u the username
  • -p the password
DSC0002.png

  Once we hit enter and execute the fgdump.exe it will notify us if the command completed successfully or not:
DSC0003.png

  As you can see we had a successful dump. This will be saved in a log file in pwdump format on the machine we ran the tool from.
  Lets see what that looks like:
DSC0004.png

  Now this is the part where most people get confused. Windows actuallyuses two kinds of hashing algorithms. The first is called LM which is old and obsolete and is actually turned of by default in Windows Vista and Windows 7. The second one is called NTLM which is the one we are currently interested in.
  So at this point you are probably wondering what part of that gibberish is the actual NTLM hash.
  Lets open it in notepad so we can get a better look:

DSC0005.png

  So lets break down the fields:
Alex:1004:F5D023D8475D3F6E144E2E8ADEF09EFD:6E6212F9FAC92682C51BB68DDC4819D7:::



  The fields are separated by colons. So the first field is clearly theusername, the second field is the user id, the third field is the LM hash. On systems with LM disabled like Windows 7, this will be blank. The final field is the NTLM hash we are interested in. I have highlighted the correct section of the hash in the picture in order to be really clear on the subject.
  Once you have the hash, just copy it to you clipboard and open up our online crackerand select a option and let Question-Defense’s servers do the hard work for you:
DSC0006.png

  Once your job has been completed the results will be emailed to you. And not one ounce of CPU power on your local machine used. We also offerspecial rates for companies who are interested in auditing large lists of passwords to make sure their users are practicing secure password policies.

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-219786-1-1.html 上篇帖子: Windows 操作系统中的常见安全标识符 下篇帖子: svn作为windows服务后台启动配置方式
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表