DoT is based on a heroes attack stat. Things that will affect this:
Base Card Stat (so hero level)
Emblems
Troops
On top of that, as NPNKY said, the defence team gets a bonus 20% attack to compensate for being at something of a disadvantage due to being controlled by a dumb AI…