In recent months Hamas has been investing efforts in developing military infrastructure in Judea and Samaria.