Query: Sigma rule for Detect usage of the "driverquery" utility. Which can be used to perform reconnaissance on installed drivers
Matching passage: Sigma rule: Detect usage of the "driverquery" utility. Which can be used to perform reconnaissance on installed drivers. Logsource: windows / process_creation. Rule: title: DriverQuery.EXE Execution id: a20def93-0709-4eae-9bd2-31206e21e6b2 related: - id: 9fc3072c-dc8f-4bf7-b231-18950000fadd type: similar status: test description: Detect usage of the "driverquery" utility. Which can be used to perform reconnaissance on installed drivers references: - https://thedfirreport.com/2023/01/09/unwrapping-ursnifs-gifts/ - https://www.vmray.com/cyber-security-blog/analyzing-ursnif-behavior-malware-sandbox/ - https://www.fireeye.com/blog/threat-research/2020/01/saigon-mysterious-ursnif-fork.html author: Nasreddine Bencherchali (Nextron Systems) date: 2023-01-19 modified: 2023-09-29 tags: - attack.discovery logsource: category: process_creation product: windows detection: selection: - Image|endswith: driverquery.exe - OriginalFileName: drvqry.exe filter_main_other: - ParentImage|endswith: - \cscript.exe - \mshta.exe - \regsvr32.exe - \rundll32.exe - \wscript.exe - ParentImage|contains: - \AppData\Local\ - \Users\Public\ - \Windows\Temp\ condition: selection and not 1 of filter_main_* falsepositives: - Legitimate use by third party tools in order to investigate installed drivers level: medium regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_driverquery_usage/info.yml
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