How can I tell between a benign tumor and a malignant tumor under the skin, just by feeling it?

It's impossible. Feeling tumors is not 100% reliable, and you should be examined in person by a dermatologist or a surgeon. Generally, lumps that are soft, fleshy, and easily movable underneath the skin are less aggressive.