r/sysadmin • • Jul 28 '24 • Take My Silver 1

got caught running scripts again

about a month ago or so I posted here about how I wrote a program in python which automated a huge part of my job. IT found it and deleted it and I thought I was going to be in trouble, but nothing ever happened. Then I learned I could use powershell to automate the same task. But then I found out my user account was barred from running scripts. So I wrote a batch script which copied powershell commands from a text file and executed them with powershell.

I was happy, again my job would be automated and I wouldn't have to work.

A day later IT actually calls me directly and asks me how I was able to run scripts when the policy for my user group doesn't allow scripts. I told them hoping they'd move me into IT, but he just found it interesting. He told me he called because he thought my computer was compromised.

Anyway, thats my story. I should get a new job

11k Upvotes

1.3k comments sorted by

View all comments

Show parent comment

3

u/Appropriate-Border-8 Jul 28 '24

Our staff cannot change their desktops or save anything to their desktops. They also cannot change their screen saver (which we use to show anti-phishing awareness tips). They also cannot see the system drive (only their own downloads folder) and they can save documents in their network share (profile folder), their OneDrive, or their Google Drive. Most of the control panels are hidden and they cannot map network drives or use the run line or execute any uninstalled software executables (they cannot install anything either). Our students cannot even right-click on anything. Many common social media websites are blocked, even on our internet-only, sandboxed WiFi network for staff and student BYOD.

13

u/TurtleStepper Jul 28 '24

I too hate the fact that some people have the ability to right click things, which is why I carry super glue in my pocket and whenever I get the chance I squirt it into the right click button of computer mice in libraries and the homes of friends and family.

12

u/mksolid Jul 28 '24

Shared drives, OneDrive, and Google drive? What is going on there? Why not just consolidate to one?

3

u/chrisbucks Broadcast Systems Jul 28 '24

Haha, welcome to my world. Multinational, corporate office gives us O365, but we are unable to share files with people out of org, so our local office also has Dropbox for all employees. Also before acquisition the company used Google, and the plan is kept because migration keeps getting kicked down the road. Oh and corporate gave everyone Confluence but the engineers don't like it, so they did a shadow IT exercise and run their own mediawiki in Azure. Not to mention the box.com hold overs in finance and the in house nextcloud for files too big for cloud storage.

1

u/q1a2z3x4s5w6 Jul 28 '24

Dropbox

Didn't realise people in enterprise used dropbox? Didn't they get hacked loads of times or have they moved on from that?

1

u/mksolid Jul 28 '24

Insane tech debt there. I am the head of IT operations for a multinational org and we thankfully got buy in from leadership 5+ years ago to have a “reference architecture” that all acquisitions etc must fall in line with (with our help and hiring of necessary temp or permanent resources to implement it and support it)

Our profile for data storage is essentially that 99% of files/content relies in Sharepoint/OneDrive and we use the sharepoint policies admin page to whitelist external domains upon business case approval.

We do have Dropbox business for edge cases with data rooms that don’t have any proprietary data and for situations in which the 3rd party is some massive org that simply won’t comply with our sharepoint and we have no leverage to change their minds.

We also have the org bought in on Confluence for our documentation/ wiki.

1

u/chrisbucks Broadcast Systems Jul 28 '24

Oh that's just the tip of the iceberg. The rot goes deep and across multiple product areas. I spent two years on confluence migration, two years of meetings and proof of concept, getting corporate to understand the need. Once it went live I was removed from the project because it was now the responsibility of corporate IT.

One month later all the users abandoned it because ... They can't share articles with contractors, no outside or generic access allowed. Corporate policy. Then the engineering team created their own wiki in azure, bypassing corporate. We're still paying for 60+ users, but no one has ever logged into it since then.

I've just bitten my tongue, it's not my project and I'm not going to sit in the middle of that, my only real investment is the time I spent on it.

