cunning, crafty

悪知恵(わるぢえ)   cunning or crafty (noun)
 
悪賢い(わるがしこい) The adjective form of わるぢえ.