diff --git a/analyzers/Yara/yara_analyzer.py b/analyzers/Yara/yara_analyzer.py index a630bc3c5..06b6bcdc1 100755 --- a/analyzers/Yara/yara_analyzer.py +++ b/analyzers/Yara/yara_analyzer.py @@ -255,7 +255,7 @@ def check(self, file_path): decoded_xor = is_xor_static_key(matched_text) decoded_strings.append({ - "offset": s[0], + "offset": s.offset, "matched": matched_text, "base64_decoded": decoded_b64 if decoded_b64 else "N/A", "hex_decoded": decoded_hex if decoded_hex else "N/A",