@gendigital/sage-opencode 0.9.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/README.md +60 -71
  2. package/dist/bundled-dirs.d.ts +1 -1
  3. package/dist/bundled-dirs.d.ts.map +1 -1
  4. package/dist/bundled-dirs.js +1 -1
  5. package/dist/bundled-dirs.js.map +1 -1
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +83 -18
  8. package/dist/index.js.map +1 -1
  9. package/dist/mcp-server.cjs +31776 -0
  10. package/dist/mcp-server.cjs.map +7 -0
  11. package/dist/plugin-discovery.js +1 -1
  12. package/dist/plugin-discovery.js.map +1 -1
  13. package/dist/startup-scan.d.ts.map +1 -1
  14. package/dist/startup-scan.js +3 -2
  15. package/dist/startup-scan.js.map +1 -1
  16. package/dist/tool-handler.d.ts +1 -1
  17. package/dist/tool-handler.d.ts.map +1 -1
  18. package/dist/tool-handler.js +61 -6
  19. package/dist/tool-handler.js.map +1 -1
  20. package/package.json +6 -4
  21. package/resources/threats/agent-layer.yaml +186 -0
  22. package/resources/threats/commands.yaml +24 -53
  23. package/resources/threats/credentials.yaml +12 -20
  24. package/resources/threats/dummy.yaml +22 -33
  25. package/resources/threats/files.yaml +34 -53
  26. package/resources/threats/mac-commands.yaml +20 -47
  27. package/resources/threats/mac-credentials.yaml +4 -12
  28. package/resources/threats/mac-files.yaml +5 -15
  29. package/resources/threats/mac-obfuscation.yaml +6 -13
  30. package/resources/threats/mac-persistence.yaml +11 -20
  31. package/resources/threats/mac-supply-chain.yaml +5 -8
  32. package/resources/threats/mitre.yaml +105 -167
  33. package/resources/threats/obfuscation.yaml +7 -15
  34. package/resources/threats/persistence.yaml +10 -17
  35. package/resources/threats/prompt-injection.yaml +94 -44
  36. package/resources/threats/self-defense.yaml +8 -12
  37. package/resources/threats/supply_chain.yaml +1 -2
  38. package/resources/threats/urls.yaml +9 -14
  39. package/resources/threats/win-commands.yaml +46 -106
  40. package/resources/threats/win-credentials.yaml +15 -25
  41. package/resources/threats/win-files.yaml +10 -20
  42. package/resources/threats/win-obfuscation.yaml +21 -37
  43. package/resources/threats/win-persistence.yaml +8 -16
  44. package/resources/threats/win-supply-chain.yaml +2 -3
  45. package/dist/logger-adaptor.d.ts +0 -15
  46. package/dist/logger-adaptor.d.ts.map +0 -1
  47. package/dist/logger-adaptor.js +0 -32
  48. package/dist/logger-adaptor.js.map +0 -1
  49. /package/resources/{allowlists → trusted-domains}/trusted-installer-domains.yaml +0 -0
@@ -1,14 +1,13 @@
1
1
  # MITRE ATT&CK threat detection patterns for Sage
2
2
  # Author: Gen Digital Inc.
3
3
  # License: DRL-1.1 (see threats/LICENSE)
4
- # Schema: id, category, severity, confidence, action, pattern, match_on, title, expires_at, revoked
4
+ # Schema: id, category, severity, confidence, pattern, match_on, title, expires_at, revoked, flags
5
5
 
6
6
  # --- T1003.001: LSASS Memory ---
7
7
  - id: "CLT-MITRE-001"
8
8
  category: credential_access
9
9
  severity: critical
10
10
  confidence: 0.90
11
- action: block
12
11
  pattern: "(rundll32(\\.exe)?.*comsvcs\\.dll,MiniDump.*|procdump.*-ma.*lsass\\.exe.*lsass_dump|sekurlsa::Minidump.*lsassdump\\.dmp|sekurlsa::logonPasswords)"
13
12
  case_insensitive: true
14
13
  match_on: command
@@ -21,7 +20,6 @@
21
20
  category: credential_access
22
21
  severity: critical
23
22
  confidence: 0.90
24
- action: block
25
23
  pattern: "(reg.*save.*HKLM.*sam.*sam|reg.*save.*HKLM.*system.*system)"
26
24
  case_insensitive: true
27
25
  match_on: command
