Remote Access Services (RAS)—including protocols such as Remote Desktop Protocol (RDP), Secure Shell (SSH), Virtual Network Computing (VNC), Telnet, File Transfer Protocol (FTP), and Secure File Transfer Protocol (SFTP)—are essential to modern network infrastructures, particularly with the rise of remote work and cloud adoption. However, their exposure significantly increases the risk of brute-force attacks (BFA), where adversaries systematically guess credentials to gain unauthorized access. Traditional defenses like IP blocklisting and multifactor authentication (MFA) often struggle with scalability and adaptability to distributed attacks. This study introduces a zero-trust-aligned Software-Defined Perimeter (SDP) architecture that integrates Single Packet Authorization (SPA) for service cloaking and Connection Tracking (ConnTrack) for real-time session analysis. A Docker-based prototype was developed and tested, demonstrating no successful BFA attempts observed, latency reduction by above 10% across all evaluated RAS protocols, and the system CPU utilization reduction by 48.7% under attack conditions without impacting normal throughput. It also proved effective against connection-oriented attacks, including port scanning and distributed denial of service (DDoS) attacks. The proposed architecture offers a scalable and efficient security framework by embedding proactive defense at the authentication layer. This work advances zero-trust implementations and delivers practical, low-overhead protection for securing RAS against evolving cyber threats.
Backdoor attacks pose serious security risks in modern network environments, particularly on Windows and Linux-based Operating Systems (OSs) in server systems, often serving as entry points for advanced persistent threats (APTs). Traditional Intrusion Detection and Prevention Systems (IDS/IPS) face challenges in detecting these evolving threats due to their dependence on signature-based detection methods. This paper presents an enhanced Zero Trust Software-Defined Perimeter (ZTSDP) architecture integrated with a machine learning(ML)-enabled Snort Intrusion Detection and Prevention System (SnortML) to address backdoor threats. The ZTSDP framework utilizes dynamic trust evaluation, micro-segmentation, and contextual access controls to reduce the attack surface and restrict lateral movement. SnortML leverages ML models to detect suspicious behaviors and zero-day exploits. The proposed architecture was tested against multiple backdoor attack scenarios, including Remote Access Trojans (RATs), web shells, malware droppers, Boleto ransomware, and the Mirai botnet. A comparative analysis of three configurations—traditional Snort, SnortML without ZTSDP, and ZTSDP with SnortML—demonstrated significant improvements in detection rates and reduced false positives for ZTSDP with SnortML, achieving up to a 95% detection rate during high-intensity attacks. Additionally, the architecture maintains minimal latency, making it suitable for real-time deployment in large-scale server environments. This study emphasizes the importance of combining Zero Trust principles with advanced IDS/IPS technologies to provide adaptive, robust, and context-aware mitigation of backdoor threats. <!----> <!----> <!----> <!---->