Wet a clean cloth with water and run it around the rim of two cocktail glasses. Immediately turn glasses upside-down in a shallow dish of sugar and twist until the rims are coated.
Fill a cocktail shaker with ice. Add cognac, triple sec and lemon juice; shake vigorously until the outside of the shaker is frosty.