Commit Graph
1927 Commits
Author SHA1 Message Date
copilot-swe-agent[bot] d0083e8899 Initial plan 2025-11-18 02:35:27 +00:00
Moritz b0b486fe0c updated broken link (#1045) v9.3.1 v9.3.0 2025-11-12 11:26:26 +01:00
Mike Hunhoff 7a52b6f9c0 dotnet: adding new rules based on recent samples (#1082)
* dotnet: adding new rules based on recent samples
2025-11-07 08:39:46 +01:00
Zeze 9e4cc28265 feat: log keystrokes via rawinput (#1078)
* feat: log keystrokes via directx

* fix: williballenthin review

* move register-raw-input-devices from nursery

* use original rule name
2025-10-28 09:20:39 -06:00
Zeze 14dcc55c32 Merge pull request #1079 from zeze-zeze/zeze/feat/DirectInput
feat: log keystrokes via direct input
2025-10-28 14:12:07 +01:00
JJ 7ae786cf70 Add new rule use-io_uring-io-interface-on-linux.yml (#1080) 2025-10-20 09:27:16 -06:00
Paul fa246a4a9b terminate process with RestartMgr.RmShutdown (#1077)
* terminate process with RestartMgr.RmShutdown

* fix 'and' to 'api'
2025-09-23 14:17:49 -06:00
JJ 277540ac24 Add LdrCallEnclave in execute-shellcode-via-windows-callback-function.yml (#1076) 2025-09-09 13:21:58 -06:00
JJ 1a065e6dea Move get-routing-table.yml out of nursery. Add enumerate-tcp-connecti… (#1074)
* Move get-routing-table.yml out of nursery. Add enumerate-tcp-connections-via-wmi-com-api.yml and create-routing-table-entry.yml

* Update scopes in enumerate-tcp-connections-via-wmi-com-api.yml, create-routing-table-entry.yml, get-routing-table.yml
2025-09-09 13:21:48 -06:00
Elad Levi 5d990adef2 Move impersonate user from nursery (#1072)
* Move and update impersonate-user rule

Renamed impersonate-user.yml from nursery to host-interaction/user and added an examples section with a sample hash.

* Simplify API checks in impersonate-user rule

Removed optional and or conditions for GetUserName and DuplicateToken APIs

* Bring the Ex back
2025-09-03 10:27:04 -06:00
JJ 4026d60a48 Update enumerate-minifilter-drivers.yml (#1075) 2025-09-03 10:08:36 -06:00
JJ 19d48abd05 Add rules linked-against-funchook.yml and linked-against-plthook.yml (#1073) 2025-09-03 10:05:13 -06:00
JJ 13e8622f8a Add rule execute-jscript-via-vsaengine-in-dotnet.yml (#1071) 2025-08-25 13:07:56 -06:00
JJ 35b17b676e Merge linking/static/hp-socket/linked-against-hp-socket.yml and nursery/linked-against-hp-socket.yml (#1070) 2025-08-22 08:57:57 -06:00
JJ 6859d7c688 Add rule linked-against-hp-socket.yml (#1069)
* Add rule linked-against-hp-socket.yml

* Update linking/static/hp-socket/linked-against-hp-socket.yml
2025-08-21 08:56:38 -06:00
JJ 6d6495a16c Add linking/static/grpc/linked-against-grpc.yml (#1068)
* Add linking/static/grpc/linked-against-grpc.yml

* Update linking/static/grpc/linked-against-grpc.yml
2025-08-21 08:56:28 -06:00
JJ 1874535449 Add disable-powershell-transcription.yml and access-powershell-lockdo… (#1065)
* Add disable-powershell-transcription.yml and access-powershell-lockdown-policy.yml

* Update disable-powershell-transcription.yml and bypass-powershell-constrained-language-mode-via-getsystemlockdownpolicy-patch.yml
2025-08-20 10:04:29 -06:00
Mike Hunhoff ebdd6b85d5 update reference-http-user-agent-string.yml (#1067)
* update reference-http-user-agent-string.yml

* update rule documentation
2025-08-14 14:59:09 -06:00
JJ c783febdc5 Add linked-against-eclipse-paho-mqtt-c.yml and linked-against-qmqtt.yml (#1066)
* Add linked-against-eclipse-paho-mqtt-c.yml and linked-against-qmqtt.yml

* Update examples - swapping for much smaller files
2025-08-14 09:11:33 -06:00
JJ 760c214299 Update patch-antimalware-scan-interface-function.yml - include additional functions that can be patched (#1064) 2025-08-13 08:39:59 -06:00
Mike Hunhoff 7a719809d1 new/updated rules from recent malware samples (#1063) 2025-08-12 10:21:05 -06:00
JJ c76ef7fb9b Add patch-bitdefender-hooking-dll-function.yml rule (#1061) 2025-08-12 09:43:24 -06:00
JJ b18e5f1046 Add CAPA rule packed-with-dxpack.yml (#1062) 2025-08-12 09:42:37 -06:00
Moritz 2f09b4d471 add create executable heap rule (#1058) 2025-08-04 12:40:42 -06:00
Teva JEANDIDIERandMike Hunhoff 47ee3a8777 Add rule to detect advanced mouse movement analysis references issue … (#1055)
* Add rule to detect advanced mouse movement analysis references issue #1050

* Update nursery/detect-mouse-movement-analysis.yml

Co-authored-by: Mike Hunhoff <[email protected]>

* Update nursery/detect-mouse-movement-analysis.yml

Co-authored-by: Mike Hunhoff <[email protected]>

* Move the new rule for mouse analysis to the vm-detection folder

* Fix filename to match the rule name

---------

Co-authored-by: Mike Hunhoff <[email protected]>
2025-06-20 10:16:06 -06:00
Mike Hunhoff edabdffa8c use call scope for get-local-ipv4-addresses (#1052) v9.2.1 v9.2.0 2025-06-02 13:16:36 -06:00
Mike Hunhoff 2676846e77 tighten subscope for get-local-ipv4-addresses (#1051) 2025-06-02 12:46:52 -06:00
Elad Levi 834981fcfe Unload Sysmon (#1049)
* Create unload-sysmon.yml

* Update unload-sysmon.yml
2025-05-28 14:44:20 -06:00
zdw@ e6df480758 add first set of exploit detection rules (#1046)
* add ntoskrnl.exe loading rule

* fix name

* add explicit os

* add suspicious ntquerysysteinformation detections

* ntfscontrolfile wip

* fix ntfscontrolfile rule

* rename ntquerysysinfo rule

* add ntoskrnl gadgets rule

* make descs more generic

* refactor rules to exploitation namespace

* add caveat to ntfscontrolfile rule

* tweak rule names

* tweak ntfscontrolfile name
2025-05-22 12:53:30 -06:00
Elad Levi 61092d21b5 Unload minifilter drivers (#1047)
* Update unload-driver.yml

* moved rule to unload-minifilter-driver

* removed author

* removed example
2025-05-19 12:21:19 -06:00
Elad Levi 83fe95befc Deleting file content via truncation (#1040)
* Update delete-file.yml

* Create clear-content.yml

* Update delete-file.yml

* Rename clear-content.yml to clear-file-content.yml

* Added example
2025-05-19 12:20:50 -06:00
Mustafa Günel ec9e1c5efe updated broken link 2025-05-06 14:25:43 +03:00
Mike Hunhoff d64c2c91ea add new rules to detect disabling system features via registry on Windows (#1034)
* add new rules to detect disabling features via registry on Windows

* refactor

* refactor

* refactor

* update control registry regex to better handle multiple control sets
2025-03-24 10:38:19 -06:00
Still / Azaka 7269873b0c Add rules for detecting donut-related features (#997)
* Initial additions for detecting donut features

Signed-off-by: Still Hsu <[email protected]>

* Lint rules

Signed-off-by: Still Hsu <[email protected]>

* Update ATT&CK for donut rule

Signed-off-by: Still Hsu <[email protected]>

* Fix comment for dynamic scope on donut loader

Signed-off-by: Still Hsu <[email protected]>

* Require at least one donut function match for donut rule

Signed-off-by: Still Hsu <[email protected]>

* Add offset for examples

Signed-off-by: Still Hsu <[email protected]>

* Add indirect call for IAssembly matching

Signed-off-by: Still Hsu <[email protected]>

* Match known vtable offsets for assembly loading

* Remove loop matching

---------

Signed-off-by: Still Hsu <[email protected]>
2025-03-21 10:15:28 -06:00
Mike Hunhoff 2800fd34de add disable-system-features-via-registry-on-windows (#1033)
* add disable-system-tools-via-registry-on-windows

* rename to "disable system features via registry on windows"
2025-03-21 08:39:42 -06:00
Tanmay R K af09ec07d0 detect usage of TripleDesCryptoServiceProvider (#1021)
* detect usage of TripleDESCryptoServiceProvider

* detect usage of TripleDes via dotnet api

* detect usage of TripleDesCryptoServiceProvider

* removed duplicate file

* seperate encrypt and decrypt methods

* changed file names to match desc

* lint fix

* lint fix

* small fixes
2025-03-20 09:06:27 -06:00
Mike Hunhoff 9acd31998f add APIs to "check mutex on windows" and "create or open mutex on windows" to reduce FNs (#1031) 2025-03-20 09:00:29 -06:00
Mike Hunhoff 48a553e1ca add more APIs to "link function at runtime on Windows" to remove FNs (#1029) 2025-03-19 11:29:07 -06:00
Mike Hunhoff e85887a875 fix: escape "." that are not expected to be dot operators (#1028) 2025-03-18 15:01:39 -06:00
Mike Hunhoff c002c5cd96 remove FPs from allocate-or-change-rwx-memory.yml (#1027) 2025-03-18 08:01:36 -06:00
Elad Levi 4e6fc23354 Update manipulate-boot-configuration.yml (#1026) 2025-03-16 09:15:10 -06:00
Moritz 95bcf669da Merge pull request #1024 from mandiant/fix/find-taskbar/fp 2025-03-15 14:03:37 +01:00
Mike Hunhoff 86484920a0 reduce scopes to remove _find-taskbar_ fps 2025-03-14 16:11:53 -06:00
Dhruva Kumar Kaushal 6697513245 improve TCP/UDP socket creation matching #964 (#993)
* improve TCP/UDP socket creation matching #964

* Adding references

* adding IPPROTO_UDP

* relax rule

* function -> basic block

* adding bytes for indirect(0)

* adding bytes for indirect(0)

* back to default changes

* moved to nursery

* final change

* resolving comment

* indentation error
2025-03-14 11:45:36 -06:00
vibhatsu 740d47393e Enter debug mode rule (#1022)
* add rule for enterdebugmode in nursery

Signed-off-by: vibhatsu <[email protected]>

* better description for enterdebugmode

Signed-off-by: vibhatsu <[email protected]>

* enter-debug-mode-in-dotnet: rename, reduce static scope to basic block, format dotnet only

Signed-off-by: vibhatsu <[email protected]>

* enter-debug-mode-in-dotnet: fix linting error

Signed-off-by: vibhatsu <[email protected]>

* enter-debug-mode-in-dotnet: more specific namespace

Signed-off-by: vibhatsu <[email protected]>

---------

Signed-off-by: vibhatsu <[email protected]>
2025-03-14 11:41:19 -06:00
Elad Levi 7437cfeaaf Remove EvtOpenLog (#1019) 2025-03-11 09:56:23 -06:00
Hafiz Farhad 77f06fd049 Addresses #965: Create separate rules for socket connects (TCP/UDP) (#1017)
* Separate socket connection rules for TCP and UDP

- Introduce a generic "connect socket" rule capturing common connection APIs (connect, ws2_32.connect, WSAConnect, ConnectEx, and related ConnectEx setup patterns).
- Refactor the TCP connect rule to require a match on "create TCP socket" and the generic rule, preserving TCP-specific behaviors while maximizing reuse.
- Add a new UDP connect rule that requires a match on "create UDP socket" and the generic connect rule.

Closes #965.

* Update socket rule examples with correct offsets for UDP/TCP

* Updated suggested changes
2025-03-10 14:38:43 -06:00
Elad LeviandMike Hunhoff 3bd8cf7646 Improve Accuracy of Various Detections (#1010)
* Update impersonate-user.yml

* Update enumerate-processes-on-remote-desktop-session-host.yml

* Update enumerate-processes-on-remote-desktop-session-host.yml

* Update enumerate-processes-on-remote-desktop-session-host.yml

* Update nursery/impersonate-user.yml

Co-authored-by: Mike Hunhoff <[email protected]>

* Update host-interaction/process/list/enumerate-processes-on-remote-desktop-session-host.yml

Co-authored-by: Mike Hunhoff <[email protected]>

---------

Co-authored-by: Mike Hunhoff <[email protected]>
2025-03-10 14:19:23 -06:00
Mike Hunhoff 650b491648 tighten "persist via run registry key" to reduce FPs (#1016)
* tighten "persist via run registry key" to reduce FPs

* fix lints
2025-03-10 13:48:13 -06:00
Mike Hunhoff 5fb8cee820 tighten receive-http-request (#1015) 2025-03-05 13:56:15 -07:00