声明:该公众号分享的安全工具和项目均来源于网络,仅供安全研究与学习之用,如用于其他用途,由使用者承担全部法律及连带责任,与工具作者和本公众号无关。 |
现在只对常读和星标的公众号才展示大图推送,建议大家把Hack分享吧“设为星标”,否则可能看不到了!
工具介绍
WBA支持自定义规则以适应不同环境下的检测需求,WBA的所有规则位于item.xml文件中,其中检测规则分为registry和secedit两种,判定规则分为以下6种
fixed、enum、greaternumber、lessnumber、array、equals
<item>
<name>检查是否已启用并正确配置ICMP攻击保护</name>
<description>配置ICMP攻击保护预防ICMP攻击,防止DOS攻击导致服务器停止响应与奔溃</description>
<type>registry</type>
<registry>HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesTcpipParameters</registry>
<regitem>EnableICMPRedirect</regitem>
<standard>0</standard>
<dtype>enum</dtype>
</item>
<item>
<name>检查密码最长使用期限</name>
<description>长期修改密码会提高密码暴露风险,所以为了提高系统的保密性.需要检查密码最长使用期限.</description>
<type>secedit</type>
<mark>MaximumPasswordAge</mark>
<standard>90</standard>
<dtype>greaternumber</dtype>
</item>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters
<item>
<name>检查处于SYN_RCVD 状态下,且至少已经进行了一次重新传输的TCP连接阈值</name>
<description>xxxxxx</description>
<type>registry</type>
<registry>HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesTcpipParameters</registry>
<regitem>TcpMaxHalfOpenRetried</regitem>
<standard>400</standard>
<dtype>lessnumber</dtype>
</item>
更多示例见item.xml
https://github.com/DeEpinGh0st/WindowsBaselineAssistant
原文始发于微信公众号(Hack分享吧):Windows安全基线检测加固工具
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论