Habr•August 24, 2026•🇷🇺Translated from Russian

Understanding Security Alerts Only Becomes Clear When You Start Writing Detection Rules Yourself

A cybersecurity expert who has worked on both sides of the alert lifecycle — first as a SOC analyst triaging detections and later as a detection engineer writing the rules — reveals why many common frustrations with alerts only make sense after experiencing both roles.

The author notes that while working in a SOC, it seemed obvious that developers should simply eliminate recurring false positives. After switching to writing detections, the same question flipped: narrowing a rule to suppress one false positive often creates gaps that real attacks can exploit. Legitimate administrative scripts and attacker behavior frequently overlap in process execution, network access, and file operations. The key difference lies in intent and context, which telemetry rarely captures. Each exclusion therefore represents a deliberate risk calculation rather than oversight.

Another frequent complaint from SOC analysts concerns alerts arriving with minimal context. From the development side, the reason becomes clear: detection rules must trigger quickly while events are fresh. Enrichment such as reputation data, host history, or correlation with other alerts requires separate system calls. Performing this synchronously would degrade pipeline performance. Good products address this gap, but it requires significant engineering effort that remains invisible to end users.

Alert priority levels also prove less objective than they appear. Default severity settings represent an averaged guess across thousands of diverse customer environments. What constitutes a critical event for one organization may be routine DevOps activity for another. The author advises that out-of-the-box detections serve as starting points requiring customization rather than finished products.

The article concludes with advice for both sides: analysts should treat false positives as feedback opportunities rather than personal failings, while developers must remember that noisy rules can blind analysts to genuine threats. Effective security ultimately depends on direct communication between the teams defining boundaries between normal and suspicious activity.

Related articles

Habr•Other

SpaceVM Border Firewall Configuration Guide Restricts SSH and Web Access to Specific Subnets

SpaceVM has published a detailed tutorial on configuring its border firewall using a three-node cluster example. The guide demonstrates how to allow SSH and HTTP/HTTPS access exclusively from the 172.22.21.0/24 subnet while disabling default system rules that permit broader access. It explains rule processing order, where lower index values take precedence, and shows how to apply traffic shaping limits. Administrators must activate rules after creation and verify connectivity from allowed and disallowed hosts. The instructions cover both incoming filter rules and shaping policies for management networks without affecting virtual machine traffic.

AntiMalware•Other

OpenAI Rolls Out Autonomous AI Agents Dots to All ChatGPT Plus Subscribers

OpenAI has expanded access to its personal AI agents known as Dots to all ChatGPT Plus subscribers, previously limited to higher-tier plans. The agents, introduced in September 2026, can independently handle long-running tasks, monitor external services, and proactively offer assistance without explicit user prompts. Dots operate using their own cloud-based computers and integrate with tools such as Slack, HubSpot, Atlassian, and password managers including 1Password. The company also broadened availability to the European Economic Area, the United Kingdom, and Switzerland while introducing a dedicated privacy center for permission management. Enhanced usage limits are currently active for Plus, Pro, and Business subscribers, with Enterprise customers receiving free access until January 13, 2027.

Habr•Other

Relatively Secure Method for Storing API Keys in Android Applications Using Native Code and JNI

Alfa-Bank developer shares a practical approach to protecting API keys in Android apps by combining native C++ code with a custom encryption scheme. The method stores an encrypted API key, the encryption key, and the cryptographic algorithm logic inside a native library loaded via JNI, forcing an attacker to locate and reverse all three components. The tutorial demonstrates implementation using NDK, CMake, and the XXTEA algorithm chosen for its balance of simplicity, speed, and reasonable security. A Kotlin wrapper class called ApiKeyExtractor exposes two native functions: one for encryption or decryption during build time and another that returns the decrypted key at runtime without exposing parameters. The article also explains how to generate the encrypted constants safely using instrumented unit tests and stresses that the goal is to raise the bar for attackers rather than achieve absolute security. Full source code for the demonstration project is provided, with clear warnings to exclude secret files from version control.

Habr•Other

Wireshark 5.0.0 Released with Full Theming System, Process Attribution, and Expanded Protocol Support

Wireshark 5.0.0 has been released as the new stable branch following the 4.6.x series. The update introduces a unified theming engine that controls all interface colors and graphs through JSONC theme files, along with a built-in Theme Designer tool. New capture options in Dumpcap, TShark, and Wireshark now record process PID, name, launch time, executable path, command line, parent process, and username for each packet. Additional improvements include hierarchical configuration profiles, real-time traffic distribution statistics, packet tagging with emojis and comments, Zstandard compression for capture files, and a compact JSON output mode for TShark. The HTTP/3 dissector received major enhancements for stream following, object export, and decompression. Numerous new protocols were added and legacy interfaces were removed.