Skip to main content

Fun Friday: Which Common Sysadmin Tool have you seen do the Most Damage?

  • February 4, 2022
  • 31 comments
  • 284 views

MicoolPaul
Forum|alt.badge.img+23

Happy Friday all!

 

Today, lets talk tools, the right tool in the wrong hands can be catastrophic.

 

What tool have you seen so the most damage to an environment? Whether it’s a built in tool/feature or 3rd party, I wanna hear!

 

For me, it’s Remote PowerShell. I witnessed this being used by a malicious script to deploy ransomware to every device in the domain and the rest of the network. The script was harvesting credentials from users working on the infected endpoint and the moment a domain admin signed in, BANG, remote PowerShell to all!

31 comments

Cragdoo
Forum|alt.badge.img+8
  • Veeam Vanguard
  • February 4, 2022

any automation tool ...lol
 


Geoff Burke
Forum|alt.badge.img+22
  • Veeam Vanguard
  • February 4, 2022

Format or rm -r /


Geoff Burke
Forum|alt.badge.img+22
  • Veeam Vanguard
  • February 4, 2022

ah yes.. adduser newmanager


Stabz
Forum|alt.badge.img+8
  • Veeam Legend
  • February 4, 2022

Apply an update to all the production Vms without test, for more fun apply it during the weekend.

Lack of knowledge, the wrong click in the Disk managements especially with Veeam and Direct San and bye bye the production.


JMeixner
Forum|alt.badge.img+17
  • On the path to Greatness
  • February 4, 2022

“In the old days” I managed to kill a OS/2 server with “rm -r” only. Just started it from the wrong directory At these times this was the whole environment… :wink:

So, I don’t need a special tool for this….  :laughing::laughing::laughing:


Kseniya
Forum|alt.badge.img+3
  • February 4, 2022

So, I don’t need a special tool for this….  :laughing::laughing::laughing:


 😂😂😂😂😂


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • February 4, 2022

“In the old days” I managed to kill a OS/2 server with “rm -r” only. Just started it from the wrong directory At these times this was the whole environment… :wink:

So, I don’t need a special tool for this….  :laughing::laughing::laughing:

:rofl::rofl:


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • February 4, 2022

Not so much a tool but reading documentation I have seen be one of the most dangerous.  If you have the docs and design - follow them!!  That way I don’t have to fix things later. :joy:


Link State
Forum|alt.badge.img+11
  • Veeam Legend
  • February 4, 2022

i was a beginner, i typed "exit" on a domino server, like to exit the cmd lol the server shut down LMAO

 

 


Cragdoo
Forum|alt.badge.img+8
  • Veeam Vanguard
  • February 4, 2022

or how about forgetting ctrl+al+ins (The VMware VM console combination on Windows VMs for ctrl+alt+del) on some linux systems is ‘reboot’ system ….been burned a few times with that one

 


LostInEther
  • Comes here often
  • February 4, 2022

or how about forgetting ctrl+al+ins (The VMware VM console combination on Windows VMs for ctrl+alt+del) on some linux systems is ‘reboot’ system ….been burned a few times with that one

 

I learned this the hard way also.


LostInEther
  • Comes here often
  • February 4, 2022

psexec and having to clean up other people’s messes.


LostInEther
  • Comes here often
  • February 4, 2022

as root from the root directory:

rm -rf * &; exit


Iams3le
Forum|alt.badge.img+11
  • Veeam Legend
  • February 5, 2022

@MicoolPaul wants us to mention a tool, and I think some of us deviated! To be honest, all tools can be taken over by bad actors and this is why we need to run or allow these tools to run with administrative privilege. By default, standard users shouldn't be able to run these tools. 

I would say any of the configuration management tools (such as Ansible, Puppet etc) if you do not know what you are doing. Therefore, I agree with @Cragdoo above, anything automation and PowerShell is as well :) 


Mildur
Forum|alt.badge.img+12
  • Influencer
  • February 5, 2022

Powershell and Pipe |
Can lead to unwanted changes if you are not careful 😂


MicoolPaul
Forum|alt.badge.img+23
  • Author
  • February 5, 2022

