def rule(event):
    if all(
        [
            event.deep_get("TargetObject", default="").endswith(
                "\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\Run"
            ),
            any(
                [
                    ":\\$Recycle.bin\\" in event.deep_get("Details", default=""),
                    ":\\ProgramData\\" in event.deep_get("Details", default=""),
                    ":\\Temp\\" in event.deep_get("Details", default=""),
                    ":\\Users\\Default\\" in event.deep_get("Details", default=""),
                    ":\\Users\\Public\\" in event.deep_get("Details", default=""),
                    ":\\Windows\\Temp\\" in event.deep_get("Details", default=""),
                    "\\AppData\\Local\\Temp\\" in event.deep_get("Details", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
