GPO Schedule Task CMD Command(Solving CVE-2021-24074)

GPO Schedule Task CMD Command

open “Group Policy Management”->Domain
Right click xxx.com to select “Create a GPO in this domain,and Link it here” ->Fill in a name such as “CVE-2021-24074 workaround”->OK
Edit the “CVE-2021-24074 workaround”->User Configuration->Preferences->Control Panel Settings->Scheduled Tasks
在这里插入图片描述

New->Schedyked Task(At least Windows 7)
在这里插入图片描述
Fill in a name such as “CVE-2021-24074 workaround” ,Click “Change User or Group”.

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

Add Triggers
在这里插入图片描述
Select “at log on” to trigger when the user logs in successfully.
在这里插入图片描述
Add Actions

在这里插入图片描述
Progra,/script : Process path used

C:\Windows\System32\cmd.exe

Add arguments : Command to be executed

/C netsh int ipv4 set global sourceroutingbehavior=drop

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

update computer Policy(If you don’t press this command, the computer can also update automatically after a period of time)
在这里插入图片描述
After configuration, you can find “CVE-2021-24074 workaround” in task scheduler
在这里插入图片描述

Note: when applying the configuration to the user machine, you need to add the new policy to the same identity classification as the user machine,such as

在这里插入图片描述

在这里插入图片描述

Test whether the configuration is successful

On the user machine that has been logged in again->open “regedit.msc” -> open path在这里插入图片描述
-DisableIPSourcerRouting value is 2, the configuration is successful.
在这里插入图片描述

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值