88

I opened my Terminal today and saw this:

StaceysiPhone6s:~ jcz$ 

  • Who is Stacey?
  • Why is she in my Terminal?
  • What happened?
  • What should I be worried about?
  • How do I fix it?
  • 51
    I'd rather figure out what the problem is first... – Jeff May 1 '17 at 15:57
  • 56
    @Awn not compromised - this is a known bug in Mac OS when it reads the DHCP logs for it's own internal hostname (instead of local hostname) – schroeder May 1 '17 at 16:16
  • @Jeff I'd rather figure out what the problem is first... - there's no time for that, security is at stake here ;) – Dmitry Grigoryev May 3 '17 at 14:01
140

At some point, your network assigned StaceysiPhone6s an IP address. Then, your laptop got that IP address. Your Mac then looked up the DHCP logs to find out who 'owned' that IP and found "StaceysiPhone6s". So, it used that info to set the local hostname value.

Example: https://apple.stackexchange.com/questions/30552/os-x-computer-name-not-matching-what-shows-on-terminal

  • 9
    Perfect, very reassuring. Thanks for not being so alarmist! – Jeff May 1 '17 at 16:20
  • 114
    oh, I forgot to add: BURN YOUR LAPTOP AND ANY USB DEVICE THAT YOU EVER PLUGGED IN! And you should probably burn any flat surface it ever touched for good measure. – schroeder May 1 '17 at 16:21
  • 86
    Not taking any chances, I'll start with self-immolation – Jeff May 1 '17 at 16:23
  • 76
    Good man, you'll go far in infosec! – schroeder May 1 '17 at 16:30
  • 13
    But that still leaves the question: Who is Stacey and what was she doing with her iPhone on your network? – Stephan Bijzitter May 3 '17 at 9:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.