The 28-year-old woman was heading back to her flat after spending the New Year with friends in the early hours of the morning.
She had travelled with the Vienna Underground line U1 and had not realised that a man had departed from the same station as her, and had apparently followed her home.
As she opened the door, he grabbed her from behind and forced her inside where he attempted to rape her, saying the word "sex".
Police spokesman Paul Eidenberger said: "He grabbed her and the only word that she could understand from what he was saying was 'sex'."
The young woman however managed to grab a broom that was in the entrance hall and used it to beat the man, and also poked him in the eye with her thumb whereupon he finally gave up and ran off.
She then locked the door, and called police.
The images of the man were taken on the underground's surveillance cameras, and police said that the woman had identified him as being her attacker. As a result, prosecutors have now authorised the pictures to be released to the public.
The young woman suffered bruising and some scratches to her knees but was otherwise unharmed.
Members of the public who may recognize the attacker are asked to contact the police with details on a confidential basis.
Story courtesy of Central European News