import re


def rule(event):
    if all(
        [
            "qlogin" in event.deep_get("CommandLine", default=""),
            "_+_PublicSharingUser_" in event.deep_get("CommandLine", default=""),
            re.match(
                r"[A-F0-9]{8}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{12}",
                event.deep_get("CommandLine", default=""),
            ),
        ]
    ):
        return True
    return False
