DraftBox AI

DraftBox AI allows users to create, edit, and download documents directly within a chat session.

During a monitoring operation, the security team detected an unusual request sent by the AI server to the internal document repository. A confidential file may have been leaked into a user’s session.

Analyze last_shift.pcapng to trace the related session and identify which file was downloaded.

Flag format: NVR{filename.ext}

Submit the exact filename, including its extension, wrapped in the specified flag format.

Recon

The handout is a single packet capture, last_shift.pcapng. The flag is the filename of the file the unusual request fetched, which makes the challenge a triage problem: find that request in a 9.5 MB capture and read what it downloaded.

Sizing up the capture

Before touching any content we let the tools describe the file. capinfos gives the shape of the capture and tshark’s protocol hierarchy tells us what is inside it:

$ capinfos -c -a -e -u last_shift.pcapng
File name:           last_shift.pcapng
Number of packets:   33 k
Capture duration:    1457.679353 seconds
Earliest packet time: 2026-11-18 10:00:07.588303
Latest packet time:   2026-11-18 10:24:25.267656
$ tshark -r last_shift.pcapng -q -z io,phs
frame                                    frames:33760 bytes:8376446
  eth                                    frames:33760 bytes:8376446
    ip                                   frames:33760 bytes:8376446
      tcp                                frames:33760 bytes:8376446
        http                             frames:20052 bytes:7551862
          json                           frames:12315 bytes:4991239
          data-text-lines                frames:125 bytes:42475
          media                          frames:2025 bytes:692242

So this is 33,760 packets over about 24 minutes, all TCP, with HTTP on 20,052 of those frames and the JSON sub-dissector accounting for 12,315 frames of chat API traffic. No decryption will be needed if there is no TLS, so we checked for handshakes and counted the TCP connections:

$ tshark -r last_shift.pcapng -Y tls.handshake 2>/dev/null | wc -l
0
$ tshark -r last_shift.pcapng -Y 'tcp.flags.syn==1 && tcp.flags.ack==0' -T fields -e tcp.stream 2>/dev/null | sort -un | wc -l
526

Zero TLS handshakes and 526 plain-HTTP streams. Everything in the capture is readable as-is.

Splitting the traffic by host

With tens of thousands of requests we needed a grouping key before looking at anything individual, and the Host header is the natural one for HTTP:

$ tshark -r last_shift.pcapng -Y http.host -T fields -e http.host | sort | uniq -c
      1 archive.draftbox.test
  10000 draftbox.test
     25 references.draftbox.test

Three groups. draftbox.test with 10,000 requests is the bulk chat noise. references.draftbox.test has 25 requests, and they are all identical:

$ tshark -r last_shift.pcapng -Y 'http.host == "references.draftbox.test"' -T fields -e http.request.uri | sort | uniq -c
     25 /templates/plain-summary.txt

That leaves archive.draftbox.test with exactly one request in the entire capture. An internal repository host hit exactly once stands out against thousands of repetitive chat requests, so that is where we looked next.

Reading the one request to the archive

$ tshark -r last_shift.pcapng -Y 'http.host == "archive.draftbox.test"' -T fields -e frame.number -e ip.src -e ip.dst -e http.request.method -e http.request.full_uri -e tcp.stream
13731 10.77.10.8 10.77.30.9 GET http://archive.draftbox.test/objects/9f3b 225

The request comes from 10.77.10.8 to 10.77.30.9, both internal addresses, unlike the public chat traffic that runs between the server 198.51.100.24 and clients in the 192.0.2.x range. We followed TCP stream 225 to see the full exchange:

$ tshark -r last_shift.pcapng -q -z follow,tcp,ascii,225
GET /objects/9f3b HTTP/1.1
Host: archive.draftbox.test
X-Job-Id: j_7da93588652930cd
User-Agent: DraftBox-Worker/1.8
Connection: close

