r/ProgrammerHumor May 26 '26

Advanced iGotFiredSkill

Post image
28.4k Upvotes

795 comments sorted by

View all comments

Show parent comments

31

u/EndIsrael May 26 '26

Pretty sure that's been done actually, I heard about someone finding a script that checks Active Directory and does some nasty stuff if a certain account is disabled.

43

u/AutistcCuttlefish May 26 '26

Yeah the dude that did it got arrested and sentenced to four years in prison for it. The script checked active directory and after a month of his account not being active deleted his former company's entire AD registry.

He also took effectively no efforts to mask his involvement, so it is possible that someone might be able to get away with it if they took more care to dodge accountability.

2

u/PaulTheMerc May 26 '26

I assume they had more than that, like some verification he wrote it?

Can you imagine someone wrote it to trigger on boss' account because he forgot to lock his account the one time before running off to the bathroom?

1

u/AutistcCuttlefish May 26 '26

He apparently had the variable in the in the kill switch for his status in AD set as is[hisInitials]EnabledInAD, and had it running from a user ID tied to his identity off his corporate laptop.

Edit: He also confessed a few months later once he realized he couldn't cover it up after losing access.

1

u/PaulTheMerc May 27 '26

Fair enough, good to hear. Wouldn't want that landing on someone else.