Jump to content

Achieving M-23-13 OMB requirements


Recommended Posts

Guest Brian Tirch
Posted

On February 27, 2023 memorandum M-23-13 was released from the Office of Management and Budget requiring government agencies to remove TikTok from all GFE devices (unless there is an exception) and block network connections to TikTok by a given date. This blog post explains how to comply with the policy on Windows devices or using other Microsoft tools. For completeness, there is also information on iOS devices. M-23-13 requires agencies to perform the following three tasks which will be the focus of this blog post.

 

 

 

The OMB memo requires that no later than 30 days after the issuance of this memorandum, agencies shall:

 

 

 

  1. Identify the use or presence of a covered application on information technology.
  2. Remove and disallow installations of a covered application on IT owned or operated by agencies, except in cases of approved exceptions.
  3. Prohibit internet traffic from IT owned by agencies to a covered application, except in cases of approved exceptions.

 

 

 

There are serval ways to perform the required tasks outlined in M-23-13. However, each operating system (Windows, iOS, Android) functions differently when it comes to application management. Given their prevalence in federal environments we have chosen to focus on Windows and iOS as the two primary operating systems for this blog post.

 

 

 

*note: there are other Microsoft solutions like System Center Configuration Manager (ConfigMan) that can be used. However, this article will focus on Microsoft Defender for Endpoint (MDE), Microsoft Defender for Cloud Apps (MDCA), and Intune.

 

 

 

Discover/Identify

 

 

 

Microsoft Intune provides a list of installed applications for iOS, Android, Windows, and MAC devices. Organizations can logon to the Intune portal and navigate to > Apps > Monitor > Discovered apps to search for the TikTok application.

 

 

 

Below you can see two versions of TikTok, one installed on Windows, and one installed on iOS.

 

 

 

largevv2px999.jpg.aba3c00c1bf964a2522b40ee4e3385cc.jpgFigure 1 Intune Application Inventory

 

 

 

 

 

 

 

 

 

 

 

If you are running MDE’s Mobile Threat Defense (MTD), MDE’s software inventory will discover the mobile versions of the application running on IOS or Android.

 

 

 

largevv2px999.jpg.6a8e6ea506446d8e87eec7102aee7a7e.jpgFigure 2 MDE Software Inventory

 

 

 

 

 

 

 

The Windows application is a Progressive Web App (PWA) and will not show up in MDE software inventory. This requires the use of Advanced Hunting to discover the application on a Windows machine via MDE.

 

 

 

When the PWA is launched it calls two executables Pwahelper.exe and Msedge.exe (or the default browser). During the launch of the app, a command runs that includes the URL for TikTok.

 

 

 

Below is a simple KQL query that can be used to find the command calling TikTok URLs:

 

 

 

DeviceProcessEvents

 

| where ProcessCommandLine contains "TikTok"

 

 

 

mediumvv2px400.jpg.a5a48f5bbf4d55559f704f2e20c16182.jpgFigure 3 Timeline event from MDE

 

 

 

 

 

 

 

 

 

 

 

 

 

Organizations can use the same query to create a custom detection rule to generate alerts/incidents to identify users and devices launching the PWA application.

 

 

 

largevv2px999.thumb.jpg.0ab99ab55fd90453c69c5ee3b4e953e0.jpgFigure 4 MDE Custom Detection Rule incident

 

 

 

 

 

 

 

 

 

 

 

 

 

Since MDE is integrated with MDCA we can use that integration to assist with discovering what devices and users have been accessing the application

 

 

 

*Note: this integration works for Windows, Mac, and Linux. Mobile operating systems currently do not feed into MDCA but still consume the IOC rules created.

 

 

 

largevv2px999.jpg.aef6d056b8b43e7f239cd7f231c12b8d.jpgFigure 5 MDCA TikTok discovery

 

 

 

 

 

 

 

 

 

 

 

largevv2px999.jpg.fe8223bc0d257f6881d892009eeea6ee.jpgFigure 6 MDCA usage information

 

 

 

 

 

Network Blocks

 

 

 

Given many devices are mobile and move between networks and organizations, blocking or preventing network access typically requires implementing multiple controls. The good news is that MDE can create IOCs that block access to URLs, IPs, certs, and file hashes. These blocks work across device types (IOS, Android, Windows, Mac, and Linux) regardless of location.

 

 

 

There are two places an organization can create these blocks. However, MDE is the underlying service that performs the block.

 

 

 

The first, is the MDCA portal where staff can categorize an application as “unsanctioned” which will push the appropriate URL(s) into IOC blocks in MDE.

 

 

 

largevv2px999.jpg.adadfb46cb599b8351be52d61fd02d83.jpgFigure 7 MDCA Unsanctioned

 

 

 

 

 

 

 

 

 

largevv2px999.jpg.a5bd29c3fe0b43719cefffbc1508b9bb.jpgFigure 8 MDE IOC rules

 

 

 

 

 

 

 

 

 

The second is directly in MDE where staff can create a rule to block, warn, or audit the TikTok Domain(s)/Url(s) on Mobile (IOS and Android), Windows, Mac, and Linux devices.

 

 

 

