From malha, or from Old Galician-Portuguese mallado, from an Iberian Vulgar Latin *mac(u)lātus, from Latin macula. Compare Spanish majada.
Practice speaking and memorizing "malhado" and many other words and sentences in Portuguese.