Supporters of presidential candidate, President Vladimir Putin gather for a pre-election rally at the Luzhniki stadium in Moscow on March 3, 2018.
Russians will go to the polls on March 18, 2018. / AFP PHOTO / Kirill KUDRYAVTSEVKIRILL KUDRYAVTSEV/AFP/Getty Images
PHOTO: KIRILL KUDRYAVTSEV/AFP/AFP/Getty Images
Supporters of presidential candidate, President Vladimir Putin gather for a pre-election rally at the Luzhniki stadium in Moscow on March 3, 2018. Russians will go to the polls on March 18, 2018. / AFP PHOTO / Kirill KUDRYAVTSEVKIRILL KUDRYAVTSEV/AFP/Getty Images
Now playing
01:55
US sanctions Russia over cyberattacks
PHOTO: Shutterstock
Now playing
02:34
Russia may hack our elections. Can we stop it?
US Homeland Security Secretary Kirstjen Nielsen speaks during press briefing on national security at the White House in Washington, DC, on August 2, 2018. - The US government on Thursday accused Russia of carrying out a "pervasive" campaign to influence public opinion and elections, in a public warning just months before crucial legislative elections. (Photo by NICHOLAS KAMM / AFP)        (Photo credit should read NICHOLAS KAMM/AFP/Getty Images)
PHOTO: NICHOLAS KAMM/AFP/Getty Images
US Homeland Security Secretary Kirstjen Nielsen speaks during press briefing on national security at the White House in Washington, DC, on August 2, 2018. - The US government on Thursday accused Russia of carrying out a "pervasive" campaign to influence public opinion and elections, in a public warning just months before crucial legislative elections. (Photo by NICHOLAS KAMM / AFP) (Photo credit should read NICHOLAS KAMM/AFP/Getty Images)
Now playing
01:59
WH says it's concerned about election meddling
Sen. Claire McCaskill, D-Missouri, testifies during a hearing of the Senate Health, Education, Labor, and Pensions Committee on July 29, 2015 in Washington.
PHOTO: Astrid Riecken/Getty Images
Sen. Claire McCaskill, D-Missouri, testifies during a hearing of the Senate Health, Education, Labor, and Pensions Committee on July 29, 2015 in Washington.
Now playing
02:52
McCaskill: Attempted hacking 'not successful'
The logo of French headquarters of American multinational technology company Microsoft, is pictured outside on March 6, 2018 in Issy-Les-Moulineaux, a Paris' suburb. / AFP PHOTO / GERARD JULIEN        (Photo credit should read GERARD JULIEN/AFP/Getty Images)
PHOTO: GERARD JULIEN/AFP/AFP/Getty Images
The logo of French headquarters of American multinational technology company Microsoft, is pictured outside on March 6, 2018 in Issy-Les-Moulineaux, a Paris' suburb. / AFP PHOTO / GERARD JULIEN (Photo credit should read GERARD JULIEN/AFP/Getty Images)
Now playing
01:24
Microsoft stops Kremlin-based hackers
PHOTO: McNamee/Dunham/Getty Images
Now playing
01:50
Trump deflects question over Russia indictments
PHOTO: Photo Illustration: Getty Images / Shutterstock / CNN
Now playing
02:47
US intel warns of Russian threat to power grid
PHOTO: CNN/File
Now playing
01:35
Microsoft exec: Russia already targeting 2018 campaigns
PHOTO: CNN
Now playing
01:14
Adam Schiff: Putin is ringmaster of conspiracy
Now playing
01:07
Video warns 2018 campaigns: Don't get hacked
Now playing
04:01
His part-time job is Russian troll hunter
PHOTO: CNN
Now playing
02:03
Paul: Putin will never admit to election hack
U.S. Deputy Attorney General Rod Rosenstein delivers remarks on "Justice Department Views on Corporate Accountability" during the The Annual Conference for Compliance and Risk Professionals at the Mayflower Hotel May 21, 2018 in Washington, DC. (Chip Somodevilla/Getty Images)
PHOTO: Chip Somodevilla/Getty Images
U.S. Deputy Attorney General Rod Rosenstein delivers remarks on "Justice Department Views on Corporate Accountability" during the The Annual Conference for Compliance and Risk Professionals at the Mayflower Hotel May 21, 2018 in Washington, DC. (Chip Somodevilla/Getty Images)
Now playing
05:41
Rosenstein: 12 Russians charged with hacking
dana bash reax
PHOTO: CNN
dana bash reax
Now playing
01:36
Bash on DNC hacking: This is a major crime
FBI Director Christopher Wray (L), CIA Director Mike Pompeo (2nd L), Director of National Intelligence Dan Coats (3rd L), Defense Intelligence Agency Director Robert Ashley (3rd R), National Security Agency Director Michael Rogers (2nd R) and National Geospatial Intelligence Agency Director Robert Cardillo (R) testify on worldwide threats during a Senate Intelligence Committee hearing on Capitol Hill in Washington, DC, February 13, 2018. (SAUL LOEB/AFP/Getty Images)
PHOTO: SAUL LOEB/AFP/Getty Images
FBI Director Christopher Wray (L), CIA Director Mike Pompeo (2nd L), Director of National Intelligence Dan Coats (3rd L), Defense Intelligence Agency Director Robert Ashley (3rd R), National Security Agency Director Michael Rogers (2nd R) and National Geospatial Intelligence Agency Director Robert Cardillo (R) testify on worldwide threats during a Senate Intelligence Committee hearing on Capitol Hill in Washington, DC, February 13, 2018. (SAUL LOEB/AFP/Getty Images)
Now playing
02:14
Intel chiefs: Russia targeting 2018 elections
Now playing
01:32
How to uncover a Russian troll op
(CNN) —  