largevv2px999.jpg.50b34924fd6e5fb712c9c111c7d15cad.jpgFigure 9 MDE URL/Domain IOC creation

 

 

 

 

 

 

 

*Note: There could be several domains/URLs used by TikTok

 

 

 

Once these blocks are put into place and configured to generate alerts, the following information is produced by the alert showing the user, devices, and URLs being blocked.

 

 

 

largevv2px999.jpg.b453f37886c6ac38773754c59ecbee50.jpgFigure 10 MDE alert information from windows host and can vary by OS

 

 

 

 

 

 

 

 

 

When launching the PWA from a Windows device or directly in the browser from other devices the following block will occur.

 

 

 

largevv2px999.png.5d9c8e5bc2ceb03184bf9582c59361d5.pngFigure 11 MDE IOC website block

 

 

 

 

 

 

 

 

 

*Note: other browsers and operating systems require the network protection service to be configured and Defender AV in active mode.

 

 

 

Removal/Disallow

 

 

 

The challenging part of this task is each operating system provides various methods to control applications.

 

 

 

An efficient way to block certain apps would be to restrict access to the applications stores associated with each platform (e.g., Windows and Apple stores). In light of blocking the application store, the following section outlines a method to identify the application and mark devices on non-compliant.

 

 

 

For instance, if the TikTok App is not managed by Intune and the organization allows access to the application store, users will be able to install any application. Intune can uninstallonly apps that are deployed through the mobile device management (MDM) channel.

 

 

 

Organizations can establish prohibited apps lists to identify devices with applications that are prohibited.

 

 

 

Prohibited apps are lists of apps that users aren't allowed to install and run. Users aren't prevented from installing a prohibited app. However, if a user installs an app from this list, the device is reported in the Devices with restricted apps report and can be set to non-compliant.

 

 

 

 

 

To configure a prohibited list, perform the following steps:

 

 

 

In the Intune Admin portal navigate to > Devices > Configuration Profile > Create Profile

 

 

 

  1. Select iOS/iPadOS
  2. Under Profile Type select Templates
  3. Select Device Restrictions

 

 

 

largevv2px999.jpg.61523e41f856a529b3294438d60301d6.jpgFigure 12 Intune Configuration Policy creation

 

 

 

 

 

 

 

 

 

In the Device restriction policy under Restricted Apps input the following:

 

 

 

Configure the Types of Restricted app list = Prohibited

 

App Store URL = ‎TikTok

 

App Bundle ID = com.zhiliaoapp.musically

 

App Name = TikTok

 

Publisher = TikTok Ltd.

 

 

 

 

 

largevv2px999.jpg.7d1dca63d1572778cd40cd1243dba8e3.jpgFigure 13 Prohibited App UI

 

 

 

 

 

 

 

After the policy has been created, organizations can review the restricted app report from the Intune admin portal à Deviceà Monitor à Device with restricted apps

 

 

 

largevv2px999.jpg.c2482384c998c0a14d67effab2a1c12f.jpgFigure 14 Intune Prohibited App report

 

 

 

 

 

 

 

 

 

Organizations can create a compliance policy checking for the restricted application that will mark the device as non-compliant.

 

 

 

largevv2px999.thumb.jpg.40081f42fed31183b7f99f3d9254412e.jpgFigure 15 Intune IOS Compliance Policy

 

 

 

 

 

 

 

 

 

 

 

largevv2px999.jpg.f45ee1664659f28c35ef9fca99f86495.jpgFigure 16 Devices marked as non-compliant from policy

 

 

 

 

 

 

 

 

 

 

 

 

 

Additionally, organizations can create conditional access policies looking for device compliance and deny access to an organization’s services. Organizations can even prompt the user with terms of service related to prohibited applications.

 

 

 

largevv2px999.jpg.5195eb4c7b52088d25061347f8c61d56.jpgFigure 17 Azure AD Conditional Access Policy

 

 

 

 

 

 

 

 

 

 

 

 

 

APIs

 

 

 

M365 Defender and Intune both provide a rich set of APIs that can be used to pull information into other systems that the organization may be using (e.g., SIEM, PowerBi, etc.).

 

 

 

Below is an example of using the MDE API call for TikTok in the software inventory.

 

 

 

largevv2px999.jpg.e4e0d7c654b2fe2aa9c4e47ca791aa95.jpgFigure 18 Example MDE API return

 

 

 

 

 

 

 

 

Additional information

 

Here are some additional links to information related to the topics in the blog.

 

 

 

Access the Microsoft Defender for Endpoint APIs | Microsoft Learn

 

Intune Graph API - Reports and properties | Microsoft Learn

 

Terms of use in Azure Active Directory - Microsoft Entra | Microsoft Learn

 

iOS/iPadOS device settings in Microsoft Intune | Microsoft Learn

 

Use network protection to help prevent connections to bad sites | Microsoft Learn

 

Microsoft Defender Vulnerability Management | Microsoft Learn

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...