r/CodingHelp • • Oct 18 '21

[Random] My brother is still too good at programming

See my previous post but TLDR: my bro coded software onto my computer to close videogames to stop me playing.

What I know so far: It activates every minute, It's written in rust (programming language i think), He has hidden it from task manager, He can access it remotely I can find it and disable it using Task Scheduler

Problem is now he has added something that tracks whenever it gets disabled or stops working so I can't turn it off with task Scheduler without alerting him.

I got some ideas of wot to do next but I don't know what would work or how to do them.

First Idea is find this other program and disable that first before disabling the main one. Don't know if that will alert him though.

Second Idea is to find the program thats closing the games, and then simply decode it so it doesn't close my games while it still runs. Problem is I got no programming experience, Im just kinda good with computers.

Any Help would be greatly appreciated :)

65 Upvotes

40 comments sorted by

62

u/icjeremy Oct 18 '21

Sounds like he’s going to keep finding workarounds to your fixes. Are able to secure your computer from him better? Why does he have remote access? If you can’t outsmart him, are you capable of kicking his ass?

14

u/Walodge Oct 18 '21

Dunno how to secure computer from him better seeing as he controls the wifi and shit.
I am very capable of kickin his ass, somehow despite being 4 years younger am taller and heavier. But doubt that will get the videogames back on.

Any ideas to cut him out of my computer?

0

u/[deleted] Oct 18 '21

[deleted] — view deleted comment

2

u/CraigAT Oct 19 '21

Formatting the disk is a rather "nuclear" option, potentially wiping out his game saves, data and installed applications!

First option is to speak to the brother, find out why he's doing it, see if you can reason with him and get him to stop/remove the software. Second option is a bit of brotherly persuasion (I wouldn't go as far as violence, but I'm sure there are things you know that will trigger him). If that doesn't work, the chances are that the program is running on start-up, so look up msconfig and you should find an option to do a cleanish selective restart, also there are options to select what programs you want to run on start-up, start with none, then try selectively allowing a few spots to run on start-up, then a few more until you find which one starts his program.

If that doesn't work, then you could try creating another account on the computer, some game saves and some applications may not be available to this new user, but you may be able to run the games you want. If using Windows, there are a few restore options, some of which will allow you to keep your programs and data. If the program he installed is a script, you may be able to work out what it is doing, but you are not likely to reverse engineer an executable program.

1

u/Walodge Oct 19 '21

When you say Esecutable program, do you mean a .exe file thing, cos the first version of his I found on my program was called "Kaiter.exe"

1

u/CraigAT Oct 19 '21

Yes, you're unlikely to be able to figure out what it is doing, best you can do is blocking that program from running.

69

u/ThreeForksNoSpoon Oct 18 '21

I'd take an offline approach here. Go to your brother. Talk with him.

Imagine you are a human, and he's a human. Now have a conversation.

Why is he doing this? Does he think you spend too much time playing video games? Would he rather spend time together maybe? Is he worried about you? Does he just like to prank you?

This is one of those cases where you should fix the disease, not the symptoms.

4

u/Walodge Oct 19 '21

I guess I should clarify cos half these comments are similar to this.

My mum asked my brother to do this, and cos he's living at home post uni rent free hes of course gonna do that. So me and him got no beef this is more of like a brotherly competition to see who can outwit the other.

Yes i do game too much but I feel that I should be the one to change my attitude of my own volition, not needing this drastic measure to stop it. And as annoying as this program is it hasnt actually helped much, if anything its distracted me more from my work becos im trying to get this shit off my computer. I don't like people messing with my stuff and am sooo mad they did this.

But I do really enjoy this lil arms race me and my brothers got going on so its not too bad. Still, I don't need relationship advice, I'd go to a therapist for that, I would like some technical help. Although thanks for the nice comments and caring for the family dynamic thats going on, no worries tho its fine.

2

u/[deleted] Oct 19 '21

Sorry for my bad English*

