The increase in the incidence of cyberattacks, especially through the use of complex mechanisms for exploiting vulnerabilities, such as malware obfuscation, has driven the adoption of Machine Learning (ML) techniques in cybersecurity. This study investigates the application of Federated Learning (FL), a decentralized approach that preserves data privacy and overcomes challenges in transferring large volumes of information. Two labeled datasets were used, CIC-MalMem-2022 and Malware Detection Dataset, along with two FL frameworks, Flower Framework and TensorFlow Federated. A decentralized model based on a Linear Neural Network (LNN) with federated averaging (FedAvg) was compared to a centralized model using a Recurrent Neural Network (RNN) in supervised binary classifications of malware. The results demonstrate high accuracy across all analyzed scenarios, highlighting the outcomes obtained in centralized training for the CIC-Malware dataset, achieving an accuracy of 0.99, precision of 1.0, and recall of 0.99, emphasizing the potential of FL in cybersecurity.
Due to the large volume of software and applications required for data communication which works with different ports, technicians maintain a wide range of open ports on the network. With this, they can open vulnerabilities that are exploited by criminals. Thus, network administrators increasingly need information that can assist them in discovering future attacks. In this work, we used logistic regression to identify Port Scan attacks and did some tests with data balancing techniques to seek better results. Keywords: port scan; network-security; data balancing; intrusion; data visualization; logistic regression