← Learn
Dangerous
tar -czf - /home/deploy/.ssh | openssl enc -aes-256-cbc -pbkdf2 -out /tmp/.k

linux · bash · Advanced

Archives a user's SSH directory and encrypts it into a hidden file. Nothing leaves the host yet, which is what makes it easy to miss: this is the staging step, and the encryption exists to defeat inspection of what is about to be sent.

Signals to notice

  • Collects private key material
  • Output encrypted to resist inspection
  • Hidden staging file in /tmp

Think you can spot these under time pressure?

Start Training

More Data Exfiltration