Re:PyPI: Python packets steal AWS keys from users
by ashishbijlani on Monday June 27, 2022 @10:42AM
(#31895240)
> a base 64 encrypted string that gets decrypted and then passed to a shell.
This is a very common malicious behavior. Packj detects obfuscation [1] as well as spawning of shell commands (exec system call) [2]. I've updated threats.csv to flag code obfuscation.
1. https://github.com/ossillate-inc/packj/blob/main/main.py#L48... 2. https://github.com/ossillate-inc/packj/blob/main/main.py#L48...
Altough, I guess in that case, the shell call itself is suspicious.
What if the shell call itself is obfuscated?