HTB ImageStegano
Sherlock Scenario
We are certain that there is something malicious in this image, but we do not know what it is. So we need you to investigate it and see if you can find any evidence.
Connect to the VM with the credential provided using RDP.
From pwnbox use the command
xfreerdp /v:<ipaddress> /u:letsdefend /p:'' /cert:ignore /dynamic-resolution
File Location: C:\Users\LetsDefend\Desktop\ChallengeFile\Im493.zip
WSL Username: letsdefend
WSL Password: letsdefend
Q1
Who is the “Device Manufacturer” according to the metadata?
用机器里面 WSL 的 exiftool 去看

Hewlett-Packard
Q2
What is the CMM Type?

Linotronic
Q3
What is the tool that created the payload inside the image?

Invoke-PSImage
Q4
After decoding the payload, can you find out the function's name?
https://github.com/mertsarica/hack4career/blob/master/codes/psimage_decoder.py
用这个去解密一下

Invoke-Mimikatz
Q5
There are two hidden executables in the decoded payload. What is the sha256 hash of the 32-bit version of the executable?
这个 base64 编码的就是 32 位可执行程序,直接解了求 sha256

be3414602121b6d23fc06edb6bd01ad60b584485266120c242877bbd4f7c8059