Ross Wolf
6fca31c5de
Fix fleet package generation ( #1296 )
...
* Fix fleet package generation
* Add .lstrip()
* Lint fix
* Add newline
(cherry picked from commit e897a67604 )
2021-06-17 12:16:27 +00:00
Ross Wolf
98cb7b00cc
Simplify version locking code and fix 7.13.0 lock ( #1295 )
...
* Update version lock overwrite command
* Fix tooling and restore old version lock
* Lint fix
* Fix tests
* Remove dead code
* Filter to prod+deprecated rules
* Cast set -> list
* Store deprecation info
* Add correct version.lock.json (finally)
* Fix "stack_version" typo
* Remove stack_version
* Back out main.py changes
Co-authored-by: Justin Ibarra <brokensound77@users.noreply.github.com >
(cherry picked from commit f6839e98d1 )
2021-06-17 00:03:05 +00:00
Justin Ibarra
18765631fb
Fix rules which were note using v2 license ( #1291 )
...
(cherry picked from commit e0fa25ae8e )
2021-06-16 14:21:50 +00:00
Ross Wolf
915c2dea2a
[Bug] Fix ML job IDs that used hyphens ( #1287 )
...
* Fix ML job IDs that used hyphens
* Update ml_high_count_network_denies.toml
* Update ml_spike_in_traffic_to_a_country.toml
* Set updated_date
(cherry picked from commit 49cb2e8dbf )
2021-06-15 17:41:04 +00:00
David French
fb93735c0f
[Rule Tuning] Attempts to Brute Force an Okta User Account ( #1216 )
...
* update rule.threshold field value
* add rule authors
* bump updated_date
Co-authored-by: Justin Ibarra <brokensound77@users.noreply.github.com >
(cherry picked from commit 177cfc85bf )
2021-06-15 16:08:09 +00:00
Apoorva Joshi
cce7c126b6
Updating rules to query v2 ( #1254 )
...
Co-authored-by: Ross Wolf <31489089+rw-access@users.noreply.github.com >
(cherry picked from commit 1f7c88c6f4 )
2021-06-15 14:21:09 +00:00
Ross Wolf
1fd625d650
[Fleet] Update template and packaging code for fleet packages ( #1280 )
...
* Update template and packaging code for fleet packages
* Fix linting
(cherry picked from commit 61e5b44c44 )
2021-06-15 13:55:09 +00:00
Brent Murphy
683621fe62
[Rule Tuning] Update network rule address blocks ( #1227 )
...
* Update network rule address blocks
Co-authored-by: David French <56409778+threat-punter@users.noreply.github.com >
(cherry picked from commit 12577f7380 )
2021-06-15 13:23:16 +00:00
Austin Songer
3d6cefb296
[Rule Tuning] Attempts to brute force a microsoft 365 user account ( #1163 )
...
Update rules/microsoft-365/credential_access_microsoft_365_brute_force_user_account_attempt.toml
Co-authored-by: Brent Murphy <56412096+bm11100@users.noreply.github.com >
Co-authored-by: David French <56409778+threat-punter@users.noreply.github.com >
(cherry picked from commit 546e43071c )
2021-06-15 13:20:40 +00:00
Brent Murphy
8b3d085f73
Update persistence_suspicious_com_hijack_registry.toml ( #1244 )
...
(cherry picked from commit 13bf55480a )
2021-06-14 13:00:39 +00:00
Ross Wolf
ecbfb8b572
Add KQL support for additional ES field types ( #1247 )
...
(cherry picked from commit c98398f1ef )
2021-06-11 04:30:25 +00:00
Austin Songer
5d41f2719a
[New Rule] AWS EC2 VM Export Failure ( #1142 )
...
* New Rule: AWS EC2 VM Export Failure
* Update exfiltration_ec2_vm_export_failure.toml
* Update exfiltration_ec2_vm_export_failure.toml
* Update exfiltration_ec2_vm_export_failure.toml
* Update exfiltration_ec2_vm_export_failure.toml
* Update exfiltration_ec2_vm_export_failure.toml
* Update exfiltration_ec2_vm_export_failure.toml
* Update exfiltration_ec2_vm_export_failure.toml
Co-authored-by: David French <56409778+threat-punter@users.noreply.github.com >
(cherry picked from commit 6b45186827 )
2021-06-09 19:03:56 +00:00
Brent Murphy
1eb36b1a9e
[New Rule] Modification of AmsiEnable Registry Key ( #1248 )
...
* Create defense_evasion_amsienable_key_mod.toml
(cherry picked from commit fce022c275 )
2021-06-07 17:21:36 +00:00
Ross Wolf
cc6cc6bd3e
Lock the versions from 7.13.0 ( #1256 )
...
(cherry picked from commit 90c6f24e8f )
2021-06-04 22:15:47 +00:00
Apoorva Joshi
30644d0d6a
Update problem-child.md ( #1253 )
...
(cherry picked from commit 8bb7218e38 )
2021-06-03 19:47:15 +00:00
Justin Ibarra
14349b342d
Refactor experimental ML CLI and code ( #1218 )
...
* move github and ml to their own files
* refactor release and ml commands
* update ML readmes
* add unzip_to_dict function
* prompt for model ID in remove-model
* update experimental rule upload process
* update remove-scripts-pipelines to take multiple options
Co-authored-by: Ross Wolf <31489089+rw-access@users.noreply.github.com >
Co-authored-by: Apoorva <appujo@gmail.com >
(cherry picked from commit 0ec8d67e78 )
2021-06-03 04:37:34 +00:00
Justin Ibarra
057d29a8d2
Fix create-rule bug ( #1246 )
...
(cherry picked from commit e46f5e96d3 )
2021-06-01 16:31:59 +00:00
Brent Murphy
f91e0facea
Update privilege_escalation_persistence_phantom_dll.toml ( #1228 )
...
(cherry picked from commit 6626cbb943 )
2021-06-01 13:29:25 +00:00
Brent Murphy
f9805954ee
[New Rule] Unusual Network Connection via DllHost ( #1232 )
...
* Create defense_evasion_unusual_network_connection_via_dllhost.toml
* add timestamp override
(cherry picked from commit c457614e37 )
2021-05-28 19:09:26 +00:00
Brent Murphy
acfca54f73
[New Rule] Suspicious Execution from a Mounted Device ( #1230 )
...
* Create defense_evasion_suspicious_execution_from_mounted_device.toml
Co-authored-by: Justin Ibarra <brokensound77@users.noreply.github.com >
(cherry picked from commit 31e8d03438 )
2021-05-28 18:44:24 +00:00
Ross Wolf
4088f6b544
Add a command to create a Kibana PR ( #1208 )
...
* Add a command to create a Kibana PR
* Reformat code
* Fix docstring whitespace
* Make a hidden token prompt
* Fix E501
(cherry picked from commit b0270d059f )
2021-05-17 20:57:38 +00:00
Austin Songer
fcd29373d5
[Rule Tuning] High Number of Okta User Password Reset or Unlock Attempts ( #1200 )
...
* Update impact_iam_deactivate_mfa_device.toml
Co-authored-by: Brent Murphy <56412096+bm11100@users.noreply.github.com >
Co-authored-by: David French <56409778+threat-punter@users.noreply.github.com >
(cherry picked from commit 58ea49b092 )
2021-05-14 20:05:56 +00:00
Ross Wolf
afa6f1b541
Update backport.yml ( #1205 )
...
(cherry picked from commit a940c10ead )
2021-05-13 22:55:10 +00:00
Ross Wolf
79cd81288a
Port historical schemas to jsonschema ( #1084 )
...
* Port historical schemas to jsonschema
* Add marshmallow-json dependency
* Mark etc/api_schemas as binary
* Remove gitattributes attempt
* Lint fix
* Apply PR feedback
* Additional PR feedback
* Extract stack version from packages.yml
* Fix the backport schemas
* Cache the schema reads
* Add migration for #1167
* Make a separate 'migration not found' error
(cherry picked from commit eb40c52c7c )
2021-05-13 20:27:47 +00:00
Brent Murphy
88fda20b78
[Bug] Update main.py to fix toml-lint ( #1202 )
...
(cherry picked from commit e40276c12b )
2021-05-13 15:43:30 +00:00
Justin Ibarra
138e410a06
Cleanup note field in rules ( #1194 )
...
* standardize usage of note field
(cherry picked from commit 6ef5c53b0c )
2021-05-10 21:41:23 +00:00
Ross Wolf
9ac3de7c82
Retrieve branch history of main in backport job
...
(cherry picked from commit 60f5168f07 )
2021-05-06 23:17:30 -06:00
Ross Wolf
c11a07316c
Disable persist-credentials from checkout job ( #1187 )
...
* Disable persist-credentials from checkout job
* Set the token at the checkout stage
(cherry picked from commit 700c63d7d5 )
2021-05-07 05:15:48 +00:00
Ross Wolf
342c35766d
Use @protectionsmachine to push backports ( #1186 )
...
(cherry picked from commit a33e943591 )
2021-05-07 05:14:02 +00:00
Ross Wolf
00b479cb33
Fix backport job webhook + push ( #1185 )
...
(cherry picked from commit f3f344018b )
2021-05-06 21:40:05 -06:00
Ross Wolf
67febf3b45
Add job for 'backport: auto' labeled PRs ( #1174 )
...
* Add job for 'backport: auto' labeled PRs
* Limit the job to sequential only
* Fix delayed labels and use the right commit
* Add slack webhook integration
(cherry picked from commit 2ceb5b52c9 )
2021-05-06 21:39:54 -06:00
Justin Ibarra
a623e34a9e
Fix rule filenames during packaging ( #1158 )
2021-05-05 11:30:46 -08:00
Justin Ibarra
16b2761415
Allow ML rules to accept a single or array of job IDs ( #1167 )
2021-05-05 08:58:28 -08:00
Justin Ibarra
82ec6ac1ee
Convert windows rules from KQL to EQL ( #1114 )
2021-04-30 11:21:12 -08:00
Andrew Pease
92eaa5b18a
[New Rule] Threat intel indicator match rule ( #1133 )
2021-04-26 07:07:04 -05:00
Austin Songer
8362578492
[Rule Tuning] AWS IAM Deactivation of MFA Device ( #1132 )
...
* Update impact_iam_deactivate_mfa_device.toml
Co-authored-by: Brent Murphy <56412096+bm11100@users.noreply.github.com >
2021-04-23 14:52:54 -04:00
Justin Ibarra
a0a3143a52
Refresh beats and ecs schemas ( #1140 )
...
* download new beats and ecs schemas
* add beats download func by version and download v7.11.2
2021-04-22 09:49:06 -08:00
Ross Wolf
8d8bcfbc42
Add wildcard field support to KQL ( #1139 )
2021-04-22 11:15:38 -06:00
Justin Ibarra
cabe9239c0
Add threat_match rule type ( #1138 )
2021-04-22 09:03:57 -08:00
Ross Wolf
8789dd7c90
Separate out query validation from the class hierarchy ( #1136 )
...
* Separate out query validation from the class hierarchy
* Rename to *RuleData for consistency
* Apply suggestions from code review
* Fix lint error
2021-04-21 14:55:26 -06:00
Brent Murphy
ff45539369
[Deprecation] Deprecate inherently noisy rules based on testing ( #1122 )
...
* Demote maturity
Co-authored-by: Ross Wolf <31489089+rw-access@users.noreply.github.com >
2021-04-21 15:10:06 -04:00
Justin Ibarra
e656a984b3
Update threshold rule schema to disallow empty field string ( #1099 )
2021-04-15 16:22:45 -06:00
Ross Wolf
791c911b9e
Merge branch '7.12' into main
2021-04-15 16:17:59 -06:00
Ross Wolf
5669988e0b
Remove unnecessary required=False check
2021-04-15 16:16:42 -06:00
Samirbous
0400dc207a
[Deprecation] Process Discovery via Tasklist ( #1116 )
...
* [Deprecation] Process Discovery via Tasklist
* deprecation_date
* update date
* Update rules/_deprecated/discovery_process_discovery_via_tasklist_command.toml
Co-authored-by: Brent Murphy <56412096+bm11100@users.noreply.github.com >
Co-authored-by: Brent Murphy <56412096+bm11100@users.noreply.github.com >
2021-04-15 22:18:56 +02:00
Samirbous
e323084433
[Deprecation] Trusted Developer Application Usage ( #1118 )
...
* [Deprecation] Trusted Developer Application Usage
* update date
2021-04-15 22:15:38 +02:00
Samirbous
170b87097d
[New Rule] Potential Protocol Tunneling via EarthWorm ( #1094 )
...
* [New Rule] Potential Protocol Tunneling via EarthWorm
* fixed tactic ID
* fixed rule_id
* tactic case sensitive
* tags
* Update rules/linux/command_and_control_tunneling_via_earthworm.toml
Co-authored-by: Brent Murphy <56412096+bm11100@users.noreply.github.com >
Co-authored-by: Brent Murphy <56412096+bm11100@users.noreply.github.com >
2021-04-15 10:17:56 +02:00
Justin Ibarra
b0f449339d
add branch_name option to kibana-commit command
2021-04-14 21:16:09 -08:00
Justin Ibarra
dbd2874b4f
[Rule Tuning] Microsoft Exchange Server UM Writing Suspicious Files ( #1026 )
...
* [Rule Tuning] Microsoft Exchange Server UM Writing Suspicious Files
* revise note with information from microsoft
* add Exchange Server to paths
* replaced process.parent.name with process.name and C drive with ?
Co-authored-by: Samirbous <64742097+Samirbous@users.noreply.github.com >
2021-04-14 20:24:44 -08:00
Ross Wolf
9bbb122d20
Update the prebuilt rule link
2021-04-14 22:02:46 -06:00