The fight would take place in the Intergalactic Void of Star Wars, and both are at the best of the ability, BUT only have their standard equipment. Comics and any canon feats can be used, and their allies CURRENTLY cannot interfere.
Darth Malgus just discovered the Enterprise, and after destroying the entire ship(just imagine that, a thread about Star Trek vs Star Wars would be boring) and the explosion attracted Brainiac, who comes to check out what happened. FIRST
Who has superior technology and ships?
Who'll win in a one on one?
Ready, steady, set, GO!