You can hide passive abilities in spellbooks (the spellbook can also be hidden). Make the ability, make the spellbook, put ability into spellbook and edit other fields like min/max abilities in book. Add spellbook to unit/hero as a normal ability. When you want to start the ability (use triggers): enable spellbook, enable pass ability, disable spellbook. Even with the spellbook disabled the passive ability still works.