I was getting set up with TurboTax 2026 and had to copy last year’s .tax2025 file over so it could carry forward. I’ve always wondered what’s actually in a TurboTax file, and I’d poked at it before without getting anywhere — whatever they do to keep it encrypted, or at least non-obvious and non-extractable, had always prevented me from learning more. This time I decided to actually see it through, so I copied the file aside as delme.tax2025 and started digging.

It’s worth noting how I got to this point, because it was a little bit of “LLM drama.” I started with my standard daily driver, gpt-6.2-sol, which has generally never stopped me from researching something or making progress on it — but this time it just outright refused. I keep a Claude subscription on the side, so I tried opus-5.5. It refused too, and offered to downgrade me to opus-4.8. I didn’t really have a choice, so I accepted, and it was willing to work on the problem with me, and resulted in success!

The whole episode has me paying more attention to uncensored and abliterated models. Right now I think moonshotai/kimi-k3.1-pro-uncensored is the way forward, pointing to a router in OpenCode. anyway…

I wanted to know how much of the file I could read outside of TurboTax. It turned into a longer afternoon than I expected. The container was trivial. Getting the keys took the rest of the day, and most of the work was in the obstacles rather than the crypto.

I ended up with three files I could parse offline:

  • an XML index,
  • the return itself in some format they call “TaxML” (read more here), and
  • JSON for the state of the app.

I’ll keep the actual keys and the return contents out of this; the per-file key unlocks a real return, so it stayed on the machine.

What unzip gave me #

I started with these two commands (substitute your own filename).

file return.tax2025
unzip -l return.tax2025

file called it a ZIP archive. unzip listed three entries: manifest.xml and two files whose names are GUIDs. They used ordinary ZIP deflate compression and there was no ZIP password, so extracting them was nothing. Even so, the thing called manifest.xml came out as binary.

Entry Size Role
manifest.xml 848 B the index
1EBE8178-… (GUID) ~2.3 MB the tax return (TaxML)
D92C4D79-… (GUID) 864 B TurboTax “experience” state (JSON)

I tried gzip and zlib in case TurboTax had compressed the payloads before putting them in the ZIP. Neither could read them. All three had close to 8 bits per byte of entropy, their lengths were multiples of 16, and I couldn’t find a repeated 16-byte block in any of them. That’s the signature of a block cipher in a chaining mode with padding, so I went looking for AES in the app. The mode I eventually confirmed was AES-256-CBC with PKCS#7.

So the container was the easy part. The real question was how the entries were encrypted and with what key.

Finding the manifest key #

I pulled apart the Mac app’s binary. It’s an x86_64 Mach-O that still has its Objective-C symbols, which made the file-format layer easy to follow. There’s a PersistenceContainer class with methods like getManifestXMLFromUnzippedFile:, decryptData:key:vi:, and determineDocEncryptionType, a Manifest and a SecurityData class for the XML, and crypto wrappers over both CryptoPP and Apple’s CommonCrypto.

The app reads manifest.xml first. In the build I looked at, the code that reads it calls decryptData:key:vi: with a key and IV that are built into the binary, chosen by a current-year-versus-prior-year branch. I followed the string constants to their bytes, got a 32-byte key and a 16-byte IV, and decrypted the extracted manifest.xml with OpenSSL. It parsed as XML.

The manifest maps each document’s entityKey to the GUID used as its filename, and an entityType says what each one is. The big entry is the return in TaxML; the small one is the experience data. The identity fields were empty and there was no SecurityData element, so this file wasn’t password-protected or bound to a recorded account identity.

Then I tried that same key and IV on the two document entries and got garbage. The manifest key is hardcoded and universal for this app version, but the documents are encrypted with something else.

Finding the document key #

determineDocEncryptionType picks among three schemes: an account (Intuit) key, a password-derived key, or a default. My manifest had empty identity fields and no password metadata, which pointed at the default path, where the key is handed in from a higher layer rather than stored in the file. The one promising local item was an Intuit login session in the Keychain, which made me wonder whether the app had to call Intuit for the document key.

