Counter flashing is metal flashing installed into the wall to protect the roof membrane from coming loose from the wall as it transitions from the roof area. Counter flashing can also be used in conjunction with ell flashing at the same detail area. On this roof the counter flashing, which has a concealed return flashing cut and installed into the wall, has come loose from the wall and is allowing water to enter. Counter flashing is an older flashing technique and requires constant maintenance by re-fastening and re-sealing the top wall cut to disallow seepage. This area should be repaired before interior damage occurs.