def rule(event):
    if any(
        [
            all(
                [
                    "\\AppData\\Roaming\\Oracle\\bin\\java"
                    in event.deep_get("TargetFilename", default=""),
                    ".exe" in event.deep_get("TargetFilename", default=""),
                ]
            ),
            all(
                [
                    "\\Retrive" in event.deep_get("TargetFilename", default=""),
                    ".vbs" in event.deep_get("TargetFilename", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
