def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\w3wp.exe"),
            "MSExchange" in event.deep_get("CommandLine", default=""),
            any(
                [
                    "FrontEnd\\HttpProxy\\" in event.deep_get("TargetFilename", default=""),
                    "\\inetpub\\wwwroot\\aspnet_client\\"
                    in event.deep_get("TargetFilename", default=""),
                ]
            ),
            any(
                [
                    event.deep_get("TargetFilename", default="").endswith(".aspx"),
                    event.deep_get("TargetFilename", default="").endswith(".asp"),
                    event.deep_get("TargetFilename", default="").endswith(".ashx"),
                ]
            ),
        ]
    ):
        return True
    return False
