Defender-DeviceNetworkEvents
11 ActionTypes
| ActionType | Title |
|---|---|
| any | Network activity (any) |
| ConnectionSuccess | Connection succeeded |
| ConnectionFailed | Connection failed |
| InboundConnectionAccepted | Inbound connection accepted |
| ListeningConnectionCreated | Listening connection created |
| ConnectionRequest | Connection request |
| DnsConnectionInspected | DNS connection inspected |
| DnsQueryResponse | DNS query / response |
| ConnectionAttempt | Connection attempt |
| ConnectionFound | Connection found |
| NetworkSignatureInspected | Network signature inspected |
any: Network activity (any)
#Description
Network activity (any)
Fields #
| Name | Description | Rules |
|---|---|---|
DeviceId | ||
Timestamp | ||
ActionType | ||
RemoteIP | ||
RemotePort | ||
RemoteUrl | ||
LocalIP | ||
LocalPort | ||
Protocol | ||
InitiatingProcessFileName | 2 detection rules | |
InitiatingProcessCommandLine |
Detection Patterns #
Lateral Movement: Distributed Component Object Model
Common Indicators #
Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
EventType | contains | inboundconnection | 1 rule | kusto |
EventType | ne | ListeningConnectionCreated | 2 rules | kusto |
CommandLine | contains | commandline | 1 rule | kusto, splunk |
OnboardingStatus | ne | Onboarded | 1 rule | kusto |
parent_process_name | eq | msiexec.exe | 1 rule | elastic, kusto, splunk |
parent_process_name | eq | svchost.exe | 1 rule | elastic, kusto, splunk |
Detection Rules #
View all rules referencing this event →Kusto #
You can further improve the query by using a list of servers that have privileges across the whole domain.Show 4 more (7 total)
References #
- Microsoft Defender XDR: advanced hunting reference https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-devicenetworkevents-table
- xdrinternals: XDR table schema https://xdrinternals.com/docs/microsoftxdr/devices/devicenetworkevents/
ConnectionSuccess: Connection succeeded
#Description
Connection succeeded
Fields #
| Name | Description |
|---|---|
DeviceId | |
Timestamp | |
RemoteIP | |
RemotePort | |
RemoteUrl | |
Protocol | |
InitiatingProcessFileName |
Common Indicators #
Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
EventType | eq | ConnectionSuccess | 7 rules | kusto |
EventType | in | ConnectionSuccess | 3 rules | kusto |
EventType | in | ConnectionAttempt | 2 rules | kusto |
EventType | in | ConnectionFailed | 2 rules | kusto |
EventType | in | ConnectionRequest | 2 rules | kusto |
DestinationPort | eq | 3389 | 2 rules | elastic, kusto, sigma, splunk |
DestinationPort | eq | 9389 | 2 rules | elastic, kusto, sigma, splunk |
DestinationPort | in | 445 | 3 rules | elastic, kusto |
DestinationPort | in | 135 | 2 rules | kusto |
DestinationPort | in | 3389 | 2 rules | elastic, kusto |
DestinationPort | in | 5985 | 2 rules | elastic, kusto |
DestinationPort | in | 5986 | 2 rules | elastic, kusto |
DestinationPort | in | 22 | 1 rule | elastic, kusto |
DestinationPort | in | 5900 | 1 rule | kusto |
DestinationPort | in | 80 | 1 rule | elastic, kusto, splunk |
Detection Rules #
View all rules referencing this event →Kusto #
Show 10 more (13 total)
mstsc.exe where it also makes a network connection to a public IP address. This behavior is an indication of Rogue RDP.
False Positives: Copying files to the local machine over RDP may cause false positives.
Below queries analyze the network connections made by the specified servers and detects the rare/anomalous ones.
You can add process info to the analysis, but it will probably generate more results(different processes for the same IP).
References #
- Microsoft Defender XDR: advanced hunting reference https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-devicenetworkevents-table
- xdrinternals: XDR table schema https://xdrinternals.com/docs/microsoftxdr/devices/devicenetworkevents/
ConnectionFailed: Connection failed
#Description
Connection failed
Fields #
| Name | Description |
|---|---|
DeviceId | |
Timestamp | |
RemoteIP | |
RemotePort | |
Protocol | |
InitiatingProcessFileName |
Common Indicators #
Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
DestinationPort | in | 135 | 1 rule | kusto |
DestinationPort | in | 3389 | 1 rule | elastic, kusto |
Detection Rules #
View all rules referencing this event →Kusto #
References #
- Microsoft Defender XDR: advanced hunting reference https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-devicenetworkevents-table
- xdrinternals: XDR table schema https://xdrinternals.com/docs/microsoftxdr/devices/devicenetworkevents/
InboundConnectionAccepted: Inbound connection accepted
#Description
Inbound connection accepted
Fields #
| Name | Description |
|---|---|
DeviceId | |
Timestamp | |
LocalIP | |
LocalPort | |
RemoteIP | |
Protocol |
Detection Patterns #
Lateral Movement: SMB/Windows Admin Shares
1 rule
Common Indicators #
Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
file_name | in | agentexecutor.exe | 1 rule | kusto |
file_name | in | appvlp.exe | 1 rule | kusto |
file_name | in | at.exe | 1 rule | kusto |
file_name | in | atbroker.exe | 1 rule | kusto |
file_name | in | bash.exe | 1 rule | kusto |
file_name | in | bginfo.exe | 1 rule | kusto |
file_name | in | bitsadmin.exe | 1 rule | kusto |
file_name | in | cdb.exe | 1 rule | kusto |
file_name | in | certreq.exe | 1 rule | kusto |
file_name | in | certutil.exe | 1 rule | kusto |
file_name | in | cmd.exe | 1 rule | kusto |
file_name | in | cmdkey.exe | 1 rule | kusto |
file_name | in | cmstp.exe | 1 rule | kusto |
file_name | in | control.exe | 1 rule | kusto |
file_name | in | csc.exe | 1 rule | kusto |
References #
- Microsoft Defender XDR: advanced hunting reference https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-devicenetworkevents-table
- xdrinternals: XDR table schema https://xdrinternals.com/docs/microsoftxdr/devices/devicenetworkevents/
ListeningConnectionCreated: Listening connection created
#Description
Listening connection created
Fields #
| Name | Description |
|---|---|
DeviceId | |
Timestamp | |
LocalIP | |
LocalPort | |
Protocol | |
InitiatingProcessFileName |
References #
- Microsoft Defender XDR: advanced hunting reference https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-devicenetworkevents-table
- xdrinternals: XDR table schema https://xdrinternals.com/docs/microsoftxdr/devices/devicenetworkevents/
ConnectionRequest: Connection request
#Description
Connection request
Fields #
| Name | Description |
|---|---|
DeviceId | |
Timestamp | |
RemoteIP | |
RemotePort | |
Protocol |
References #
- Microsoft Defender XDR: advanced hunting reference https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-devicenetworkevents-table
- xdrinternals: XDR table schema https://xdrinternals.com/docs/microsoftxdr/devices/devicenetworkevents/
DnsConnectionInspected: DNS connection inspected
#Description
DNS connection inspected
Fields #
| Name | Description |
|---|---|
DeviceId | |
Timestamp | |
RemoteUrl | |
RemoteIP | |
Protocol |
References #
- Microsoft Defender XDR: advanced hunting reference https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-devicenetworkevents-table
- xdrinternals: XDR table schema https://xdrinternals.com/docs/microsoftxdr/devices/devicenetworkevents/
DnsQueryResponse: DNS query / response
#Description
DNS query / response
Fields #
| Name | Description |
|---|---|
DeviceId | |
Timestamp | |
RemoteUrl | |
RemoteIP |
References #
- Microsoft Defender XDR: advanced hunting reference https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-devicenetworkevents-table
- xdrinternals: XDR table schema https://xdrinternals.com/docs/microsoftxdr/devices/devicenetworkevents/
ConnectionAttempt: Connection attempt
#Description
Connection attempt. Outbound connect() initiation; bridge is derivable-from, not one-to-one. Security 5156 fires for every WFP-allowed connection attempt whereas ConnectionAttempt is the MDE-filtered subset of interesting attempts. Cited by FalconFriday rule 0xFF-0270 NTLM Relay.
Fields #
| Name | Description |
|---|---|
DeviceId | |
Timestamp | |
RemoteIP | |
RemotePort | |
RemoteUrl | |
Protocol | |
InitiatingProcessFileName |
Common Indicators #
Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
DestinationPort | in | 445 | 1 rule | elastic, kusto |
DestinationPort | in | 80 | 1 rule | elastic, kusto, splunk |
Detection Rules #
View all rules referencing this event →Kusto #
References #
- Microsoft Defender XDR: advanced hunting reference https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-devicenetworkevents-table
- xdrinternals: XDR table schema https://xdrinternals.com/docs/microsoftxdr/devices/devicenetworkevents/
ConnectionFound: Connection found
#Description
Connection found. Established-connection observation; bridge is derivable-from. Cited by Sentinel hunting query Firewall Policy Design Assistant alongside ConnectionSuccess and ConnectionRequest as a union for any-state outbound TCP.
Fields #
| Name | Description |
|---|---|
DeviceId | |
Timestamp | |
RemoteIP | |
RemotePort | |
RemoteUrl | |
Protocol | |
InitiatingProcessFileName |
References #
- Microsoft Defender XDR: advanced hunting reference https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-devicenetworkevents-table
- xdrinternals: XDR table schema https://xdrinternals.com/docs/microsoftxdr/devices/devicenetworkevents/
NetworkSignatureInspected: Network signature inspected
#Description
Network signature inspected. Defender AV's Network Inspection System (NIS) signature engine result. Partial native bridge via Microsoft-Windows-Windows Defender/Operational 1116 (detection) / 1117 (action taken) when the Source field = NIS, and only when Defender AV with NIS is enabled. Cited by Sentinel hunting query CVE-2022-22965 Network Activity (Spring4Shell).
Fields #
| Name | Description |
|---|---|
DeviceId | |
Timestamp | |
RemoteIP | |
RemotePort | |
RemoteUrl | |
AdditionalFields | |
InitiatingProcessFileName |
Detection Rules #
View all rules referencing this event →Kusto #
NetworkSignatureInspected ActionType in MDE is sampled, which means not very event will be logged.
References #
- Microsoft Defender XDR: advanced hunting reference https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-devicenetworkevents-table
- xdrinternals: XDR table schema https://xdrinternals.com/docs/microsoftxdr/devices/devicenetworkevents/