A 75-year-old man has taken on an alleged intruder accused of storming his Mandurah home and attacking him while he slept.