@@ -34,7 +32,6 @@
34
32
  category: credential_access
35
33
  severity: critical
36
34
  confidence: 0.90
37
- action: block
38
35
  pattern: "ntdsutil(\\.exe)?"
39
36
  case_insensitive: true
40
37
  match_on: command
@@ -47,7 +44,6 @@
47
44
  category: credential_access
48
45
  severity: critical
49
46
  confidence: 0.90
50
- action: block
51
47
  pattern: "Get-LSASecret\\.ps1"
52
48
  case_insensitive: true
53
49
  match_on: command
@@ -60,7 +56,6 @@
60
56
  category: credential_access
61
57
  severity: critical
62
58
  confidence: 0.90
63
- action: block
64
59
  pattern: "cmdkey(\\.exe)?.*/list"
65
60
  case_insensitive: true
66
61
  match_on: command
@@ -73,7 +68,6 @@
73
68
  category: credential_access
74
69
  severity: critical
75
70
  confidence: 0.90
76
- action: block
77
71
  pattern: "Invoke-Mimikatz.*-Command.*lsadump::dcsync.*/user:"
78
72
  case_insensitive: true
79
73
  match_on: command
@@ -86,7 +80,6 @@
86
80
  category: credential_access
87
81
  severity: critical
88
82
  confidence: 0.90
89
- action: block
90
83
  pattern: "(reg(\\.exe)? (save|export).*SAM|(PasswordDump|CreateMiniDump)|Invoke-PowerDump\\.ps1|Get-PassHashes\\.ps1|Get-RegAutoLogon\\.ps1)"
91
84
  case_insensitive: true
92
85
  match_on: command
@@ -97,9 +90,8 @@
97
90
  # --- T1020: Automated Exfiltration ---
98
91
  - id: "CLT-MITRE-012"
99
92
  category: exfiltration
100
- severity: high
101
- confidence: 0.80
102
- action: require_approval
93
+ severity: warning
94
+ confidence: 0.60
103
95
  pattern: "(rar(\\.exe)?.*[afu].*\\s(-dw|-tb|-ta)|7z(\\.exe)?.*[au].*-sdel|Add-Exfiltration\\.ps1|Do-Exfiltration\\.ps1|Invoke-PostExfil\\.ps1)"
104
96
  case_insensitive: true
105
97
  match_on: command
@@ -110,9 +102,8 @@
110
102
  # --- T1021.003: Distributed Component Object Model ---
111
103
  - id: "CLT-MITRE-014"
112
104
  category: lateral_movement
113
- severity: high
114
- confidence: 0.80
115
- action: require_approval
105
+ severity: warning
106
+ confidence: 0.60
116
107
  pattern: "Invoke-DCOM.*\\-ComputerName"
117
108
  case_insensitive: true
118
109
  match_on: command
@@ -123,9 +114,8 @@
123
114
  # --- T1027.003: Steganography ---
124
115
  - id: "CLT-MITRE-016"
125
116
  category: defense_evasion
126
- severity: high
127
- confidence: 0.80
128
- action: require_approval
117
+ severity: warning
118
+ confidence: 0.60
129
119
  pattern: "(Invoke-PSImage.*-Script|Invoke-PSImage)"
130
120
  case_insensitive: true
131
121
  match_on: command
@@ -136,9 +126,8 @@
136
126
  # --- T1027.005: Indicator Removalfrom Tools ---
137
127
  - id: "CLT-MITRE-017"
138
128
  category: defense_evasion
139
- severity: high
140
- confidence: 0.80
141
- action: require_approval
129
+ severity: warning
130
+ confidence: 0.60
142
131
  pattern: "Find-AVSignature.*-Startbyte"
143
132
  case_insensitive: true
144
133
  match_on: command
@@ -149,9 +138,8 @@
149
138
  # --- T1040: Network Sniffing ---
150
139
  - id: "CLT-MITRE-020"
151
140
  category: credential_access
152
- severity: high
153
- confidence: 0.80
154
- action: require_approval
141
+ severity: warning
142
+ confidence: 0.60
155
143
  pattern: "netsh(\\.exe)?.*start.*trace"
156
144
  case_insensitive: true
157
145
  match_on: command
@@ -162,9 +150,8 @@
162
150
  # --- T1046: Network Service Scanning ---
163
151
  - id: "CLT-MITRE-022"
164
152
  category: discovery
