Uncommon Connection to Active Directory Web Services
Detects uncommon network connections to the Active Directory Web Services (ADWS) from processes not typically associated with ADWS management.
Sigma rule (View on GitHub)
1title: Uncommon Connection to Active Directory Web Services
2id: b3ad3c0f-c949-47a1-a30e-b0491ccae876
3status: test
4description: |
5 Detects uncommon network connections to the Active Directory Web Services (ADWS) from processes not typically associated with ADWS management.
6references:
7 - https://medium.com/falconforce/soaphound-tool-to-collect-active-directory-data-via-adws-165aca78288c
8 - https://github.com/FalconForceTeam/FalconFriday/blob/a9219dfcfd89836f34660223f47d766982bdce46/Discovery/ADWS_Connection_from_Unexpected_Binary-Win.md
9author: '@kostastsale'
10date: 2024-01-26
11modified: 2026-11-05
12tags:
13 - attack.discovery
14 - attack.t1087
15logsource:
16 category: network_connection
17 product: windows
18detection:
19 selection:
20 Initiated: true
21 DestinationPort: 9389
22 filter_main_dsac:
23 Image: 'C:\Windows\system32\dsac.exe'
24 filter_main_ms_monitoring_agent:
25 Image|startswith: 'C:\Program Files\Microsoft Monitoring Agent\'
26 filter_main_powershell:
27 Image:
28 - 'C:\Program Files\PowerShell\7-preview\pwsh.exe'
29 - 'C:\Program Files\PowerShell\7\pwsh.exe'
30 - 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe'
31 - 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'
32 - 'C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell_ise.exe'
33 - 'C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe'
34 filter_main_pwsh_preview:
35 Image|contains:
36 - 'C:\Program Files\WindowsApps\Microsoft.PowerShellPreview'
37 - '\AppData\Local\Microsoft\WindowsApps\Microsoft.PowerShellPreview'
38 Image|endswith: '\pwsh.exe'
39 condition: selection and not 1 of filter_main_*
40falsepositives:
41 - ADWS is used by a number of legitimate applications that need to interact with Active Directory. These applications should be added to the allow-listing to avoid false positives.
42level: medium
References
Related rules
- HackTool - SOAPHound Execution
- Network Reconnaissance Activity
- Webshell Detection With Command Line Keywords
- Hacktool Ruler
- Potentially Suspicious EventLog Recon Activity Using Log Query Utilities