Other

项目介绍

Mr-Un1k0d3r/MaliciousMacroGenerator 是一个托管在 GitHub 上的开源项目,主要使用 Visual Basic 编写,采用 Other 许可证,目前获得 829 个 Star、181 次 Fork。

仓库全名
Mr-Un1k0d3r/MaliciousMacroGenerator
开源许可证
Other
Star 数
829
Fork 数
181
未关闭 Issue
4

README 摘要

Malicious Macro Generator Utility Simple utility design to generate obfuscated macro that also include a AV / Sandboxes escape mechanism. Requirement Usage Config file Example of a project config file. Evasion techniques Domain check The macro is fetching the USERDOMAIN environment variable and compare the value with a predefined one. If they match the final payload is executed. Disk check The macro is looking for…

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

常见问题

MaliciousMacroGenerator 用什么语言开发?

主要使用 Visual Basic 编写,采用 Other 许可证,目前有 829 个 Star。

MaliciousMacroGenerator 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 MaliciousMacroGenerator 的源码?

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

MaliciousMacroGenerator 最近还在维护吗?

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

简要分析

热度分
1230
价值分
555
活跃状态
活跃
暂无主题

语言占比

Python
Visual Basic

README

Malicious Macro Generator Utility

Simple utility design to generate obfuscated macro that also include a AV / Sandboxes escape mechanism.

Requirement

Python 2.7

Usage

MMG.Malicious Macro Generator v2.0 - RingZer0 Team
Author: Mr.Un1k0d3r [email protected]

Usage: MMG.py [config] [output] (optional parameters)

        [config]                                Config file that contain generator information
        [output]                                Output filename for the macro

        -l      --list                          List of all available payloads and evasion techniques
        -s      --split_strings                 Randomly split strings at parts
        -x      --strings_to_hex                Encode strings to hex

python MMG.py configs/generic-cmd.json malicious.vba

Config file

Example of a project config file.

{
	"description": "Generic command exec payload\nEvasion technique set to domain check",
	"template": "templates/payloads/generic-cmd-evasion-template.vba",
	"varcount": 150,
	"encodingoffset": 4,
	"chunksize": 200,
	"encodedvars": 	{
				"DOMAIN":"RINGZER0"
			},
	"vars": 	[],
	"evasion": 	["encoder", "domain"],
	"payload": "cmd.exe /c whoami"
}

Evasion techniques

Domain check

The macro is fetching the USERDOMAIN environment variable and compare the value with a predefined one. If they match the final payload is executed.

Disk check

The macro is looking for the total disk space. VMs and test machines use small disk most of the time.

Memory check

The macro is looking for the total memory size. Vms and test machines use less resources.

Uptime check

The macro is looking for the system uptime. Sandboxes will return a short uptime.

Process check

The macro is checking if a specific process is running (example outlook.exe)

Obfuscation

The python script will also generate obfuscated code to avoid heuristic detection

More to come

Credit

Mr.Un1k0d3r RingZer0 Team

https://ringzer0team.com

评论

暂无评论