This study discusses a comparison of the machine learning algorithms Random Forest and Decision Tree in detecting anomalies within network traffic on online gambling sites. The data was collected through network traffic capturing using Wireshark, followed by preprocessing stages that included data cleaning, encoding, balancing using Random Oversampling, and splitting into training and testing s…