BSD 3-Clause "New" or "Revised" License

项目介绍

WithSecureLabs/doublepulsar-c2-traffic-decryptor 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 BSD 3-Clause "New" or "Revised" License 许可证,目前获得 225 个 Star、73 次 Fork。

仓库全名
WithSecureLabs/doublepulsar-c2-traffic-decryptor
开源许可证
BSD 3-Clause "New" or "Revised" License
Star 数
225
Fork 数
73

README 摘要

Author: Luke Jennings ([email protected] - @jukelennings) Company: Countercept (@countercept) Website: https://countercept.com A python2 script for decrypting the C2 traffic used by the DOUBLEPULSAR SMB implant from a PCAP file. The encryption used is a simple 4-byte XOR, which you can often see being displayed in the command output from the FUZZBUNCH toolset. This makes use of the fact that a set of…

完整内容见 GitHub 原始 README 或本页 。

常见问题

doublepulsar-c2-traffic-decryptor 用什么语言开发?

主要使用 Python 编写,采用 BSD 3-Clause "New" or "Revised" License 许可证,目前有 225 个 Star。

doublepulsar-c2-traffic-decryptor 可以免费商用吗?

仓库采用 BSD 3-Clause "New" or "Revised" License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 doublepulsar-c2-traffic-decryptor 的源码?

可以直接克隆仓库:git clone https://github.com/WithSecureLabs/doublepulsar-c2-traffic-decryptor.git,默认分支为 master;安装与运行步骤见仓库 README。

doublepulsar-c2-traffic-decryptor 最近还在维护吗?

仓库最近一次更新为 2017年4月18日,当前没有未关闭的 Issue;Star 数为 225,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

A python2 script for processing a PCAP file to decrypt C2 traffic sent to DOUBLEPULSAR implant

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
393
价值分
159
活跃状态
活跃

语言占比

Python

README

Author: Luke Jennings ([email protected] - @jukelennings)

Company: Countercept (@countercept)

Website: https://countercept.com

A python2 script for decrypting the C2 traffic used by the DOUBLEPULSAR SMB implant from a PCAP file. The encryption used is a simple 4-byte XOR, which you can often see being displayed in the command output from the FUZZBUNCH toolset. This makes use of the fact that a set of four contiguous zeros are present in the SESSION_SETUP parameters in the first non-ping packet, which reveals the XOR key directly and this is used to decrypt all of the traffic.

This is an early release and relies on finding certain specific components in the network packets and has been tested with the DLL injection functionality. For best results, supply a PCAP file that has only one command within the traffic.

For testing purposes, a PCAP file is contained within this repository that was captured using the DLL injection command to inject the standard windows DLL wininet.dll into a running calc.exe process on the target machine. The decrypted output from running this script is also present in the repository and contains 4885 bytes of shellcode followed by a byte-for-byte copy of wininet.dll

This script has a dependency on the python-pcapng library. Example usage below:

root@kali:~# pip install python-pcapng

root@kali:~# python decrypt_doublepulsar_traffic.py --pcapng inject-dll-wininet-into-calc.pcapng --output decrypted_data.bin

评论

暂无评论