165
- severity: high
166
- confidence: 0.80
167
- action: require_approval
153
+ severity: warning
154
+ confidence: 0.60
168
155
  pattern: "(\\btelnet(\\.exe)?\\b|\\bnmap(\\.exe)?\\b|Invoke-ARPScan\\.ps1|Invoke-PortScan\\.ps1|Invoke-SMBScanner\\.ps1|Port-Scan\\.ps1)"
169
156
  case_insensitive: true
170
157
  match_on: command
@@ -177,7 +164,6 @@
177
164
  category: exfiltration
178
165
  severity: critical
179
166
  confidence: 0.90
180
- action: block
181
167
  pattern: "(dnscat2|iodine)"
182
168
  case_insensitive: true
183
169
  match_on: command
@@ -188,9 +174,8 @@
188
174
  # --- T1053.005: Scheduled Task ---
189
175
  - id: "CLT-MITRE-026"
190
176
  category: persistence
191
- severity: high
192
- confidence: 0.80
193
- action: require_approval
177
+ severity: warning
178
+ confidence: 0.60
194
179
  pattern: "(schtasks(\\.exe)?\\s+/create|schtasks(\\.exe)?\\s+/%windir:~0,1%reate|\\bat\\.exe\\b)"
195
180
  case_insensitive: true
196
181
  match_on: command
@@ -203,7 +188,6 @@
203
188
  category: defense_evasion
204
189
  severity: critical
205
190
  confidence: 0.90
206
- action: block
207
191
  pattern: "Invoke-DllInjection\\.ps1"
208
192
  case_insensitive: true
209
193
  match_on: command
@@ -214,9 +198,8 @@
214
198
  # --- T1069: Permission Groups Discovery ---
215
199
  - id: "CLT-MITRE-032"
216
200
  category: discovery
217
- severity: medium
218
- confidence: 0.70
219
- action: require_approval
201
+ severity: warning
202
+ confidence: 0.60
220
203
  pattern: "Get-ManagementRoleAssignment"
221
204
  case_insensitive: true
222
205
  match_on: command
@@ -227,9 +210,8 @@
227
210
  # --- T1070.004: File Deletion ---
228
211
  - id: "CLT-MITRE-033"
229
212
  category: defense_evasion
230
- severity: high
231
- confidence: 0.80
232
- action: require_approval
213
+ severity: warning
214
+ confidence: 0.60
233
215
  pattern: "(cmd(\\.exe)?\\s+/c\\s+del\\s+/[sqf]|fsutil(\\.exe)?.*usn.*deleteJournal)"
234
216
  case_insensitive: true
235
217
  match_on: command
@@ -240,9 +222,8 @@
240
222
  # --- T1070.005: Network Share Connection Removal ---
241
223
  - id: "CLT-MITRE-034"
242
224
  category: defense_evasion
243
- severity: high
244
- confidence: 0.80
245
- action: require_approval
225
+ severity: warning
226
+ confidence: 0.60
246
227
  pattern: "net(1)?(\\.exe)?.*use.*\\\\\\\\.*\\\\.*/delete$"
247
228
  case_insensitive: true
248
229
  match_on: command
@@ -253,9 +234,8 @@
253
234
  # --- T1087.002: Domain Account ---
254
235
  - id: "CLT-MITRE-037"
255
236
  category: discovery
256
- severity: medium
257
- confidence: 0.70
258
- action: require_approval
237
+ severity: warning
238
+ confidence: 0.60
259
239
  pattern: "(net1.*user.*/dom|net(\\.exe)?.*user.*/dom|net1.*group.*/dom|net(\\.exe)?.*group.*/dom)"
260
240
  case_insensitive: true
261
241
  match_on: command
@@ -266,9 +246,8 @@
266
246
  # --- T1087.003: Email Account ---
267
247
  - id: "CLT-MITRE-038"
268
248
  category: discovery
269
- severity: medium
270
- confidence: 0.70
271
- action: require_approval
249
+ severity: warning
250
+ confidence: 0.60
272
251
  pattern: "Get-.*GlobalAddressList"
273
252
  case_insensitive: true
274
253
  match_on: command
@@ -279,9 +258,8 @@
279
258
  # --- T1098.002: Exchange Email Delegate Permissions ---
280
259
  - id: "CLT-MITRE-039"
281
260
  category: persistence
