What Server Logs Reveal About Attackers: Analyzing Suspicious Requests on Linux
Server logs can reveal significant details about potential attackers by capturing sequences of events on Linux systems. This practical guide for junior Blue Team specialists shows where to locate traces of suspicious activity, how to interpret SSH and web server records, and why a single unusual request does not necessarily indicate a compromise.
Essential Log Sources
Three primary sources support initial investigations. System journals contain service events, errors, and operating system messages; on systemd-based distributions these are accessed with journalctl. SSH and authentication logs record successful and failed login attempts, unknown usernames, and access-related events. Web server and application logs document HTTP requests, requested resources, response codes, and application errors.
On Debian and Ubuntu systems authentication events typically reside in /var/log/auth.log; on RHEL-based systems they appear in /var/log/secure. Recent SSH events can be viewed with:
sudo journalctl -u ssh --since "1 hour ago"
or, on distributions where the service is named sshd:
sudo journalctl -u sshd --since "1 hour ago"
The last 100 lines of an Nginx access log are retrieved with:
sudo tail -n 100 /var/log/nginx/access.log
Failed SSH Login Attempts
Example entries show repeated failures from the same source IP using different usernames at short intervals. Such patterns may indicate automated credential testing, yet they can also result from misconfigured automation or forgotten passwords. Quick searches use:
sudo grep -E "Failed password|Invalid user" /var/log/auth.log
Key Indicators in Logs
- Event frequency: hundreds of attempts in minutes versus occasional failures.
- Username diversity: sequential testing of many accounts suggests automation.
- Successful logins following failures: these require verification against expected user behavior.
- Timing: nighttime activity must be compared with normal operational schedules.
Web Server Request Analysis
Nginx access logs may contain sequences such as requests for /admin, /backup.zip, and /.env. Consecutive checks of common sensitive paths often signal automated reconnaissance, although individual requests can originate from legitimate users or crawlers. Response codes alone do not confirm compromise because applications may return 200 OK for missing resources.
Identifying Active IP Addresses
The following command counts the most frequent client addresses in an Nginx access log:
sudo awk '{print $1}' /var/log/nginx/access.log | sort | uniq -c | sort -nr | head -20
High counts require context; they may reflect API usage, load balancers, or reverse proxies rather than malicious traffic. Headers such as X-Forwarded-For are reliable only when trusted proxies are correctly configured.
Application-Level Logging
System and web-server logs often lack details about authorization decisions. Structured JSON events should record timestamp, event type, user identifier, resource, result, and reason. The OWASP Logging Cheat Sheet recommends capturing successful and failed authentication, access-control denials, input-validation errors, and administrative actions.
Information That Must Not Appear in Logs
- Passwords and session tokens
- Private keys
- Database connection strings containing credentials
- Unnecessary personal data
Logs must be protected against tampering, rotated regularly, and shielded from log-injection attacks through proper encoding.
Limitations of Log Data
Even well-configured logging cannot capture every event. Clocks may be unsynchronized, IP addresses may represent NAT or VPN pools, and privileged attackers can alter or delete local logs. Mature environments forward events to centralized logging or SIEM platforms.
Minimal Investigation Plan
- Record the exact time window of suspicious events.
- Preserve original log files and system metadata without modification.
- Correlate SSH, web-server, application, and system logs for the same period.
- Check for successful actions after sequences of failures.
- Compare observed activity against known baselines such as backups and scheduled tasks.
- Assess impact on accounts, data, and configurations.
- Execute response procedures only after evidence supports the hypothesis.
Server logs remain a foundational Blue Team tool when events contain sufficient context, timestamps are consistent, and analysis combines multiple data sources.
Related articles
UserGate Details FPGA Acceleration to Turbocharge Next-Generation Firewalls
UserGate product manager Pavel Molodan explains why adding security features like IDS/IPS, SSL/TLS inspection, and application control turns a high-performance NGFW into a bottleneck. The company outlines four groups of acceleration methods, with a focus on FPGA-based hardware offloading for packet parsing, firewall rules, NAT, and encryption tasks. Research from 254 respondents shows strong demand for these functions in data center B2E segments at 50-200 Gbit/s. Experimental platforms including Katun-2 PCIe cards and the FG system demonstrate concrete gains, such as scaling IDPS from 5 to 90 Gbit/s and achieving 85 Gbit/s firewall throughput on EMIX profiles. FPGA delivers microsecond latency and better energy efficiency compared with CPU-only designs while preserving full NGFW functionality for elephant flows.
Curator Reveals Detailed Architecture of Its Network Filtering System After October 2026 Outage
Curator published a technical post-mortem analyzing the 38-minute outage that affected its entire traffic filtering network on October 8, 2026. The company operates nine filtering sites across Russia, each containing multiple nodes connected via high-performance switches to upstream providers. Traffic is isolated using two VRF contexts—external for inbound dirty traffic and internal for cleaned traffic—ensuring sequential processing through the protection system. Each node runs a custom Linux kernel firewall and a watchdog service that monitors BGP sessions to detect failures and remove unhealthy nodes from rotation. Centralized configuration management via CControl allows rapid rollout of rules but also introduces systemic risk when faulty changes propagate across all nodes. The post-mortem emphasizes the need for isolation, staged deployments, and independent recovery mechanisms in large-scale filtering infrastructures.
Testing Sinonix Controlled Data Exchange System with VEGMAN R220 G3 Servers and TATLIN.BACKUP.M Storage
YADRO and IT Bastion conducted extensive performance testing of the Sinonix information exchange control system using high-capacity VEGMAN R220 G3 servers and TATLIN.BACKUP.M storage arrays. The tests simulated one-way data transfer scenarios for disaster recovery and air-gapped backup environments required by Russian presidential decree No. 604 on critical infrastructure protection. Multiple fio workloads were run for up to five hours under both light and heavy queue-depth profiles with MTU sizes of 1500 and 9000. Results showed that Sinonix introduced minimal overhead in moderate workloads and up to 27 percent reduction under heavy parallel loads when using jumbo frames. The setup replicated multi-tier protective perimeters including synchronous replication, one-way safe zones, and remote immutable storage. The testing confirmed stable long-term operation without degradation or failures across all configurations.
Developers Achieve Native iOS 16 Boot on Redmi Note 10 Pro and Note 12 4G Using Modified Apple XNU Kernel
A team known as dipa-studio has successfully booted iOS 16 natively on Redmi Note 10 Pro and Redmi Note 12 4G devices without any Android layer or emulation. The project relies on an adapted Apple XNU kernel and system components taken from the iOS 16.7.16 firmware of the iPhone X. While basic interface elements such as the Control Center, Notification Center, and Settings app function, the majority of hardware features remain non-operational. No Wi-Fi, Bluetooth, cellular connectivity, audio, cameras, or GPS are available, and the App Store along with Apple ID login are inaccessible. The port disables a significant portion of iOS security mechanisms, and installation wipes all user data from the original Android system. Performance is limited because the CPU renders the interface at roughly 20-30 frames per second without a dedicated graphics driver. The effort is described as purely experimental, with the Redmi Note 12 4G variant currently reaching only the lock screen.