-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
3200 lines (3194 loc) · 154 KB
/
index.html
File metadata and controls
3200 lines (3194 loc) · 154 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">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ExtSentry - Browser Extension Threat Intelligence</title>
<meta name="description" content="Community-driven browser extension threat intelligence. IOC feeds for malicious and sensitive browser extensions across 16+ security platform formats.">
<link rel="icon" type="image/png" href="data:image/png;base64,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">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<script crossorigin src="https://cdnjs.cloudflare.com/ajax/libs/react/18.2.0/umd/react.production.min.js"></script>
<script crossorigin src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/18.2.0/umd/react-dom.production.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js"></script>
<style>
*{box-sizing:border-box;margin:0;padding:0}
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track{background:#0a0c10}
::-webkit-scrollbar-thumb{background:#21262d;border-radius:3px}
::selection{background:#58a6ff33}
input:focus,button:focus,textarea:focus{outline:none}
code{font-family:"IBM Plex Mono",monospace}
strong{color:#e6edf3;font-weight:600}
body{margin:0;background:#0a0c10;color:#c8ccd4;font-family:"IBM Plex Sans",system-ui,sans-serif}
</style>
</head>
<body>
<div id="root"></div>
<script>
const {
useState,
useMemo,
useCallback
} = React;
let RAW_MAL = [];
let RAW_SENS = [];
const parse = r => ({
name: r[0] || r[6] || r[1],
id: r[1],
wildcard: r[2],
category: r[3],
severity: r[4],
link: r[5],
comment: r[6],
sha256: r[7] || ''
});
let DATA_MAL = RAW_MAL.map(parse);
let DATA_SENS = RAW_SENS.map(parse);
let CATS_MAL = _.countBy(DATA_MAL, 'category');
let CATS_SENS = _.countBy(DATA_SENS, 'category');
const CAT_COLORS = {
malware: '#f85149',
compromised: '#db6d28',
scam: '#d29922',
PUP: '#a371f7',
cryptocurrency: '#58a6ff',
'PROXY/VPN': '#58a6ff',
RMM: '#6e7681',
'Credential Access': '#f85149',
'Defense Evasion': '#a371f7',
'password manager': '#3fb950'
};
const SV = {
malicious: 'CRITICAL',
phishing: 'HIGH',
deceptive: 'HIGH',
offensive: 'MEDIUM',
greyware: 'MEDIUM',
sensitive: 'LOW',
privacy: 'LOW',
'Defense Evasion': 'HIGH'
};
const SVC = {
CRITICAL: '#f85149',
HIGH: '#db6d28',
MEDIUM: '#d29922',
LOW: '#3fb950'
};
const PAGE_SIZE = 50;
const mono = "'IBM Plex Mono', monospace";
const sans = "'IBM Plex Sans', system-ui, sans-serif";
const S = {
page: {
background: '#0a0c10',
color: '#c8ccd4',
minHeight: '100vh',
fontFamily: sans
},
card: {
background: '#0d1117',
border: '1px solid #1b1f27',
borderRadius: 10,
padding: 20
},
code: {
fontFamily: mono,
fontSize: 12,
background: '#0d1117',
border: '1px solid #1b1f27',
borderRadius: 8,
padding: '16px 20px',
overflowX: 'auto',
lineHeight: 1.75,
color: '#8b949e',
whiteSpace: 'pre-wrap',
wordBreak: 'break-all'
},
dot: c => ({
width: 7,
height: 7,
borderRadius: '50%',
background: c,
display: 'inline-block',
flexShrink: 0
}),
tag: c => ({
display: 'inline-flex',
alignItems: 'center',
gap: 4,
fontSize: 10,
fontWeight: 600,
fontFamily: mono,
padding: '3px 10px',
borderRadius: 12,
background: c + '12',
color: c,
letterSpacing: '0.3px'
})
};
function Code({
children
}) {
return /*#__PURE__*/React.createElement("div", {
style: S.code
}, children);
}
function Callout({
type,
children
}) {
const cfg = {
tip: {
border: '#3fb950',
icon: 'TIP'
},
warn: {
border: '#d29922',
icon: 'WARN'
},
critical: {
border: '#f85149',
icon: 'CRIT'
},
info: {
border: '#58a6ff',
icon: 'NOTE'
}
};
const c = cfg[type] || cfg.info;
return /*#__PURE__*/React.createElement("div", {
style: {
borderLeft: '3px solid ' + c.border,
padding: '12px 16px',
margin: '12px 0',
background: '#0d1117',
borderRadius: '0 8px 8px 0'
}
}, /*#__PURE__*/React.createElement("div", {
style: {
display: 'flex',
gap: 8,
alignItems: 'flex-start'
}
}, /*#__PURE__*/React.createElement("span", {
style: {
fontSize: 10,
fontWeight: 700,
color: c.border,
fontFamily: mono,
letterSpacing: '0.5px',
marginTop: 2,
flexShrink: 0
}
}, c.icon), /*#__PURE__*/React.createElement("div", {
style: {
fontSize: 12.5,
color: '#b1bac4',
lineHeight: 1.7
}
}, children)));
}
function PathLine({
children,
note
}) {
return /*#__PURE__*/React.createElement("div", {
style: {
display: 'flex',
alignItems: 'baseline',
gap: 8,
padding: '4px 0',
fontSize: 12,
fontFamily: mono
}
}, /*#__PURE__*/React.createElement("span", {
style: {
color: '#484f58',
flexShrink: 0
}
}, "▸"), /*#__PURE__*/React.createElement("code", {
style: {
color: '#a5d6ff',
wordBreak: 'break-all'
}
}, children), note && /*#__PURE__*/React.createElement("span", {
style: {
color: '#484f58',
fontSize: 11,
fontStyle: 'italic',
flexShrink: 0
}
}, note));
}
function Section({
title,
children
}) {
return /*#__PURE__*/React.createElement("div", {
style: {
...S.card,
marginBottom: 16
}
}, /*#__PURE__*/React.createElement("div", {
style: {
fontSize: 13,
fontWeight: 700,
color: '#e6edf3',
marginBottom: 14,
paddingBottom: 12,
borderBottom: '1px solid #1b1f27'
}
}, title), children);
}
function MiniTable({
headers,
rows
}) {
return /*#__PURE__*/React.createElement("div", {
style: {
overflowX: 'auto',
borderRadius: 8,
border: '1px solid #1b1f27',
margin: '10px 0'
}
}, /*#__PURE__*/React.createElement("table", {
style: {
width: '100%',
borderCollapse: 'collapse',
fontSize: 12,
fontFamily: mono
}
}, /*#__PURE__*/React.createElement("thead", null, /*#__PURE__*/React.createElement("tr", null, headers.map((h, i) => /*#__PURE__*/React.createElement("th", {
key: i,
style: {
padding: '8px 12px',
textAlign: 'left',
color: '#484f58',
fontWeight: 600,
borderBottom: '1px solid #1b1f27',
background: '#0d1117',
fontSize: 10,
letterSpacing: '0.5px',
textTransform: 'uppercase'
}
}, h)))), /*#__PURE__*/React.createElement("tbody", null, rows.map((row, i) => /*#__PURE__*/React.createElement("tr", {
key: i
}, row.map((c, j) => /*#__PURE__*/React.createElement("td", {
key: j,
style: {
padding: '7px 12px',
borderBottom: '1px solid #0d1117',
color: j === 0 ? '#e6edf3' : '#8b949e',
background: i % 2 === 0 ? 'transparent' : '#0d111708'
}
}, c)))))));
}
function CheckItem({
children
}) {
return /*#__PURE__*/React.createElement("div", {
style: {
display: 'flex',
gap: 10,
padding: '6px 0',
fontSize: 12.5,
color: '#b1bac4',
lineHeight: 1.6
}
}, /*#__PURE__*/React.createElement("span", {
style: {
color: '#484f58',
fontSize: 14,
flexShrink: 0,
marginTop: -1
}
}, "▢"), /*#__PURE__*/React.createElement("span", null, children));
}
function StepCard({
num,
title,
children
}) {
return /*#__PURE__*/React.createElement("div", {
style: {
...S.card,
marginBottom: 12
}
}, /*#__PURE__*/React.createElement("div", {
style: {
display: 'flex',
alignItems: 'center',
gap: 10,
marginBottom: 10
}
}, /*#__PURE__*/React.createElement("span", {
style: {
width: 28,
height: 28,
borderRadius: '50%',
background: '#58a6ff15',
border: '1px solid #58a6ff33',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
fontSize: 13,
fontWeight: 700,
color: '#58a6ff',
fontFamily: mono,
flexShrink: 0
}
}, num), /*#__PURE__*/React.createElement("span", {
style: {
fontSize: 14,
fontWeight: 700,
color: '#e6edf3'
}
}, title)), children);
}
function OsToggle({
os,
setOs
}) {
return /*#__PURE__*/React.createElement("div", {
style: {
display: 'flex',
gap: 4,
marginBottom: 14
}
}, ['windows', 'macos', 'linux'].map(o => /*#__PURE__*/React.createElement("button", {
key: o,
onClick: () => setOs(o),
style: {
background: os === o ? '#161b22' : 'transparent',
border: os === o ? '1px solid #58a6ff33' : '1px solid #1b1f27',
color: os === o ? '#58a6ff' : '#6e7681',
padding: '5px 12px',
borderRadius: 6,
cursor: 'pointer',
fontSize: 11,
fontWeight: os === o ? 700 : 400,
fontFamily: mono
}
}, o === 'windows' ? 'Windows' : o === 'macos' ? 'macOS' : 'Linux')));
}
function GhBtn({
href,
label
}) {
return /*#__PURE__*/React.createElement("a", {
href: href,
target: "_blank",
rel: "noopener noreferrer",
style: {
display: 'inline-flex',
alignItems: 'center',
gap: 6,
padding: '5px 12px',
background: '#161b22',
border: '1px solid #30363d',
borderRadius: 6,
color: '#c8ccd4',
fontSize: 11,
textDecoration: 'none',
fontFamily: mono,
fontWeight: 500
}
}, /*#__PURE__*/React.createElement("svg", {
width: "14",
height: "14",
viewBox: "0 0 16 16",
fill: "#c8ccd4"
}, /*#__PURE__*/React.createElement("path", {
d: "M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"
})), label);
}
const DASHBOARD_DESC = "Browser extensions operate with deep access to everything users do online - reading page content, intercepting requests, accessing cookies, session tokens, and credentials. This attack surface has become one of the most exploited vectors in modern cybersecurity. In December 2024, a single phishing campaign compromised over 35 Chrome extensions affecting 2.6 million users, including the Cyberhaven security extension, by abusing OAuth permissions to push malicious updates that exfiltrated Facebook tokens and session cookies. A year later in December 2025, the Trust Wallet Chrome extension was hijacked through a leaked Web Store API key, draining $8.5 million in cryptocurrency from 2,520 wallets through a single compromised update. The DarkSpectre threat actor operated three campaigns (ShadyPanda, GhostPoster, Zoom Stealer) across Chrome, Edge, and Firefox over seven years, impacting 8.8 million users through over 100 extensions that acted as sleeper agents - behaving normally for months or years before activating data theft, search hijacking, and corporate intelligence collection. In late 2025, two fake AI assistant extensions impersonating AITOPIA were found exfiltrating ChatGPT and DeepSeek conversations from 900,000 users while carrying a Google Featured badge. In February 2026, the AiFrame campaign deployed 32 extensions disguised as AI tools to siphon browsing data across thousands of victims. Attackers use multiple strategies: purchasing established extensions from developers, phishing developer accounts via OAuth abuse, compromising Web Store API keys, or planting sleeper extensions that build trust before weaponization. Extensions bypass traditional endpoint security because they are already trusted, update automatically, and hold excessive permissions. Most organizations have zero visibility into what extensions employees are running, and most SIEMs have no detection rules for this vector. A single compromised extension can harvest every credential entered in the browser, steal active SSO sessions, exfiltrate sensitive documents, and execute local binaries via nativeMessaging - all while appearing as a legitimate tool. <strong>Monitoring and blocking known-malicious extensions is not optional - it is a fundamental security control.</strong>";
function TracesPanel() {
const [browser, setBrowser] = useState('chrome');
const [os, setOs] = useState('windows');
const B = {
windows: '%LOCALAPPDATA%\\Google\\Chrome\\User Data',
macos: '~/Library/Application Support/Google/Chrome',
linux: '~/.config/google-chrome'
}[os];
const EB = {
windows: '%LOCALAPPDATA%\\Microsoft\\Edge\\User Data',
macos: '~/Library/Application Support/Microsoft Edge',
linux: '~/.config/microsoft-edge'
}[os];
const FB = {
windows: '%APPDATA%\\Mozilla\\Firefox\\Profiles\\PROFILE',
macos: '~/Library/Application Support/Firefox/Profiles/PROFILE',
linux: '~/.mozilla/firefox/PROFILE'
}[os];
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
style: {
...S.card,
marginBottom: 20,
borderLeft: '3px solid #f85149',
borderColor: '#1b1f27',
borderLeftColor: '#f85149'
}
}, /*#__PURE__*/React.createElement("div", {
style: {
fontSize: 14,
fontWeight: 700,
color: '#e6edf3',
marginBottom: 6
}
}, "Investigation Scenario"), /*#__PURE__*/React.createElement("p", {
style: {
fontSize: 13,
color: '#8b949e',
lineHeight: 1.8,
margin: 0
}
}, "You have discovered a browser extension you do not recognize on a user workstation. What traces do you look for to determine ", /*#__PURE__*/React.createElement("strong", null, "when"), " and ", /*#__PURE__*/React.createElement("strong", null, "how"), " the extension was installed, whether it was user-initiated or pushed via policy, and whether an incident has occurred?")), /*#__PURE__*/React.createElement("div", {
style: {
display: 'flex',
gap: 6,
marginBottom: 12,
flexWrap: 'wrap'
}
}, [{
id: 'chrome',
label: 'Chrome / Chromium'
}, {
id: 'edge',
label: 'Microsoft Edge'
}, {
id: 'firefox',
label: 'Firefox'
}, {
id: 'general',
label: 'General Forensics'
}].map(b => /*#__PURE__*/React.createElement("button", {
key: b.id,
onClick: () => setBrowser(b.id),
style: {
background: browser === b.id ? '#161b22' : 'transparent',
border: browser === b.id ? '1px solid #58a6ff33' : '1px solid #1b1f27',
color: browser === b.id ? '#58a6ff' : '#6e7681',
padding: '8px 16px',
borderRadius: 8,
cursor: 'pointer',
fontSize: 12,
fontWeight: browser === b.id ? 700 : 400
}
}, b.label))), browser !== 'general' && /*#__PURE__*/React.createElement(OsToggle, {
os: os,
setOs: setOs
}), browser === 'chrome' && /*#__PURE__*/React.createElement("div", null, os === 'windows' && /*#__PURE__*/React.createElement(Section, {
title: "Download Mechanism (BITS) - Windows Only"
}, /*#__PURE__*/React.createElement("p", {
style: {
fontSize: 12.5,
color: '#8b949e',
lineHeight: 1.7,
marginBottom: 12
}
}, "Chrome on Windows uses ", /*#__PURE__*/React.createElement("strong", null, "Background Intelligent Transfer Service (BITS)"), " to download extensions."), /*#__PURE__*/React.createElement(Code, null, ['chrome.exe', ' > loads BitsProxy.dll', ' > svchost.exe -k netsvcs', ' > loads qmgr.dll (BITS Queue Manager)', ' > HTTP(S) GET > downloads .crx3 file'].join('\n')), /*#__PURE__*/React.createElement(MiniTable, {
headers: ['Event ID', 'Log Channel', 'Details'],
rows: [['59', 'Microsoft-Windows-Bits-Client/Operational', 'Download initiated - source URL + destination'], ['60', 'Microsoft-Windows-Bits-Client/Operational', 'Download completed - bytes + timestamp'], ['4', 'Microsoft-Windows-Bits-Client/Operational', 'Transfer job created - may contain extension name']]
}), /*#__PURE__*/React.createElement(Callout, {
type: "tip"
}, "EventID 59 gives the source URL, EventID 60 the completion time. Cross-reference with proxy logs.")), os === 'macos' && /*#__PURE__*/React.createElement(Callout, {
type: "info"
}, "Chrome downloads extensions directly via HTTPS on macOS. Check the Unified Log for network activity: ", /*#__PURE__*/React.createElement("code", {
style: {
color: '#a5d6ff'
}
}, "log show --predicate 'process == \"Google Chrome\"' --last 1h")), os === 'linux' && /*#__PURE__*/React.createElement(Callout, {
type: "info"
}, "Chrome downloads extensions directly via HTTPS on Linux. Check journalctl, strace, or proxy logs for download activity."), /*#__PURE__*/React.createElement(Section, {
title: "Network / Proxy Logs"
}, /*#__PURE__*/React.createElement(Code, null, ['# Chrome Web Store download URLs (all platforms)', 'https://edgedl.me.gvt1.com/edgedl/release2/chrome_component/<ID>/<VER>.crx3', 'https://edgedl.me.gvt1.com/edgedl/chromewebstore/<HASH>/<VER>.crx', 'https://clients2.google.com/service/update2/crx?response=redirect&x=id%3D<EXT_ID>%26...', 'https://clients2.googleusercontent.com/crx/blobs/<HASH>/<VER>.crx', '', '# Suspicious: .crx/.crx3 from non-Google domains = sideloaded'].join('\n'))), /*#__PURE__*/React.createElement(Section, {
title: "Filesystem Artifacts"
}, /*#__PURE__*/React.createElement("div", {
style: {
fontSize: 11,
fontWeight: 600,
color: '#58a6ff',
marginBottom: 8,
textTransform: 'uppercase',
letterSpacing: '1px'
}
}, "Installed Extensions"), /*#__PURE__*/React.createElement("div", {
style: {
background: '#0d1117',
border: '1px solid #1b1f27',
borderRadius: 8,
padding: 14,
marginBottom: 14
}
}, /*#__PURE__*/React.createElement(PathLine, {
note: "primary"
}, B, "/Default/Extensions/EXT_ID/VERSION/"), /*#__PURE__*/React.createElement(PathLine, {
note: "manifest"
}, B, "/Default/Extensions/EXT_ID/VERSION/manifest.json"), /*#__PURE__*/React.createElement(PathLine, {
note: "local storage"
}, B, "/Default/Local Extension Settings/EXT_ID/"), /*#__PURE__*/React.createElement(PathLine, {
note: "sync storage"
}, B, "/Default/Sync Extension Settings/EXT_ID/"), /*#__PURE__*/React.createElement(PathLine, {
note: "IndexedDB"
}, B, "/Default/IndexedDB/chrome-extension_EXT_ID_0.indexeddb.leveldb/"), /*#__PURE__*/React.createElement(PathLine, {
note: "rules"
}, B, "/Default/Extension Rules/EXT_ID/")), os === 'windows' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
style: {
fontSize: 11,
fontWeight: 600,
color: '#58a6ff',
marginBottom: 8,
textTransform: 'uppercase',
letterSpacing: '1px'
}
}, "Download Staging (Windows)"), /*#__PURE__*/React.createElement("div", {
style: {
background: '#0d1117',
border: '1px solid #1b1f27',
borderRadius: 8,
padding: 14,
marginBottom: 14
}
}, /*#__PURE__*/React.createElement(PathLine, {
note: "BITS"
}, "C:\\Program Files\\chrome_BITS_NNNNN\\*.crx3"), /*#__PURE__*/React.createElement(PathLine, {
note: "webstore cache"
}, B, "\\Webstore Downloads\\*.crx"), /*#__PURE__*/React.createElement(PathLine, {
note: "temp"
}, "%TEMP%\\scoped_dirXXXXX\\CRX_INSTALL\\"))), /*#__PURE__*/React.createElement("div", {
style: {
fontSize: 11,
fontWeight: 600,
color: '#58a6ff',
marginBottom: 8,
textTransform: 'uppercase',
letterSpacing: '1px'
}
}, "Profile Metadata"), /*#__PURE__*/React.createElement("div", {
style: {
background: '#0d1117',
border: '1px solid #1b1f27',
borderRadius: 8,
padding: 14,
marginBottom: 14
}
}, /*#__PURE__*/React.createElement(PathLine, {
note: "master config"
}, B, "/Default/Preferences"), /*#__PURE__*/React.createElement(PathLine, {
note: "tamper-evident"
}, B, "/Default/Secure Preferences"), /*#__PURE__*/React.createElement(PathLine, {
note: "history (SQLite)"
}, B, "/Default/History"), /*#__PURE__*/React.createElement(PathLine, {
note: "profiles"
}, B, "/Local State")), /*#__PURE__*/React.createElement(Callout, {
type: "tip"
}, /*#__PURE__*/React.createElement("strong", null, "Secure Preferences - extensions.settings.EXT_ID:"), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("code", {
style: {
color: '#a5d6ff'
}
}, "install_time"), " - Chrome epoch (us since 1601-01-01) | ", /*#__PURE__*/React.createElement("code", {
style: {
color: '#a5d6ff'
}
}, "location"), " - 1=WebStore 4=External 5=Registry/JSON 10=Policy | ", /*#__PURE__*/React.createElement("code", {
style: {
color: '#a5d6ff'
}
}, "from_webstore"), " - false = investigate")), /*#__PURE__*/React.createElement(Section, {
title: os === 'windows' ? "Windows Registry Artifacts" : "External Extensions / Policy Push"
}, os === 'windows' && /*#__PURE__*/React.createElement(MiniTable, {
headers: ['Registry Path', 'Purpose'],
rows: [['HKLM\\SOFTWARE\\Policies\\Google\\Chrome\\ExtensionInstallForcelist', 'Force-installed (GPO/MDM)'], ['HKLM\\SOFTWARE\\Policies\\Google\\Chrome\\ExtensionInstallBlocklist', 'Blocklisted'], ['HKLM\\SOFTWARE\\Policies\\Google\\Chrome\\ExtensionSettings', 'Per-extension overrides'], ['HKLM\\Software\\Google\\Chrome\\Extensions\\EXT_ID', 'External extensions (other software)'], ['HKCU\\SOFTWARE\\Google\\Chrome\\NativeMessagingHosts\\HOST', 'NativeMessaging manifests']]
}), os === 'macos' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(MiniTable, {
headers: ['Path', 'Purpose'],
rows: [['~/Library/Application Support/Google/Chrome/External Extensions/EXT_ID.json', 'Per-user external extension (no local CRX since Chrome 44)'], ['/Library/Application Support/Google/Chrome/External Extensions/EXT_ID.json', 'System-wide external (must be root-owned)'], ['/Library/Google/Chrome/NativeMessagingHosts/HOST.json', 'System NativeMessaging'], ['~/Library/Application Support/Google/Chrome/NativeMessagingHosts/HOST.json', 'User NativeMessaging'], ['/Library/Managed Preferences/com.google.Chrome.plist', 'MDM policies (Jamf, Intune)']]
}), /*#__PURE__*/React.createElement(Callout, {
type: "warn"
}, "On macOS, external extensions only install from Chrome Web Store update_url (no local CRX since Chrome 44).")), os === 'linux' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(MiniTable, {
headers: ['Path', 'Purpose'],
rows: [['/opt/google/chrome/extensions/EXT_ID.json', 'System-wide external extension JSON'], ['/usr/share/google-chrome/extensions/EXT_ID.json', 'System-wide external (alternative)'], ['~/.config/google-chrome/External Extensions/EXT_ID.json', 'Per-user external (can point to local CRX!)'], ['/etc/opt/chrome/NativeMessagingHosts/HOST.json', 'System NativeMessaging'], ['~/.config/google-chrome/NativeMessagingHosts/HOST.json', 'User NativeMessaging'], ['/etc/opt/chrome/policies/managed/policy.json', 'Managed enterprise policies']]
}), /*#__PURE__*/React.createElement(Callout, {
type: "critical"
}, "On Linux, external extension JSON can auto-install local .crx without user prompt. Check /opt/google/chrome/extensions/ for unexpected files."))), /*#__PURE__*/React.createElement(Section, {
title: "Process / Command Line Traces"
}, /*#__PURE__*/React.createElement(Code, null, [os === 'windows' ? 'chrome.exe --load-extension="C:\\path\\to\\extension"' : os === 'macos' ? '"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --load-extension="/path/ext"' : 'google-chrome --load-extension="/path/ext"', '', '# Search for in process creation logs:', 'CommandLine contains: .crx | .crx3 | --load-extension | --install-extension | --disable-extensions-except'].join('\n')), /*#__PURE__*/React.createElement(Callout, {
type: "warn"
}, "Check the ", /*#__PURE__*/React.createElement("strong", null, "parent process"), ". If browser spawned by ", os === 'macos' ? 'osascript, python, launchd' : os === 'linux' ? 'cron, bash, systemd' : 'powershell.exe, cmd.exe, wscript.exe', " with extension flags - highly suspicious.")), /*#__PURE__*/React.createElement(Section, {
title: "Chrome Database Deep Dive"
}, /*#__PURE__*/React.createElement(Code, null, ['# Key fields in Secure Preferences > extensions.settings.EXT_ID:', '# install_time: Chrome epoch (us since 1601-01-01)', '# location: 1=WebStore 4=External 5=Registry/JSON 10=Policy', '# from_webstore: false = sideloaded | state: 0=disabled 1=enabled', '', '# Convert timestamp: datetime(1601,1,1) + timedelta(microseconds=install_time)', '# Query History: sqlite3 "History" "SELECT url,title FROM urls WHERE url LIKE \'chrome-extension://%\';"'].join('\n')))), browser === 'edge' && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Callout, {
type: "info"
}, "Edge is Chromium-based. Most Chrome traces apply with different base paths."), /*#__PURE__*/React.createElement(Section, {
title: "Edge Extension Paths"
}, /*#__PURE__*/React.createElement("div", {
style: {
background: '#0d1117',
border: '1px solid #1b1f27',
borderRadius: 8,
padding: 14,
marginBottom: 14
}
}, /*#__PURE__*/React.createElement(PathLine, {
note: "extensions"
}, EB, "/Default/Extensions/EXT_ID/VERSION/"), /*#__PURE__*/React.createElement(PathLine, {
note: "preferences"
}, EB, "/Default/Preferences"), /*#__PURE__*/React.createElement(PathLine, {
note: "secure prefs"
}, EB, "/Default/Secure Preferences"), /*#__PURE__*/React.createElement(PathLine, {
note: "local state"
}, EB, "/Local State"))), /*#__PURE__*/React.createElement(Section, {
title: "Policy / External Extensions"
}, os === 'windows' && /*#__PURE__*/React.createElement(MiniTable, {
headers: ['Registry Path', 'Purpose'],
rows: [['HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge\\ExtensionInstallForcelist', 'Force-installed'], ['HKLM\\SOFTWARE\\Policies\\Microsoft\\Edge\\ExtensionSettings', 'Per-extension overrides'], ['HKLM\\Software\\Microsoft\\Edge\\Extensions\\EXT_ID', 'External extensions'], ['HKCU\\SOFTWARE\\Microsoft\\Edge\\NativeMessagingHosts\\HOST', 'NativeMessaging'], ['HKLM\\SOFTWARE\\Microsoft\\PolicyManager\\current\\device\\Browser\\*', 'Intune/MDM']]
}), os === 'macos' && /*#__PURE__*/React.createElement(MiniTable, {
headers: ['Path', 'Purpose'],
rows: [['~/Library/Application Support/Microsoft Edge/External Extensions/EXT_ID.json', 'Per-user external'], ['~/Library/Application Support/Microsoft Edge/NativeMessagingHosts/HOST.json', 'User NativeMessaging'], ['/Library/Managed Preferences/com.microsoft.Edge.plist', 'MDM-managed Edge policies']]
}), os === 'linux' && /*#__PURE__*/React.createElement(MiniTable, {
headers: ['Path', 'Purpose'],
rows: [['/usr/share/microsoft-edge/extensions/EXT_ID.json', 'System-wide external'], ['~/.config/microsoft-edge/NativeMessagingHosts/HOST.json', 'User NativeMessaging'], ['/etc/opt/edge/policies/managed/policy.json', 'Managed enterprise policies']]
}))), browser === 'firefox' && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Callout, {
type: "info"
}, "Firefox extensions use ", /*#__PURE__*/React.createElement("strong", null, ".xpi"), " format (ZIP). Profiles at ", os === 'windows' ? /*#__PURE__*/React.createElement("code", {
style: {
color: '#a5d6ff'
}
}, "%APPDATA%\\Mozilla\\Firefox\\Profiles\\") : os === 'macos' ? /*#__PURE__*/React.createElement("code", {
style: {
color: '#a5d6ff'
}
}, "~/Library/Application Support/Firefox/Profiles/") : /*#__PURE__*/React.createElement("code", {
style: {
color: '#a5d6ff'
}
}, "~/.mozilla/firefox/"), " with random names."), /*#__PURE__*/React.createElement(Section, {
title: "Filesystem Artifacts"
}, /*#__PURE__*/React.createElement("div", {
style: {
fontSize: 11,
fontWeight: 600,
color: '#58a6ff',
marginBottom: 8,
textTransform: 'uppercase',
letterSpacing: '1px'
}
}, "Installed Add-ons"), /*#__PURE__*/React.createElement("div", {
style: {
background: '#0d1117',
border: '1px solid #1b1f27',
borderRadius: 8,
padding: 14,
marginBottom: 14
}
}, /*#__PURE__*/React.createElement(PathLine, {
note: "installed XPI"
}, FB, "/extensions/addon_id.xpi"), /*#__PURE__*/React.createElement(PathLine, {
note: "staged"
}, FB, "/extensions/staged/addon_id.xpi"), /*#__PURE__*/React.createElement(PathLine, {
note: "storage"
}, FB, "/storage/default/moz-extension+++ADDON_GUID/")), /*#__PURE__*/React.createElement("div", {
style: {
fontSize: 11,
fontWeight: 600,
color: '#58a6ff',
marginBottom: 8,
textTransform: 'uppercase',
letterSpacing: '1px'
}
}, "Profile Metadata"), /*#__PURE__*/React.createElement("div", {
style: {
background: '#0d1117',
border: '1px solid #1b1f27',
borderRadius: 8,
padding: 14,
marginBottom: 14
}
}, /*#__PURE__*/React.createElement(PathLine, {
note: "master DB"
}, FB, "/extensions.json"), /*#__PURE__*/React.createElement(PathLine, {
note: "startup cache"
}, FB, "/addonStartup.json.lz4"), /*#__PURE__*/React.createElement(PathLine, {
note: "ext prefs"
}, FB, "/extension-preferences.json"), /*#__PURE__*/React.createElement(PathLine, {
note: "user prefs"
}, FB, "/prefs.js")), /*#__PURE__*/React.createElement(Callout, {
type: "tip"
}, /*#__PURE__*/React.createElement("strong", null, "extensions.json"), " - per-addon: ", /*#__PURE__*/React.createElement("code", {
style: {
color: '#a5d6ff'
}
}, "installDate"), " (epoch ms), ", /*#__PURE__*/React.createElement("code", {
style: {
color: '#a5d6ff'
}
}, "sourceURI"), " (download URL!), ", /*#__PURE__*/React.createElement("code", {
style: {
color: '#a5d6ff'
}
}, "location"), ", ", /*#__PURE__*/React.createElement("code", {
style: {
color: '#a5d6ff'
}
}, "signedState"))), /*#__PURE__*/React.createElement(Section, {
title: "Network / Proxy Logs"
}, /*#__PURE__*/React.createElement(Code, null, ['https://addons.mozilla.org/firefox/downloads/file/FILE_ID/ADDON-VERSION.xpi', 'https://addons.mozilla.org/api/v5/addons/addon/ADDON_ID/', '', '# Suspicious: *.xpi from non-Mozilla domains = potential sideload'].join('\n'))), /*#__PURE__*/React.createElement(Section, {
title: "Process / CLI / Configuration"
}, /*#__PURE__*/React.createElement(Code, null, [os === 'windows' ? 'firefox.exe -install-global-extension "C:\\path\\addon.xpi"' : os === 'macos' ? '"/Applications/Firefox.app/Contents/MacOS/firefox" -install-global-extension "/path/addon.xpi"' : 'firefox -install-global-extension "/path/addon.xpi"', '', '# Suspicious prefs.js values:', 'user_pref("xpinstall.signatures.required", false); // Allows unsigned!', 'user_pref("extensions.autoDisableScopes", 0); // Disables scope checks!'].join('\n')), /*#__PURE__*/React.createElement(Callout, {
type: "critical"
}, "xpinstall.signatures.required = false means someone bypassed Mozilla signing.")), /*#__PURE__*/React.createElement(Section, {
title: "Global Install Locations / Policies"
}, /*#__PURE__*/React.createElement(MiniTable, {
headers: ['Path', 'Purpose'],
rows: os === 'windows' ? [['C:\\Program Files\\Mozilla Firefox\\browser\\extensions\\ADDON.xpi', 'Global extensions'], ['C:\\Program Files\\Mozilla Firefox\\distribution\\policies.json', 'Enterprise policies'], ['HKLM\\SOFTWARE\\Mozilla\\Firefox\\Extensions', 'Registry-installed'], ['HKCU\\SOFTWARE\\Mozilla\\NativeMessagingHosts\\HOST', 'NativeMessaging']] : os === 'macos' ? [['/Applications/Firefox.app/.../browser/extensions/ADDON.xpi', 'Global extensions'], ['/Applications/Firefox.app/.../distribution/policies.json', 'Enterprise policies'], ['~/Library/Application Support/Mozilla/NativeMessagingHosts/HOST.json', 'User NativeMessaging'], ['/Library/Application Support/Mozilla/NativeMessagingHosts/HOST.json', 'System NativeMessaging']] : [['/usr/lib/firefox/browser/extensions/ADDON.xpi', 'Global extensions'], ['/etc/firefox/policies/policies.json', 'System-wide policies'], ['~/.mozilla/native-messaging-hosts/HOST.json', 'User NativeMessaging'], ['/usr/lib/mozilla/native-messaging-hosts/HOST.json', 'System NativeMessaging']]
}), /*#__PURE__*/React.createElement(Callout, {
type: "warn"
}, "Check policies.json for ExtensionSettings with installation_mode: \"force_installed\". If modified outside MDM, treat as compromised."))), browser === 'general' && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Section, {
title: "Investigation Checklist"
}, /*#__PURE__*/React.createElement("div", {
style: {
display: 'grid',
gridTemplateColumns: '1fr 1fr',
gap: 12
}
}, [{
t: '1. Identify',
items: ['Extension ID / GUID?', 'Which browser(s) and OS?', 'Present on multiple machines?', 'In known threat intel feeds? (ExtSentry)']
}, {
t: '2. Timeline',
items: ['Chrome: Secure Preferences > install_time', 'Firefox: extensions.json > installDate', 'Last update time?', 'User activity around that time?']
}, {
t: '3. Install Method',
items: ['User-initiated (Web Store / AMO)?', 'Policy push (GPO/MDM/Jamf)?', 'Sideloaded by other software?', 'CLI install? Check process logs']
}, {
t: '4. Analyze',
items: ['manifest.json permissions', 'content_scripts targets', 'JS obfuscation, eval(), remote code', 'nativeMessaging host?']
}, {
t: '5. Scope Impact',
items: ['Extension storage for exfiltrated data', 'Proxy/firewall logs for C2', 'How many machines affected?', 'Sensitive sites targeted?']
}, {
t: '6. Preserve Evidence',
items: ['Copy full extension directory', 'Export Preferences / extensions.json', 'Screenshot extension pages', 'Collect browser process logs']
}].map(s => /*#__PURE__*/React.createElement("div", {
key: s.t
}, /*#__PURE__*/React.createElement("div", {
style: {
fontSize: 11,
fontWeight: 600,
color: '#58a6ff',
marginBottom: 8,
textTransform: 'uppercase',
letterSpacing: '1px'
}
}, s.t), s.items.map((item, i) => /*#__PURE__*/React.createElement(CheckItem, {
key: i
}, item)))))), /*#__PURE__*/React.createElement(Section, {
title: "High-Risk Permission Indicators"
}, /*#__PURE__*/React.createElement(MiniTable, {
headers: ['Permission', 'Risk', 'Implication'],
rows: [['<all_urls> / *://*/*', 'Critical', 'Access ALL websites'], ['webRequest + webRequestBlocking', 'Critical', 'Intercept/modify ALL HTTP (MitM)'], ['cookies', 'Critical', 'Read/write cookies any site'], ['nativeMessaging', 'Critical', 'Execute local binaries'], ['management', 'Critical', 'Manage other extensions'], ['debugger', 'Critical', 'Full DevTools protocol'], ['downloads', 'High', 'Download files silently'], ['history', 'High', 'Read browsing history'], ['clipboardRead', 'High', 'Read clipboard'], ['proxy', 'High', 'Redirect all traffic'], ['tabs', 'Medium', 'See all tab URLs/titles']]
})), /*#__PURE__*/React.createElement(Section, {
title: "Cross-Browser, Cross-OS Path Reference"
}, /*#__PURE__*/React.createElement(MiniTable, {
headers: ['Browser', 'Windows', 'macOS', 'Linux'],
rows: [['Chrome', '%LOCALAPPDATA%\\Google\\Chrome\\...\\Extensions\\', '~/Library/Application Support/Google/Chrome/.../Extensions/', '~/.config/google-chrome/.../Extensions/'], ['Edge', '%LOCALAPPDATA%\\Microsoft\\Edge\\...\\Extensions\\', '~/Library/Application Support/Microsoft Edge/.../Extensions/', '~/.config/microsoft-edge/.../Extensions/'], ['Brave', '%LOCALAPPDATA%\\BraveSoftware\\...\\Extensions\\', '~/Library/Application Support/BraveSoftware/.../Extensions/', '~/.config/BraveSoftware/.../Extensions/'], ['Firefox', '%APPDATA%\\Mozilla\\Firefox\\Profiles\\*\\extensions\\', '~/Library/Application Support/Firefox/Profiles/*/extensions/', '~/.mozilla/firefox/*/extensions/'], ['Opera', '%APPDATA%\\Opera Software\\...\\Extensions\\', '~/Library/Application Support/com.operasoftware.Opera/Extensions/', '~/.config/opera/Extensions/']]
}), /*#__PURE__*/React.createElement(MiniTable, {
headers: ['Browser', 'Policies (macOS)', 'Policies (Linux)'],
rows: [['Chrome', '/Library/Managed Preferences/com.google.Chrome.plist', '/etc/opt/chrome/policies/managed/*.json'], ['Edge', '/Library/Managed Preferences/com.microsoft.Edge.plist', '/etc/opt/edge/policies/managed/*.json'], ['Firefox', 'Firefox.app/.../distribution/policies.json', '/etc/firefox/policies/policies.json']]
}), /*#__PURE__*/React.createElement(MiniTable, {
headers: ['Browser', 'NativeMessaging (macOS)', 'NativeMessaging (Linux)'],
rows: [['Chrome', '~/Library/.../Google/Chrome/NativeMessagingHosts/', '~/.config/google-chrome/NativeMessagingHosts/'], ['Edge', '~/Library/.../Microsoft Edge/NativeMessagingHosts/', '~/.config/microsoft-edge/NativeMessagingHosts/'], ['Firefox', '~/Library/.../Mozilla/NativeMessagingHosts/', '~/.mozilla/native-messaging-hosts/']]
})), /*#__PURE__*/React.createElement(Section, {
title: "Analysis Commands"
}, /*#__PURE__*/React.createElement(Code, null, ['# Python: Chrome extension timestamps (adjust path per OS)', 'import json; from datetime import datetime, timedelta', 'prefs = json.load(open("Secure Preferences"))', 'for eid, info in prefs.get("extensions",{}).get("settings",{}).items():', ' t = info.get("install_time","0")', ' if t and t != "0":', ' dt = datetime(1601,1,1) + timedelta(microseconds=int(t))', ' print(dt, info.get("location","?"), eid, info.get("manifest",{}).get("name","?"))', '', '# Python: Firefox addons', 'import json', 'for a in json.load(open("extensions.json")).get("addons",[]):', ' print(a.get("installDate",""), a.get("id",""), a.get("name",""), a.get("sourceURI",""))', '', '# Linux: find extension manifests', 'find ~/.config/google-chrome ~/.config/microsoft-edge ~/.mozilla/firefox -name manifest.json -path "*/extensions/*" 2>/dev/null'].join('\n')))));
}
function RemediationPanel() {
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Callout, {
type: "critical"
}, /*#__PURE__*/React.createElement("strong", null, "Preserve evidence before remediation."), " Copy extension directories, export Preferences/extensions.json, and screenshot browser extension pages before removing anything."), /*#__PURE__*/React.createElement(StepCard, {
num: "1",
title: "Immediate Containment"
}, /*#__PURE__*/React.createElement("p", {
style: {
fontSize: 12.5,
color: '#8b949e',
lineHeight: 1.7,
marginBottom: 10
}
}, "Isolate the machine if the extension is actively exfiltrating data. Kill all browser processes."), /*#__PURE__*/React.createElement(Code, null, ['# Windows', 'taskkill /IM chrome.exe /F && taskkill /IM msedge.exe /F && taskkill /IM firefox.exe /F', '# macOS', 'pkill -9 "Google Chrome" && pkill -9 "Microsoft Edge" && pkill -9 firefox', '# Linux', 'pkill -9 chrome && pkill -9 msedge && pkill -9 firefox', '', '# Block C2 domains at firewall/proxy immediately'].join('\n')), /*#__PURE__*/React.createElement(Callout, {
type: "warn"
}, "If extension has nativeMessaging permissions, check for native binaries before assuming browser kill is sufficient.")), /*#__PURE__*/React.createElement(StepCard, {
num: "2",
title: "Extension Removal - Chromium (Chrome / Edge)"
}, /*#__PURE__*/React.createElement(Code, null, ['# Delete extension dir (adjust base per OS)', '# WIN: %LOCALAPPDATA%\\Google\\Chrome\\User Data\\Default\\Extensions\\EXT_ID', '# MAC: ~/Library/Application Support/Google/Chrome/Default/Extensions/EXT_ID', '# LNX: ~/.config/google-chrome/Default/Extensions/EXT_ID', '', '# Also clean: Local Extension Settings, Sync Extension Settings, Extension Rules, IndexedDB', '', '# Remove external extension files:', '# MAC: ~/Library/.../Google/Chrome/External Extensions/EXT_ID.json', '# LNX: /opt/google/chrome/extensions/EXT_ID.json', '# WIN: HKLM\\Software\\Google\\Chrome\\Extensions\\EXT_ID', '', '# Remove NativeMessaging hosts + policy-pushed extensions (per-OS paths above)'].join('\n'))), /*#__PURE__*/React.createElement(StepCard, {
num: "3",
title: "Extension Removal - Firefox"
}, /*#__PURE__*/React.createElement(Code, null, ['# Delete extension (adjust per OS)', '# WIN: %APPDATA%\\Mozilla\\Firefox\\Profiles\\PROFILE\\extensions\\ADDON_ID.xpi', '# MAC: ~/Library/.../Firefox/Profiles/PROFILE/extensions/ADDON_ID.xpi', '# LNX: ~/.mozilla/firefox/PROFILE/extensions/ADDON_ID.xpi', '', '# Clean: storage/default/moz-extension+++GUID', '# Remove global installs from browser/extensions/ dir', '# Check and clean policies.json', '# Ensure prefs.js: xpinstall.signatures.required != false'].join('\n'))), /*#__PURE__*/React.createElement(StepCard, {
num: "4",
title: "Credential Rotation / Impact Assessment"
}, /*#__PURE__*/React.createElement(MiniTable, {
headers: ['Permission', 'Compromised', 'Action'],
rows: [['cookies / <all_urls>', 'All session tokens', 'Invalidate sessions, rotate passwords'], ['webRequest', 'All HTTP traffic', 'Rotate all passwords entered'], ['nativeMessaging', 'Full system access', 'Full assessment, consider re-image'], ['clipboardRead', 'Clipboard contents', 'Rotate copied credentials'], ['downloads', 'May have pulled malware', 'Full malware scan']]
}), /*#__PURE__*/React.createElement(Callout, {
type: "critical"
}, "nativeMessaging or debugger permissions = treat endpoint as fully compromised. Capture a memory dump for forensic analysis before reimaging.")), /*#__PURE__*/React.createElement(StepCard, {
num: "5",
title: "Enterprise-Wide Response"
}, /*#__PURE__*/React.createElement(Code, null, ['# Blocklist across platforms:', '# Chrome GPO: ExtensionInstallBlocklist = EXT_ID', '# Chrome MDM: com.google.Chrome.plist > ExtensionInstallBlocklist', '# Chrome Linux: /etc/opt/chrome/policies/managed/blocklist.json', '# Firefox: policies.json > ExtensionSettings > installation_mode: blocked', '', '# Scan fleet: Splunk | Sentinel | Elastic queries using ExtSentry feeds'].join('\n')), /*#__PURE__*/React.createElement(MiniTable, {
headers: ['Control', 'Implementation'],
rows: [['Allowlist-only', 'ExtensionInstallAllowlist + block * in ExtensionSettings'], ['Block all', 'ExtensionInstallBlocklist = *'], ['No dev mode', 'DeveloperToolsAvailability = 2'], ['No sideload', 'BlockExternalExtensions = 1'], ['Network', 'Block .crx/.xpi from unapproved domains']]
})), /*#__PURE__*/React.createElement(StepCard, {
num: "6",
title: "Post-Incident Verification"
}, /*#__PURE__*/React.createElement("div", {
style: {
display: 'grid',
gridTemplateColumns: '1fr 1fr',
gap: 12
}
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
style: {
fontSize: 11,
fontWeight: 600,
color: '#58a6ff',
marginBottom: 8,
textTransform: 'uppercase',
letterSpacing: '1px'
}
}, "Verify Removal"), /*#__PURE__*/React.createElement(CheckItem, null, "Extension dir gone from all profiles"), /*#__PURE__*/React.createElement(CheckItem, null, "Not in Secure Preferences / extensions.json"), /*#__PURE__*/React.createElement(CheckItem, null, "No policy keys forcing re-install"), /*#__PURE__*/React.createElement(CheckItem, null, "No external extension files"), /*#__PURE__*/React.createElement(CheckItem, null, "NativeMessaging entries cleaned")), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
style: {
fontSize: 11,
fontWeight: 600,
color: '#58a6ff',
marginBottom: 8,
textTransform: 'uppercase',
letterSpacing: '1px'
}
}, "Verify No Persistence"), /*#__PURE__*/React.createElement(CheckItem, null, "No scheduled tasks / cron / launchd agents"), /*#__PURE__*/React.createElement(CheckItem, null, "No unexpected startup items"), /*#__PURE__*/React.createElement(CheckItem, null, "Browser sync disabled or cleaned"), /*#__PURE__*/React.createElement(CheckItem, null, "Monitor 48-72h for re-install attempts"))), /*#__PURE__*/React.createElement(Callout, {
type: "warn"
}, /*#__PURE__*/React.createElement("strong", null, "Browser sync can re-install removed extensions."), " Disable sync, remove from synced profile via browser dashboard, then re-enable.")));
}
function DataTable({
data
}) {
const [search, setSearch] = useState('');
const [activeCats, setActiveCats] = useState(new Set());
const [page, setPage] = useState(0);
const [sortCol, setSortCol] = useState(null);
const [sortDir, setSortDir] = useState('asc');
const [expandedId, setExpandedId] = useState(null);
const [copiedId, setCopiedId] = useState(null);
const cats = useMemo(() => _.countBy(data, 'category'), [data]);
const toggleCat = useCallback(cat => {
setActiveCats(p => {
const n = new Set(p);
n.has(cat) ? n.delete(cat) : n.add(cat);
return n;
});
setPage(0);
}, []);
const filtered = useMemo(() => {
let d = data;
if (search) {
const q = search.toLowerCase();
d = d.filter(r => r.name.toLowerCase().includes(q) || r.id.toLowerCase().includes(q) || r.comment.toLowerCase().includes(q) || r.sha256 && r.sha256.toLowerCase().includes(q));
}
if (activeCats.size) d = d.filter(r => activeCats.has(r.category));
if (sortCol) d = [...d].sort((a, b) => sortDir === 'asc' ? (a[sortCol] || '').localeCompare(b[sortCol] || '') : (b[sortCol] || '').localeCompare(a[sortCol] || ''));
return d;
}, [data, search, activeCats, sortCol, sortDir]);
const paged = filtered.slice(page * PAGE_SIZE, (page + 1) * PAGE_SIZE);
const totalPages = Math.ceil(filtered.length / PAGE_SIZE);
const handleSort = col => {
if (sortCol === col) {
setSortDir(d => d === 'asc' ? 'desc' : 'asc');
} else {
setSortCol(col);
setSortDir('asc');
}
};
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("input", {
value: search,
onChange: e => {
setSearch(e.target.value);
setPage(0);
},
placeholder: "Search name, ID, description, or SHA256...",
style: {
width: '100%',
padding: '11px 16px',
background: '#0d1117',
border: '1px solid #1b1f27',
borderRadius: 8,
color: '#c8ccd4',
fontSize: 13,
fontFamily: mono,
marginBottom: 12
}
}), /*#__PURE__*/React.createElement("div", {
style: {
display: 'flex',
flexWrap: 'wrap',
gap: 5,
marginBottom: 14
}
}, Object.entries(cats).sort((a, b) => b[1] - a[1]).map(([cat, count]) => /*#__PURE__*/React.createElement("button", {
key: cat,
onClick: () => toggleCat(cat),
style: {
background: activeCats.has(cat) ? '#161b22' : 'transparent',
border: activeCats.has(cat) ? '1px solid #58a6ff33' : '1px solid #1b1f27',
color: activeCats.has(cat) ? '#58a6ff' : '#6e7681',
borderRadius: 20,
padding: '4px 12px',
cursor: 'pointer',
fontSize: 11,
fontFamily: mono,
display: 'inline-flex',
alignItems: 'center',
gap: 5
}
}, /*#__PURE__*/React.createElement("span", {
style: S.dot(CAT_COLORS[cat] || '#6e7681')
}), cat, " (", count, ")")), (activeCats.size > 0 || search) && /*#__PURE__*/React.createElement("button", {
onClick: () => {
setActiveCats(new Set());
setSearch('');
setPage(0);
},
style: {
background: '#f8514915',
border: '1px solid #f8514933',
color: '#f85149',
borderRadius: 20,
padding: '4px 12px',
cursor: 'pointer',
fontSize: 11
}
}, "Clear")), /*#__PURE__*/React.createElement("div", {
style: {
fontSize: 11,
color: '#484f58',
marginBottom: 8,
fontFamily: mono
}
}, filtered.length, " results"), /*#__PURE__*/React.createElement("div", {
style: {
overflowX: 'auto',
borderRadius: 8,
border: '1px solid #1b1f27'
}
}, /*#__PURE__*/React.createElement("table", {
style: {
width: '100%',
borderCollapse: 'collapse',
fontSize: 12,
fontFamily: mono
}
}, /*#__PURE__*/React.createElement("thead", null, /*#__PURE__*/React.createElement("tr", {
style: {
background: '#0d1117'
}
}, [['name', 'Name'], ['id', 'Extension ID'], ['category', 'Category'], ['severity', 'Severity'], ['comment', 'Info']].map(([c, l]) => /*#__PURE__*/React.createElement("th", {
key: c,
onClick: () => handleSort(c),
style: {
padding: '10px 12px',
textAlign: 'left',
color: '#484f58',
fontWeight: 600,
cursor: 'pointer',