282
- severity: high
283
- confidence: 0.80
284
- action: require_approval
261
+ severity: warning
262
+ confidence: 0.60
285
263
  pattern: "Add-MailboxPermission"
286
264
  case_insensitive: true
287
265
  match_on: command
@@ -292,9 +270,8 @@
292
270
  # --- T1098: Account Manipulation ---
293
271
  - id: "CLT-MITRE-040"
294
272
  category: persistence
295
- severity: high
296
- confidence: 0.80
297
- action: require_approval
273
+ severity: warning
274
+ confidence: 0.60
298
275
  pattern: "(net(1|\\.exe)?.*user.*\\w+.*/add|net(1|\\.exe)?.*group.*Administrators.*\\w+ /add|net(1|\\.exe)?.*localgroup.*Administrators.*\\w+ /add)"
299
276
  case_insensitive: true
300
277
  match_on: command
@@ -305,9 +282,8 @@
305
282
  # --- T1105: Ingress Tool Transfer ---
306
283
  - id: "CLT-MITRE-041"
307
284
  category: command_and_control
308
- severity: high
309
- confidence: 0.80
310
- action: require_approval
285
+ severity: warning
286
+ confidence: 0.60
311
287
  pattern: "(certutil(\\.exe)?.*-(decode|decodehex|encode|ping|url|urlcache|verifyctl)|MpCmdRun(\\.exe)?.*-DownloadFile.*-url.*http|\\(new-object System\\.Net\\.WebClient\\)\\.DownloadFile|bitsadmin(\\.exe)?.*/(transfer|download|create|addfile|setnotifycmdline|resume|complete)|Start-BitsTransfer)"
312
288
  case_insensitive: true
313
289
  match_on: command
@@ -318,9 +294,8 @@
318
294
  # --- T1110.004: Credential Stuffing ---
319
295
  - id: "CLT-MITRE-042"
320
296
  category: credential_access
321
- severity: high
322
- confidence: 0.80
323
- action: require_approval
297
+ severity: warning
298
+ confidence: 0.60
324
299
  pattern: "Invoke-CredentialInjection\\.ps1"
325
300
  case_insensitive: true
326
301
  match_on: command
@@ -331,9 +306,8 @@
331
306
  # --- T1120: Peripheral Device Discovery ---
332
307
  - id: "CLT-MITRE-043"
333
308
  category: discovery
334
- severity: medium
335
- confidence: 0.70
336
- action: require_approval
309
+ severity: warning
310
+ confidence: 0.60
337
311
  pattern: "(Get-WMIObject.*Win32_PnPEntity|pnputil(\\.exe)?.*/enum-devices)"
338
312
  case_insensitive: true
339
313
  match_on: command
@@ -344,9 +318,8 @@
344
318
  # --- T1136.001: Local Account ---
345
319
  - id: "CLT-MITRE-048"
346
320
  category: persistence
347
- severity: high
348
- confidence: 0.80
349
- action: require_approval
321
+ severity: warning
322
+ confidence: 0.60
350
323
  pattern: "net(1)?(\\.exe)?.*user.*/add"
351
324
  case_insensitive: true
352
325
  match_on: command
@@ -357,9 +330,8 @@
357
330
  # --- T1136.002: Domain Account ---
358
331
  - id: "CLT-MITRE-049"
359
332
  category: persistence
360
- severity: high
361
- confidence: 0.80
362
- action: require_approval
333
+ severity: warning
334
+ confidence: 0.60
363
335
  pattern: "net(1)?(\\.exe)?.*user.*/add.*/domain"
364
336
  case_insensitive: true
365
337
  match_on: command
@@ -370,9 +342,8 @@
370
342
  # --- T1201: Password Policy Discovery ---
371
343
  - id: "CLT-MITRE-050"
372
344
  category: discovery
373
- severity: medium
374
- confidence: 0.70
375
- action: require_approval
345
+ severity: warning
346
+ confidence: 0.60
376
347
  pattern: "(net.*accounts|Get-ADDefaultDomainPasswordPolicy|Get-PassPol)"
377
348
  case_insensitive: true
378
349
  match_on: command
@@ -383,9 +354,8 @@
383
354
  # --- T1202: Indirect Command Execution ---
384
355
  - id: "CLT-MITRE-051"
385
356
  category: defense_evasion
