Attention!

The main subjects of a forum are available after registration
Official domains: WT1.PW
Support: Jabber: wt1@wt1.pw | ICQ: 711131965 (English/Russian)


  1. Offline

    WT1

    Administrator

    331

    287

    196

    4
    Please login or register to view links

    A severe programming bug has been found in APFS file system for macOS High Sierra operating system that exposes passwords of encrypted external drives in plain text.

    Introduced two years ago, APFS ( Apple Fily System ) is an optimized file system for flash and SSD-based storage solutions running MacOS, iOS, tvOS or WatchOS, and promises strong encryption and better performance.


    Discovered by forensic analyst Sarah Edwards, the bug leaves encryption password for a newly created APFS volume (e.g., encrypting USB drive using Disk Utility) in the unified logs in plaintext, as well as while encrypting previously created but unencrypted volumes.

    "Why is this a big deal? Well, passwords stored in plaintext can be discovered by anyone with unauthorized access to your machine, and malware can collect log files as well and send them off to someone with malicious intent," Edwards said.

    Please login or register to view links

    The password for an encrypted APFS volume can easily be retrieved by running following simple 'newfs_apfs' command in the terminal:
    log stream --info --predicate 'eventMessage contains "newfs_"'However, this bug is not as stupid as the previously disclosed root password bug wherein the password hint section was exposing the actual password in the plain text.

    Though the exact reason of the programming error is not clear, the researcher believes "it was likely a result of other APFS encryption related bugs (or at least somehow related to it), so perhaps Apple felt it didn't need to provide the additional details."


    It should be noted that you would not find the password in the plaintext when converting a non-APFS drive to APFS and then encrypting the drive.

    Edwards tested and found the bug affects only macOS 10.13 and 10.13.1, while later versions of macOS High Sierra (including the latest one) have somehow reportedly fixed this loophole.

    For more technical details of this bug, you can head on to the original blog post by Edwards.

    This issue is the third APFS bug in past six months affecting Apple's latest macOS High Sierra version.

    The operating system has seen a number of security issues since its release—from giving away root access to anyone without a password to revealing passwords in plaintext from the password hint feature.