Arson CTF
It’s all started when i executed the script that my friend sent to me can you retrieve the flag that was stolen?
After downloading the .pcap file , look for the GET requests
I discovered a suspicious PowerShell script host.ps1 being downloaded
- AES encryption was used
look for the POST request of the packet that sent to the attacker
Decrypt the value to get the flag
Get ahmed alaa’s stories in your inbox
Join Medium for free to get updates from this writer.
To do this i reused the decrypt function found in attacker PowerShell script.
create decrypt.ps1 file
Steps to run the file :
→ Open PowerShell as Administrator
→ Go to the file path
→ if error occur run→ Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
→ run the script → .\decrypt.ps1









