How do u respond to a stranger saying “how are you” as a greeting?

“I’m good how about you” is a socially acceptable response.

You can also break down and tell them everything that Is bothering you as if they were a free therapist session, but thats less acceptable.