Week 4 ‐ Staging and Exfiltration (Task 3) - sophialevasseur/SEC-335 GitHub Wiki

Main Doc😱


🌲Task 3: Archive Decompression and Verification🌲

🌹0.5. Complete the downloads from the pre-req🌹

  • sudo apt install p7zip-full -y
  • sudo apt install cabextract -y

🌹1. Decompress each archive on your Kali/C2 server🌹

  • First we are going to create the destination folders:
    • mkdir -p ~/Desktop/tar_output ~/Desktop/7z_output ~/Desktop/pscompress_output ~/Desktop/cab_output
  • We will then decompress archives on our Kali machine:
    • cd ~/tmp
    • unzip enum_out_7z.zip -d ~/Desktop/7z_output/
    • unzip enum_output_pscompress.zip -d ~/Desktop/pscompress_output/
    • cabextract enum_output.cab -d ~/Desktop/cab_output/
    • tar -xzvf enum_out.tar.gz -C ~/Desktop/tar_output/




🌹2. Create a video showing🌹

  • Each decompression command running
  • The extracted files
  • One file from each archive opened and readable