386
- severity: high
387
- confidence: 0.80
388
- action: require_approval
357
+ severity: warning
358
+ confidence: 0.60
389
359
  pattern: "(regsvr32(\\.exe)?.*/i:http(s)?://.+.*scrobj\\.dll|rundll32(\\.exe)?.*pcwutl\\.dll,LaunchApplication|rundll32(\\.exe)?.*shell32\\.dll,ShellExec_RunDLL|rundll32(\\.exe)?.*url\\.dll,OpenURL|msiexec(\\.exe)?.*-(Y|Z)|regasm(\\.exe)?.*/u.*\\\\)"
390
360
  case_insensitive: true
391
361
  match_on: command
@@ -398,7 +368,6 @@
398
368
  category: execution
399
369
  severity: critical
400
370
  confidence: 0.90
401
- action: block
402
371
  pattern: "(p\\^+o\\^+w\\^+e\\^+r\\^+s\\^+h\\^+e\\^+l\\^+l|w\\^+s\\^+c\\^+r\\^+i\\^+p\\^+t|c\\^+e\\^+r\\^+t\\^+u\\^+t\\^+i\\^+l|m\\^+s\\^+h\\^+t\\^+a|explorer\\.exe .*\\.vbs$)"
403
372
  case_insensitive: true
404
373
  match_on: command
@@ -409,9 +378,8 @@
409
378
  # --- T1216.001: Pub Prn ---
410
379
  - id: "CLT-MITRE-053"
411
380
  category: defense_evasion
412
- severity: high
413
- confidence: 0.80
414
- action: require_approval
381
+ severity: warning
382
+ confidence: 0.60
415
383
  pattern: "pubprn\\.vbs"
416
384
  case_insensitive: true
417
385
  match_on: command
@@ -422,9 +390,8 @@
422
390
  # --- T1218.012: Verclsid ---
423
391
  - id: "CLT-MITRE-064"
424
392
  category: defense_evasion
425
- severity: high
426
- confidence: 0.80
427
- action: require_approval
393
+ severity: warning
394
+ confidence: 0.60
428
395
  pattern: "verclsid(\\.exe)?.*/S.*/C.*\\{[0-9a-fA-F]{8}"
429
396
  case_insensitive: true
430
397
  match_on: command
@@ -435,9 +402,8 @@
435
402
  # --- T1220: XSL Script Processing ---
436
403
  - id: "CLT-MITRE-065"
437
404
  category: defense_evasion
438
- severity: high
439
- confidence: 0.80
440
- action: require_approval
405
+ severity: warning
406
+ confidence: 0.60
441
407
  pattern: "(msxsl(\\.exe)?.+\\.xsl|wmic(\\.exe)?.*process.*list.*/FORMAT:.+\\.xsl|wmic(\\.exe)?.*os.*get.*/FORMAT:.+\\.xsl|wmic.*process.*list.*/FORMAT:evil\\[\\.\\]xsl|wmic.*os.*get.*/FORMAT:https\\[:\\]//example\\[\\.\\]com/evil\\[\\.\\]xsl)"
442
408
  case_insensitive: true
443
409
  match_on: command
@@ -448,9 +414,8 @@
448
414
  # --- T1482: Domain Trust Discovery ---
449
415
  - id: "CLT-MITRE-066"
450
416
  category: discovery
451
- severity: medium
452
- confidence: 0.70
453
- action: require_approval
417
+ severity: warning
418
+ confidence: 0.60
454
419
  pattern: "(nltest(\\.exe)?.*/domain_trusts|dsquery(\\.exe)?.*/trustedDomain|Get-NetDomainTrust|Get-NetForestTrust|Get-ADDomain)"
455
420
  case_insensitive: true
456
421
  match_on: command
@@ -461,9 +426,8 @@
461
426
  # --- T1484.001: Group Policy Modification ---
462
427
  - id: "CLT-MITRE-067"
463
428
  category: defense_evasion
464
- severity: high
465
- confidence: 0.80
466
- action: require_approval
429
+ severity: warning
430
+ confidence: 0.60
467
431
  pattern: "(New-GPOImmediateTask|New-.*GPOImmediateTask)"
468
432
  case_insensitive: true
469
433
  match_on: command
@@ -474,9 +438,8 @@
474
438
  # --- T1518.001: Security Software Discovery ---
475
439
  - id: "CLT-MITRE-071"
476
440
  category: discovery