The US Treasury Department has imposed fresh sanctions on five Russian entities and three individuals, saying that they worked with Moscow’s military and intelligence services in an effort to conduct cyberattacks against the US.

The latest step by the Trump administration comes in response to “Russia’s malign and destabilizing cyber activities” against the US and its allies, including the NotPetya cyberattack and cyber intrusions of the US energy grid, Treasury said, and includes a firm that’s controlled by Russia’s Federal Security Service or FSB.

“The United States is engaged in an ongoing effort to counter malicious actors working at the behest of the Russian Federation and its military and intelligence units to increase Russia’s offensive cyber capabilities,” Treasury Secretary Steven Mnuchin said in a statement Monday.

Mixed messages

The sanctions come as President Donald Trump sends radically different signals about Russia’s place in the world order, underscoring the administration’s contradictory messages on Russia.

Just days before Treasury announced the new sanctions, Trump insisted that Russia be returned to the international group of advanced economic nations that met in Canada this weekend.

Even as officials in the US and European countries cite Russia for interference in their elections and its annexation of Crimea, insisting it remain expelled from the G7 until it returns the territory to Ukraine, Trump has repeatedly stressed the need for stronger relations with Moscow.

Monday’s action also targets the Russian government’s underwater capabilities. Treasury said that Russia has been active in tracking undersea communication cables, which carry the bulk of the world’s telecommunications data.

Undersea cables

“The entities designated today have directly contributed to improving Russia’s cyber and underwater capabilities through their work with the FSB and therefore jeopardize the safety and security of the United States and our allies,” said Treasury Secretary Steven T. Mnuchin.

The firms designated in Monday’s announcement have directly contributed to improving Russia’s cyber capabilities through their work with the FSB, which has compromised the security of the US and its allies, Mnuchin said. They include Digital Security, ERPScan and Embedi.

One of the designated entities in controlled by and has provided material and technological support to the FSB, while two others have provided the FSB with material and technological support. Treasury’s Office of Foreign Assets Control, or OFAC, is also designating several entities and individuals for being owned or controlled by, or acting for or on behalf of, the three entities that have enabled the FSB.

“The United States is committed to aggressively targeting any entity or individual working at the direction of the FSB whose work threatens the United States and will continue to utilize our sanctions authorities… to counter the constantly evolving threats emanating from Russia,” Mnuchin said.