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

HabrPolicy & Regulation

Web Certificate Trust Chains and State Access Risks Explained Amid Russian Banking Sanctions

The article explains the hierarchical structure of web certificates used for site authentication and traffic encryption, starting from highly protected root certificates stored in air-gapped facilities with Shamir's secret sharing for key protection. Intermediate certificates extend the chain of trust down to leaf certificates deployed on websites. Russian banks have turned to certificates issued under the MinTsifry root after Western and Chinese CAs refused service due to sanctions. The piece highlights that any nation-state with access to a root private key, whether FSB, NSA, or others, could theoretically issue fraudulent certificates for any domain. It notes the limitations of the X.509 standard, which lacks native support for multi-CA signatures, and suggests that separate browsing environments or PGP-style web-of-trust models could mitigate risks. The author concludes that security is already reduced by reliance on any state-controlled CA and that the choice is ultimately which intelligence agency one prefers to trust.

AntiMalwarePolicy & Regulation

MAX Messenger to Open Source Code and Launch Developer Program for Alternative Clients

The Russian messenger MAX is preparing to open its platform to third-party developers by launching a dedicated developer program and providing API access. Approved participants will receive the official client's source code, design system, technical documentation, and access tokens to integrate with the platform infrastructure. The initiative targets IT companies from Russia and friendly countries that demonstrate experience with large-scale projects and adherence to strict security standards. All selected developers must implement secure development practices, robust encryption mechanisms, and undergo code audits to protect user data. The program supplies ready-made user registration and anti-fraud tools, while alternative clients remain bound by API usage terms focused on security compliance. Applications will be accepted via the official developer portal, although exact launch dates have not yet been disclosed.

HabrPolicy & Regulation

InfoWatch Details ARMA Wall NGFW Development for Industrial Systems Under Russian Import Substitution Rules

InfoWatch has published the second part of its interview series describing the ongoing development of the ARMA Wall next-generation firewall for industrial control systems. The product prioritizes on-premise processing without cloud agents to meet strict customer security policies and certification requirements. Engineers combine proprietary detection feeds with external sources, including indicators from NKCKI, while maintaining hundreds of thousands of signatures without disabling legacy rules for older Siemens controllers. Migration support relies on manual pre-project audits rather than automated tools, and the company works closely with domestic SCADA vendors to embed NGFW capabilities inside long-lifecycle OT environments. ARMA Wall is positioned as a more flexible and cost-effective alternative to data diodes because it allows granular command-level filtering and can emulate one-way traffic when required. The solution is already deployed at Roscosmos subsidiary RKK Energia after full certification and categorization.

AntiMalwarePolicy & Regulation

WhatsApp Developing AI Content Labeling Feature for Channel Admins to Meet EU Transparency Rules

WhatsApp, owned by Meta, is rolling out a new function that allows channel administrators to mark posts containing AI-generated or AI-edited media. The feature appears in the latest Android beta and stems directly from European Union requirements for transparency around artificial intelligence content. Administrators can long-press a message after publication and select an option to add an AI content label, which then displays a visible tag informing subscribers that the material was created or modified by neural network tools. The requirement applies specifically to images, videos, and other media files, while generated text remains exempt from mandatory labeling. WABetaInfo researchers spotted the change, noting that the label may become permanent once applied and that the rollout could initially target only jurisdictions with relevant legislation. Broader availability for iOS users and global deployment remain under consideration.