Thank you for using Do Not Disturb (DND)
Due to a number of factors and effective immediately, the DND app will no longer be supported. There will be no additional bug fixes, patches or new features for DND. To prepare for this, an active subscription is no longer required for DND, subscription auto-renewals were disabled and no new subscriptions can be purchased. The app will continue to operate until devices are updated to an incompatible OS version (Big Sur/iOS 14) or May 1, 2021 — whichever comes first.
If would like to request a refund, please contact Apple directly by following the instructions in the link below. Unfortunately, Apple does not provide us with the ability to process refunds. We thank you in advance for your understanding.
Introduction
The Do Not Disturb macOS app (DND macOS) continually monitors your laptop for lid open events, as a precursor to these “Evil Maid” attacks. If you’ve triggered sleep mode by closing your laptop lid, the majority of physical access attacks likely require the lid to be opened in order for the attack to succeed.
With Digita’s Do Not Disturb Companion iOS app (DND iOS), you can receive physical access alerts on your iPhone and respond to them in real time.
The following remote actions are supported:
- Dismiss alerts
- Use the MacBook camera to take a picture
- Initiate a hard shutdown to trigger enabled FileVault disk encryption
… all with the touch of a button!
Locally, DND macOS can be configured to:
- Display alerts using macOS notifications
- Execute a specified action (e.g. run a script, etc)
- Monitor for follow on/interesting events (e.g. new process, USB insertions, new logins)
The DND macOS app is free to download and use. The DND iOS app is free to download and includes a 7 day free trial with unlimited remote alerts and actions. Subscriptions for continued service (unlimited remote alerts and actions) are offered in-app and are brokered through the App Store. See the “Subscribing” section for more details.
Threat Scenarios
Physical access is still one of the most effective ways to compromise a computer. Many of us have probably left our laptops unattended while at home, in the office, or on travel. In these scenarios, we highly recommend continuing to take appropriate precautions like locking your screen, closing your lid, and placing the laptop in a safe/secure location – but is that hotel safe really safe?.
If given physical access to your device, attacks scenarios include:
- Logging in locally as root, by exploiting local bugs as seen with ’#iamroot’
- Logging in via compromised credentials captured by a hidden camera (or similar)
- Inserting a malicious device into a USB or Thunderbolt port.
In each of these scenarios a closed laptop lid is likely opened – either to awake the device so that it will process a malicious device or for the attacker to simply interact at the login prompt.
Getting Started
Both DND iOS and DND macOS will guide you through installation and pairing from within app. More explicit directions can be found below.
Install and Launch DND iOS
To begin using the iOS app, download and install DND iOS from the App Store. Upon launching DND iOS you will be prompted to download and install the DND macOS app on your macBook and follow the instructions to Pair your devices. If you have not yet installed DND macOS you can tap the “Download” icon. Tapping this icon will launch the “Share” actions enabled on your device, so that you can easily share this download link with your MacBook.
Click the “Link Device” icon on the DND iOS wecome screen to launch the pairing instructions and prepare to scan the QR code presented during DND macOS installation. See below for more details.
Install and Launch DND macOS
To begin using the macOS app, download and install DND macOS from the download link at the top of this page.
Click ‘Install’ to install the app. A password is required, as Do Not Disturb installs a persistent launch daemon in order to provide constant monitoring and protection.
Immediately after installation, a ‘Welcome’ screen is displayed by DND macOS. Following the instructions here will allow you to link DND macOS with DND iOS. Note that this is an optional step, as DND macOS can be run locally without remote notifications. Details about pairing devices can be found below in the “Pairing Devices” section.
Once installation is completed, DND macOS will be running and set to automatically start each time you log in. Unless configured to run without a status-bar icon (see “Preferences” section), it will appear in the status bar. The notification seen here, is presented on installation.
Pairing Devices
Upon installation of DND macOS you will be presented with the following “Welcome” screen.
Click “Next” and follow the instructions to pair your macOS and iOS devices for remote notifications.
Similarly, DND iOS you present you with the following “Welcome” screen.
After clicking next on your DND macOS you will presented with a QR code to scan.
On your iOS device click the QRCode icon and scan the barcode presented by DND macOS. You should be presented with the following screens, culminating with the “Device View” for the macOS you just linked.
DND macOS will now present the following screen indicating that your devices have been linked.
If you do not pair your devices during initial installation of DND macOS, or if you wish to pair more than one iOS device, you can link the devices following a similar procedure from “DND Menu” -> “Preferences”. We will cover additional “Preferences” in the “DND MacOS Configuration” section.
From the Preferences screen, select the “link devices” icon.
After following the instructions, clicking “Generate QR Code” and scanning the subsequent image, you will be presented with a screen listing your linked devices.
Subscribing
The DND macOS app is free to download and use. The DND iOS app is free to download and includes a 7 day free trial with unlimited remote alerts and actions. Subscriptions for continued service (unlimited remote alerts and actions) are offered in-app and are brokered through the App Store.
Upon expiration of the free trial (or an expired subscription), alerts from DND macOS are periodically delivered to the DND iOS app. These notifications include additional text that call your attention to your expired status and prompt you to subscribe in order to continue to receive real-time alerts. Once expired, not every alert triggers notifications – so you will be missing alerts in DND iOS. Note that they are still generated and recorded locally on your Mac.
From the menu sidebar (swipe right or select menu button to display), push the settings button, and then select ‘Subscription’ from the presented table. This page will offer you subscription options or show your current subscription status. If you’ve previously purchased a subscription, you can select ‘Restore Previous Purchases’ to sync your subscription to this device. If you have not previously subscribed, you will be presented with two options: a recurring Monthly or a recurring Yearly subscription.
Once subscribed you will be presented with the option to ‘Manage Subscription’. Selecting this option will direct you to iTunes where you can make changes to your subscription (upgrade, cancel, etc). Please note the terms below for purchasing and managing your subscriptions.
- Payment will be charged to iTunes Account at confirmation of purchase
- Subscription automatically renews unless auto-renew is turned off at least 24-hours before the end of the current period
- Account will be charged for renewal within 24-hours prior to the end of the current period, at the original purchase price
- Subscriptions may be managed by the user and auto-renewal may be turned off by going to the user’s Account Settings after purchase
- Any unused portion of a free trial period will be forfeited when the user purchases a subscription
Using DND
Once you get your devices paired, using DND is designed to be very simple. We will first discuss how DND notification and actions work by default. Then we will explore local configuration options for DND macOS and additional support information made available in DND iOS
Notifications and Actions
Quite simply, when the laptop lid is opened DND macOS creates a local notification to alert you to potential unauthorized physical access. As noted, this detection involves monitoring for laptop “lid open” events, so close your lid when leaving your laptop unattended!
DND macOS then encrypts sensitive portions of the alert and forwards it our services to be brokered to any paired iOS device. Our services then package and deliver an Apple Push Notification (APN) message to these paired devices. If you touch the alert notification on your iOS device, the DND iOS app will be launched and the appropriate ‘Device View’ will be presented. The details embedded in the push notification, such as the type of alert (“Laptop Opened” event) and the currently logged in user, are decrypted by the app and written to the timeline.
You’ll notice that the view also includes a “Laptop Connected” status for the MacBook. It will remain connected for 5 minutes from the last alert. While connected, the action toolbar icons are enabled. Touching any one of these will issue a command back to the DND macOS app to take the appropriate action.
Supported actions include:
- Camera
- Dismiss
- Issues a command to DND macOS to dismiss all local alerts
- Turn off the blinking activity indicator on the iOS timeline
- Shutdown
- Issues a command to DND macOS to initiate a hard shutdown of the computer
- Shutdown will trigger FileVault disk encryption (if enabled)
DND macOS Options
DND macOS can be accessed via the status bar icon. From this menu you can, enable/disable DND macOS, view the local DND macOS log file, and open DND macOS preferences.
The preferences window allows you to configure Do Not Disturb. To open this pane, either open the main DND application (/Applications/Do Not Disturb.app), or use the status bar menu, clicking on ‘Preferences’.
The ‘Preferences’ view has several tabs including ‘general’, ‘action’, ‘link device’, and ‘update’.
The ‘general’ tab, allows you to configure DND macOS to hide its existence from a potential attacker by disabling local alert notifications and removing the icon from the status menu. Note that with these options selected, DND will still log any lid open events, and (if configured) will deliver alerts to DND iOS.
If you’re running macOS 10.13.4+ and have a touch bar, you can also configure DND macOS to ignore lid open events immediately (within 5 seconds) followed by a successful touchID authentication event. This allows you to effectively tell DND macOS to trust (or ignore) lid events that are a result of you returning to your laptop.
You can also disable remote tasking options (camera & shutdown) if you wish to sync an iOS device and get remote alerts but do not want to be able to take any response actions.
Finally, from this tab you can disable the login item from automatically starting when you log in. Note that the component of DND macOS that monitors events will still be running (and may deliver remote events). If you want to fully disable DND macOS, do so via the ‘Disable’ option in the status bar menu.
The ‘action’ tab allows you to further define DND macOS behavior upon detecting an event. The ‘execute action’ option allows you to specify a command, script, or binary that should be executed, as the logged in user (if one exists), any time DND macOS alerts.
The ‘monitor’ option tells DND macOS to log interesting events that follow a lid open event. Currently this includes the insertion of USB & Thunderbolt devices, new processes, new downloads, and new user authentication events. Monitoring will automatically stop if the alert is remotely dismissed, or after three minutes.
Included here for completeness, the “link” preferences tab is covered in depth in the “Pairing Devices” section of this document.
The ‘update’ tab, allows you to check for new versions, as well as disable the automatic check for new versions of DND macOS.
DND iOS Navigation and Device Details
You can swipe left on any ‘Device View’ to bring a ‘Device List’ and switch between Paired Devices.
To bring up the ‘Device Details’ view, simply touch the ‘Information’ Icon (i) next to a device name in its ‘Device View’ or select ‘Settings’ -> ‘Paired Devices’ and select a device.
The ‘Device Details’ view includes the hostname of the paired MacBook, the date of the pairing, IDs of the client and certificate used to securely communicate, a list of events, and controls to test connections, clear events, and delete.
Deleting a Device Pairing
From the DND iOS app, touch the “Info” (i) button next the device name on the device view, or select “Settings” -> “Paired Devices” and select the device you wish to unlink.
Uninstalling DND
Now why would you ever want to do that 😉!? Well, just in case…
You uninstall DND iOS as you would any other iOS app.
To uninstall DND macOS, simply re-run the Do Not Disturb Installer.app
and click on ‘Uninstall’ A password is required in order to stop and fully remove all components of Do Not Disturb.
Logging
All references to the logging
features of DND macOS
- Are conveniently viewable via the
View Log
menu item in the DND status bar - Are backed on disk by the log file
/Library/DigitaSecurity/DND/DND.log
Networking
Communications between DND macOS and DND iOS are brokered through Amazon AWS Iot (MQTT).
- Host: a3e8cf05y1afif.iot.us-east-1.amazonaws.com
- Port: tcp/443 (ios11+, macOS 10.13.4+), tcp/8883 (older OSes)
- Note: All OS versions used tcp/8883 prior to DND macOS v1.2 and DND iOS v1.1
Alerts are delivered from AWS via Apple Push Notification Service (APNS) to your iDevice.
Photos are encrypted within the macOS app and are uploaded/retrieved from Amazon AWS S3. Note: Encryption keys are not known to the server and never leave your mac/iDevice.
- Host: s3.amazonaws.com
- Port: tcp/443
Version checks/upgrade availability for DND macOS is checked by contacting the Digita Security website.
- Host: digitasecurity.com
- Port: tcp/443
Available Subscription Options are queried from the Digita Security website by DND iOS.
- Host: digitasecurity.com
- Port: tcp/443
Subscriptions/Purchases are handled through Apple App Store services.
Troubleshooting
If you’re experiencing an issue, the following might help:
- Make sure you’re running the latest version of DND.
- Make sure you’re connected to the internet while generating a QR code (to link to a remote iDevice).
- Review the Networking section above and ensure your firewall allows access to our services
- If an install, upgrade or QR generation/sync fails, try uninstalling and reinstalling the app
- Be sure to select the “Uninstall” option, the re-run the installer and select “Install”
- This step has been especially necessary for those that participated in the “Beta”
If the previous steps do not resolve your issue, please send us an email at dnd@digitasecurity.com, and include the following:
- A description of the issue.
- The version of macOS and DND macOS that you’re running.
- The version iOS and DND iOS you are running (if applicable)
- Any DND output from the system log.
- To view this output, first open the Terminal on your mac /Applications/Utilities/Terminal.app.
- Then run the following command:
$ log show | grep -i disturb
Also note, or screenshot your iPhone Device Token found in the iOS app (if applicable)
- Select “Settings” from the left side menu
- Select “Info” from the Settings table
- Capture the “iPhone Device Token” (the first 5-6 characters will suffice)
Finally, note, or screenshot your paired device information (if applicable)
- Select the information icon ⓘ located next to the device you are trouble shooting in the device view
- Capture the UUID, CertID, and CAID found in table (the first 5-6 characters of each should suffice)
- See iOS Navigation And Device Details for example screenshots
FAQs
Q: Will ‘Do Not Disturb’ detect all ‘Evil Maid’ attacks?
A: No! It is important to understand that instead of looking for specific types of attacks, DND macOS monitors for lid open events, which is a likely precursor to many (but not all) physical attacks. This also means that DND macOS only currently works with laptops, and requires you to shut your laptop when you leave it unattended.
Having lived in this world long enough, we are all fully aware that no mitigation is full proof. We simply aim to keep shrinking the attack surface. Future versions will expand DND macOS’s monitoring and detection capabilities to perhaps include alerting on power events, USB insertions, etc. This will continue to shrink the attack surface and potentially expand DND’s use beyond laptops.
Q: What is the difference between Digita’s DND macOS and Objective-See’s ‘Do Not Disturb’?
A: The differences today are very minor as all of the low level bits are shared between the two. Obviously various UI components and themes have been changed and digital signatures have been updated. Digita’s update capabilities also work a bit differently than Objective-See’s. As Digita’s DND macOS matures and we add additional enterprise features to the tool, it will almost certainly diverge in supported ‘extra’ features, but will continue to be powered by Objective-See low-level technologies.
Q: Why did Digita create its own macOS app in the first place?
A: We felt it was important to make a Digita branded and supported version of ‘Do Not Disturb’ available to users and enterprises alike. Some users will discover Do Not Disturb iOS in the App store and will not be familiar with Objective-See. Asking them to install an Objective-See tool on their macOS did not seem ideal. At the same time we understand that many users know and love Objective-See tools and will land here because of that. For that reason, the DND iOS app works with both DND macOS versions.
Q: Which DND macOS app do you recommend I install?
A: We strongly encourage enterprise users to install Digita apps and contact us with feature requests for making it more usable in an enterprise environment. For individual users, it is a matter of preference. Digita’s DND iOS app integrates seamlessly with both versions. However, Digita can only support issues and questions pertaining to its own apps.
Feedback? Suggestions? Corrections?
Please email us at dnd@digitasecurity.com or submit a new issue