@MicoolPaul wants us to mention a tool, and I think some of us deviated! To be honest, all tools can be taken over by bad actors and this is why we need to run or allow these tools to run with administrative privilege. By default, standard users shouldn't be able to run these tools. 

I would say any of the configuration management tools (such as Ansible, Puppet etc) if you do not know what you are doing. Therefore, I agree with @Cragdoo above, anything automation and PowerShell is as well :) 

It’s one of the great community things, you go in asking a question and people then give you additional perspectives and stories! I don’t always reply to everyone but I love seeing the life lessons learned!

 

Good shouts on automation…


MicoolPaul
Forum|alt.badge.img+23
  • Author
  • February 5, 2022

Powershell and Pipe |
Can lead to unwanted changes if you are not careful 😂

Definitely! Especially when filters are used which are believed to be a safety net but the logic isn’t as strict as the writer thinks it is!

 

So far the themes are automation and scripting!


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • February 5, 2022

Powershell and Pipe |
Can lead to unwanted changes if you are not careful 😂

Definitely this can if not careful with inputs. 😂


vNote42
Forum|alt.badge.img+12
  • On the path to Greatness
  • February 7, 2022

Shutting down a (wrong) ESXi host without reading the message that there are still VMs running.


MicoolPaul
Forum|alt.badge.img+23
  • Author
  • February 7, 2022

Shutting down a (wrong) ESXi host without reading the message that there are still VMs running.

Related to what you said but unrelated to the original topic:

 

A client I used to deal with infrequently had ESXi servers going offline unexpectedly. They were in a managed datacentre and the technicians kept on powering off some of their servers when OTHER customers’ servers needed reboots mistakenly.

 

The latest time this happened the client (quite rightly) got very irate and demanded to know what happened this time and why they couldn’t tell their servers apart. Their support team claimed that a cable must’ve leaned on the server’s power button whilst they were working on another server in the rack. If true it makes you question what the cabling looks like in that place!


vNote42
Forum|alt.badge.img+12
  • On the path to Greatness
  • February 7, 2022

Shutting down a (wrong) ESXi host without reading the message that there are still VMs running.

Related to what you said but unrelated to the original topic:

 

A client I used to deal with infrequently had ESXi servers going offline unexpectedly. They were in a managed datacentre and the technicians kept on powering off some of their servers when OTHER customers’ servers needed reboots mistakenly.

 

The latest time this happened the client (quite rightly) got very irate and demanded to know what happened this time and why they couldn’t tell their servers apart. Their support team claimed that a cable must’ve leaned on the server’s power button whilst they were working on another server in the rack. If true it makes you question what the cabling looks like in that place!

Right! I guess all of us have seen such cabling in different server locations :grinning:


marcofabbri
Forum|alt.badge.img+12
  • On the path to Greatness
  • February 9, 2022

RDP in some internal sysadmin’s hands who woke up to update something on servers because that day got inspired… :see_no_evil:


vNote42
Forum|alt.badge.img+12
  • On the path to Greatness
  • February 9, 2022

RDP in some internal sysadmin’s hands who woke up to update something on servers because that day got inspired… :see_no_evil:

Right! When you also think about RDP-manager with stored authentication credentials to be able to double-click a server to connect without entering anything. :fearful:


Link State
Forum|alt.badge.img+11
  • Veeam Legend
  • February 10, 2022

  

RDP in some internal sysadmin’s hands who woke up to update something on servers because that day got inspired… :see_no_evil:

Right! When you also think about RDP-manager with stored authentication credentials to be able to double-click a server to connect without entering anything. :fearful:

 

mimikatz ftw :joy:

I recommend not to leave the possibility to cache credentials on Windwos or Windows server in AD domain it is strongly recommended to implement a set of GPO to prevent this kind of attacks. 

Preventing Mimikatz Attacks. Mimikatz is playing a vital role in… | by Panagiotis Gkatziroulis | Blue Team | Medium

 


BertrandFR
Forum|alt.badge.img+7
  • Influencer
  • February 11, 2022

running ansible playbook on bad target, obivoulsly veeam backup save my ass :sweat_smile: .Thanks to instant recovery nobody notices the failure. Since this i wrote more sanity check in my code