Put simply, yes, it's highly illegal.
Providing financial or material support to adversarial foreign actors, agents, parties deemed to be national security threats (under sanctions or DOJ/State/Treasury/et. al. special designation) or fugitives from justice violates a number of federal laws.