First Order Security Bureau The First Order Security Bureau was an intelligence agency of the First Order . Agent Terex was a ranking officer of that agency , as was Lieutenant Weel . The Security Bureau saw action against the Resistance starfighter pilot Poe Dameron and his Black Squadron during the early stages of the cold war . Description . The First Order Security Bureau was the First Order ' s intelligence agency . Agent s like Terex and Lieutenant Weel were tasked with guarding the First Order ' s secrets and recovering information that had been stolen by the First Order ' s enemies . Terex operated a spy network consisting of various individuals he had coerced into spying for him including the Resistance technician Oddy Muva . Terex maintained Muva ' s cooperation by keeping his wife Sowa Chuan among a harem of slaves , whose relatives had also been coerced into doing his bidding . Under Supreme Leader Snoke ' s directive , First Order agents and other First Order military forces were prohibited from seeking open hostility against forces aligned with the New Republic including the Resistance . History . Mission to Ovanis . During the early stages of the cold war , First Order Security Bureau agents were deployed on intelligence - gathering missions against Resistance forces such as Commander Poe Dameron ' s Black Squadron . After the former stormtrooper – turned – crime lord Terex intercepted a shipment of stormtrooper armor bound for the First Order , Terex decided to join the First Order . He subsequently became an agent of the First Order Security Bureau . Following , Terex was dispatched by Captain Phasma to recover information that Dameron had stolen from New Republic Senator Erudo Ro - Kiintor , an undercover First Order asset . Terex was given substantial resources including a Maxima - A class heavy cruiser , stormtroopers , TIE / fo space superiority fighter s and a First Order platform . During the mission to Ovanis , Terex terrorized the Crèche cult in an attempt to force them to surrender Dameron . Terex and his forces were subsequently involved in a conflict with Dameron ' s Black Squadron , the Crèche , and two winged creatures . Dameron and BB - 8 managed to defeat Terex in combat and force the agent to order his forces to stand down . To avoid further hostilities between the New Republic and the First Order , Black Squadron allowed Terex and his men to leave peacefully . Competing for Grakkus . With the help of his unwilling spy Muva , Terex learned that Dameron and Black Squadron were traveling to Megalox prison on the high gravity world of Megalox Beta to question Grakkus the Hutt about the location of the explorer Lor San Tekka , whom General Leia Organa believed could help them find her lost brother Luke Skywalker . Terex managed to bribe Warden Luta and the guards into abandoning Black Squadron inside the prison . However , Black Squadron managed to fight their way into Grakkus ' fortress . Due to the competition , Grakkus decided to disclose his information to whomever freed him from Megalox prison first . Angered that Grakkus had broken their deal , Terex met with the rival crime lord s Toren , Kan Be , and Isin . Identifying himself as a First Order intelligence agent , Grakkus hired the imprisoned crime lords to use their gangs to attack Grakkus ' palace , kill Black Squadron and Grakkus ' guards . Terex planned to kill Grakkus after extracting the information from him . In return , he offered to give the crime lords transportation out of Megalox . The crime lords agreed and attacked Grakkus ' compound . However , Dameron outmaneuvered Terex by having his squadron ' s astromech droid s sabotage the prison ' s gravity shield , exposing Terex and the gangster s to Megalox Beta ' s high gravity . Dameron managed to force Luta to let Black Squadron leave with Grakkus in return for restoring the prison ' s gravity shield . Terex was rescued by the crew of his starship " Carrion Spike " . Angered by his failure , Terex used the " Carrion Spike " to attack the orbit ing Megalox space station and the rescue shuttle s . However , he was forced to retreat into hyperspace by Black Squadron , who inflicted damage on the " Carrion Spike " . Rather than report back to First Order Space to face a debriefing for his failure , Terex decided to seek revenge against Dameron . Skirmish on Pheryon . Later , Lieutenant Weel captured Dameron and the " Galaxy Beacon " journalist Suralinda Javos during a skirmish on Pheryon . He interrogated Javos at a warehouse . The Squamatan Javos however escaped by ejecting a corrosive spray from her mouth ; a unique anatomical feature of her species . She and Dameron then escaped back to the Resistance with information about the First Order ' s illegal rearmament program in violation of the Galactic Concordance . Terex ' s rogue mission . Continuing his vendetta against Dameron , Terex traveled back to the Ranc gang ' s stronghold on Kaddak . After retaking control of the Ranc gang , Terex embarked on a rogue mission to destroy the Resistance in order to improve his standing within the First Order . Terex ' s plan involved feeding the Resistance spy droid N1 - ZX with disinformation in order to track Dameron back to the Resistance base . Despite Phasma ' s objections that his plan violated Snoke ' s directive to avoid conflict with the Resistance , Terex believed that the Ranc gang could succeed . However , Dameron realized his plan and led Terex and the Ranc gang to a remote desert planet . Terex ' s Ranc gang forces were involved in a skirmish with Dameron , Black Squadron , and Muva . Muva managed to free his wife and the other slaves from Terex ' s captivity . Following a battle in space and on land , Terex and his forces were defeated by Black Squadron and First Order forces led by Commander Malarus . After destroying the " Carrion Spike " and the Ranc gang ' s " Uglies " , Malarus arrested Terex with the consent of Dameron . First Order – Resistance war . During the First Order ' s attack on the Resistance fleet , Colonel Ansiv Garmuth was stationed aboard the " Supremacy " . Garmuth was tipped off by BB - 9E that FN - 2187 and Resistance fighter Rose Tico had infiltrated the ship . He then gathered stormtroopers and informed Phasma of this . Behind the scenes . The First Order Security Bureau first appeared as antagonists in the Marvel Comics series " " . The organization was created by Charles Soule and illustrated by Phil Noto .