Post-exploitation and Lateral Movement

In an authorized test, 4 GB of text documents must leave through a 1 GB cap. Responders may recover the staged file from the host, and only the tester may be able to read it. Which preparation meets all of this?

Show the answer

Correct answerC. Compress, then encrypt with the tester's public key, keeping the private key offsite

AWhy not this: The key sits next to the archive, so anyone who recovers the staged file also recovers the means to decrypt it.

BWhy not this: Ciphertext is high-entropy and barely compresses, so the 4 GB would not fit the 1 GB cap, even though the offsite key keeps it unreadable.

CWhy this is right: Compression shrinks the text first, and only the offsite private key can decrypt, so a recovered file stays unreadable.

DWhy not this: A key derived from host details can be rebuilt by responders, so it does not restrict reading to the tester.

Compressing first keeps the data under the cap, and encrypting with the tester's public key means the host never holds anything that can decrypt it. A symmetric key left on or derived from the host can be recovered by responders.