frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

An exposed .git folder let us dox a phishing campaign

21•spirovskib•2h ago
This past Friday afternoon, a member in our Discord server reported a phishing email pointing to a fake login page.

We took up to research it and because of clumsy decisions by the attacker we got their GitHub and their operational Telegram bot.

Screenshots: https://imgur.com/a/FTy4mrH

Sometimes the attacker incompetence can be a defender's best weapon ¯\_(ツ)_/¯

The phishing page was a standard clone of an "email", unbranded anf generic service. A bit of gobuster reconnaissance and we got the site's .git directory publicly accessible and listing its contents.

Inspecting of the requests also got us the first Telegram bot token. This is the digital equivalent of leaving the blueprints to your entire operation, including past versions and deleted files, lying on the front lawn.

We pulled the repository, found automated deployments and multiple fake pages with different hardcoded Telegram bot tokens and Chat IDs.

With the source code, repo and the active Telegram bot token, we filed detailed abuse reports:

- GitHub: We reported the repository containing the phishing kit's source code. It was taken down for violating TOS.

- Telegram: We reported the bot using the provided token and chat ID, leading to its removal.

- Hosting Provider: The malicious site was reported and taken offline.

Lesson learned? Never deploy a .git folder to production. Even if you are a criminal.

Acknowledgement: This was a collaborative effort by members of the BeyondMachines Discord community. The crowdsourced speed and collaboration helped us take this down very fast.

Comments

poly2it•1h ago
Could've traced the attacker for a bit before burning all bridges.
ekjhgkejhgk•1h ago
Sounds like they got off easy.
spirovskib•44m ago
They probably did. But it's a volunteer effort, we all contrinbute as much each individual's time permits.
ArcHound•1h ago
It is great that they got taken down. From my experience, these sites are usually parasites on misconfigured Wordpresseses.

We're you able to get the phishing data so that you can help the victims? Is it a good idea to try and do so?

Also, can you please share some bits of the phishing kit for easier detection?

Thank you for your efforts!

spirovskib•47m ago
Thanks for the kind words. We discussed whether to pull the data. We didn't for two reasons: 1. It's not trivial to process that data safely, and all the people in the server are volunteers that pitch in as much as they can. It won't be fair to burden them more. 2. The bots were posting to what appeared to be private or moderated channels. We didn't find an easy way in. Maybe there was a way in, but see item 1 above. So we went with "nuke it from orbit"
ArcHound•26m ago
Yeah, that's the problem, processing the data safely. I wouldn't want to do that either without a lawyer covering my back.
CGamesPlay•24m ago
What leads to the secret being stored in git's config file like that? None of my repositories have that, the remote URLs all just say "git@github.com:foo/bar.git".

UK's first small nuclear power station to be built in north Wales

https://www.bbc.com/news/articles/c051y3d7myzo
41•ksec•1h ago•38 comments

AirPods libreated from Apple's ecosystem

https://github.com/kavishdevar/librepods
802•moonleay•11h ago•212 comments

Our investigation into the suspicious pressure on Archive.today

https://adguard-dns.io/en/blog/archive-today-adguard-dns-block-demand.html
1608•immibis•1d ago•394 comments

IDEmacs: A Visual Studio Code clone for Emacs

https://codeberg.org/IDEmacs/IDEmacs
217•nogajun•11h ago•69 comments

Run Nix Based Environments in Kubernetes

https://flox.dev/kubernetes/
31•kelseyhightower•5d ago•3 comments

Maybe You're Not Actually Trying

https://usefulfictions.substack.com/p/maybe-youre-not-actually-trying
31•eatitraw•1h ago•9 comments

Hyundai Paywalls Brake Pads replacement on Ioniq 5 N

https://www.thedrive.com/news/replacing-brake-pads-on-a-hyundai-ioniq-5-n-requires-a-professional...
105•zdw•8h ago•43 comments

Things that aren't doing the thing