477
- severity: medium
478
- confidence: 0.70
479
- action: require_approval
441
+ severity: warning
442
+ confidence: 0.60
480
443
  pattern: "(tasklist(\\.exe)?.+(virus|defender|cylance)|wmic(\\.exe)?.+Path.*AntiVirusProduct)"
481
444
  case_insensitive: true
482
445
  match_on: command
@@ -487,9 +450,8 @@
487
450
  # --- T1518: Software Discovery ---
488
451
  - id: "CLT-MITRE-072"
489
452
  category: discovery
490
- severity: medium
491
- confidence: 0.70
492
- action: require_approval
453
+ severity: warning
454
+ confidence: 0.60
493
455
  pattern: "wmic(\\.exe)? product get name"
494
456
  case_insensitive: true
495
457
  match_on: command
@@ -500,9 +462,8 @@
500
462
  # --- T1546.001: Change Default File Association ---
501
463
  - id: "CLT-MITRE-075"
502
464
  category: persistence
503
- severity: high
504
- confidence: 0.80
505
- action: require_approval
465
+ severity: warning
466
+ confidence: 0.60
506
467
  pattern: "cmd(\\.exe)?.*/c.+assoc"
507
468
  case_insensitive: true
508
469
  match_on: command
@@ -513,9 +474,8 @@
513
474
  # --- T1546.003: Windows Management Instrumentation Event Subscription ---
514
475
  - id: "CLT-MITRE-076"
515
476
  category: persistence
516
- severity: high
517
- confidence: 0.80
518
- action: require_approval
477
+ severity: warning
478
+ confidence: 0.60
519
479
  pattern: "scrcons\\.exe"
520
480
  case_insensitive: true
521
481
  match_on: command
@@ -526,9 +486,8 @@
526
486
  # --- T1546.007: Netsh Helper DLL ---
527
487
  - id: "CLT-MITRE-077"
528
488
  category: persistence
529
- severity: high
530
- confidence: 0.80
531
- action: require_approval
489
+ severity: warning
490
+ confidence: 0.60
532
491
  pattern: "netsh\\.exe add helper"
533
492
  case_insensitive: true
534
493
  match_on: command
@@ -539,9 +498,8 @@
539
498
  # --- T1546.012: Image File Execution Options Injection ---
540
499
  - id: "CLT-MITRE-078"
541
500
  category: persistence
542
- severity: high
543
- confidence: 0.80
544
- action: require_approval
501
+ severity: warning
502
+ confidence: 0.60
545
503
  pattern: "(Add-ScrnSaveBackdoor\\.ps1|Add-RegBackdoor\\.ps1)"
546
504
  case_insensitive: true
547
505
  match_on: command
@@ -552,9 +510,8 @@
552
510
  # --- T1547: Bootor Logon Autostart Execution ---
553
511
  - id: "CLT-MITRE-081"
554
512
  category: persistence
555
- severity: high
556
- confidence: 0.80
557
- action: require_approval
513
+ severity: warning
514
+ confidence: 0.60
558
515
  pattern: "Add-Persistence\\.ps1"
559
516
  case_insensitive: true
560
517
  match_on: command
@@ -565,9 +522,8 @@
565
522
  # --- T1548.002: Bypass User Account Control ---
566
523
  - id: "CLT-MITRE-082"
567
524
  category: privilege_escalation
568
- severity: high
569
- confidence: 0.80
570
- action: require_approval
525
+ severity: warning
526
+ confidence: 0.60
571
527
  pattern: "(Invoke-BypassUAC\\.ps1|Invoke-WScriptBypassUAC\\.ps1|Add-MpPreference\\.ps1)"
572
528
  case_insensitive: true
573
529
  match_on: command
@@ -578,9 +534,8 @@
578
534
  # --- T1552.002: Credentialsin Registry ---
579
535
  - id: "CLT-MITRE-083"
580
536
  category: credential_access
581
- severity: high
582
- confidence: 0.80
583
- action: require_approval
537
+ severity: warning
538
+ confidence: 0.60
584
539
  pattern: "reg(\\.exe)? query (HKLM|HKCU) /f password /t REG_SZ /s"
585
540
  case_insensitive: true
586
541
  match_on: command
@@ -591,9 +546,8 @@
591
546
  # --- T1553.004: Install Root Certificate ---
592
547
  - id: "CLT-MITRE-085"
593
548
  category: defense_evasion
594
- severity: high
595
- confidence: 0.80
596
- action: require_approval
549
+ severity: warning
550
+ confidence: 0.60
597
551
  pattern: "(certutil(\\.exe)? -addstore|certmgr(\\.exe)? -add)"
598
552
  case_insensitive: true
599
553
  match_on: command
@@ -604,9 +558,8 @@
604
558
  # --- T1555.003: Credentialsfrom Web Browsers ---
605
559
  - id: "CLT-MITRE-086"
606
560
  category: credential_access
607
- severity: high
608
- confidence: 0.80
609
- action: require_approval
561
+ severity: warning
562
+ confidence: 0.60
610
563
  pattern: "(Get-ChromeDump\\.ps1|Get-FoxDump\\.ps1)"
611
564
  case_insensitive: true
612
565
  match_on: command
@@ -617,9 +570,8 @@
617
570
  # --- T1555: Credentialsfrom Password Stores ---
618
571
  - id: "CLT-MITRE-087"
619
572
  category: credential_access
620
- severity: high
621
- confidence: 0.80
622
- action: require_approval
573
+ severity: warning
574
+ confidence: 0.60
623
575
  pattern: "Get-VaultCredential\\.ps1"
624
576
  case_insensitive: true
625
577
  match_on: command
@@ -630,9 +582,8 @@
630
582
  # --- T1558.001: Golden Ticket ---
631
583
  - id: "CLT-MITRE-088"
632
584
  category: credential_access
633
- severity: high
634
- confidence: 0.80
635
- action: require_approval
585
+ severity: warning
586
+ confidence: 0.60
636
587
  pattern: "(net(1)?(\\.exe)?.*group.*(domain admins|enterprise admins|organization management).*/domain$|Invoke-Mimikatz.*Golden.*Ticket)"
637
588
  case_insensitive: true
638
589
  match_on: command
@@ -643,9 +594,8 @@
643
594
  # --- T1558.002: Silver Ticket ---
644
595
  - id: "CLT-MITRE-089"
645
596
  category: credential_access
646
- severity: high
647
- confidence: 0.80
648
- action: require_approval
597
+ severity: warning
598
+ confidence: 0.60
649
599
  pattern: "Invoke-Mimikatz.*Silver.*Ticket"
650
600
  case_insensitive: true
651
601
  match_on: command
@@ -656,9 +606,8 @@
656
606
  # --- T1558.003: Kerberoasting ---
657
607
  - id: "CLT-MITRE-090"
658
608
  category: credential_access
659
- severity: high
660
- confidence: 0.80
661
- action: require_approval
609
+ severity: warning
610
+ confidence: 0.60
662
611
  pattern: "Invoke-Kerberoast"
663
612
  case_insensitive: true
664
613
  match_on: command
@@ -669,9 +618,8 @@
669
618
  # --- T1558.004: ASREP Roasting ---
670
619
  - id: "CLT-MITRE-091"
671
620
  category: credential_access
672
- severity: high
673
- confidence: 0.80
674
- action: require_approval
621
+ severity: warning
622
+ confidence: 0.60
675
623
  pattern: "Get-ASREPHash"
676
624
  case_insensitive: true
677
625
  match_on: command
@@ -682,9 +630,8 @@
682
630
  # --- T1560.001: Archive Via Utility ---
683
631
  - id: "CLT-MITRE-092"
684
632
  category: collection
685
- severity: high
686
- confidence: 0.80
687
- action: require_approval
633
+ severity: warning
634
+ confidence: 0.60
688
635
  pattern: "(\\brar(\\.exe)?\\s+.*\\b[afu]\\b|\\bWinRAR(\\.exe)?\\s|\\b7z(\\.exe)?\\s+.*\\ba\\b|\\bzip(\\.exe)?\\s+.*-u|\\bWinZip32(\\.exe)?\\s)"
689
636
  case_insensitive: true
690
637
  match_on: command
@@ -695,9 +642,8 @@
695
642
  # --- T1562.002: Disable Windows Event Logging ---
696
643
  - id: "CLT-MITRE-093"
697
644
  category: defense_evasion
698
- severity: high
699
- confidence: 0.80
700
- action: require_approval
645
+ severity: warning
646
+ confidence: 0.60
701
647
  pattern: "AUDITPOL(\\.exe)?.*/set.*/category:Detailed Tracking"
702
648
  case_insensitive: true
703
649
  match_on: command
@@ -708,9 +654,8 @@
708
654
  # --- T1562.003: Impair Command History Logging ---
709
655
  - id: "CLT-MITRE-094"
710
656
  category: defense_evasion
711
- severity: high
712
- confidence: 0.80
713
- action: require_approval
657
+ severity: warning
658
+ confidence: 0.60
714
659
  pattern: "(Set-.*PSReadLineOption.*-HistorySavePath.*\\{File.*Path\\}|Set-PSReadlineOption.*-HistorySaveStyle.*SaveNothing)"
715
660
  case_insensitive: true
716
661
  match_on: command
@@ -721,9 +666,8 @@
721
666
  # --- T1562.006: Indicator Blocking ---
722
667
  - id: "CLT-MITRE-095"
723
668
  category: defense_evasion
724
- severity: high
725
- confidence: 0.80
726
- action: require_approval
669
+ severity: warning
670
+ confidence: 0.60
727
671
  pattern: "(wevtutil(\\.exe)?.*(sl|set-log).+/e:false|wevtutil(\\.exe)?.*(cl|clear-log)|Set-.*EtwTraceProvider)"
728
672
  case_insensitive: true
729
673
  match_on: command
@@ -734,9 +678,8 @@
734
678
  # --- T1563.002: RDP Hijacking ---
735
679
  - id: "CLT-MITRE-096"
736
680
  category: lateral_movement
737
- severity: high
738
- confidence: 0.80
739
- action: require_approval
681
+ severity: warning
682
+ confidence: 0.60
740
683
  pattern: "(^|\\s|[;&|])(?:\"[^\"]*\\btscon(?:\\.exe)?\\b\"|'[^']*\\btscon(?:\\.exe)?\\b'|(?:[^\\s\"']*[\\\\/])?\\btscon(?:\\.exe)?\\b)\\s+\\S+(\\s+/dest:[^\\s]+)?"
741
684
  case_insensitive: true
742
685
  match_on: command
@@ -747,9 +690,8 @@
747
690
  # --- T1567.001: Exfiltrationto Code Repository ---
748
691
  - id: "CLT-MITRE-099"
749
692
  category: exfiltration
750
- severity: high
751
- confidence: 0.80
752
- action: require_approval
693
+ severity: warning
694
+ confidence: 0.60
753
695
  pattern: "Invoke-ExfilDataToGitHub"
754
696
  case_insensitive: true
755
697
  match_on: command
@@ -760,9 +702,8 @@
760
702
  # --- T1567.002: Exfiltrationto Cloud Storage ---
761
703
  - id: "CLT-MITRE-100"
762
704
  category: exfiltration
763
- severity: high
764
- confidence: 0.80
765
- action: require_approval
705
+ severity: warning
706
+ confidence: 0.60
766
707
  pattern: "Invoke-DropboxUpload"
767
708
  case_insensitive: true
768
709
  match_on: command
@@ -773,9 +714,8 @@
773
714
  # --- T1569: System Services ---
774
715
  - id: "CLT-MITRE-102"
775
716
  category: execution
776
- severity: high
777
- confidence: 0.80
778
- action: require_approval
717
+ severity: warning
718
+ confidence: 0.60
779
719
  pattern: "(subinacl(\\.exe) /service|sc(\\.exe)? sdset)"
780
720
  case_insensitive: true
781
721
  match_on: command
@@ -786,9 +726,8 @@
786
726
  # --- T1592.002: Software ---
787
727
  - id: "CLT-MITRE-104"
788
728
  category: reconnaissance
789
- severity: medium
790
- confidence: 0.70
791
- action: require_approval
729
+ severity: warning
730
+ confidence: 0.60
792
731
  pattern: "(powershell(\\.exe)?.*-Class.*AntiVirusProduct|powershell(\\.exe)?.*path.*AntiVirusProduct)"
793
732
  case_insensitive: true
794
733
  match_on: command
@@ -799,9 +738,8 @@
799
738
  # --- T1592.004: Client Configurations ---
800
739
  - id: "CLT-MITRE-105"
801
740
  category: reconnaissance
802
- severity: medium
803
- confidence: 0.70
804
- action: require_approval
741
+ severity: warning
742
+ confidence: 0.60
805
743
  pattern: "(powershell(\\.exe)?.*-Class.*Win32_UserAccount|powershell(\\.exe)?.*Get-SmbShare)"
806
744
  case_insensitive: true
807
745
  match_on: command