def rule(event):
    if any(
        [
            all(
                [
                    "Invoke-WMIMethod win32_process -name create -argumentlist"
                    in event.deep_get("CommandLine", default=""),
                    "rundll32 c:\\windows" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    "wmic /node:" in event.deep_get("CommandLine", default=""),
                    'process call create "rundll32 c:\\windows'
                    in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
