This question already has an answer here:
I transfered a small amount of btc from my private wallet with bitcoin core client. When I check blockchain.info I see the transaction with the amount of btc i transferred going to the correct address. But I also see the rest of the BTC in my wallet going to an unknown address.
Is it supposed to do this, or have I been hacked?