So I turned off networking and opened the return without signing in. It came right up. That killed the “server-held key” theory: the app already had everything it needed to open this return on this machine, with no password and no network. I still don’t know how the document key first got onto the machine, but it’s local once it’s there.

Since the key only exists at runtime, the reliable move was to let the app decrypt the file and watch the key go by in memory. That meant getting a debuggable copy of a hardened app, and that’s where the afternoon went:

  • lldb can’t attach to the stock app — hardened runtime, no get-task-allow, SIP on.
  • DYLD_INSERT_LIBRARIES is silently stripped by the hardened runtime under Rosetta, even though the app carries the entitlement that’s supposed to allow it. I confirmed this by seeing zero library lines with DYLD_PRINT_LIBRARIES=1.
  • arch -x86_64 strips DYLD_* too. The app is x86_64-only, so it needs Rosetta, but the arch wrapper sanitizes the environment. Direct-exec’ing the binary lets the kernel invoke Rosetta without that.
  • nohup also dropped the injection in practice.
  • dyld refuses inserts when any path component is world-writable, which rules out the usual /private/tmp scratch location.
  • An injected dylib has to be universal (both architectures), because the app spawns arm64 helper children that inherit the variable and abort on an arch mismatch.

The thing that actually worked was to re-sign a copy of the app without the hardened runtime, keeping its entitlements:

codesign --force --deep --sign - --entitlements <orig-entitlements> ~/TT2025dbg.app

Now it signs ad-hoc, and both lldb and injection work. Two more snags along the way: the app forces a program update every launch when its binary is behind the server, which kept relaunching the process and dropping my instrumentation (fix: update the genuine app first, then re-copy and re-sign), and killing lldb abruptly leaves the target wedged in a traced-stop state (fix: detach cleanly).

The crypto wasn’t where I first looked #

With the copy running under lldb, I started on the CryptoPP and Objective-C crypto I’d found in the binary. I saw small decrypts during startup — licensing and config, a few hundred bytes each — and then nothing there when I actually opened the return. The tax-container decryption just wasn’t going through the path I’d instrumented. There’s a WebCrypto master key in the Keychain, so for a while I thought the real work was happening in the WebKit/JavaScript layer, out of reach of a native hook.

The cheap, decisive test was to breakpoint Apple’s CommonCrypto instead. CCCrypt and the CCCryptorCreate functions are exported symbols, so lldb resolves them reliably, and they’re the common choke point for native AES no matter who calls them. I re-attached with breakpoints on those, dumping the operation, key, IV, and input length, and reopened the file.

Three decrypts fired on open. The first used the hardcoded manifest key I’d already found, and its length matched manifest.xml. The other two shared one key and IV — the document key — and their sizes lined up with the two document entries. (The big TaxML decrypt ran against a larger in-memory working buffer than the on-disk entry, but the same key and IV decrypt the archived bytes fine.) I also saw the same two sets of key material when the app re-encrypted on save.

Checking the XML and JSON #

I took the captured document key and IV back to OpenSSL and ran them against the two encrypted entries I’d unzipped at the start. Both decrypted. The big one parsed all the way through as TaxML with a TaxReturns root and a USIndividualTaxReturn for tax year 2025 — the full return, thousands of detail rows.

The smaller one parsed as JSON. One field, ueData, held another JSON document encoded as a string, and inside it was the navigation and client state — where I’d left off in the interview, not tax data. So the archive holds the return and the bookkeeping TurboTax uses to drop you back where you were.

What the format actually is #

Short version:

  • A .tax2025 file is a plain ZIP of three AES-256-CBC (PKCS#7) blobs. At open, they’re decrypted natively through CommonCrypto’s CCCrypt.
  • manifest.xml uses a key hardcoded in the app, so the index decrypts fully offline with no app at all.
  • The two documents share a per-file key that isn’t in the file and isn’t hardcoded. It lives in the app’s local WebCrypto/Keychain store, which is why the machine that created the file opens it with no password and no sign-in. A different machine would re-fetch the key from Intuit using the cached login session, so the content is effectively bound to the machine or account that made it.

That split is the whole reason static reversing got me the manifest but not the return: the manifest key is sitting in the binary, and the document key only shows up at runtime.

Anyway, I’d wondered about this for years. Now I know!