When using Apple Configurator, you can assign an existing supervision identity to be used with devices you place into supervision. To do so, first open Apple Configurator and click on Organizations.
From Organizations, click on the plus sign (“+”).
From the Create an Organization screen, click Next.
When prompted to provide information about your organization, provide the name, phone, email, and/or address of the organization.
If you are importing an identity, select “Choose an existing supervision identity” and click on Next.
When prompted, click Choose to select the identity to use (e.g. exported from another instance of Apple Configurator or from Profile Manager).
Click Choose when you’ve highlighted the appropriate certificate.
krypted August 23rd, 2016
Looks like Sal et al posted a suite of Automator Actions to link the Casper Suite to Apple Configurator at https://configautomation.com/jamf-actions.html. In my limited tests so far they work pretty darn well!
Some pretty cool things here, like having the JSS rename a mobile device when managed through Apple Configurator, having Apple Configurator instruct the JSS to remove a device from a group, clear passcodes, update inventory, and other common tasks involved in workflows when leveraging Apple Configurator for en masse device management. Good stuff!
krypted July 14th, 2016
The increase in the use and complexity of technological assets in the healthcare sector has been on the rise in the recent past. Healthcare practitioners have moved from recording data manually to keeping Electronic Health Records. This eases the accessibility and the availability of data to the health practitioners. Further, electronically stored data makes it possible for patients to receive high quality and error-free care, improve decision making process because medical history is available and also makes it possible to provide safer and more reliable information for medication. Despite, the numerous advantages that the use of technology in healthcare has, there is also a threat of patients data leakage that lingers around. According to a research by Garrison and Posey (2012), medical identity theft has far more consequences in comparison to the typical identity theft. In average, every medical theft case can cost $20,000, and represents a substantial privacy violation. For this reason and more, it is important for healthcare institutions to protect patient data by securing technological assets within the institution. This article will explore the different methods used to secure the technological assets, with an emphasis on mobile devices.
The first method is limiting access to the electronic health records to only a few individuals. According to Gajanayake et al.(2014) suggests that there are different models of limiting access to the records. The first step is to ask for authentication, this will prompt them to verify their identity. This could be achieved by giving the authorized individuals unique passwords for identification and also by performing biometric scans of the individuals. This step will eliminate the possibility of unauthorized access to the technological access. The second step is to limit the type of information that one is supposed to access. This could be made possible using certain access models. Examples of models that have been proposed include Discretionary Access Control (DAC),Mandatory Access Control (MAC) and Role Based Access Control (RBAC). The DAC restricts access to certain commands such as’ write’, ‘read’ and ‘execute.MAC controls access by assigning information different levels of security levels. RBAC is based on the rights and permission that depend on the roles of an individual. These models normally apply to the security of electronic data. Other assets such as the hardware could be protected physically by limiting authorization to their storage rooms and also limit the location in which they are expected to be used at. Limiting access ensures that those that are not authorized to access the information are locked out of the database.Hence, this is an important strategy in protecting patients’ data.
The second method is through carrying out regular audits on the electronic system and the individuals handling the technological assets. Audit controls record and examine the activities that involve access and use of the patients’ data. This can be integrated into the Electronic Health Record (EHR) system or used to monitor the physical movements of the individuals that have access to the records. In addition, HIPAA requires that all health institutions that use the EHR system should run audit trails and have the necessary documentation of the same (Hoofman & Podgurski,2007). Some of the information collected during audits includes the listing of the content, duration and the user. This can be recorded in form of audit logs which makes it easy to identify any inconsistencies in the system (Dekker &Etalle ,2007). Further, monitoring of the area where the hardware have been placed for used should be done. This can achieve by use of recorded video, which monitors the activities of individuals who use the system. This can also be audited regularly and any inconsistencies noted (Ozair et al., 2005) Carrying out audits of the technology assets of the healthcare institution will help to monitor the daily use of the system which will enable the identification of any abnormal activities that may endanger patients’ data.
The third method is the setting up of policies and standards that safeguard the patients’ data. These policies may vary from one institution to another. For instance, the employees should be prohibited against sharing their passwords and ID and they should always log out their accounts after accessing the system. The authorized individuals would also be properly trained about these so that they are aware of their importance. In addition, these policies should be accompanied by consequences which will impact the users. This will ensure that they follow the policies to the letter. The set of policies and standards are to ensure uniformity in the protection of patients’ data (Ozair et al., 2005).
The fourth method that could be implemented to protect patients’ information is through the application of various security measures to the software and the hardware. The software can be protected through encryption of data, using firewalls and antivirus software’s to prevent hackers from accessing the data. Intrusion detection software can also be integrated into the system. These measures will protect the data from individuals who intend on hacking into the system online and accessing information for malicious purposes. The hardware could be protected by placing security guards at different stations where patients’ data is stored so that he ensures that no unauthorized person gets access to the area or no one tampers with the system or steals it. This step will ensure that the hardware is kept safe from intruders and people with malicious intent.
Protecting patient data starts with the software systems that house the data. The databases that warehouse patient data must be limited to only those who need access and access to each record must be logged and routinely audited at a minimum. Data should only reside where necessary. This means that data should not be stored on devices, at rest. For Apple devices, device management tools such as the Casper Suite from JAMF Software both help to keep end users from moving data out of the software that provides access patient data, and in the case of inadvertent leakage of data onto unprotected parts of devices, devices should be locked or wiped in case of the device falling outside the control of a care giver. Finally, the integrity of devices must be maintained, so jailbroken devices should not be used, and devices and software on devices should always be kept up-to-date, and strong security policies should be enforced, including automatic lock of unattended devices and strong password or pin code policies applied.
In summary, the protection of patients’ data in this technological era should be given a priority. In consideration of the frequency and losses that are experienced due to leakage or loss of private patients’ information, more should be invested in maintaining privacy and confidentiality of data. This can be achieved through controlling access to the electronic data and the gadgets that hold it, carrying out regular audits on the access of the system, creating policies and procedures that ensure that data is secures and finally through, putting in security measures that guard against loss and leakage of the information. All these measures will aid in alleviating the risk of patients’ data and maintaining their privacy and confidentiality which is the main agenda.
Dekker, M. A. C., & Etalle, S. (2007). Audit-based access control for electronic health records.Electronic Notes in Theoretical Computer Science,168, 221-236.
Hoffman, S., & Podgurski, A. (2007). Securing the HIPAA security rule. Journal of Internet Law, Spring, 06-26.
Garrison, C. P., & Guy Posey, O. (2012). MEDICAL IDENTITY THEFT: CONSEQUENCES, FREQUENCY, AND THE IMPLICATION OF ELECTRONIC HEALTH RECORDS AND DATA BREACHES. International Journal of Social Health Information Management, 5(11).
Gajanayake, R., Iannella, R., & Sahama, T. (2014). Privacy oriented access control for electronic health records. electronic Journal of Health Informatics, 8(2), 15.
Ozair, F. F., Jamshed, N., Sharma, A., & Aggarwal, P. (2015). Ethical issues in electronic health records: A general overview. Perspectives in clinical research, 6(2), 73.
krypted June 29th, 2016
An hour into my first Reddit AMA with some super-excellent JAMFs!
krypted June 24th, 2016
Last week, I gave a presentation on criteria for evaluating partners, managing revenue streams and partner channel programs. The presentation, given on May 4th, is available below.
The file is ACES_Partners
krypted May 12th, 2016
Apple Configurator 2 is a great tool. But you need to debug things from time to time. This might mean that a profile is misconfigured and not installing, or that a device can’t perform a task you are sending it to be performed. This is about the time that you need to enable some debug logs. To do so, quit Apple Configurator and then write a string of ALL into the ACULogLevel key in ~/Library/Containers/com.apple.configurator.ui/Data/Library/Preferences/com.apple.configurator.ui.plist:
defaults write ~/Library/Containers/com.apple.configurator.ui/Data/Library/Preferences/com.apple.configurator.ui.plist ACULogLevel -string ALL
To disable, quit Apple Configurator and then delete that ACULogLevel key:
defaults delete ~/Library/Containers/com.apple.configurator.ui/Data/Library/Preferences/com.apple.configurator.ui.plist ACULogLevel
krypted April 19th, 2016
The Caching Server in OS X is a little bit of a black box. But, it’s not all that complicated, compared to some things in the IT world. I’d previously written about command line management of the service itself here. When you enable the caching service, the server registers itself as a valid Caching Server. Nearby devices then lookup the closest update server with Apple and register with that update server using a GUID:
/Applications/Server.app/Contents/ServerRoot/usr/sbin/serveradmin settings caching:ServerGUID
Then, each time the device looks for an update, it does so against http://mesu.apple.com/assets/com_apple_MobileAsset_SoftwareUpdate/com_apple_MobileAsset_SoftwareUpdate.xml using the device model. Noticed this with this line in my proxy logs:
"GET http://mesu.apple.com/assets/com_apple_MobileAsset_SoftwareUpdate/com_apple_MobileAsset_SoftwareUpdate.xml HTTP/1.1" 200 - "-" "MobileAsset/1.0"
Let’s say that the device is an iPad 2,7, then the following information is used for the update, with a URL of http://appldnld.apple.com/iOS9.3.1/031-56322-20160331-F8B29F9E-F68D-11E5-AF11-0744ED25FABD/com_apple_MobileAsset_SoftwareUpdate/1c02ea51b4d2d50b04526c4ec29780b8e02dfe76.zip, which is created using the _BaseURL string followed by the _RelativePath string:
You can then use these dictionaries to assemble this path for all items in the dictionary with “iPad 2,7” in the SupportedDevices key. You can also choose to assemble this path for all items with the OSVersion of a given string, such as 9.3.1 in this case. You could curl these updates down to a client, or request them through the caching service, which would cache them to the Caching Server, using the IP of the server (e.g. 10.1.1.2) http://10.1.1.2:55491/iOS9.3.1/031-56322-20160331-F8B29F9E-F68D-11E5-AF11-0744ED25FABD/1c02ea51b4d2d50b04526c4ec29780b8e02dfe76.zip?source=appldnld.apple.com
Found the above URL using a reverse proxy. This URL is generated based on an http request to the IP address of the caching service, followed by the port. The port is derived using the serveradmin command and query the settings for caching:Port as follows:
/Applications/Server.app/Contents/ServerRoot/usr/sbin/serveradmin settings caching:Port
In this example, the URL is then
But the URL then splits the _BaseURL into two parts, taking appldnld.apple.com from the URL and appending ?source=appldnld.apple.com. So without the update, the URL would be the following:
OK, so now we’ll pop the other part of that _BaseURL in there:
And then there’s one more step, which is throw the zip in there:
Viola. Curl that and the caching server will download that update and make it ready for clients to access. Everything is hashed and secure in the directory listed using this command:
/Applications/Server.app/Contents/ServerRoot/usr/sbin/serveradmin settings caching:DataPath
krypted April 18th, 2016
Below is a listing of all the profile payloads that you see listed when using the Profile Manager web interface as well as their corresponding keys in the mobileconfig files. You can use these to generate profile keys programmatically:
Automatically Remove Profile: PayloadRemovalDisallowed
Payload scope: User or computer
User Display Name:
Email address: EmailAddress
User Name: FullName
User Enters Password: AuthMethod
Prompt Message: PromptMessage
Restrict Items in System Preferences: familyControlsEnabled
Allow array: EnabledPreferencePanes with each identified in a string for its domain:
Allow use of Game Center: GKFeatureGameCenterAllowed
Allow multiplayer gaming: GKFeatureMultiplayerGamingAllowed
Allow adding Game Center friends: GKFeatureAddingGameCenterFriendsAllowed
Allow Game Center account modification: GKFeatureAccountModificationAllowed
Allow App Store app adoption: restrict-store-disable-app-adoption
Allow Safari AutoFill: safariAllowAutoFill
Require admin password to install or update apps: restrict-store-require-admin-to-install
Restrict App Store to MDM installed apps and software updates: SHKAllowedShareServices
Restrict which apps are allowed to launch
Allow Apps: whiteListEnabled
Paths to apps: whitelist array
Allow Folders: pathWhiteList
Disallow Folders: pathBlackList
Dashboard Widget Restrictions payload:
Array of enabled objects: whitelist
Media tab: Edit Mount-Controls in Restrictions payload
Internal Disks: harddisk-internal
External Disks: harddisk-external
Disk Images: disk-image
CDs & CD-ROMs: blankcd
Eject at Logout: logout-eject
Edit the SHKAllowedShareServices array of services. Simply remove service to edit the array.
Lock Desktop Picture: locked
Path to picture: override-picture-path
Allow use of camera:
Allow iCloud Documents & Data: allowCloudDocumentSync
Allow use of iCloud Password for Local Accounts: DisableUsingiCloudPassword
Allow Spotlight Suggestions: allowSpotlightInternetResults
Messages (for Jabber, not AIM)
Account Description: JabberAccountDescription
Account Type: Sets com.apple.jabber.account payload
Account Name: JabberUserName
Server Address: JabberHostName
Server Port: JabberPort
Use SSL: JabberUseSSL
Use Kerberos v5: JabberAuthKerberos
AD Certificate (alacarte.adcert)
Certificate Server: CertServer
Certificate Authority: CertificateAuthority
Certificate Template: CertTemplate
Certificate Expiration Notification Threshold: CertificateRenewalTimeInterval
Prompt for credentials: PromptForCredentials
Allow access to all apps: AllowAllAppsAccess
Allow export from keychain: KeyIsExtractable
Hidden setting: CertificateAcquisitionMechanism (set to RPC)
Apps: AutoLaunchedApplicationDictionary-managed, AutoLaunchedApplicationDictionary-managed
Authenticated Network Mounts: MCX-NetworkHomeDirectoryItem
Add network home share point: AuthenticateAsLoginUserShortName
User may press Shift to keep items from opening: DisableLoginItemsSuppression
Account Creation tab
Create mobile account when user logs in to network account: com.apple.cachedaccounts.CreatePHDAtLogin
Require confirmation before creating mobile account: cachedaccounts.WarnOnCreate.allowNever
Show “Don’t ask me again” checkbox: com.apple.cachedaccounts.WarnOnCreate
Create home using: userPicksExternalVolume
Encrypt contents with FileVault: cachedaccounts.create.encrypt (cachedaccounts.create.encrypt.requireMasterPassword requires a master password)
Restrict size: cachedaccounts.create.maxSize
Fixed size: cachedaccounts.create.maxSize.fixedSize
Home folder location:cachedaccounts.create.location
Account Expiry tab
Delete mobile accounts: cachedaccounts.expiry.delete.disusedSeconds
Delete only after successful sync: cachedaccounts.expiry.cond.successfulSync
Preferences Sync subtab
Sync at login: syncPreferencesAtLogin
Sync at logout: syncPreferencesAtLogout
Sync in background: syncPreferencesInBackground
Sync manually: syncPreferencesAtSyncNow
Sync Folders: syncedPrefFolders-managed
Skip Items: excludedPrefItems-managed
Merge with user’s settings: replaceUserPrefSyncList
Home Sync sub tab: Mobility: Home Sync (com.apple.homesync)
Sync at login: syncBackgroundSetAtLogin
Sync at logout: syncBackgroundSetAtLogout
Sync in background: periodicSyncOn
Sync manually: syncBackgroundSetAtSyncNow
Sync Folders: replaceUserSyncList
Skip Items: excludedItems-managed
Merge with user’s settings: replaceUserSyncList
Options sub tab
Sync in the background: syncPreferencesInBackground
Sync time: syncPeriodSeconds
Show status in menu bar:HomeSync.menu
Dock Size: tilesize (followed by an integer)
Minimize using: mineffect
Animate opening apps: launchanim
Automatically hide and show the Dock: autohide
Show indicator lights for open apps: show-process-indicators
Dock Apps: static-apps
Merge with User’s Dock:
Add other folders:MCXDockSpecialFolders
My Apps: AddDockMCXMyApplicationsFolder
Network Home: AddDockMCXOriginalNetworkHomeFolder
Printer List: UserPrinterList, each has the following:
DeviceURI: Path of the printer
DisplayName: Name of printer
Location: Location in printer description
Model: Model of printer
PrinterLocked: Whether the printer is uninstallable
PPDURL: Path to the Printer driver file
Default Printer: DefaultPrinter
Allow user to modify printer list
Allow printers that connect directly to user’s computer
Require an administrator password: RequireAdminToAddPrinters
Only show managed printers: ShowOnlyManagedPrinters
Print page footer (user name and date): PrintFooter
Include MAC address: PrintMACAddress
Font Name: FooterFontName
Font Size: FooterFontSize
Content Filtering: useContentFilter
Disable use of Dictation
Hide profanity in Dictionary and Dictation
Trying to limit access to adult websites
Allowing access to the following websites only
Enable URL white list:
Allow URLs: filterWhitelist (each url is stored in an item in the array
Deny URLs: filterBlacklist
Enforce Allowances: allowancesActive, limits-list, allowancesActive
Weekday Allowances: com.apple.familycontrols.timelimits.computer, timeLimitSeconds
Weekend Allowances: com.apple.familycontrols.timelimits.computer, timeLimitSeconds
Enforce Limits: familyControlsEnabled
Sunday through Thursday: each day has an entry in the array
Sunday: start and end string, each listing a time
Monday: start and end string, each listing a time
Tuesday: start and end string, each listing a time
Wednesday: start and end string, each listing a time
Thursday: start and end string, each listing a time
Friday through Saturday
Friday : start and end string, each listing a time
Saturday: start and end string, each listing a time
Enable Zoom via ScrollWheel: closeViewScrollWheelToggle
Enable Zoom via Keyboard: closeViewHotkeysEnabled
Maximum Zoom: closeViewFarPoint
Minimum Zoom: closeViewNearPoint
Show preview rectangle when zoomed out: closeViewShowPreview
Smooth images: closeViewSmoothImages
Invert colors: whiteOnBlack
Use grayscale: grayscale
Enhance Contrast: contrast
Cursor size: mouseDriverCursorSize
Enable VoiceOver: voiceOverOnOffKey
Flash the screen when an alert occurs: flashScreen
Play stereo audio as mono: stereoAsMono
Enable Sticky Keys: stickyKey
Beep when a modifier key is set: stickyKeyBeepOnModifier
Display pressed keys on screen: stickyKeyShowWindow
Enable Slow Keys: slowKey
Use click key sounds: slowKeyBeepOn
Acceptance delay: slowKeyDelay
Enable Mouse Keys: mouseDriver
Initial delay: mouseDriverInitialDelay
Maximum speed: mouseDriverMaxSpeed
Ignore built-in trackpad: mouseDriverIgnoreTrackpad
Use Simple Finder: InterfaceLevel
Show Hard disks on the desktop: ShowHardDrivesOnDesktop
Show External disks on the desktop: ShowExternalHardDrivesOnDesktop
Show CDs, DVDs and iPods on the desktop: ShowRemovableMediaOnDesktop
Show Connected servers on the desktop: ShowMountedServersOnDesktop
Show warning before emptying the Trash: WarnOnEmptyTrash
Connect to Server: ProhibitConnectTo
Burn Disc: ProhibitBurn
Go to Folder: ProhibitGoToFolder
Shut Down: ShutDownDisabledWhileLoggedIn
Enable Web Proxy: HTTPEnable
Web Proxy URL: HTTPProxy
Web Proxy Port Number: HTTPPort
Enable Secure Web Proxy: HTTPSEnable
Secure Web Proxy URL: HTTPSProxy
Secure Web Proxy Port Number: HTTPSPort
Enable FTP Proxy: FTPEnable
Secure FTP Proxy URL: FTPProxy
Secure FTP Proxy Port Number: FTPPort
Enable SOCKS Proxy: SOCKSEnable
Secure SOCKS Proxy URL: SOCKSProxy
Secure SOCKS Proxy Port Number: SOCKSPortNumber
Enable Streaming Proxy (RTSP): RTSPEnable
Secure Streaming Proxy URL: RTSPProxy
Secure Streaming Proxy Port Number RTSPPort
Enable Gopher Proxy: GopherEable
Secure Gopher Proxy URL: GopherProxy
Secure Gopher Proxy Port Number: GopherPort
Exceptions: array called Exceptions
Use Passive FTP Mode (PASV): FTPPassive
Enable Automatic Configuration: ProxyAutoConfigEnabled
Automatic Proxy Configuration URL: ProxyAutoConfigURLString
krypted February 19th, 2016
Tags: MDM keys forMac
Previously, I covered how to Programmatically Obtain Recent Wi-Fi Networks On A Mac. But, here I’m gonna’ go a step further and look at how to extract the password for a network as well. The two are stored in different locations. The recent networks are in the /Library/Preferences/SystemConfiguration/com.apple.airport.preferences defaults domain. If you pull one of those, then you can use the security command to extract the password itself.
security find-generic-password -ga "Krypted Home"
The output is as follows, showing everything that is tracked about this network in the keychain.
0x00000007 <blob>="Krypted Home"
"desc"<blob>="AirPort network password"
You can constrain the output with awk and grep so that you’d only see the password as the output of the command. Then, you can feed it back into other objects, like a new .mobileconfig.
krypted December 11th, 2015
Enrolling iPads and iPhones into JAMF’s Casper suite can be done through Apple Configurator 2, text messages, email invitations, Apple’s Device Enrollment Program (DEP), or using links deployed to iOS devices as web clips. When doing larger deployments the enrollment process can be automated so that devices are automatically enrolled into Casper when set up using an Enrollment Profile that is manually downloaded from Casper and deployed to device. Additionally, a certificate can be needed if the certificate is not included in the profile, an option available as a checkbox in the setup. While you hopefully won’t need to download the certificate, we’ll cover that as well:
Download the Enrollment Profile
To download an enrollment profile from Casper MDM:
Add the Profile To Apple Configurator:
To deploy the profile through Apple Configurator:
If you then wish to unenroll, simply remove the profiles by tapping on profiles and then tapping on the Remove button. Per the MDM API, a user can elect to remove their device from management at any point unless the device is supervised (and then it’s harder but still possible to remove the device from management), so expect this will happen occasionally, even if only by accident.
krypted December 10th, 2015