Yes, it is a German word.
Its origins are from a medieval term, meaning "deaf". "Doof" in german nowadays refers to stupid, boring people'/things/tasks.