vigneshrajan94 19dd80b10e Add PowerShell deobfuscation operations (addresses #2396)
Implements five new operations under the 'Code tidy' category to
deobfuscate common PowerShell obfuscation techniques:

- PowerShell Format String Deobfuscate: resolves (-f) format operator
  expressions such as ("{0}{2}{1}" -f 'new-ob','t','jec') -> new-object
- PowerShell Decode EncodedCommand: decodes -enc / -e / -ec Base64
  UTF-16LE payloads, accepting raw tokens or full command lines
- PowerShell Backtick Remove: strips obfuscating backticks with an opt-in
  'Preserve escape sequences' mode for legitimate PS escapes
- PowerShell Concatenation Join: iteratively joins 'frag'+'ment' string
  literals, handling mixed quote types and arbitrary chain lengths
- PowerShell Char Decode: decodes [char]N and [char[]](N,N,...) casts
  supporting both decimal and 0x hex values

Each operation includes auto-detection checks for the Magic operation,
comprehensive unit tests, and OSINT-validated test cases sourced from
Emotet, AMSI bypass, and Invoke-Obfuscation real-world samples.
2026-05-27 16:30:53 +05:30
..
2021-09-17 08:48:04 +02:00
2021-09-17 08:48:04 +02:00
2025-02-28 16:52:15 +00:00
2022-03-28 16:15:37 +01:00
2022-11-25 22:40:40 +08:00
2023-04-12 10:37:16 +05:30
2019-11-14 08:55:27 +00:00
2022-07-08 15:36:30 +01:00
2021-03-26 14:07:02 +00:00
2021-03-26 14:07:02 +00:00
2023-07-30 17:02:36 +02:00
2025-02-21 20:40:37 -06:00
2022-11-25 15:13:54 +00:00
2026-01-29 13:40:34 +00:00
2025-02-17 17:35:22 +01:00
2019-10-21 20:59:04 +01:00
2022-06-09 10:02:38 +01:00
2024-04-01 22:30:18 -04:00
2026-04-27 12:35:10 +01:00
2024-02-12 16:52:43 +00:00
2022-03-28 16:52:59 +02:00
2019-12-17 12:30:32 +00:00
2019-12-17 12:28:09 +00:00
2023-07-14 18:37:02 +01:00
2021-08-10 16:48:35 +01:00
2023-03-23 18:21:43 +00:00
2022-04-04 17:40:58 +01:00
2021-08-10 16:48:35 +01:00
2025-03-10 20:55:35 +01:00
2024-04-13 13:30:46 +02:00
2021-02-09 14:23:02 +00:00
2020-02-14 13:43:30 +00:00
2025-02-15 22:20:42 -05:00
2022-10-15 00:13:39 +01:00
2025-01-23 11:46:01 +00:00
2022-05-30 18:06:15 +01:00
2022-05-30 18:06:15 +01:00
2022-06-03 22:57:49 +01:00
2022-04-04 17:40:58 +01:00
2023-04-06 20:32:50 +00:00
2022-07-21 16:36:15 +02:00
2024-04-13 12:38:14 +02:00
2022-11-25 16:48:54 +00:00
2024-03-26 14:38:27 +00:00
2023-04-12 15:09:07 +05:30
2022-04-04 17:40:58 +01:00
2024-03-10 17:05:19 +01:00
2024-09-21 12:00:37 +02:00
2023-01-11 05:48:05 +09:00
2019-10-21 20:16:14 +01:00
2020-08-19 10:55:29 +01:00