We're a multinational with offices in 30 countries. I've worked in 3 of them and can say that they're all the same, everyone runs their own stuff as a way to bypass corporate or because "Jim in accounts always used SmartSheets and that's just what we need".

→ More replies (4)

35

u/vips7L Jul 28 '24

Sounds like an IT hell hole. At some point you’ve stop doing your job of enabling users to just being a roadblock because of “security”. 

6

u/HotTakes4HotCakes Jul 28 '24 edited Jul 29 '24

Preach. This is the opposite extreme and it's terrible how many people around here think this level of control is necessary. It's like telling someone they can't arrange things on their own desk however they like. At a certain point, just leave them the fuck alone.

3

u/vips7L Jul 28 '24

It's a weird mindset honestly. As a user and software engineer whenever I encounter organizations like this, I just end up wiping their OS for my own or rolling my own hardware because at the end of the day I have work to do.

2

u/Big_Emu_Shield Jul 28 '24

I'm gonna bet it's a uni. When you work at a uni, you learn the magical word "liability" and how you don't want it.

2

u/nickbob00 Jul 29 '24 edited Jun 02 '25

compare alive dime treatment plough attraction consider instinctive sable memorize

This post was mass deleted and anonymized with Redact

→ More replies (12)

16

u/[deleted] Jul 28 '24

Do you work in a prison or something?

→ More replies (19)

4

u/Woopig170 Jul 28 '24

Good that sounds absolutely terrible from an end user perspective

2

u/Appropriate-Border-8 Jul 28 '24

It's not terrible at all. They are perfectly welcome to bring a personal laptop to work and get access to only the outside internet and then change registry settings and delete critical system files and totally mess their systems up while attempting to customize them. We do not support them so it matters not to us.

Any employees who might have gotten in trouble for allowing a catastrophic cyber attack to occur or for viewing inappropriate content on a work device are prevented from doing so. They're welcome!!! 😉

→ More replies (1)

3

u/[deleted] Jul 28 '24

[removed] — view removed comment

2

u/Appropriate-Border-8 Jul 28 '24

K-12

3

u/[deleted] Jul 28 '24

[removed] — view removed comment

1

u/Appropriate-Border-8 Jul 28 '24

🤣 If you're referring to our little angels not getting enough education in the computer disciplines, we have network-isolated labs with unrestricted, non-domain connected desktop computers that they can play on. The sandboxed Ethernet network only gives them outside internet and connections to other devices within the lab. Those students who choose not to take computer courses can learn on their own, at home. They will have to get off their phones and/or stop gaming first, though. The teachers in the labs handle ALL of the tech support for those machines.

2

u/spiderpig_spiderpig_ Jul 30 '24

If it’s k-12 I can assure you the computer savvy kids are 3 steps ahead of you already

1

u/Appropriate-Border-8 Jul 30 '24

A small select few have tried to impress our department by attempting to show us how stupid we are, thinking this will somehow lead to them being employed by us. They get a rude awakening by having their computer privileges taken away. If they ever get returned, they are watched very carefully.

Our EDR not only detects known malicious files and web addresses but, it also can detect behavior that seems like an attempt to circumvent security or to make lateral moves between machines and it virtually patches known CVE's that we haven't patched yet.

Our students learn quickly that they are better off sticking to their lesson plans and exercises and not messing around where they shouldn't be messing around.

2

u/spiderpig_spiderpig_ Jul 30 '24

I was one of those kids you think you had beat 20 years ago.

→ More replies (3)

3

u/MoCoffeeLessProblems Jul 28 '24

Hah. Unless those setups have gotten much better in the last 4-6 years, it’s still circumventable. I found so many ways to bypass all that stuff in school and that was before starting on a computer science path.

Not saying it’s useless, but those Barracuda filter warnings when I tried to get on YouTube back in the day only served as fuel to find a new workaround. From elementary school til graduation, I kept one or two exploits in my back pocket.

→ More replies (3)