The phrase "dirty job" typically refers to a task or occupation that involves unpleasant or filthy work.