rat-king-parser 4.2.0__tar.gz → 4.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rat_king_parser-4.2.0/src/rat_king_parser.egg-info → rat_king_parser-4.2.1}/PKG-INFO +3 -3
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/README.md +2 -2
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/_version.py +1 -1
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/extern/maco/rkp_maco.py +12 -7
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1/src/rat_king_parser.egg-info}/PKG-INFO +3 -3
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/LICENSE +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/pyproject.toml +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/setup.cfg +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/__init__.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/__init__.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/config_parser_exception.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/rat_config_parser.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/utils/__init__.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/utils/config_item.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/utils/config_normalization.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/utils/data_utils.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/utils/decryptors/__init__.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/utils/decryptors/config_decryptor.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/utils/decryptors/config_decryptor_aes_with_iv.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/utils/decryptors/config_decryptor_aes_with_iv_pbkdf.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/utils/decryptors/config_decryptor_decrypt_xor.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/utils/decryptors/config_decryptor_ecb.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/utils/decryptors/config_decryptor_plaintext.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/utils/decryptors/config_decryptor_random_hardcoded.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/utils/decryptors/config_decryptor_rijndael.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/utils/dotnet_constants.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/utils/dotnetpe_payload.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/extern/__init__.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/extern/maco/__init__.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/rkp.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/yara_utils/__init__.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/yara_utils/recompile.py +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/yara_utils/rules.yar +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/yara_utils/rules.yarc +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser.egg-info/SOURCES.txt +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser.egg-info/dependency_links.txt +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser.egg-info/entry_points.txt +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser.egg-info/requires.txt +0 -0
- {rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rat-king-parser
|
|
3
|
-
Version: 4.2.
|
|
3
|
+
Version: 4.2.1
|
|
4
4
|
Summary: A robust, multiprocessing-capable, multi-family RAT config parser/config extractor for AsyncRAT, DcRAT, VenomRAT, QuasarRAT, XWorm, Xeno RAT, and cloned/derivative RAT families.
|
|
5
5
|
Author-email: jeFF0Falltrades <8444166+jeFF0Falltrades@users.noreply.github.com>
|
|
6
6
|
Maintainer-email: jeFF0Falltrades <8444166+jeFF0Falltrades@users.noreply.github.com>
|
|
@@ -137,7 +137,7 @@ pip install "rat_king_parser[maco] @ git+https://github.com/jeFF0Falltrades/rat_
|
|
|
137
137
|
|
|
138
138
|
## Example Input/Output
|
|
139
139
|
|
|
140
|
-
|
|
140
|
+
### Not Preserving Obfuscated Keys
|
|
141
141
|
```bash
|
|
142
142
|
$ rat-king-parser -n dangerzone/* | jq
|
|
143
143
|
```
|
|
@@ -601,7 +601,7 @@ $ rat-king-parser -n dangerzone/* | jq
|
|
|
601
601
|
}
|
|
602
602
|
]
|
|
603
603
|
```
|
|
604
|
-
|
|
604
|
+
### Preserving Obfuscated Keys
|
|
605
605
|
```bash
|
|
606
606
|
$ rat-king-parser -np dangerzone/* | jq
|
|
607
607
|
```
|
|
@@ -99,7 +99,7 @@ pip install "rat_king_parser[maco] @ git+https://github.com/jeFF0Falltrades/rat_
|
|
|
99
99
|
|
|
100
100
|
## Example Input/Output
|
|
101
101
|
|
|
102
|
-
|
|
102
|
+
### Not Preserving Obfuscated Keys
|
|
103
103
|
```bash
|
|
104
104
|
$ rat-king-parser -n dangerzone/* | jq
|
|
105
105
|
```
|
|
@@ -563,7 +563,7 @@ $ rat-king-parser -n dangerzone/* | jq
|
|
|
563
563
|
}
|
|
564
564
|
]
|
|
565
565
|
```
|
|
566
|
-
|
|
566
|
+
### Preserving Obfuscated Keys
|
|
567
567
|
```bash
|
|
568
568
|
$ rat-king-parser -np dangerzone/* | jq
|
|
569
569
|
```
|
|
@@ -102,13 +102,18 @@ class RKPMACO(extractor.Extractor):
|
|
|
102
102
|
# Instead, these will show individually as "server_port"
|
|
103
103
|
# entries in the MACO config
|
|
104
104
|
case ConfigValueTypes.PORT:
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
105
|
+
if isinstance(v, int):
|
|
106
|
+
# Single port was extracted rather than a list
|
|
107
|
+
rkp_model.tcp.append(rkp_model.Connection(server_port=v))
|
|
108
|
+
else:
|
|
109
|
+
# Assume a list of ports was extracted
|
|
110
|
+
rkp_model.tcp.extend(
|
|
111
|
+
[
|
|
112
|
+
rkp_model.Connection(server_port=int(port))
|
|
113
|
+
for port in v
|
|
114
|
+
if str(port).isdigit()
|
|
115
|
+
]
|
|
116
|
+
)
|
|
112
117
|
case ConfigValueTypes.VERSION:
|
|
113
118
|
rkp_model.version = v
|
|
114
119
|
continue
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rat-king-parser
|
|
3
|
-
Version: 4.2.
|
|
3
|
+
Version: 4.2.1
|
|
4
4
|
Summary: A robust, multiprocessing-capable, multi-family RAT config parser/config extractor for AsyncRAT, DcRAT, VenomRAT, QuasarRAT, XWorm, Xeno RAT, and cloned/derivative RAT families.
|
|
5
5
|
Author-email: jeFF0Falltrades <8444166+jeFF0Falltrades@users.noreply.github.com>
|
|
6
6
|
Maintainer-email: jeFF0Falltrades <8444166+jeFF0Falltrades@users.noreply.github.com>
|
|
@@ -137,7 +137,7 @@ pip install "rat_king_parser[maco] @ git+https://github.com/jeFF0Falltrades/rat_
|
|
|
137
137
|
|
|
138
138
|
## Example Input/Output
|
|
139
139
|
|
|
140
|
-
|
|
140
|
+
### Not Preserving Obfuscated Keys
|
|
141
141
|
```bash
|
|
142
142
|
$ rat-king-parser -n dangerzone/* | jq
|
|
143
143
|
```
|
|
@@ -601,7 +601,7 @@ $ rat-king-parser -n dangerzone/* | jq
|
|
|
601
601
|
}
|
|
602
602
|
]
|
|
603
603
|
```
|
|
604
|
-
|
|
604
|
+
### Preserving Obfuscated Keys
|
|
605
605
|
```bash
|
|
606
606
|
$ rat-king-parser -np dangerzone/* | jq
|
|
607
607
|
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser/config_parser/utils/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{rat_king_parser-4.2.0 → rat_king_parser-4.2.1}/src/rat_king_parser.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|