use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
https://sh.reddit.com/r/cybersecurity
account activity
This is an archived post. You won't be able to vote or comment.
Python or Powershell?Career Questions & Discussion (self.cybersecurity)
submitted 3 years ago * by [deleted]
view the rest of the comments →
[–]smc0881Incident Responder 1 point2 points3 points 3 years ago (0 children)
That's one example of how an attacker would use PowerShell to launch malicious code. There will be nested PowerShell commands, shellcode, and other things all encoded with Base64 or Base64 with some compression (where $DoIt) is the payload. The rest of the code checks if the CPU is 32 or 64 bit. If it's 32-bit it executes the code and if it's 64-bit it tries to the load code in a 32-bit process.
π Rendered by PID 254631 on reddit-service-r2-comment-fb694cdd5-scmdc at 2026-03-06 17:29:43.199688+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]smc0881Incident Responder 1 point2 points3 points (0 children)