When you open the hood, the ECM is on the passenger side behind two large sliding electrical connectors.
https://www.youtube.com/watch?v=ayTSF1GkMqg Dial2Fast on youtube shows how to sand and repaint this module which has a rusting problem, as nissan built it into the 2004-2007 models exposed to the elements. 2008 - 2012? they drilled a hole underneath so it wouldnt sit in water when it rains. The video will save you a lengthy read on how to get to it. I see your post was 3 years ago so you may already know this