def rule(event):
    if any(
        [
            all(
                [
                    "DumpCreds" in event.deep_get("ScriptBlockText", default=""),
                    "DumpCerts" in event.deep_get("ScriptBlockText", default=""),
                ]
            ),
            "sekurlsa::logonpasswords" in event.deep_get("ScriptBlockText", default=""),
            all(
                [
                    "crypto::certificates" in event.deep_get("ScriptBlockText", default=""),
                    "CERT_SYSTEM_STORE_LOCAL_MACHINE"
                    in event.deep_get("ScriptBlockText", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