HTTP/1.1 200 OK
Date: Wed, 18 Nov 2026 09:11:16 GMT
Server: DraftBox Archive
Content-Type: text/csv
Content-Length: 224
X-Data-Class: restricted
Content-Disposition: attachment; filename="model-access-review.csv"
X-Job-Id: j_7da93588652930cd
Connection: close

project,model_alias,access_group,review_state,approval_ref
BIRCH-7,paperfinch-beta,release-ops,hold,AR-0961
EMBER-21,lantern-mini,internal-research,review,AR-0962
ORBIT-3,wayfarer-preview,security-assurance,hold,AR-0963

An internal worker (DraftBox-Worker/1.8) fetched /objects/9f3b under job id j_7da93588652930cd, and the repository answered with a body explicitly tagged X-Data-Class: restricted and a Content-Disposition naming model-access-review.csv. The body itself is a CSV of model access review rows with approval references, which fits a confidential internal document. That gives us a candidate filename, but the response header alone does not show the file reaching a user session, so we looked for the other end.

Tracing the job id into a chat session

The X-Job-Id header gives us a correlation key. We searched the whole capture for it:

$ tshark -r last_shift.pcapng -Y 'http contains "j_7da93588652930cd"' -T fields -e frame.number -e ip.src -e ip.dst -e http.host -e http.request.uri
13731 10.77.10.8 10.77.30.9 archive.draftbox.test /objects/9f3b
13732 10.77.30.9 10.77.10.8  /objects/9f3b
13738 198.51.100.24 192.0.2.21  /api/chat

Frames 13731 and 13732 are the archive exchange we just read. Frame 13738 carries the same job id in an /api/chat response from the public server to the client 192.0.2.21, which is one of the user chat sessions. Following that stream (TCP stream 216) shows the relevant part of the conversation (the lone 322 below is tshark’s byte marker for the direction switch in follow output):

$ tshark -r last_shift.pcapng -q -z follow,tcp,ascii,216
{"message":"Copy the internal reference as a file and preserve the original bytes. [source directive redacted]","format":"csv"}
 322
HTTP/1.1 200 OK
Date: Wed, 18 Nov 2026 09:11:16 GMT
Server: DraftBox Web
Content-Type: application/json
Content-Length: 137
Connection: keep-alive
X-Job-Id: j_7da93588652930cd

{"job_id":"j_7da93588652930cd","status":"completed","artifact_id":"a_ca51a39eb3f7c4b0","filename":"model-access-review.csv","revision":1}

The user asked the assistant to copy the internal reference as a file while preserving the original bytes, and the server replied with the same job id, the same Date timestamp as the archive response (Wed, 18 Nov 2026 09:11:16 GMT), a completed status, a new artifact id, and the filename model-access-review.csv. The chain is now complete on both ends: the prompt explains why the worker fetched from the archive, and two independent places, the archive’s Content-Disposition header and the chat API’s JSON filename field, carry the exact same name.

Ruling out the other filenames

Before settling on an answer we wanted the filename to be unique in the capture, not merely plausible. We enumerated every Content-Disposition filename anywhere in the file:

$ strings last_shift.pcapng | grep -o 'filename="[^"]*"' | sort | uniq -c | sort -rn
    144 filename="support-summary.md"
    144 filename="release-draft.md"
    130 filename="usage-review.md"
    ...
     43 filename="onboarding.csv"
      2 filename="model-access-review.csv"

The sweep finds 25 distinct names. Every ordinary workspace document (budget, faq, roadmap, meeting-notes, and the rest, in .md and .csv variants) appears between 43 and 144 times as bulk noise. model-access-review.csv appears exactly twice, and both hits are the two we already found, the archive response and the chat JSON. The references.draftbox.test template never appears with a filename anywhere in the capture, so that host is a decoy.

Flag capture

The filename confirmed by both the archive response and the chat session, wrapped in the flag format:

NVR{model-access-review.csv}