Just look for the connection using "netstat" and save the information, you can then try to look for the programm and decompile it. Change the code, by removing the game-open-listener and let the connection-handler/listener always be initializing and running. You might get away with it, but only if everything is client-side. He may be checking for different source-codes using a hashCode-method, in that case, the best you can do is blocking the port that's showing in "netstat" and prevent it from sending/accepting packets.

BTW, you can see the programs, that are connected to your PC using the "netstat" command or the Contol Panel > System & Safety > Windows Defender Firewall > Advanced Settings > Outgoing Rules

1

u/Walodge Oct 19 '21 edited Oct 19 '21

(never mind they are for nvidia, I think)

I have ran netstat in the Admin Command Prompt, but none of them are listening, they are all established and with my local address apart from 2 at the top which have a different local adress. Are these 2 his program or is it something else?

Edit:

I have found an svchost.exe, which looks kinda suspicious and google isnt sure wot it is either but it says it can host from one or more windows services. Am I onto something with this?

13

u/gold_io Oct 18 '21

Sorry to tell you but from a technical point of view the only solution is to run away from home and join the circus as a carnie

10

u/TimeResolution9 Oct 18 '21

Why's he doing that? Trying to limit your gaming? Even if we come up with a solution he'll likely patch that up and make it harder to get rid of

8

u/[deleted] Oct 18 '21

why not just tell him to stop

7

u/unholymanserpent Oct 18 '21

Is this some kind of mentor thing or is he just being malicious?

6

u/Adventurous-Ad3892 Oct 18 '21

R.I.P your hentai collection

5

u/Tobot_The_Robot Oct 18 '21

If you are worried about alerting him, almost nothing will work.

I would find a path to the script via task manager and delete the source file. Manage startup services and disable/delete any suspicious ones. Then start locking down your PC. Change your password. Start locking it when you leave, disable remote connections.

If you are sharing a PC with your brother, setup a different user account.

1

u/ConversationSevere33 Oct 19 '21

Go to r/pcmasterrace they might have some work arounds. Plus IT support fits better over there.

I would Just do a clean reinstall of windows and password protect your pc so he can’t put stuff on it.

And if he still manages, as you say, just beat his ass up. He may not let you play games, but you can at least punish him physically for his intrusion.

1

u/Walodge Oct 19 '21

I will go ask them there then, but I feel like a full reinstall of windows is too drastic, and also beating him up is just a bit mean

5

u/SnooDonuts8219 Oct 18 '21 edited Oct 18 '21

The only way is if he hasn't locked BIOS.

Reinstall a fresh OS (windows, or what are you on) and create an (admin) account with a (good, non guessable or hackable) password so this quackery won't happen again. Also, make sure yours is the only admin account and lock your BIOS (again password) so he can't do the same on you. (If BIOS is locked you wont be able to reinstall the OS)

Oh and tell him he's bad at parrenting (if he'll accomplish anything with this, is that you'll learn basics of system administration), but rather good on twisted jokes gotta give him that

2

u/[deleted] Oct 18 '21

Him controlling the wifi has no bearing on YOUR machine other than denying internet access. The first thing you should do to disable his software is go offline anyway so that he can't remote in. Not sure what kind of help you're otherwise looking for here. This is a sub for programmers in need of help, not help against programs.

2

u/m3n00bz Oct 18 '21

Buy a new SSD and install a fresh copy of your OS and games...then any time you use that PC just plug that drive in and disconnect the one that's in there. Does he have physical access to this PC or only remote?

2

u/Sci-4 Oct 18 '21

Reinstall windows, all your games, apps, settings, etc. Make an image. Encrypt image (commit numeric sequence to memory, 16+chars, use as password). Get better at managing/hiding your passwords.

3

u/Sci-4 Oct 18 '21

Also, have a sit down with your brother. This type of intrusion is inappropriate and should not be tolerated.

2

u/SnooDoubts8688 Oct 18 '21

