def rule(event):
    if any(
        [
            all(
                [
                    event.deep_get("Image", default="").endswith("\\loader.exe"),
                    "--pid:" in event.deep_get("CommandLine", default=""),
                ]
            ),
            any(
                [
                    "IMPHASH=38D9E015591BBFD4929E0D0F47FA0055"
                    in event.deep_get("Hashes", default=""),
                    "IMPHASH=0E2216679CA6E1094D63322E3412D650"
                    in event.deep_get("Hashes", default=""),
                ]
            ),
            all(
                [
                    "--pid:" in event.deep_get("CommandLine", default=""),
                    "--outfile:" in event.deep_get("CommandLine", default=""),
                    any(
                        [
                            ".dmp" in event.deep_get("CommandLine", default=""),
                            "lsass" in event.deep_get("CommandLine", default=""),
                            ".obf" in event.deep_get("CommandLine", default=""),
                            "dump" in event.deep_get("CommandLine", default=""),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
