Query: write Sigma for Detects when an attacker modifies the registry value of the "hhctrl" to point to a custom binary
Matching passage: Sigma rule: Detects when an attacker modifies the registry value of the "hhctrl" to point to a custom binary. Logsource: windows / registry_set. Rule: title: Persistence Via Hhctrl.ocx id: f10ed525-97fe-4fed-be7c-2feecca941b1 status: test description: Detects when an attacker modifies the registry value of the "hhctrl" to point to a custom binary references: - https://persistence-info.github.io/Data/hhctrl.html - https://www.hexacorn.com/blog/2018/04/23/beyond-good-ol-run-key-part-77/ author: Nasreddine Bencherchali (Nextron Systems) date: 2022-07-21 modified: 2023-08-17 tags: - attack.persistence logsource: category: registry_set product: windows detection: selection: TargetObject|contains: \CLSID\{52A2AAAE-085D-4187-97EA-8C30DB990436}\InprocServer32\(Default) filter: Details: C:\Windows\System32\hhctrl.ocx condition: selection and not filter falsepositives: - Unlikely level: high
Near-miss passage: Sigma rule: An adversary may use legitimate desktop support and remote access software, such as Team Viewer, Go2Assist, LogMein, Amm. Logsource: windows / dns_query. Rule: title: DNS Query To Remote Access Software Domain From Non-Browser App id: 4d07b1f4-cb00-4470-b9f8-b0191d48ff52 related: - id: 71ba22cb-8a01-42e2-a6dd-5bf9b547498f type: obsolete - id: 7c4cf8e0-1362-48b2-a512-b606d2065d7d type: obsolete - id: ed785237-70fa-46f3-83b6-d264d1dc6eb4 type: obsolete status: test description: 'An adversary may use legitimate desktop support and remote access software, such as Team Viewer, Go2Assist, LogMein, AmmyyAdmin, etc, to establish an interactive command and control channel to target systems within networks. These services are commonly used as legitimate technical support software, and may be allowed by application control within a target environment. Remote access tools like VNC, Ammyy, and Teamviewer are used frequently when compared with other legitimate software commonly used by adversaries. (Citation: Symantec Living off the Land) ' references: - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1219/T1219.md#atomic-test-4---gotoassist-files-detected-test-on-windows - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1219/T1219.md#atomic-test-3---logmein-files-detected-test-on-windows - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1219/T1219.md#atomic-test-6---ammyy-admin-software-execution - https://redcanary.com/blog/misbehaving-rats/ - https://techcommunity.microsoft.com/t5/microsoft-sentinel-blog/hunting-for-omi-vulnerability-exploitation-with-azure-sentinel/ba-p/2764093 - https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-320a - https://blog.sekoia.io/scattered-spider-laying-new-eggs/ - https://learn.microsoft.com/en-us/windows/client-management/client-tools/quick-assist#disable-quick-assist-within-your-organization author: frack113, Connor Martin date: 2022-07-11 modified: 2024-12-17 tags: - attack.command-and-control - attack.t1219.002 logsource: product: windows category: dns_query detection: selection_generic: QueryName|endswith: - agent.jumpcloud.com - agentreporting.atera.com - ammyy.com - api.parsec.app - api.playanext.com - api.splashtop.com - app.atera.com - assist.zoho.com - authentication.logmeininc.com - beyondtrustcloud.com - cdn.kaseya.net - client.teamviewer.com - comserver.corporate.beanywhere.com - control.connectwise.com - downloads.zohocdn.com - dwservice.net - express.gotoassist.com - getgo.com - getscreen.me - integratedcha