Repository navigation
Expand file tree
/
Copy pathissue_traffic.py
More file actions
1419 lines (1307 loc) · 51.9 KB
/
Copy pathissue_traffic.py
File metadata and controls
1419 lines (1307 loc) · 51.9 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
#!/usr/bin/env python3
"""
Issue Traffic Generator - Make it look like your computer is having a bad day.
"My WiFi is broken, my computer is slow, and I think I have a virus."
- Everyone's search history at some point
This module generates realistic traffic patterns that mimic someone
troubleshooting computer, system, network, and adware/malware issues.
Perfect for making your browsing profile look like you're perpetually
fighting with technology.
Inspired by spicy-cat's approach to issue simulation.
"""
__author__ = "palm-tree"
import asyncio
import random
import time
import math
from dataclasses import dataclass, field
from typing import List, Dict, Optional, Callable, Tuple
from datetime import datetime
from enum import Enum
from version import __version__ as APP_VERSION
__version__ = APP_VERSION
class IssueType(Enum):
"""
Types of issues to simulate.
Each type generates traffic patterns that look like someone
troubleshooting that specific category of problems.
"""
# Network Issues
DNS_FAILURE = "dns_failure"
CONNECTION_TIMEOUT = "connection_timeout"
SSL_ERROR = "ssl_error"
PACKET_LOSS = "packet_loss"
BANDWIDTH_THROTTLING = "bandwidth_throttling"
PROXY_ERROR = "proxy_error"
VPN_ISSUES = "vpn_issues"
WIFI_PROBLEMS = "wifi_problems"
# System Issues
SLOW_COMPUTER = "slow_computer"
HIGH_CPU = "high_cpu"
MEMORY_LEAK = "memory_leak"
DISK_FULL = "disk_full"
DRIVER_ISSUES = "driver_issues"
BSOD = "bsod"
BOOT_FAILURE = "boot_failure"
# Malware/Adware Issues
ADWARE_INFECTION = "adware_infection"
BROWSER_HIJACK = "browser_hijack"
POPUP_ADS = "popup_ads"
CRYPTOMINER = "cryptominer"
RANSOMWARE = "ransomware"
TROJAN = "trojan"
SPYWARE = "spyware"
# Software Issues
APP_CRASH = "app_crash"
UPDATE_FAILURE = "update_failure"
PERMISSION_DENIED = "permission_denied"
DLL_MISSING = "dll_missing"
COMPATIBILITY = "compatibility"
@dataclass
class IssuePattern:
"""
Defines a traffic pattern for a specific issue type.
"Each problem has its own unique way of making you suffer."
"""
name: str
description: str
search_queries: List[str]
support_sites: List[str]
tool_downloads: List[str]
forum_searches: List[str]
related_issues: List[str] # Can chain to other issues
urgency: float # 0.0-1.0, affects timing
frustration_escalation: bool # Search terms get more desperate over time
# ============================================================================
# ISSUE PATTERN DEFINITIONS
# ============================================================================
ISSUE_PATTERNS: Dict[IssueType, IssuePattern] = {
# -------------------------------------------------------------------------
# NETWORK ISSUES
# -------------------------------------------------------------------------
IssueType.DNS_FAILURE: IssuePattern(
name="DNS Resolution Failure",
description="Can't resolve domain names - the internet is broken",
search_queries=[
"dns server not responding",
"dns_probe_finished_nxdomain",
"can't resolve hostname",
"dns lookup failed",
"server dns address could not be found",
"dns server unavailable",
"how to fix dns error",
"flush dns cache windows",
"change dns server",
"best dns servers 2024",
"dns not working after update",
"ipconfig /flushdns not working",
"dns keeps failing",
"err_name_not_resolved chrome",
"dns server not responding wifi",
],
support_sites=[
"https://support.microsoft.com/en-us/windows/fix-dns-issues",
"https://support.google.com/chrome/answer/95669",
"https://www.cloudflare.com/learning/dns/what-is-dns/",
"https://www.howtogeek.com/167533/the-ultimate-guide-to-changing-your-dns-server/",
"https://www.lifewire.com/how-to-change-dns-server-settings-2617979",
],
tool_downloads=[
"https://www.nirsoft.net/utils/dns_query_sniffer.html",
"https://sourceforge.net/projects/dnsdataview/",
],
forum_searches=[
"https://www.reddit.com/r/techsupport/search?q=dns+not+working",
"https://superuser.com/questions/tagged/dns",
"https://answers.microsoft.com/en-us/search?query=dns+server",
],
related_issues=["wifi_problems", "connection_timeout"],
urgency=0.8,
frustration_escalation=True,
),
IssueType.CONNECTION_TIMEOUT: IssuePattern(
name="Connection Timeout",
description="Requests timing out - is the internet even real?",
search_queries=[
"connection timed out",
"err_connection_timed_out",
"request timeout error",
"website not loading timeout",
"connection timeout how to fix",
"chrome connection timeout",
"internet connected but pages won't load",
"increase connection timeout",
"tcp connection timeout",
"server not responding timeout",
"fix timeout errors windows",
"why do websites keep timing out",
"connection timeout vs connection refused",
],
support_sites=[
"https://support.google.com/chrome/answer/95669",
"https://www.lifewire.com/fix-err-connection-timed-out-5179936",
"https://www.hostinger.com/tutorials/err-connection-timed-out",
],
tool_downloads=[
"https://www.speedtest.net",
"https://fast.com",
"https://www.meter.net",
],
forum_searches=[
"https://www.reddit.com/r/techsupport/search?q=connection+timeout",
"https://superuser.com/questions/tagged/timeout",
],
related_issues=["dns_failure", "packet_loss", "proxy_error"],
urgency=0.7,
frustration_escalation=True,
),
IssueType.SSL_ERROR: IssuePattern(
name="SSL/TLS Certificate Error",
description="Certificate problems - trust issues with the internet",
search_queries=[
"ssl certificate error",
"your connection is not private",
"err_cert_authority_invalid",
"ssl handshake failed",
"certificate expired error",
"net::err_cert_date_invalid",
"ssl certificate problem",
"how to bypass ssl error",
"fix ssl certificate error chrome",
"ssl_error_rx_record_too_long",
"certificate not trusted",
"self signed certificate error",
"ssl certificate verify failed",
"https not secure warning",
],
support_sites=[
"https://support.google.com/chrome/answer/6098869",
"https://www.ssl.com/faqs/what-is-an-ssl-certificate/",
"https://letsencrypt.org/docs/",
"https://www.digicert.com/help/",
],
tool_downloads=[
"https://www.ssllabs.com/ssltest/",
"https://whatsmychainsert.com",
],
forum_searches=[
"https://stackoverflow.com/questions/tagged/ssl-certificate",
"https://security.stackexchange.com/questions/tagged/tls",
],
related_issues=["proxy_error", "connection_timeout"],
urgency=0.6,
frustration_escalation=False,
),
IssueType.PACKET_LOSS: IssuePattern(
name="Packet Loss",
description="Data disappearing into the void",
search_queries=[
"packet loss test",
"high packet loss fix",
"packet loss gaming",
"why am i getting packet loss",
"packet loss router",
"reduce packet loss",
"packet loss wifi",
"0% packet loss but high ping",
"packet loss spikes",
"network packet loss troubleshooting",
"packet loss cmd test",
"tracert shows packet loss",
"is packet loss bad",
"acceptable packet loss percentage",
],
support_sites=[
"https://www.speedtest.net/insights/blog/how-to-test-packet-loss/",
"https://www.lifewire.com/packet-loss-1847879",
"https://www.cloudflare.com/learning/network-layer/what-is-packet-loss/",
],
tool_downloads=[
"https://www.pingplotter.com",
"https://sourceforge.net/projects/winmtr/",
],
forum_searches=[
"https://www.reddit.com/r/HomeNetworking/search?q=packet+loss",
"https://superuser.com/questions/tagged/packet-loss",
],
related_issues=["wifi_problems", "bandwidth_throttling"],
urgency=0.6,
frustration_escalation=True,
),
IssueType.WIFI_PROBLEMS: IssuePattern(
name="WiFi Connectivity Issues",
description="The WiFi is doing that thing again",
search_queries=[
"wifi keeps disconnecting",
"wifi connected but no internet",
"wifi not working windows 11",
"wifi slow on my computer only",
"wifi adapter not showing",
"reset wifi adapter",
"wifi authentication problem",
"wifi driver windows 11",
"wifi signal weak fix",
"5ghz wifi not showing",
"wifi keeps dropping",
"forget wifi network",
"wifi connected no internet android",
"why does my wifi suck",
"wifi extender not working",
],
support_sites=[
"https://support.microsoft.com/en-us/windows/fix-wi-fi-connection-issues-in-windows",
"https://support.apple.com/en-us/HT210060",
"https://www.intel.com/content/www/us/en/support/articles/000005489/wireless.html",
"https://www.lifewire.com/troubleshooting-no-wireless-connection-2378241",
],
tool_downloads=[
"https://www.nirsoft.net/utils/wireless_network_watcher.html",
"https://www.netspotapp.com",
],
forum_searches=[
"https://www.reddit.com/r/techsupport/search?q=wifi+not+working",
"https://www.reddit.com/r/HomeNetworking/search?q=wifi+issues",
"https://answers.microsoft.com/en-us/search?query=wifi+problems",
],
related_issues=["dns_failure", "connection_timeout", "driver_issues"],
urgency=0.8,
frustration_escalation=True,
),
IssueType.VPN_ISSUES: IssuePattern(
name="VPN Connection Problems",
description="VPN won't connect - privacy at stake",
search_queries=[
"vpn not connecting",
"vpn connection failed",
"vpn keeps disconnecting",
"vpn slow speed",
"vpn blocked by firewall",
"openvpn connection refused",
"wireguard handshake timeout",
"nordvpn not working",
"expressvpn connection issues",
"vpn authentication failed",
"ipsec vpn troubleshooting",
"vpn no internet access",
"split tunneling vpn",
"vpn dns leak",
],
support_sites=[
"https://support.nordvpn.com",
"https://www.expressvpn.com/support/",
"https://openvpn.net/community-resources/",
"https://www.wireguard.com/quickstart/",
],
tool_downloads=[
"https://www.dnsleaktest.com",
"https://ipleak.net",
],
forum_searches=[
"https://www.reddit.com/r/VPN/search?q=not+connecting",
"https://superuser.com/questions/tagged/vpn",
],
related_issues=["proxy_error", "dns_failure", "ssl_error"],
urgency=0.7,
frustration_escalation=True,
),
IssueType.PROXY_ERROR: IssuePattern(
name="Proxy Configuration Error",
description="Proxy settings are haunted",
search_queries=[
"proxy server not responding",
"unable to connect to proxy server",
"err_proxy_connection_failed",
"check proxy settings",
"proxy server refusing connections",
"how to disable proxy",
"automatic proxy detection failed",
"pac file not working",
"corporate proxy bypass",
"proxy authentication required",
"clear proxy settings windows",
"internet explorer proxy settings",
],
support_sites=[
"https://support.microsoft.com/en-us/windows/use-a-proxy-server-in-windows",
"https://www.lifewire.com/disable-proxy-settings-4153918",
],
tool_downloads=[],
forum_searches=[
"https://superuser.com/questions/tagged/proxy",
"https://stackoverflow.com/questions/tagged/proxy",
],
related_issues=["connection_timeout", "ssl_error"],
urgency=0.5,
frustration_escalation=False,
),
# -------------------------------------------------------------------------
# SYSTEM ISSUES
# -------------------------------------------------------------------------
IssueType.SLOW_COMPUTER: IssuePattern(
name="Slow Computer Performance",
description="Computer running like it's 1999",
search_queries=[
"why is my computer so slow",
"speed up windows 11",
"computer running slow fix",
"pc slow after update",
"how to make laptop faster",
"100% disk usage windows",
"clean up computer",
"disable startup programs",
"computer freezing randomly",
"windows 11 performance issues",
"ssd slow suddenly",
"pc takes forever to boot",
"system interrupts high cpu",
"computer slow all of a sudden",
"is 8gb ram enough 2024",
],
support_sites=[
"https://support.microsoft.com/en-us/windows/tips-to-improve-pc-performance-in-windows",
"https://www.avg.com/en/signal/speed-up-computer",
"https://www.pcmag.com/how-to/speed-up-windows",
],
tool_downloads=[
"https://www.ccleaner.com",
"https://www.malwarebytes.com",
"https://crystalmark.info/en/software/crystaldiskinfo/",
],
forum_searches=[
"https://www.reddit.com/r/techsupport/search?q=computer+slow",
"https://superuser.com/questions/tagged/performance",
"https://answers.microsoft.com/en-us/search?query=slow+computer",
],
related_issues=["high_cpu", "memory_leak", "disk_full", "adware_infection"],
urgency=0.6,
frustration_escalation=True,
),
IssueType.HIGH_CPU: IssuePattern(
name="High CPU Usage",
description="CPU running hotter than the sun",
search_queries=[
"100% cpu usage windows",
"high cpu usage fix",
"what is using my cpu",
"system idle process high cpu",
"svchost high cpu",
"wmi provider host high cpu",
"antimalware service executable high cpu",
"chrome high cpu usage",
"cpu usage spikes to 100",
"how to reduce cpu usage",
"cpu always at 100",
"task manager cpu usage wrong",
"desktop window manager high cpu",
"wsappx high cpu",
],
support_sites=[
"https://support.microsoft.com/en-us/windows/fix-high-cpu-usage",
"https://www.lifewire.com/fix-high-cpu-usage-windows-4584988",
"https://www.howtogeek.com/howto/windows-vista/what-is-svchostexe-and-why-is-it-running/",
],
tool_downloads=[
"https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer",
"https://www.cpuid.com/softwares/hwmonitor.html",
],
forum_searches=[
"https://www.reddit.com/r/techsupport/search?q=high+cpu",
"https://superuser.com/questions/tagged/cpu-usage",
],
related_issues=["slow_computer", "cryptominer", "memory_leak"],
urgency=0.7,
frustration_escalation=True,
),
IssueType.MEMORY_LEAK: IssuePattern(
name="Memory Leak",
description="RAM being consumed by the void",
search_queries=[
"memory leak windows",
"high memory usage fix",
"ram usage 100%",
"find memory leak windows",
"chrome using too much memory",
"memory leak detection",
"non-paged pool memory leak",
"system using too much ram",
"memory leak symptoms",
"windows memory leak driver",
"how to fix memory leak",
"standby memory too high",
"ram always full",
"what is eating my ram",
],
support_sites=[
"https://support.microsoft.com/en-us/windows/fix-memory-problems",
"https://www.lifewire.com/fix-memory-leak-windows-4692717",
],
tool_downloads=[
"https://docs.microsoft.com/en-us/sysinternals/downloads/rammap",
"https://www.memtest.org",
],
forum_searches=[
"https://www.reddit.com/r/techsupport/search?q=memory+leak",
"https://superuser.com/questions/tagged/memory-leak",
],
related_issues=["high_cpu", "slow_computer"],
urgency=0.6,
frustration_escalation=True,
),
IssueType.DISK_FULL: IssuePattern(
name="Disk Space Full",
description="Where did all the storage go?",
search_queries=[
"disk space full",
"c drive full",
"free up disk space windows",
"what is taking up space on my hard drive",
"low disk space warning",
"winsxs folder huge",
"windows.old delete",
"clear temp files windows",
"disk cleanup",
"can i delete system volume information",
"hiberfil.sys delete",
"pagefile.sys too big",
"storage sense windows",
"find large files windows",
],
support_sites=[
"https://support.microsoft.com/en-us/windows/free-up-drive-space-in-windows",
"https://www.howtogeek.com/125923/7-ways-to-free-up-hard-disk-space-on-windows/",
],
tool_downloads=[
"https://windirstat.net",
"https://www.jam-software.com/treesize_free",
"https://sourceforge.net/projects/bleachbit/",
],
forum_searches=[
"https://www.reddit.com/r/techsupport/search?q=disk+full",
"https://superuser.com/questions/tagged/disk-space",
],
related_issues=["slow_computer", "update_failure"],
urgency=0.7,
frustration_escalation=True,
),
IssueType.BSOD: IssuePattern(
name="Blue Screen of Death",
description="The dreaded BSOD",
search_queries=[
"blue screen of death fix",
"bsod windows 11",
"irql_not_less_or_equal",
"system_service_exception",
"kernel_security_check_failure",
"page_fault_in_nonpaged_area",
"critical_process_died",
"memory_management bsod",
"dpc_watchdog_violation",
"whea_uncorrectable_error",
"analyze minidump",
"bsod after windows update",
"blue screen keeps happening",
"stop code windows",
"bsod viewer",
],
support_sites=[
"https://support.microsoft.com/en-us/windows/troubleshoot-blue-screen-errors",
"https://www.lifewire.com/how-to-fix-a-blue-screen-of-death-2624518",
"https://www.bleepingcomputer.com/forums/f/167/windows-crashes-and-blue-screen-of-death-bsod-help-and-support/",
],
tool_downloads=[
"https://www.nirsoft.net/utils/blue_screen_view.html",
"https://www.nirsoft.net/utils/win_crash_dump.html",
"https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/",
],
forum_searches=[
"https://www.reddit.com/r/techsupport/search?q=blue+screen",
"https://answers.microsoft.com/en-us/search?query=BSOD",
"https://www.tenforums.com/bsod-crashes-debugging/",
],
related_issues=["driver_issues", "memory_leak", "high_cpu"],
urgency=0.9,
frustration_escalation=True,
),
IssueType.DRIVER_ISSUES: IssuePattern(
name="Driver Problems",
description="Drivers refusing to cooperate",
search_queries=[
"driver update windows",
"device driver error",
"driver not installed",
"driver verifier detected violation",
"code 43 graphics card",
"nvidia driver not installing",
"amd driver crash",
"audio driver not working",
"usb driver error",
"rollback driver",
"driver signature enforcement disable",
"update drivers automatically",
"driver booster safe",
"device manager yellow triangle",
],
support_sites=[
"https://support.microsoft.com/en-us/windows/update-drivers-manually-in-windows",
"https://www.nvidia.com/Download/index.aspx",
"https://www.amd.com/en/support",
"https://www.intel.com/content/www/us/en/support/detect.html",
],
tool_downloads=[
"https://www.nvidia.com/en-us/geforce/geforce-experience/",
"https://sdi-tool.org",
],
forum_searches=[
"https://www.reddit.com/r/techsupport/search?q=driver+problem",
"https://superuser.com/questions/tagged/drivers",
],
related_issues=["bsod", "wifi_problems", "slow_computer"],
urgency=0.7,
frustration_escalation=True,
),
# -------------------------------------------------------------------------
# MALWARE/ADWARE ISSUES
# -------------------------------------------------------------------------
IssueType.ADWARE_INFECTION: IssuePattern(
name="Adware Infection",
description="Ads everywhere - browser is infected",
search_queries=[
"remove adware",
"popup ads virus",
"ads on every website",
"browser has adware",
"how to get rid of adware",
"adware removal tool",
"chrome infected with ads",
"random popups on computer",
"adware scan",
"malwarebytes adware",
"browser redirect virus",
"unwanted ads appearing",
"sponsored ads virus",
"notification spam remove",
],
support_sites=[
"https://www.malwarebytes.com/adware",
"https://www.avg.com/en/signal/what-is-adware",
"https://support.google.com/chrome/answer/2765944",
"https://www.bleepingcomputer.com/virus-removal/",
],
tool_downloads=[
"https://www.malwarebytes.com/adwcleaner",
"https://www.bitdefender.com/solutions/free.html",
"https://www.kaspersky.com/free-virus-scanner",
],
forum_searches=[
"https://www.reddit.com/r/techsupport/search?q=adware",
"https://www.bleepingcomputer.com/forums/f/22/virus-trojan-spyware-and-malware-removal-help/",
],
related_issues=["browser_hijack", "popup_ads", "slow_computer"],
urgency=0.8,
frustration_escalation=True,
),
IssueType.BROWSER_HIJACK: IssuePattern(
name="Browser Hijack",
description="Browser taken over by malicious software",
search_queries=[
"browser hijacked",
"homepage changed virus",
"search engine changed to yahoo",
"bing redirect virus",
"browser redirect malware",
"new tab opens random sites",
"reset browser hijack",
"chrome hijacked",
"default search engine keeps changing",
"suspicious browser extension",
"remove browser hijacker",
"firefox homepage changed",
"trovi removal",
"conduit search remove",
],
support_sites=[
"https://support.google.com/chrome/answer/2765944",
"https://support.mozilla.org/en-US/kb/remove-toolbar-has-taken-over-your-firefox-search",
"https://www.malwarebytes.com/browser-hijacker",
],
tool_downloads=[
"https://www.malwarebytes.com",
"https://www.hitmanpro.com",
],
forum_searches=[
"https://www.reddit.com/r/techsupport/search?q=browser+hijack",
"https://www.bleepingcomputer.com/forums/",
],
related_issues=["adware_infection", "popup_ads", "spyware"],
urgency=0.8,
frustration_escalation=True,
),
IssueType.POPUP_ADS: IssuePattern(
name="Unwanted Popup Ads",
description="Popups appearing from nowhere",
search_queries=[
"stop popup ads",
"popup ads won't stop",
"random popups on desktop",
"notification popup virus",
"chrome popup ads",
"popup blocker not working",
"mcafee popup scam",
"windows defender popup fake",
"tech support popup scam",
"website notification spam",
"how to disable chrome notifications",
"malicious popups",
"popup ads corner screen",
"edge notifications spam",
],
support_sites=[
"https://support.google.com/chrome/answer/3220216",
"https://support.microsoft.com/en-us/microsoft-edge/block-pop-ups-in-microsoft-edge",
"https://www.malwarebytes.com/pop-ups",
],
tool_downloads=[
"https://www.malwarebytes.com",
"https://adblockplus.org",
"https://ublockorigin.com",
],
forum_searches=[
"https://www.reddit.com/r/techsupport/search?q=popup+ads",
"https://superuser.com/questions/tagged/popup",
],
related_issues=["adware_infection", "browser_hijack"],
urgency=0.7,
frustration_escalation=True,
),
IssueType.CRYPTOMINER: IssuePattern(
name="Cryptominer Malware",
description="Computer mining crypto without permission",
search_queries=[
"computer mining bitcoin virus",
"cpu 100% cryptominer",
"coinhive detection",
"cryptominer removal",
"browser mining malware",
"gpu usage high when idle",
"fan running high for no reason",
"crypto malware scan",
"monero miner virus",
"detect cryptojacking",
"remove coin miner",
"powershell.exe high cpu miner",
"cryptomining malware symptoms",
],
support_sites=[
"https://www.malwarebytes.com/cryptojacking",
"https://www.kaspersky.com/resource-center/threats/cryptominers",
"https://www.bleepingcomputer.com/tag/cryptocurrency-miner/",
],
tool_downloads=[
"https://www.malwarebytes.com",
"https://www.emsisoft.com/en/",
],
forum_searches=[
"https://www.reddit.com/r/techsupport/search?q=cryptominer",
"https://www.reddit.com/r/antivirus/search?q=crypto+miner",
],
related_issues=["high_cpu", "slow_computer", "trojan"],
urgency=0.8,
frustration_escalation=True,
),
IssueType.RANSOMWARE: IssuePattern(
name="Ransomware Attack",
description="Files encrypted - paying ransom?",
search_queries=[
"ransomware help",
"files encrypted virus",
"ransomware decryption tool",
"how to recover encrypted files",
"ransomware removal",
"stop ransomware",
"no more ransom",
"ransomware file recovery",
"should i pay ransomware",
"decrypt files without paying",
"id ransomware",
"ransomware extensions",
"backup after ransomware",
"ransomware prevention",
],
support_sites=[
"https://www.nomoreransom.org",
"https://www.malwarebytes.com/ransomware",
"https://www.cisa.gov/stopransomware",
"https://www.kaspersky.com/resource-center/threats/ransomware",
],
tool_downloads=[
"https://www.nomoreransom.org/en/decryption-tools.html",
"https://www.emsisoft.com/ransomware-decryption-tools/",
"https://www.avg.com/en-us/ransomware-decryption-tools",
],
forum_searches=[
"https://www.reddit.com/r/techsupport/search?q=ransomware",
"https://www.bleepingcomputer.com/forums/f/239/ransomware-help-tech-support/",
],
related_issues=["trojan", "spyware"],
urgency=1.0,
frustration_escalation=True,
),
IssueType.TROJAN: IssuePattern(
name="Trojan Infection",
description="Trojan horse detected",
search_queries=[
"trojan virus removal",
"trojan detected windows defender",
"trojan:win32 removal",
"how to remove trojan",
"trojan horse virus",
"backdoor trojan",
"remote access trojan",
"trojan downloader",
"trojan generic detection",
"is trojan dangerous",
"computer has trojan",
"trojan scan",
"remove trojan manually",
"trojan keeps coming back",
],
support_sites=[
"https://www.malwarebytes.com/trojan",
"https://www.avg.com/en/signal/what-is-a-trojan",
"https://support.microsoft.com/en-us/windows/protect-your-pc-from-ransomware",
],
tool_downloads=[
"https://www.malwarebytes.com",
"https://www.kaspersky.com/free-virus-scanner",
"https://www.eset.com/us/home/online-scanner/",
],
forum_searches=[
"https://www.reddit.com/r/techsupport/search?q=trojan",
"https://www.bleepingcomputer.com/forums/",
],
related_issues=["spyware", "cryptominer", "ransomware"],
urgency=0.9,
frustration_escalation=True,
),
IssueType.SPYWARE: IssuePattern(
name="Spyware Detection",
description="Something is watching",
search_queries=[
"spyware removal",
"computer spying on me",
"detect spyware",
"keylogger detection",
"is someone monitoring my computer",
"remove spyware windows",
"anti spyware software",
"spyware scan free",
"stalkerware removal",
"screen monitoring software detect",
"webcam spyware",
"someone watching my screen",
"employer monitoring software detect",
"find hidden spy software",
],
support_sites=[
"https://www.malwarebytes.com/spyware",
"https://www.avg.com/en/signal/what-is-spyware",
"https://www.eff.org/deeplinks/2020/06/detect-stalkerware-your-devices",
],
tool_downloads=[
"https://www.malwarebytes.com",
"https://www.spybot.info",
"https://www.superantispyware.com",
],
forum_searches=[
"https://www.reddit.com/r/techsupport/search?q=spyware",
"https://www.reddit.com/r/privacy/search?q=stalkerware",
],
related_issues=["trojan", "browser_hijack", "adware_infection"],
urgency=0.9,
frustration_escalation=True,
),
# -------------------------------------------------------------------------
# SOFTWARE ISSUES
# -------------------------------------------------------------------------
IssueType.APP_CRASH: IssuePattern(
name="Application Crash",
description="Apps keep crashing",
search_queries=[
"application keeps crashing",
"program stopped working",
"app crash fix",
"program freezes then closes",
"application error windows",
"app crashing on startup",
"event viewer application error",
"memory could not be read",
"exception access violation",
"application hang",
"program not responding",
"force close application",
"crash dump analysis",
],
support_sites=[
"https://support.microsoft.com/en-us/windows/troubleshoot-app-problems",
"https://www.howtogeek.com/222730/how-to-find-out-why-a-program-crashed-using-windows-event-viewer/",
],
tool_downloads=[
"https://docs.microsoft.com/en-us/sysinternals/downloads/process-monitor",
"https://www.nirsoft.net/utils/app_crash_view.html",
],
forum_searches=[
"https://superuser.com/questions/tagged/crash",
"https://www.reddit.com/r/techsupport/search?q=app+crash",
],
related_issues=["dll_missing", "compatibility", "driver_issues"],
urgency=0.6,
frustration_escalation=True,
),
IssueType.UPDATE_FAILURE: IssuePattern(
name="Update Failure",
description="Windows update stuck or failing",
search_queries=[
"windows update failed",
"update stuck at 100%",
"windows update error",
"update error 0x80070002",
"windows update not working",
"update download stuck",
"reset windows update",
"update troubleshooter",
"pending updates won't install",
"windows update service missing",
"sfc /scannow update",
"dism repair windows update",
"force windows update",
"clean boot for updates",
],
support_sites=[
"https://support.microsoft.com/en-us/windows/troubleshoot-problems-updating-windows",
"https://www.howtogeek.com/247380/how-to-fix-windows-update-when-it-gets-stuck/",
],
tool_downloads=[
"https://support.microsoft.com/en-us/topic/windows-update-troubleshooter-19bc41d4-eb57-4ea8-8d3c-6bf51f6ff729",
],
forum_searches=[
"https://www.reddit.com/r/Windows10/search?q=update+failed",
"https://answers.microsoft.com/en-us/search?query=update+error",
],
related_issues=["disk_full", "slow_computer"],
urgency=0.6,
frustration_escalation=True,
),
IssueType.DLL_MISSING: IssuePattern(
name="DLL Missing Error",
description="DLL file not found",
search_queries=[
"dll file missing",
"msvcp140.dll missing",
"vcruntime140.dll not found",
"api-ms-win missing",
"download missing dll",
"reinstall visual c++",
"dll error windows",
"system32 dll missing",
"d3dx9 dll download",
"xinput1_4.dll missing",
"is dll download safe",
"register dll windows",
"dll hell fix",
"visual c++ redistributable all versions",
],
support_sites=[
"https://support.microsoft.com/en-us/windows/fix-missing-dll-errors",
"https://www.howtogeek.com/326207/how-to-fix-missing-dll-file-errors-on-windows/",
"https://www.microsoft.com/en-us/download/details.aspx?id=48145",
],
tool_downloads=[
"https://www.microsoft.com/en-us/download/details.aspx?id=48145",
"https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads",
],
forum_searches=[
"https://superuser.com/questions/tagged/dll",
"https://www.reddit.com/r/techsupport/search?q=dll+missing",
],
related_issues=["app_crash", "update_failure"],
urgency=0.5,
frustration_escalation=False,
),
IssueType.COMPATIBILITY: IssuePattern(
name="Compatibility Issues",
description="Software compatibility problems",
search_queries=[
"compatibility mode windows",
"program not compatible windows 11",
"run old software windows 10",
"this app can't run on your pc",
"compatibility troubleshooter",
"32 bit on 64 bit",
"legacy software windows",
"program compatibility settings",
"windows xp mode",
"dosbox setup",
"wine windows apps",
"virtual machine old software",
"run as administrator compatibility",
],
support_sites=[
"https://support.microsoft.com/en-us/windows/make-older-apps-or-programs-compatible-with-windows-10",
"https://www.howtogeek.com/228689/how-to-make-old-programs-work-on-windows-10/",
],
tool_downloads=[
"https://www.dosbox.com",
"https://www.virtualbox.org",
],
forum_searches=[
"https://superuser.com/questions/tagged/compatibility",
"https://www.reddit.com/r/techsupport/search?q=compatibility",