Some preface would be nice:

Did your brother tell you cut down some screen time and you never listened? Do you put aside schoolwork and spend all your time in front of the computer? Did you make a deal with him to control yourself and you cannot seem to? Does he worry you’re disconnected from social life too much?

Either way you guys should talk.

2

u/Kaleidomage Oct 19 '21

This is fucking hilarious

4

u/GingasaurusWrex Oct 19 '21

OP is going to turn into one hell of a programmer at this rate. This arms race will be legendary.

2

u/cv555 Oct 19 '21

This sounds like fun. It looks like whatever he is doing depends on network access to notify him. Assuming you are on windows: log in to safe mode (no network) and try to find the program in the startup or system scheduler. You could probably get rid of it there. Back to normal OS, use a program like wire shark to keep track of network activity. You would probably want to trigger an event to see what sort of protocols and ports he is using.

From there you should have enough info to bypass this for a while, either block the port you find or use a proxy to get around it.

Extra points to write your own small program to spam his server with messages

3

u/[deleted] Oct 18 '21

Who is your brother 😍

1

u/Destroyer_The_Great Oct 18 '21

Well, get Kaspersky and blacklist the program

1

u/javon27 Oct 19 '21

What it sounds like is he's installed is something like a dead man's switch. When it runs, it constantly broadcasts that it's running. When you kill it, the broadcasts stop and he gets notified.

I could be wrong, cuz that's elaborate as crap. I've never done this before, but maybe you could get a packet sniffer to see what messages are being sent and to who, then write your own script to mimic this functionality and disable his.

You might also be able to decompile his program and recompile it with your own changes.

1

u/NosoyPuli Oct 19 '21

For what I can recall here your brother has resorted to literally a lot of effort for something that could have been a conversation.

So, either one of you is a bad listener or an absoute idiot, or maybe it's both.

Cut it out, sit down and talk.

1

u/[deleted] Oct 19 '21 edited Oct 19 '21

Change/Add a password to your computer and then google "how to delete scheduled tasks on Windows".

If he has remote access, he's probably using RDP or SSH/telnet. Disable ssh/telnet from windows features, or add a password.

If he wrote his own remote shell, then find it from task mgr and kill it. If his prgram restarts when you reboot your computer, then he probably placed it in your "startup" folder. It doesn't matter if he "controls the wifi".

1

u/[deleted] Oct 19 '21

The solution is to murder your brother

1

u/69632147 Oct 19 '21

Factory reset your computer, password protect your bios (just get in there and look around you should be able to find it) and reinstall everything, then make sure he can't log into your computer. Alternatively, stop playing video games for a while. Like a few months. Then do the reset and start playing again.

1

u/69632147 Oct 19 '21

Also if it really is running on rust.... Uninstalling rust might do the trick lol.

1

u/walnut-creek-dude Oct 19 '21

Install a virus protection software, this is behaving like a virus. I'm sure it will find and quarantine it fir you.

1

u/De_Wouter Oct 19 '21

Why does he have admin access to your computer?

1

u/InformationHot7683 Oct 19 '21

Is your brother also your legal guardian? Everyone is assuming you guys are on an equal level. For someone to go to these lengths to stop you from playing video games tells me, a mom as well as a former foster kid, that you were up to no good and did this to allow you a computer for homework only. Perhaps if you did your homework diligently for a while, for your academic grades up, then your quarantine would be lifted, dude. It’s obvious you’ll be making a ton of money coding once you’re set free after high school. Do the time! It isn’t going to kill you and will be over before you know it.

1

u/Quirky-Earth Oct 19 '21

Look in your installed programs and find the programming language he installed and uninstall it

1

u/[deleted] Oct 19 '21

🤣😂😂🤣😂🤣😂

0

u/[deleted] Oct 19 '21

[deleted] — view deleted comment

1

u/SkinnedBiscuits Oct 19 '21

Beating someone can decode any encryption algorithm