Prepare an old-fashioned glass by rubbing a slice of lemon around the rim and dipping it into powdered sugar. Pour the brandy, curacao, maraschino liqueur and lemon juice into a cocktail shaker half-filled with ice cubes. Shake well, strain into the prepared glass, and serve.