https://strangestloop.io/essays/things-that-arent-doing-the-thing
315•downboots•17h ago•156 comments

Why I Don't Need a Steam Machine

https://brainbaking.com/post/2025/11/why-i-dont-need-a-steam-machine/
50•ingve•1h ago•68 comments

Facebook Text Log Between Mark Zuckerberg and Kevin Systrom(Instagram Cofounder)

https://www.dropbox.com/scl/fo/0e4qbvj7w8cwxdlpo010c/AHCMfNHmj03nPnJ-VKDYRvA?dl=0&e=1&noscript=1&...
16•Fiveplus•4h ago•0 comments

Writing a DOS Clone in 2019

https://medium.com/@andrewimm/writing-a-dos-clone-in-2019-70eac97ec3e1
27•shakna•1w ago•8 comments

libwifi: an 802.11 frame parsing and generation library written in C (2023)

https://libwifi.so/
119•vitalnodo•13h ago•10 comments

In Praise of Useless Robots

https://thereader.mitpress.mit.edu/in-praise-of-useless-robots/
9•pseudolus•3d ago•0 comments

Bypassing the Branch Predictor

https://nicula.xyz/2025/03/10/bypassing-the-branch-predictor.html
21•signa11•5h ago•8 comments

The inconceivable types of Rust: How to make self-borrows safe (2024)

https://blog.polybdenum.com/2024/06/07/the-inconceivable-types-of-rust-how-to-make-self-borrows-s...
91•birdculture•12h ago•14 comments

Boa: A standard-conforming embeddable JavaScript engine written in Rust

https://github.com/boa-dev/boa
235•maxloh•1w ago•64 comments

When did people favor composition over inheritance?

https://www.sicpers.info/2025/11/when-did-people-favor-composition-over-inheritance/
183•ingve•1w ago•137 comments

AsciiMath

https://asciimath.org/
109•smartmic•14h ago•32 comments

Transgenerational Epigenetic Inheritance: the story of learned avoidance

https://elifesciences.org/articles/109427
150•nabla9•17h ago•85 comments

Show HN: Unflip – a puzzle game about XOR patterns of squares

https://unflipgame.com/
137•bogdanoff_2•4d ago•33 comments

When UPS charged me a $684 tariff on $355 of vintage computer parts

http://oldvcr.blogspot.com/2025/11/when-ups-charged-me-684-tariff-on-355.html
243•goldenskye•12h ago•207 comments

An exposed .git folder let us dox a phishing campaign

22•spirovskib•2h ago•7 comments

Blocking LLM crawlers without JavaScript

https://www.owl.is/blogg/blocking-crawlers-without-javascript/
143•todsacerdoti•12h ago•70 comments

TCP, the workhorse of the internet

https://cefboud.com/posts/tcp-deep-dive-internals/
321•signa11•1d ago•149 comments

Archimedes – A Python toolkit for hardware engineering

https://pinetreelabs.github.io/archimedes/blog/2025/introduction.html
90•i_don_t_know•16h ago•12 comments

Linux on the Fujitsu Lifebook U729

https://borretti.me/article/linux-on-the-fujitsu-lifebook-u729
189•ibobev•20h ago•133 comments

Writing a book with Quarto

https://blog.stephenturner.us/p/quarto-books
12•terryds•1w ago•2 comments

Report: Tim Cook could step down as Apple CEO 'as soon as next year'

https://9to5mac.com/2025/11/14/tim-cook-step-down-as-apple-ceo-as-soon-as-next-year-report/
165•achow•14h ago•337 comments

JVM exceptions are weird: a decompiler perspective

https://purplesyringa.moe/blog/jvm-exceptions-are-weird-a-decompiler-perspective/
79•birdculture•1w ago•4 comments

Is our death from a hydrogen sulfide event inevitable in climate warming?

https://www.psu.edu/news/research/story/global-warming-led-climatic-hydrogen-sulfide-and-permian-...
15•DrierCycle•7h ago•5 comments