Windows inconsistency/security stories

>be a developer for a company developing enterprise software for windows
>we install a windows service on each machine of the customer
>a commit introduces bug that causes stack overflow on the service
>try to debug it
>service crashes on start but its process remains running
>try to kill it via services
>it doesn't die
>try to kill it via task manager
>nope "access denied"
>wtf? I'm admin on my system
>try to kill it with process hacker with admin rights
>nope! process refuses to die
>try to attach visual studio debugger on it
>debugger crashes with error "CATASTROPHIC FAILURE"
>the only way to get rid of it was to restart the computer
>pretty much every service that crashes on start with stack overflow becomes immortal

and another one

>have a ticket to research something on our windows service
>good chance to try stuff I want
>try to exploit the clusterfuck of security the windows has
>modify the service to scan all the computer for processes that belong to other users
>once it finds one, it takes it's token and spawns another process with that token
>this process was made by me to use the users token to access stuff from my computer
>lure a colleague to log on my computer to test it
>tell him to open a program
>trap was triggered
>the process was supposed to copy all of his private files on NAS to my computer
>it fucking worked
>called development and IT leader to show that
>I'll never forget the look on IT leader's face

Also video related.

Do you anons have any similar stories to share?

Attached: 2018-09-11 22-39-08.webm (1024x768, 2.43M)

Jow Forums is a GNU/Linux board.
Fuck off wintoddler.

>install service that causes stack overflow
>blame windows
why not make your program stable first before installing it as a service

>Also video related.
simbly eric

Attached: Capture.png (381x193, 8K)

>linux literally cant support Webm

>use linux
>nothing works
>into the trash.jpg

winfag here doesnt work either

I'm unironically phoneposting and it loads, whats your browser?

furfax

OP is a twat

I ran into something like the first about three months back, but it was caused by a bad Windows Server patch. We rolled stuff back, and it was fixed with the next month's updates.

Was incredibly stupid and a huge waste of time to debug, though.

it says that the file is corrupt for me

Attached: 07-16-48-255_2018.png (1366x768, 3.01M)

the service runs as SYSTEM, which is a step higher than administrator

Phone posting Firefox and it doesn't work.
Browser specific?

>a rootkit can access all files on the system
More news at 11?

>>be a developer for a company developing enterprise software for windows
>still thinks a windows administrator account is equivalent to root on linux

Since it's not working on firefox

Attached: output.webm (1024x768, 776K)

>tries to kill services.exe
Are you retarded?

A single service has a hiccup and your brilliant idea is to sink the entire wangblows service process with all hands. Fedora is perfect for you stick with it.

Attached: Signal_Handling_OS.jpg (360x720, 31K)

windows services call the OnStart method right? if the OnStart takes too long to return it times out but if you spawn a thread in OnStart, it returns but the thread is still alive the service will timeout but keep running in the background

my guess is you are running something async in OnStart that is bound to a system library, maybe for networking or disk i/o

you need to keep a reference in your service class and close any threads in OnStop

oh and also dont kill services.exe u mong, find your actual service in the processes tab

also while im here if you want to debug it add a Thread.Sleep(10000); in the constructor
start the service and you have 10 seconds to attach the debugger
if you dont get any exceptions thrown open the exception settings window and tick CLR
also check windows logs for errors
if you really fucked up just convert it to a console application and start from there

>try to kill it via task manager
>nope "access denied"
>wtf? I'm admin on my system
Tell me your company name - because if they have devs like you, I want to be absolutely sure we never have anything to do with you.

>Jow Forumstoddlers insist on browsing the internet exclusively riced out 5UP3R H4XX0R no bloat thinkpads
>Jow Forumstoddlers shit on phoneposters and "touchjizz bloat" whatever the hell that is
>Jow Forumstoddlers are literally unable to view videos on the internet
very interesting turn of events

Attached: Screenshot_20180912-194139_Clover.jpg (1440x2960, 1013K)

I mean exclusively ON THEIR thinkpads

based and billpilled

>there are people on Jow Forums that still think "Administrator" is the same as "root"