def rule(event):
    if any(
        [
            event.deep_get("Image", default="").endswith("\\SharpUp.exe"),
            event.deep_get("Description", default="") == "SharpUp",
            any(
                [
                    "HijackablePaths" in event.deep_get("CommandLine", default=""),
                    "UnquotedServicePath" in event.deep_get("CommandLine", default=""),
                    "ProcessDLLHijack" in event.deep_get("CommandLine", default=""),
                    "ModifiableServiceBinaries" in event.deep_get("CommandLine", default=""),
                    "ModifiableScheduledTask" in event.deep_get("CommandLine", default=""),
                    "DomainGPPPassword" in event.deep_get("CommandLine", default=""),
                    "CachedGPPPassword" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
