def rule(event):
    if all(
        [
            any(
                [
                    " -enc " in event.deep_get("ContextInfo", default=""),
                    " -EncodedCommand " in event.deep_get("ContextInfo", default=""),
                    " -ec " in event.deep_get("ContextInfo", default=""),
                ]
            ),
            any(
                [
                    " -w hidden " in event.deep_get("ContextInfo", default=""),
                    " -window hidden " in event.deep_get("ContextInfo", default=""),
                    " -windowstyle hidden " in event.deep_get("ContextInfo", default=""),
                    " -w 1 " in event.deep_get("ContextInfo", default=""),
                ]
            ),
            any(
                [
                    " -noni " in event.deep_get("ContextInfo", default=""),
                    " -noninteractive " in event.deep_get("ContextInfo", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
