Skip to content

Commit

Permalink
Add rules for OneDriveFile Co-Authoring Executable
Browse files Browse the repository at this point in the history
  • Loading branch information
metablaster committed Nov 22, 2023
1 parent 568ea43 commit 13db268
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 1 deletion.
14 changes: 14 additions & 0 deletions Rules/IPv4/Outbound/Software/Microsoft/OneDrive.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,20 @@ if ((Confirm-Installation "OneDrive" ([ref] $OneDriveRoot)) -or $ForceLoad)
-InterfaceType $DefaultInterface `
-Description "" | Format-RuleOutput
}

$Program = "$OneDriveRoot\$VersionFolder\FileCoAuth.exe"
if ((Test-ExecutableFile $Program) -or $ForceLoad)
{
New-NetFirewallRule -DisplayName "OneDrive Co-Authoring Executable" `
-Platform $Platform -PolicyStore $PolicyStore -Profile $DefaultProfile `
-Service Any -Program $Program -Group $Group `
-Enabled True -Action Allow -Direction $Direction -Protocol TCP `
-LocalAddress Any -RemoteAddress Internet4 `
-LocalPort Any -RemotePort 443 `
-LocalUser $UsersGroupSDDL `
-InterfaceType $DefaultInterface `
-Description "Microsoft OneDriveFile Co-Authoring Executable" | Format-RuleOutput
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion Scripts/Security/Remove-ASR.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SOFTWARE.
.VERSION 0.15.1
.GUID a25eb685-36f4-4bb4-b825-61cf2e737a46
.GUID 621a598a-01bf-4c90-9b1a-2cc682fa3d64
.AUTHOR metablaster [email protected]
Expand Down
2 changes: 2 additions & 0 deletions Scripts/Security/Set-ATP.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ None. Set-ATP.ps1 does not generate any output
TODO: There are some exotic options for Set-MpPreference which we don't use
TODO: A script is needed to reset ATP modification to factory defaults
TODO: More options can be configured such as script scanning
TODO: Comments for each GPO setting should indicate what is the default
TODO: Need to exclude settings which don't apply to target computer
.LINK
https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Scripts/README.md
Expand Down
1 change: 1 addition & 0 deletions Scripts/Security/Set-Privacy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ None. Set-Privacy.ps1 does not generate any output
.NOTES
TODO: More Windows privacy options can be set in GPO
TODO: A script is needed to reset privacy modification to factory defaults
TODO: Need to exclude settings which don't apply to target computer
.LINK
https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Scripts/README.md
Expand Down
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Here is a list of changes for each of the releases.
- Updated rule related to Windows 11 updates
- Added rules for GooglePlay and Bluestacks
- Updated rules for Microsoft phone app now known as Microsoft Phone Link
- Added rule for OneDriveFile Co-Authoring Executable

- Modules

Expand Down

0 comments on commit 13db268

Please sign in to comment.