DropboxC2 工具原理总结——就是通过dropbox文件来间接做c2控制和交互。

时间:2021-08-30 14:26:46   收藏:0   阅读:30

视频:https://vimeo.com/197902404

 

可以看到就是一个利用dropbox的C2,不过他是通过dropbox的文件API在做C2控制的,如何做到的呢?其实很简单,C2的agent轮询服务器上是否有文件更新,有的话就下载下来,其实这里面就是C2交互的内容,而C2上传的信息又通过文件形式传到dropbox。C2的server也是通过这样的方式,间接和agent打交道。

 

代码:https://github.com/Arno0x/DBC2/blob/master/lib/dropboxHandler.py,使用API:

self.dropboxAPI = {
			‘listFolder‘: ‘https://api.dropboxapi.com/2/files/list_folder‘,
			‘uploadFile‘: ‘https://content.dropboxapi.com/2/files/upload‘,
			‘downloadFile‘: ‘https://content.dropboxapi.com/2/files/download‘,
			‘deleteFile‘: ‘https://api.dropboxapi.com/2/files/delete‘,
			‘getMetaData‘: ‘https://api.dropboxapi.com/2/files/get_metadata‘,
			‘shareFile‘: ‘https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings‘,
			‘getSharedLink‘: ‘https://api.dropboxapi.com/2/sharing/list_shared_links‘
		}

  

Architecture(看他的架构)

技术分享图片

Features

DBC2 main features:

原文:https://www.cnblogs.com/bonelee/p/15200778.html

评论(0)
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!