HabrAugust 3, 2026🇷🇺Translated from Russian

Why Sending an MDM Command Does Not Mean It Has Been Executed

Operations such as Assign Policy and Lock Device in an MDM console may look instantaneous, yet they initiate an asynchronous chain that includes the MDM backend, message queues, Apple or Google infrastructure, the on-device agent, and a return reporting channel.

Any component in this chain can become temporarily unavailable, and the device itself may lack network connectivity. Aitera MDM treats controlled delivery of the desired state with verifiable results as a core component of device management rather than focusing solely on policy creation or restriction sets.

One Operation — Multiple Independent States

The phrase “command sent” can represent at least four separate events: the administrator request accepted by the API, the command stored and queued, the external Apple or Google infrastructure accepting the request, and the device executing the command with a reported result. A 200 OK response only confirms HTTP request processing; writing to a persistent queue guarantees survival across restarts but does not confirm delivery.

Therefore MDM systems should maintain three distinct state types: desired state (what the administrator wants), delivery state (where the command currently resides), and observed state (what the device has actually reported). Attempting to store all information in a single boolean field almost always produces false statuses.

Android: Policy Travels Through Google

In Android Enterprise the MDM server does not open direct connections to each device. It posts a Policy object to the Android Management API and relies on the Android Device Policy agent for synchronization. A successful Policies.patch call indicates only that Google accepted the new desired state; it does not confirm application on any specific phone. One-time commands such as lock or lost-mode requests follow a separate device command API path that likewise reports acceptance rather than final execution.

iOS: APNs Only Wakes the Device

Apple MDM uses a pull model. The server places commands in a per-device queue and sends a silent APNs push solely to wake the device. The device then connects and requests the next command; the server returns a plist in the HTTP response. The device later reports Acknowledged, Error, or NotNow. The NotNow status demonstrates why a simple success/failure pair is insufficient: the command remains valid and must stay queued.

Practical Requirements for Reliable Delivery

Aitera MDM applies the Outbox pattern so that policy changes and delivery events are recorded in a single transaction. Retries follow exponential backoff with jitter, respect circuit breakers, and never repeat irreversible actions such as wipe until idempotency is assured. On-premises deployments still require outbound access to APNs and Google endpoints; network isolation therefore demands explicit planning of allowed routes, proxy settings, and timeout behavior.

Useful operational metrics include the percentage of devices confirming current policy, median and 95th-percentile policy application time, queue depth and oldest command age, and divergence between desired and observed states.

Related articles

AntiMalwarePolicy & Regulation

Ideco NGFW Novum Earns Highest Customer Rating in Quadrant Technologies Import Substitution Study

Ideco NGFW Novum achieved the top customer score of 6.9 out of 10 in the Matrix of Import Substitution 2026: NGFW research conducted by Quadrant Technologies, surpassing the market average of 6.3 and outperforming seven competing Russian solutions. The study evaluated vendors based on specialized revenue alongside 18 criteria covering product quality and functionality, with ratings provided directly by specialists who deploy and operate the firewalls in production environments. Ideco excelled in 11 parameters above seven points, including administration convenience at 7.9, technical support and partner network at 7.6, Zero Trust segmentation at 7.3, and both integration capabilities and core NGFW functionality at 7.2. Despite strong product scores, Ideco remains in the Development quadrant rather than Leadership due to lower profile revenue volume, positioning the company as a prime candidate for advancement with increased sales and large-scale deployments. Complementary testing by Infosystems Jet laboratory showed Ideco NGFW Novum passing 189 of 242 checks under Methodology 3.0 and becoming the sole participant to complete an eight-hour stress test. The broader Russian NGFW market is shifting away from emergency import substitution toward demands for real-world stability, updates, documentation, support, and usability, with product cost cited as a rejection factor by 37.5 percent of respondents.

HabrPolicy & Regulation

Kubernetes Audit Policy Review: Checklist Targets Common Blind Spots in Rules

An experienced Kubernetes administrator shared a detailed review process for audit policies that often remain untouched for years after initial deployment. The 580-line policy was rebuilt using the Kubernetes Threat Matrix from RedGuard as the primary reference. The author highlights recurring issues such as outdated exceptions, missing coverage for new components, and legacy comments that obscure actual security intent. The resulting checklist focuses on principles rather than cluster-specific findings to help other teams perform effective policy audits. Key recommendations address rule completeness, exception management, and periodic full-scale reviews instead of incremental patching. The approach aims to restore audit policies as active security controls rather than accumulated technical debt.

HabrPolicy & Regulation

Avoiding a Leaky Kubernetes Audit Policy: Real-World Configuration Breakdown

Kubernetes Audit Policy is typically configured once during cluster setup and then left untouched for years while accumulating exceptions for new components. Over time the policy stops functioning as a security control and instead becomes an archaeological layer of outdated comments such as "# temporary, TODO remove" that date back three years or more. The author recently reviewed their own 580-line configuration file that had been assembled from multiple sources. Primary reference was the Kubernetes Threat Matrix, which explains why many rules are designed to detect security-relevant actions rather than simply reduce log noise. Examples include targeted monitoring of RBAC modifications and deletion of events. The article emphasizes the need for periodic full reviews instead of incremental patching to maintain effective detection coverage.

AntiMalwarePolicy & Regulation

CryptoPro Develops CryptoPro-Browser with Russian Cryptography for FSB Compliance

CryptoPro is creating its own browser called CryptoPro-Browser as part of the CryptoPro CSP 6.0 cryptographic information protection system. The product will include built-in cryptographic tools, support for the company's plugin, and TLS connections using Russian cryptographic algorithms. The development follows Google's removal of the CryptoPro extension from the Chrome Web Store in February 2025, which left new users without an easy installation method. The project has been coordinated with the FSB of Russia and targets scenarios requiring compliance with Russian information security regulations. CryptoPro plans to incorporate experience from its earlier Chromium-Gost project started in 2017, while also recommending Yandex Browser as an alternative. Analysts estimate the development cost at several tens of millions of rubles, with the main focus on corporate customers needing certificate management and specialized support.