Query: write Sigma for Detects when a request has been made to transfer a Route 53 domain to another AWS account.
Matching passage: Sigma rule: Detects when a request has been made to transfer a Route 53 domain to another AWS account.. Logsource: aws / cloudtrail. Rule: title: AWS Route 53 Domain Transferred to Another Account id: b056de1a-6e6e-4e40-a67e-97c9808cf41b status: test description: Detects when a request has been made to transfer a Route 53 domain to another AWS account. references: - https://github.com/elastic/detection-rules/blob/c76a39796972ecde44cb1da6df47f1b6562c9770/rules/integrations/aws/persistence_route_53_domain_transferred_to_another_account.toml author: Elastic, Austin Songer @austinsonger date: 2021-07-22 modified: 2022-10-09 tags: - attack.persistence - attack.credential-access - attack.privilege-escalation - attack.t1098 logsource: product: aws service: cloudtrail detection: selection: eventSource: route53.amazonaws.com eventName: TransferDomainToAnotherAwsAccount condition: selection falsepositives: - A domain may be transferred to another AWS account by a system or network administrator. Verify whether the user identity, user agent, and/or hostname should be making changes in your environment. Domain transfers from unfamiliar users or hosts should be investigated. If known behavior is causing false positives, it can be exempted from the rule. level: low
Near-miss passage: Sigma rule: Detects execution and usage of the DSInternals PowerShell module. Which can be used to perform what might be considered. Logsource: windows / ps_script. Rule: title: DSInternals Suspicious PowerShell Cmdlets - ScriptBlock id: 846c7a87-8e14-4569-9d49-ecfd4276a01c related: - id: 43d91656-a9b2-4541-b7e2-6a9bd3a13f4e type: similar status: test description: 'Detects execution and usage of the DSInternals PowerShell module. Which can be used to perform what might be considered as suspicious activity such as dumping DPAPI backup keys or manipulating NTDS.DIT files. The DSInternals PowerShell Module exposes several internal features of Active Directory and Azure Active Directory. These include FIDO2 and NGC key auditing, offline ntds.dit file manipulation, password auditing, DC recovery from IFM backups and password hash calculation. ' references: - https://github.com/MichaelGrafnetter/DSInternals/blob/39ee8a69bbdc1cfd12c9afdd7513b4788c4895d4/Src/DSInternals.PowerShell/DSInternals.psd1 author: Nasreddine Bencherchali (Nextron Systems) date: 2024-06-26 tags: - attack.execution - attack.t1059.001 logsource: product: windows category: ps_script definition: 'Requirements: Script Block Logging must be enabled' detection: selection: ScriptBlockText|contains: - Add-ADDBSidHistory - Add-ADNgcKey - Add-ADReplNgcKey - ConvertFrom-ADManagedPasswordBlob - ConvertFrom-GPPrefPassword - ConvertFrom-ManagedPasswordBlob - ConvertFrom-UnattendXmlPassword - ConvertFrom-UnicodePassword - ConvertTo-AADHash - ConvertTo-GPPrefPassword - ConvertTo-KerberosKey - ConvertTo-LMHash - ConvertTo-MsoPasswordHash - ConvertTo-NTHash - ConvertTo-OrgIdHash - ConvertTo-UnicodePassword - Disable-ADDBAccount - Enable-ADDBAccount - Get-ADDBAccount - Get-ADDBBackupKey - Get-ADDBDomainController - Get-ADDBGroupManagedServiceAccount - Get-ADDBKdsRootKey - Get-ADDBSchemaAttribute - Get-ADDBServiceAccount - Get-ADDefaultPasswordPolicy - Get-ADKeyCredential - Get-ADPasswordPolicy - Get-ADReplAccount - Get-ADReplBackupKey - Get-ADReplicationAccount - Get-ADSIAccount - Get-AzureADUserEx - Get-BootKey - Get-KeyCredential - Get-LsaBackupKey - Get-LsaPolicy - Get-SamPasswordPolicy - Get-SysKey - Get-SystemKey - New-ADDBRestoreFromMediaScript - New-ADKeyCredential - New-ADNgcKey - New-NTHashSet - Remove-ADDBObject - Save-DPAPIBlob - Set-ADAccountPasswordHash - Set-ADDBAccountPassword - Set-ADDBBootKey - Set-ADDBDomainController - Set-ADDBPrimaryGroup - Set-ADDBSysKey - Set-AzureADUserEx - Set-LsaPolicy - Set-SamAccountPasswordHash - Set-WinUserPasswordHash - Test-ADDBPasswordQuality - Test-ADPasswordQuality - Test-ADReplPasswordQuality - Test-PasswordQuality - Unlock-AD