Detections

Explore public detection logic contributed by the community across SIEM and rule languages.

10 detections

Detects command and control communications via files on removable media
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
4 months ago
003
This rule detects potential air-gap bridging activity via removable media. Specifically, it looks for SMB traffic on port 445 containing the string "USBSTOR" (case-insensitive) and the file extension ".bin" (case-insensitive). This combination suggests a file transfer related to USB storage, possibly a firmware update or a malicious payload, being moved across a network segment, potentially bypassing an air-gapped system.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
005
Detects command and control communications via files on removable media
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
4 months ago
001
This rule detects potential command and control (C2) activity where commands are being read from a removable media share over SMB. It specifically looks for SMB traffic containing the string "USBSTOR" (case-insensitive) and ".txt" (case-insensitive), indicating access to text files on a USB storage device. A threshold of 5 occurrences within 30 seconds from the same source IP is applied to reduce false positives.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
001
Detects the creation of files within hidden folders on removable media that are designed to mimic the Windows Recycle Bin ($RECYCLE.BIN or $RECYCLE.BIN.USER). This technique is used by APT37's THUMBSBD and VIRUSTASK malware to stage malicious files (.rb, .dat) for bridging air-gapped networks.
avatar
Ethan Andrews@eandrews
avatar
Federal Signal Detections
8 months ago
2042
Check all created files.
That does not have extension ps1, bat or cmd to avoid IT Pro scripts.
That are not copied to C:\ to detect all file share, external drive, data partition that are not allowed, etc.
This could help to detect malicious insider/user that has unencrypted data partition and that are using it to exfiltrate data even while removable devices & cloud storage is blocked.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
3058
This query make a best-guess detection regarding which removable media device caused an AV detection.
The query is best run over 30 days to get the full USB history.
Get a list of USB AV detections. This assumes any path not beginning with C is a removable/USB device.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1033
Action "PnpDeviceConnected" reports the connection of any plug and play device.
Read more online on event 6416: https://docs.microsoft.com/windows/security/threat-protection/auditing/event-6416.
Query #1: look for rare one-time devices connected to a specific machine.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1027
Action "PnpDeviceConnected" reports the connection of any plug and play device.
Read more online on event 6416: https://docs.microsoft.com/windows/security/threat-protection/auditing/event-6416.
Query #1: look for rare one-time devices connected to a specific machine.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0022
Show usb mounted devices and drive letters
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1040