
SharpUp 是各种 PowerUp 功能的 C# 移植版本。目前,仅移植了最常见的检查;尚未实现任何武器化功能。
@harmj0y 是主要作者。
SharpUp 基于 BSD 3-Clause 许可证发布。
SharpUp.exe [audit] [check1] [check2]...
audit - Specifies whether or not to enable audit mode. If enabled, SharpUp will run vulenrability checks
regardless if the process is in high integrity or the user is in the local administrator's group.
If no checks are specified, audit will run all checks. Otherwise, each check following audit will
be ran.
check* - The individual vulnerability check to be ran. Must be one of the following:
- AlwaysInstallElevated
- CachedGPPPassword
- DomainGPPPassword
- HijackablePaths
- McAfeeSitelistFiles
- ModifiableScheduledTask
- ModifiableServiceBinaries
- ModifiableServiceRegistryKeys
- ModifiableServices
- ProcessDLLHijack
- RegistryAutoLogons
- RegistryAutoruns
- TokenPrivileges
- UnattendedInstallFiles
- UnquotedServicePath
Examples:
SharpUp.exe audit
-> 运行所有漏洞检查,无论完整性级别或组成员身份如何。
SharpUp.exe HijackablePaths
-> 仅检查用户 %PATH% 变量中是否存在可修改的路径。
SharpUp.exe audit HijackablePaths
-> 仅检查用户 %PATH% 中是否存在可修改的路径,无论完整性级别或组成员身份如何。
我们不计划发布 SharpUp 的二进制文件,因此您需要自行编译 :)
SharpUp 已针对 .NET 3.5 构建,并与 Visual Studio 2015 Community Edition 兼容。只需打开项目 .sln,选择“release”,然后编译即可。
SharpUp 在其功能中整合了研究过程中发现的各种 C# 代码片段和 PoC 片段。这些片段和作者已在源代码的相应位置标明,包括: