-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathvisualizer.html
More file actions
8192 lines (7932 loc) · 265 KB
/
Copy pathvisualizer.html
File metadata and controls
8192 lines (7932 loc) · 265 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en" class="theme-dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SITF Attack Flow Visualizer</title>
<!-- Favicon -->
<link rel="icon" type="image/png" href="sitf-icon-round.png">
<!-- Fonts: Poppins (Wiz Style) + JetBrains Mono for IDs -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;600;700&family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet">
<!-- Tailwind CSS -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- React and React DOM -->
<script crossorigin src="https://unpkg.com/react@18/umd/react.production.min.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>
<!-- React Flow -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reactflow@11/dist/style.css">
<script src="https://cdn.jsdelivr.net/npm/reactflow@11/dist/umd/index.min.js"></script>
<!-- html2canvas for PNG export -->
<script src="https://cdn.jsdelivr.net/npm/html2canvas@1.4.1/dist/html2canvas.min.js"></script>
<!-- Babel Standalone for JSX -->
<script src="https://unpkg.com/@babel/standalone@7/babel.min.js"></script>
<style>
:root {
/* Dark mode colors (default) */
--wiz-dark-bg: #0f0f0f;
--wiz-dark-surface: #1a1a1a;
--wiz-dark-border: #333333;
--wiz-dark-hover: #252525;
--wiz-text-primary: #e5e5e5;
--wiz-text-secondary: #a0a0a0;
--wiz-accent-purple: #FC80FF;
--wiz-accent-blue: #4A90E2;
--wiz-success: #10B981;
--wiz-danger: #EF4444;
--wiz-warning: #F59E0B;
--wiz-edge-color: #666666;
--wiz-scrollbar-track: #0f0f0f;
--wiz-scrollbar-thumb: #333333;
--wiz-scrollbar-thumb-hover: #444444;
}
/* Light mode colors */
.theme-light {
--wiz-dark-bg: #ffffff;
--wiz-dark-surface: #f9fafb;
--wiz-dark-border: #e5e7eb;
--wiz-dark-hover: #f3f4f6;
--wiz-text-primary: #1f2937;
--wiz-text-secondary: #6b7280;
--wiz-accent-purple: #a855f7;
--wiz-accent-blue: #3b82f6;
--wiz-success: #10B981;
--wiz-danger: #EF4444;
--wiz-warning: #F59E0B;
--wiz-edge-color: #9ca3af;
--wiz-scrollbar-track: #f9fafb;
--wiz-scrollbar-thumb: #d1d5db;
--wiz-scrollbar-thumb-hover: #9ca3af;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: var(--wiz-dark-bg);
color: var(--wiz-text-primary);
}
.palette-container {
min-width: 200px;
max-width: 600px;
background: var(--wiz-dark-surface);
border-right: 1px solid var(--wiz-dark-border);
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
}
.resize-handle {
position: absolute;
right: 0;
top: 0;
bottom: 0;
width: 5px;
cursor: col-resize;
background: transparent;
z-index: 1000;
transition: all 0.2s;
}
.resize-handle:hover,
.resize-handle.resizing {
background: var(--wiz-accent-purple);
box-shadow: 0 0 10px rgba(252, 128, 255, 0.5);
}
/* React Flow Dark Theme Overrides */
.react-flow {
background: var(--wiz-dark-bg);
}
.react-flow__node {
font-size: 12px;
}
.react-flow__edge-path {
stroke-width: 2;
stroke: var(--wiz-edge-color);
}
.react-flow__edge-text {
font-size: 11px;
}
.react-flow__controls {
background: var(--wiz-dark-surface);
backdrop-filter: blur(12px);
border: 1px solid var(--wiz-dark-border);
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0,0,0,0.3);
overflow: hidden;
}
.react-flow__controls button {
background: transparent;
border-bottom: 1px solid var(--wiz-dark-border);
color: var(--wiz-text-primary);
transition: all 0.2s ease;
}
.react-flow__controls button:hover {
background: rgba(252, 128, 255, 0.1);
color: var(--wiz-accent-purple);
}
.react-flow__minimap {
background: var(--wiz-dark-surface);
backdrop-filter: blur(12px);
border: 1px solid var(--wiz-dark-border);
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0,0,0,0.3);
overflow: hidden;
}
.react-flow__background {
background: var(--wiz-dark-bg);
}
.palette-item {
cursor: grab;
transition: all 0.2s ease;
background: var(--wiz-dark-surface);
border: 1px solid var(--wiz-dark-border);
}
.palette-item:hover {
transform: translateX(4px);
box-shadow: 0 4px 12px rgba(252, 128, 255, 0.2);
border-color: var(--wiz-accent-purple);
}
.palette-item:active {
cursor: grabbing;
transform: translateX(2px);
}
/* Multi-selection box styling */
.react-flow__selectionpane {
background: rgba(252, 128, 255, 0.1);
border: 2px dashed var(--wiz-accent-purple);
}
.react-flow__node.selected {
box-shadow: 0 0 0 2px var(--wiz-accent-purple);
}
.component-node {
min-width: 200px;
border-radius: 12px;
box-shadow: 0 4px 16px rgba(0,0,0,0.3);
background-color: var(--wiz-dark-surface);
border: 1px solid var(--wiz-dark-border);
transition: box-shadow 0.3s ease;
}
.component-node:hover {
box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
/* Expand buttons on technique nodes */
.expand-button {
transition: all 0.2s ease;
}
.expand-button:hover {
transform: translateY(-50%) scale(1.15);
box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
/* Force victimZone nodes to be furthest back */
.react-flow__node[data-type="victimZone"] {
z-index: -10 !important;
}
/* Keep victimZone in background even when selected */
.react-flow__node[data-type="victimZone"].selected {
z-index: -10 !important;
}
/* Force component nodes to always be in background (but above zones) */
.react-flow__node[data-type="component"] {
z-index: 0 !important;
}
/* Keep components in background even when selected */
.react-flow__node[data-type="component"].selected {
z-index: 0 !important;
}
/* Technique nodes and other nodes ALWAYS on top - both selected and not selected */
.react-flow__node[data-type="technique"],
.react-flow__node[data-type="technique"].selected,
.react-flow__node[data-type="entryPoint"],
.react-flow__node[data-type="entryPoint"].selected,
.react-flow__node[data-type="exitPoint"],
.react-flow__node[data-type="exitPoint"].selected {
z-index: 100 !important;
}
/* Victim zone styling */
.victim-zone-node {
min-width: 300px;
min-height: 200px;
border-radius: 12px;
border: 3px dashed;
background-color: rgba(99, 102, 241, 0.05);
}
/* Edges ALWAYS above component nodes - in all states */
.react-flow__edge,
.react-flow__edge.selected,
.react-flow__edge.animated,
.react-flow__edge:hover {
z-index: 50 !important;
}
/* Edge paths and markers must also be visible */
.react-flow__edge-path,
.react-flow__edge-interaction {
z-index: 50 !important;
}
/* Ensure edge labels are also at same level as edges */
.react-flow__edge-text,
.react-flow__edge-textwrapper {
z-index: 50 !important;
}
/* Force edges layer ABOVE nodes layer in ReactFlow rendering */
.react-flow__viewport > svg.react-flow__edges {
z-index: 1000 !important;
}
.react-flow__viewport > .react-flow__nodes {
z-index: 1 !important;
}
/* When ANY popup is open, lower the edges layer so popup appears on top */
.react-flow:has(.technique-popup) .react-flow__viewport > svg.react-flow__edges {
z-index: 40 !important;
}
/* Ensure component boxes stay in background within nodes layer */
.react-flow__node[data-type="component"] {
z-index: 0 !important;
}
.react-flow__node[data-type="component"] .component-node {
position: relative;
z-index: auto;
}
/* Force popups to be above everything including edges */
.technique-popup {
z-index: 9999 !important;
position: absolute !important;
animation: popupSlideIn 0.2s ease-out;
}
/* When a technique node has an open popup, elevate the entire node */
.react-flow__node[data-type="technique"]:has(.technique-popup) {
z-index: 9998 !important;
}
@keyframes popupSlideIn {
from {
opacity: 0;
transform: translateX(10px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
.technique-popup-left {
animation: popupSlideInLeft 0.2s ease-out;
}
@keyframes popupSlideInLeft {
from {
opacity: 0;
transform: translateX(-10px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
.technique-node {
font-size: 11px;
padding: 8px;
margin: 4px;
background: var(--wiz-dark-surface);
border-radius: 8px;
border: 1px solid var(--wiz-dark-border);
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.technique-node:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
/* Technique ID styling */
.technique-id {
font-family: 'JetBrains Mono', monospace;
font-weight: 600;
letter-spacing: -0.02em;
}
.entry-exit-node {
border-radius: 20px;
padding: 12px 20px;
font-weight: 500;
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.scrollbar-thin::-webkit-scrollbar {
width: 8px;
}
.scrollbar-thin::-webkit-scrollbar-track {
background: var(--wiz-scrollbar-track);
}
.scrollbar-thin::-webkit-scrollbar-thumb {
background: var(--wiz-scrollbar-thumb);
border-radius: 4px;
}
.scrollbar-thin::-webkit-scrollbar-thumb:hover {
background: var(--wiz-scrollbar-thumb-hover);
}
.matrix-resize-handle {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 5px;
cursor: row-resize;
background: transparent;
z-index: 1000;
transition: all 0.2s;
}
.matrix-resize-handle:hover,
.matrix-resize-handle.resizing {
background: var(--wiz-accent-purple);
box-shadow: 0 0 10px rgba(252, 128, 255, 0.5);
}
/* Wiz-style buttons */
.wiz-button {
padding: 8px 16px;
border-radius: 8px;
font-weight: 500;
font-size: 14px;
transition: all 0.2s;
border: none;
cursor: pointer;
}
.wiz-button-primary {
background: var(--wiz-accent-purple);
color: var(--wiz-dark-bg);
}
.wiz-button-primary:hover {
background: #FF99FF;
box-shadow: 0 4px 12px rgba(252, 128, 255, 0.3);
}
.wiz-button-secondary {
background: var(--wiz-dark-surface);
color: var(--wiz-text-primary);
border: 1px solid var(--wiz-dark-border);
}
.wiz-button-secondary:hover {
background: var(--wiz-dark-hover);
border-color: var(--wiz-accent-purple);
}
.wiz-button-success {
background: var(--wiz-success);
color: white;
}
.wiz-button-success:hover {
background: #059669;
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.wiz-button-danger {
background: var(--wiz-danger);
color: white;
}
.wiz-button-danger:hover {
background: #DC2626;
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}
</style>
</head>
<body>
<div id="root"></div>
<script type="text/babel">
const { useState, useCallback, useRef, useEffect } = React;
const {
ReactFlow,
Background,
Controls,
MiniMap,
useNodesState,
useEdgesState,
addEdge,
MarkerType,
Handle,
Position,
NodeResizer
} = window.ReactFlow;
// Embedded techniques data - generated by build.py from TECHNIQUE_LIBRARY.md
const techniquesData = {
"components": [
{
"id": "endpoint",
"name": "Endpoint/IDE",
"description": "Developer workstations and development environments"
},
{
"id": "vcs",
"name": "VCS",
"description": "Version Control Systems (GitHub, GitLab, Azure DevOps)"
},
{
"id": "cicd",
"name": "CI/CD",
"description": "Continuous Integration/Deployment systems"
},
{
"id": "registry",
"name": "Registry",
"description": "Container and artifact registries (NPM, Docker, PyPI)"
},
{
"id": "production",
"name": "Production/Cloud",
"description": "Production infrastructure of the producer organization"
}
],
"entryPoints": [
"Phishing",
"Compromised Dependency",
"Vulnerability Exploit",
"Stolen Credentials",
"Social Engineering",
"Custom"
],
"exitPoints": [
"Future Breach",
"Persistence Established",
"Secondary Supply Chain Attack",
"Detection & Containment",
"Custom"
],
"frameworkDefinitions": {
"spvs": {
"name": "OWASP SPVS",
"version": "1.0",
"url": "https://owasp.org/www-project-spvs/",
"categories": {
"V1.1": {
"stage": "Plan",
"name": "Identity and Access Management"
},
"V1.2": {
"stage": "Plan",
"name": "Hardening User Machines"
},
"V1.3": {
"stage": "Plan",
"name": "Security Requirements and Risk Assessment"
},
"V1.4": {
"stage": "Plan",
"name": "Developer Tool Operation"
},
"V1.5": {
"stage": "Plan",
"name": "Source Code Management Hardening"
},
"V2.1": {
"stage": "Develop",
"name": "Secure Coding Practices"
},
"V2.2": {
"stage": "Develop",
"name": "Software Quality"
},
"V2.3": {
"stage": "Develop",
"name": "Code Review and Analysis"
},
"V2.4": {
"stage": "Develop",
"name": "Perform Security Checks"
},
"V2.5": {
"stage": "Develop",
"name": "Credential Hygiene"
},
"V2.6": {
"stage": "Develop",
"name": "3rd Party Library Audit"
},
"V2.7": {
"stage": "Develop",
"name": "Unit Testing"
},
"V3.1": {
"stage": "Integrate",
"name": "Security of Pipeline Environment"
},
"V3.2": {
"stage": "Integrate",
"name": "Credential Hygiene"
},
"V3.3": {
"stage": "Integrate",
"name": "Continuous Security Checks"
},
"V3.4": {
"stage": "Integrate",
"name": "Integrity of Artifacts"
},
"V4.1": {
"stage": "Release",
"name": "Final Security Assessments"
},
"V4.2": {
"stage": "Release",
"name": "Compliance Checks"
},
"V4.3": {
"stage": "Release",
"name": "Secure Deployment Practices"
},
"V4.4": {
"stage": "Release",
"name": "Transition Security"
},
"V5.1": {
"stage": "Operate",
"name": "Access Audit"
},
"V5.2": {
"stage": "Operate",
"name": "Security Standard Enforcement"
},
"V5.3": {
"stage": "Operate",
"name": "Secure Maintenance Practices"
},
"V5.4": {
"stage": "Operate",
"name": "Detection & Monitoring"
},
"V5.5": {
"stage": "Operate",
"name": "Incident Response & Recovery"
}
}
}
},
"techniques": [
{
"id": "T-E001",
"name": "Malicious Execution on Endpoint",
"component": "endpoint",
"stage": "Initial Access",
"description": "Attacker executes malicious code on developer workstation",
"risks": [
"Using untrusted IDE extensions",
"Using untrusted software packages on endpoints",
"No EDR",
"Lack of application sandboxing",
"Package installation scripts enabled",
"Direct downloads from public registries"
],
"controls": {
"protective": [
{
"name": "Local registry proxy with filtering",
"frameworks": {
"spvs": [
"V2.6"
]
}
},
{
"name": "IDE sandboxing",
"frameworks": {
"spvs": [
"V1.2"
]
}
},
{
"name": "Mandating signed extensions",
"frameworks": {
"spvs": [
"V1.2"
]
}
},
{
"name": "Package version pinning",
"frameworks": {
"spvs": [
"V2.6"
]
}
},
{
"name": "Automated maintainer reputation and hygiene checks",
"frameworks": {
"spvs": [
"V2.6"
]
}
},
{
"name": "Application whitelisting",
"frameworks": {
"spvs": [
"V1.2"
]
}
},
{
"name": "Disable package installation scripts (--ignore-scripts)",
"frameworks": {
"spvs": [
"V2.6"
]
}
}
],
"detective": [
{
"name": "EDR on endpoint",
"frameworks": {
"spvs": [
"V5.4"
]
}
}
]
}
},
{
"id": "T-E002",
"name": "Endpoint Phishing",
"component": "endpoint",
"stage": "Initial Access",
"description": "Attacker phishes developer to steal credentials or install malware",
"risks": [
"Lack of 2FA / phishing protection",
"No security awareness training",
"Credentials stored in plaintext",
"No email security controls"
],
"controls": {
"protective": [
{
"name": "Mandatory MFA",
"frameworks": {
"spvs": [
"V1.1"
]
}
},
{
"name": "Phishing-resistant authentication",
"frameworks": {
"spvs": [
"V1.1"
]
}
},
{
"name": "Security awareness training",
"frameworks": {
"spvs": [
"V1.3"
]
}
},
{
"name": "Email security (SPF, DMARC, DKIM)",
"frameworks": {
"spvs": [
"V1.3"
]
}
}
],
"detective": [
{
"name": "EDR on endpoint",
"frameworks": {
"spvs": [
"V5.4"
]
}
}
]
}
},
{
"id": "T-E003",
"name": "Harvest Local Secrets / Credentials from Endpoint",
"component": "endpoint",
"stage": "Discovery and Lateral Movement",
"description": "Attacker extracts credentials stored on developer machine",
"risks": [
"Credentials stored in plaintext",
"Production credentials on developer machines",
"No local DLP",
"SSH keys without passwords",
"Cloud credentials in environment variables"
],
"controls": {
"protective": [
{
"name": "Credential manager enforcement",
"frameworks": {
"spvs": [
"V1.1",
"V2.5"
]
}
},
{
"name": "No production credentials on endpoints",
"frameworks": {
"spvs": [
"V1.2",
"V2.5"
]
}
},
{
"name": "Encrypted credential storage",
"frameworks": {
"spvs": [
"V1.2",
"V2.5"
]
}
}
],
"detective": [
{
"name": "Local DLP",
"frameworks": {
"spvs": [
"V5.4"
]
}
},
{
"name": "EDR on endpoint",
"frameworks": {
"spvs": [
"V5.4"
]
}
}
]
}
},
{
"id": "T-E004",
"name": "Harvest Local Data from Endpoint",
"component": "endpoint",
"stage": "Post-Compromise",
"description": "Attacker exfiltrates source code, documents, or other sensitive data from endpoint",
"risks": [
"No local DLP",
"No EDR",
"Sensitive data stored locally",
"No encryption at rest"
],
"controls": {
"protective": [
{
"name": "Data classification and handling policies",
"frameworks": {
"spvs": [
"V1.3"
]
}
},
{
"name": "Encryption at rest",
"frameworks": {
"spvs": [
"V5.5"
]
}
}
],
"detective": [
{
"name": "Local DLP",
"frameworks": {
"spvs": [
"V5.4"
]
}
},
{
"name": "EDR on endpoint",
"frameworks": {
"spvs": [
"V5.4"
]
}
},
{
"name": "Network monitoring",
"frameworks": {
"spvs": [
"V5.4"
]
}
}
]
}
},
{
"id": "T-E005",
"name": "Cryptomining on Endpoints",
"component": "endpoint",
"stage": "Post-Compromise",
"description": "Attacker uses endpoint resources for cryptocurrency mining",
"risks": [
"No EDR",
"Untrusted software packages",
"No resource monitoring"
],
"controls": {
"protective": [
{
"name": "Application whitelisting",
"frameworks": {
"spvs": [
"V1.2"
]
}
}
],
"detective": [
{
"name": "EDR on endpoint",
"frameworks": {
"spvs": [
"V5.4"
]
}
},
{
"name": "Resource monitoring and alerting",
"frameworks": {
"spvs": [
"V5.4"
]
}
},
{
"name": "Network monitoring (detect mining pool connections)",
"frameworks": {
"spvs": [
"V5.4"
]
}
}
]
}
},
{
"id": "T-E006",
"name": "Register Local Machine as CI Runner",
"component": "endpoint",
"stage": "Discovery and Lateral Movement",
"description": "Attacker registers compromised endpoint as self-hosted CI/CD runner",
"risks": [
"Ability to register arbitrary machines as runners",
"No runner registration approval process",
"Runner registration tokens not protected"
],
"controls": {
"protective": [
{
"name": "Using managed runners only",
"frameworks": {
"spvs": [
"V3.1"
]
}
},
{
"name": "Runner registration approval workflow",
"frameworks": {
"spvs": [
"V3.1"
]
}
},
{
"name": "Runner registration token protection",
"frameworks": {
"spvs": [
"V3.1"
]
}
},
{
"name": "Network segmentation (runners isolated from endpoints)",
"frameworks": {
"spvs": [
"V4.4"
]
}
}
],
"detective": []
}
},
{
"id": "T-E007",