Query: detection rule: Adversaries may abuse msiexec.exe to proxy the execution of malicious payloads
Matching passage: Sigma rule: Adversaries may abuse msiexec.exe to proxy the execution of malicious payloads. Logsource: windows / process_creation. Rule: title: Suspicious MsiExec Embedding Parent id: 4a2a2c3e-209f-4d01-b513-4155a540b469 status: test description: Adversaries may abuse msiexec.exe to proxy the execution of malicious payloads references: - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1218.007/T1218.007.md author: frack113 date: 2022-04-16 modified: 2022-07-14 tags: - attack.stealth - attack.t1218.007 logsource: product: windows category: process_creation detection: selection: Image|endswith: - \powershell.exe - \pwsh.exe - \cmd.exe ParentCommandLine|contains|all: - MsiExec.exe - '-Embedding ' filter_splunk_ufw: Image|endswith: :\Windows\System32\cmd.exe CommandLine|contains: C:\Program Files\SplunkUniversalForwarder\bin\ filter_vs: - CommandLine|contains: \DismFoDInstall.cmd - ParentCommandLine|contains|all: - '\MsiExec.exe -Embedding ' - Global\MSI0000 condition: selection and not 1 of filter* falsepositives: - Unknown level: medium
Near-miss passage: Sigma rule: A self-hosted runner is a system that you deploy and manage to execute jobs from GitHub Actions on GitHub.com. This rule. Logsource: github / audit. Rule: title: Github Self Hosted Runner Changes Detected id: f8ed0e8f-7438-4b79-85eb-f358ef2fbebd status: test description: 'A self-hosted runner is a system that you deploy and manage to execute jobs from GitHub Actions on GitHub.com. This rule detects changes to self-hosted runners configurations in the environment. The self-hosted runner configuration changes once detected, it should be validated from GitHub UI because the log entry may not provide full context. ' author: Muhammad Faisal (@faisalusuf) date: 2023-01-27 references: - https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners#about-self-hosted-runners - https://docs.github.com/en/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#search-based-on-operation tags: - attack.impact - attack.discovery - attack.collection - attack.persistence - attack.privilege-escalation - attack.initial-access - attack.stealth - attack.t1526 - attack.t1213.003 - attack.t1078.004 logsource: product: github service: audit definition: 'Requirements: The audit log streaming feature must be enabled to be able to receive such logs. You can enable following the documentation here: https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise#setting-up-audit-log-streaming' detection: selection: action: - org.remove_self_hosted_runner - org.runner_group_created - org.runner_group_removed - org.runner_group_runner_removed - org.runner_group_runners_added - org.runner_group_runners_updated - org.runner_group_updated - repo.register_self_hosted_runner - repo.remove_self_hosted_runner condition: selection falsepositives: - Allowed self-hosted runners changes in the environment. - A self-hosted runner is automatically removed from GitHub if it has not connected to GitHub Actions for more than 14 days. - An ephemeral self-hosted runner is automatically removed from GitHub if it has not connected to GitHub Actions for more than 1 day. level: low