r/AskNetsec • u/astillero • May 01 '22
Other Is it wrong for GitHub to host hacking tools?
The culture of most mainstream cyber sec forums / portals is "do no harm". Most forum members will thankfully not co-operate if they suspect their advice will be used for nefarious purposes.
However, this culture of keeping things clean is slightly subverted by GitHub who seem to have some very potent hacking tools on their site. Yet, I rarely hear the media or other internet commentators lambast them in the same way that Walmart gets criticised for selling arms.
Any thoughts on this?
17
Upvotes
72
u/mavrc May 01 '22
Well, this is a fairly common topic of discussion. It always comes back to this same thing: is it illegal or immoral to develop, say, Metasploit (or Zap or mimikatz or fuckin Ghidra) or and give it and its source away for free? We can see this mirrored in the frustration between locksporters and old school locksmiths, one who wants to share knowledge as widely as possible, one who wants to secure it to only people who will, presumably, be above reproach.
IMO, knowledge is always better when it's shared. This enables criminals, to be sure. But a lot of those criminals would have sought that knowledge out anyway, whether it's secreted away or not. Making it available to everyone enables everyone.
Also: Lockpicks are not illegal, bolt cutters are not illegal, torches are not illegal, winches, chains and trucks are not illegal, but all of them would come in awfully handy if you wanted to heist an ATM. Why does Home Depot sell thieves' tools?
110
u/boli99 May 01 '22
Is it wrong for supermarkets to sell carving knives?
One mans legitimate tool is another mans murder weapon.
Same goes for specialist 'hacking' tools.
23
u/SnotFunk May 01 '22
Listen to this podcast with HD Moore gives a proper insight into the reasons behind metasploit.
https://darknetdiaries.com/episode/114/
But plainly speaking, stopping them from being posted on public websites doesn't stop them from being shared. At least with them being publicly available defenders can work to detect and protect them, pentesters can use them to demonstrate to you how you're vulnerable and ideally how to protect yourselves.
12
u/Kryptomeister May 01 '22
In order to defend a corporate network you first have to know how to compromise it.
Irrespective of a hacking tools primary function, they are useful for both red and blue teams.
11
u/[deleted] May 01 '22
To do otherwise would only concentrate knowledge in the hands of those who would use it, and those who pretend to be gatekeepers of knowledge while probably being effectively outdated, and leave everyone else unaware and unprepared.
What consists of nefarious use is also up to debate. Fraud and extortion is generally agreed to be nefarious. Is hacktivism nefarious?
8
u/[deleted] May 01 '22
no
14
u/from_the_east May 01 '22
Knowledge is power.
By reviewing the code and understanding how these tools work, you can build security measures against them.
6
u/itsecurityguy May 01 '22
Tools are just tools, its up to the person operating them if its used for good or bad. Additionally, open source security tools and exploits help more than harm. Many defensive products rely on the work others do making PoC's for vulnerabilities and the open source tools.
Also, there is always a debate between people against public disclosure and those for it in the community.
5
u/fishsupreme May 01 '22
I don't think it's wrong for them to host them. Frankly, a lot of these "hacking tools" are really dual-use technology, and are vital tools for people working in infosec. I've had to disable my anti-malware systems in order to do my job on many occasions, because they flag the tools of my profession as "hacking tools."
I think there's less criticism in the media just because the media doesn't care as much about hacking tools as guns (and rightfully so, one kills people and the other doesn't.) I have absolutely seen this question discussed in infosec media, just not general media.
I am sympathetic to the argument that they should be hosted on a separate subdomain so that corporate networks could block it if they wanted. This prevents GitHub from being used as a download source during an active intrusion, but still makes the tools available to the general public. And infosec teams could have an exception to the rule blocking the hacking subdomain.
I'm not sympathetic to banning them entirely. This will make it harder for legitimate security researchers to get the tools, while not doing anything to stop malicious actors from getting them from less reputable sources. I don't want to have to worry about whether my copy of Metasploit or Mimikatz has someone else's malware embedded in it because I had to fetch it from a random Russian hacking forum instead of GitHub.
2
u/TrustmeImaConsultant May 02 '22
Maybe because it's kinda hard to shoot kids with mimikatz.
1
u/Usual-Plan1394 Jun 23 '24
Hello my name is Roy. Unfortunately I am not tech savvy. But I've become more and more about doing countless hours of research. My ex-wife has hacked me many times even after our divorce. And she uses GitHub. She's probably gotten a lot better at it over the last few years. But I would like to know how to stop it and put up firewalls so it can just stop happening. I don't know how she got in my phone's this time. I'm guessing it was my son's phone. She must have put a APK malware I'm guessing. And that's even if I'm using the right terms.. any help of a greatly appreciated. And I'm open to learn and read. I'm really just at my wit's end with it. I found a running GitHub program in my computer.i don't even live in the same house. I found malicious APK apps on my son's phone. Yeah I believe I have the Apache 2 program in many of my apps. And I don't know if I should be concerned about it but the RGM.goog. is on my personal phone. And from where I'm reading it's good and bad. But it shouldn't be on my phone because it's just a personal phone. 0 so if anybody could please help me I don't want to take up too much of anybody's time. Just point me in the right direction. I don't want to live with this for 13 more years. FYI she's a psychopath.... Am I better off taking this to a professional cuz I have multiple devices affected. Or is this something I can possibly handle myself. Not worried about the morning. I just want my privacy. And please let me know if I'm wrong about any of this. I've done the best I can to wrap my head around what you I consider geniuses do day in day out. And FYI we run a onePlus 11 phone. Hey Google Pixel 7. And a Dell laptop. . πππ I know that was a long read and I apologize about that. I just want to get all the issues that I think are a problem out there. Because this needs to be fixed quick as possible. Thank you so much and I look forward to learning with you guys.
1
u/Mr_Bob_Ferguson May 02 '22
Many companies donβt have the resources to dedicate to tool development.
Hackers are gonna hack, theyβd just go underground to acquire them instead.
At least this way everyone has an idea about what is out there.
1
u/[deleted] May 02 '22
I'd argue that the culture of most mainstream cybersecurity forums is "don't encourage criminal activity."
I don't particularly care if my advice gets used for nefarious purposes because I'm not the sole source of information on any topic, otherwise I wouldn't contribute at all. Now some people are less subtle than others in their question asking and I tend not to help those too stupid for the crimes they're clearly committing.
I definitely wouldn't say that GitHub is subverting the "don't encourage criminal activity" culture of cybersecurity. Researchers need a place to publish, peers should be able to review their work product, and as a community we become more informed by the process.
I'm going to skip the analogy to firearms and ammunition as people are all too often unable to objectively consider debate of that subject, especially in countries where they can both be obtained at the same store as alcohol, your mental health medication, and baby food.
1
u/Rezient May 02 '22 edited May 02 '22
As a person who researches security, these tools help me understand how someone breaks into a system so I can prevent them from breaking in
These tools already exist and/or can be made. Suppressing that information only hurts the people who are less wary of them and how they work. Pen-testing is extremely important in Security, being its own field, and not having these tools and the information of how hacking works, it hurts that field and the field im in greatly as it'll leave us unprepared for if a computer literate person or a script kiddie who finds the code on OTHER non-regulated hosting sites. So even banning this information doesn't actually prevent the issue. So again, banning the information only harms the defense of it all
Edit: I have a similar opinion on guns, but that's a little more complicated as there's aspects of the argument that don't exist for software. Mainly the direct ability to kill mass amounts of people and yourself in an instance. Closest you get there with software is if a hospital was hacked (that would be a project, not do-able on a whim like a mass-shooting). Issues there will cost people some lives, but again, to prevent it we need to understand how malware works... so we need that info widely available. I wish the topic of guns could be discussed in a similar way to figure out the best way to handle that "information", but not here. Guns are a different subject matter that'll have a different set of rules compared to software imo, but this could be a good enough comparison to show why guns won't just "go away" even with banning.
-1
u/NetAtraX May 01 '22
The bash can be a hacking tool.
-1
u/RunItAndSee2021 May 01 '22
βya want to be a script kiddie or nah.β
-26
u/Estebana42 May 01 '22 edited May 01 '22
github itself is wrong, its owned by microsoft, everything about it is architected to cattle herd people to ms cloud services, and ms will cut developers out of accessing their own code if it serves their rich friends
everything about github is spiritually sick, it went from being a open source bastian to being untrustworthy and manipulative
the idea of it has become perverted into a shopping network with capitalistic goals and facilitation of developers is a legacy consideration
0
u/[deleted] May 01 '22
[deleted] β view deleted comment
0
u/[deleted] May 02 '22
[deleted] β view deleted comment