def rule(event):
    if all(
        [
            "\\shell\\open\\command\\" in event.deep_get("TargetObject", default=""),
            any(
                [
                    "\\$Recycle.Bin\\" in event.deep_get("Details", default=""),
                    "\\AppData\\Local\\Temp\\" in event.deep_get("Details", default=""),
                    "\\Contacts\\" in event.deep_get("Details", default=""),
                    "\\Music\\" in event.deep_get("Details", default=""),
                    "\\PerfLogs\\" in event.deep_get("Details", default=""),
                    "\\Photos\\" in event.deep_get("Details", default=""),
                    "\\Pictures\\" in event.deep_get("Details", default=""),
                    "\\Users\\Public\\" in event.deep_get("Details", default=""),
                    "\\Videos\\" in event.deep_get("Details", default=""),
                    "\\Windows\\Temp\\" in event.deep_get("Details", default=""),
                    "%AppData%" in event.deep_get("Details", default=""),
                    "%LocalAppData%" in event.deep_get("Details", default=""),
                    "%Temp%" in event.deep_get("Details", default=""),
                    "%tmp%" in event.deep_get("Details", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
