Habr•October 22, 2026•🇷🇺Translated from Russian

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

  1. Record the exact time window of suspicious events.
  2. Preserve original log files and system metadata without modification.
  3. Correlate SSH, web-server, application, and system logs for the same period.
  4. Check for successful actions after sequences of failures.
  5. Compare observed activity against known baselines such as backups and scheduled tasks.
  6. Assess impact on accounts, data, and configurations.
  7. 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

Securitylab•Other

OpenAI Advances Mathematical Proof of Yang-Mills Theory Existence

OpenAI's research models have produced a formal mathematical construction proving the existence of a non-trivial quantum Yang-Mills theory in four-dimensional space-time. The work builds on Kenneth Wilson's lattice approach and satisfies key Wightman axioms, marking a major step toward solving one of the Clay Mathematics Institute's Millennium Prize Problems. A team of physicists and mathematicians led by Nobel laureate David Gross reviewed the result and confirmed its validity while noting several open questions. The construction does not yet prove the existence of a positive mass gap, the second required element for claiming the million-dollar prize. Nearly 10,000 Lean files were used to formalize the proof, allowing automated verification that took several hours. The achievement highlights how AI systems can now generate verifiable mathematical knowledge in fundamental physics.

安全客•Other

OceanBase Launches OceanLake Platform to Power AI Agent Data Infrastructure

OceanBase has introduced the OceanLake AI data platform and open-sourced its OceanBase AI database under the codename OceanSeek at the AI Data Conference in Beijing. The announcement addresses a fundamental shift in data infrastructure design as AI agents replace humans as primary data consumers. Traditional systems built around human workflows now face new demands for real-time access, multi-modal consistency, elastic scaling, and low-cost experimentation. OceanBase CTO Yang Chuanhui outlined three stages of enterprise AI adoption that progressively increase pressure on data systems, from AI-assisted coding to full agent-driven business processes. The new platform combines lakehouse and database capabilities with support for Spark, Flink, Ray, and Daft to handle batch, streaming, and AI workloads in a unified architecture. Features such as compute-storage separation, zero-scale resource release, and data branching aim to reduce costs and enable parallel agent iteration at scale.

AntiMalware•Other

Russian Ministry Refutes Reports of Gosuslugi Burial Site Selection Service Launch

The Ministry of Digital Development of Russia has denied media claims that a new service for selecting burial places would launch on the Gosuslugi portal starting December 1, 2026. The project is currently in the testing phase, with work focused on connecting regions, training local specialists, and digitizing burial records. The erroneous reports stemmed from misinterpretation of timelines listed in the ministry's digital transformation program, which outlines technical implementation rather than public rollout dates. The service is based on the National Spatial Data System and would provide geographically linked information about cemeteries and available plots. Funding of 295.5 million rubles has been allocated for developing digital tools in cemetery management, though no changes to planned functionality have been announced. A public launch date will be disclosed separately once preparations are complete.

AntiMalware•Other

Rostelecom Allocates Up to 90 Million Rubles for AI-Driven Brand Update Across Subsidiaries

Rostelecom plans to deploy generative artificial intelligence to refresh its corporate identity, including subsidiaries and digital services. The operator has published a tender on the Roseltorg platform worth up to 90 million rubles, with approximately 4.5 million rubles earmarked specifically for AI-generated images and videos. The project spans 2026-2028, and up to four contractors may be selected following the December 16 deadline. Detailed pricing for AI-produced assets includes maximum rates of 19,900 rubles for abstract images, 37,100 rubles for single-person scenes, and 220,500 rubles for 30-second videos. The tender introduces a new specialist role of AI-artist with an hourly rate of up to 2,000 rubles. Rostelecom expects the use of AI agents to reduce production timelines and costs while retaining the option not to spend the full budget.