frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Xray: A full-behavior-chain anti-malware system built in Go by a student

6•tangtian•2d ago
Hi HN,

I'm Tang Tian, a first-year economics student from a non-CS background, currently self-learning Go, OS concepts, and cybersecurity. Over the past weeks, I built Xray, an anti-malware and behavior tracing system from scratch, entirely in Go.

Xray compares your current system with a reference ISO, monitors real-time filesystem and process activity, detects suspicious behavior, automatically eliminates threats, and outputs a full behavior graph as a .dot file (Graphviz-ready).

Highlights:

Behavior chain detection (not signature-based)

Monitors full system with fsnotify + process tracing

Compares live system to boot ISO for anomaly detection

Auto-kills malicious behaviors in real time

Outputs behavior chain in .dot format (JSON/LOG planned)

Lightweight: compiled binary is only ~3MB

Written completely from scratch by a solo student

GitHub: https://github.com/lixiasky/X-ray There’s also a screenshot folder showing how it runs, and a personal note in the README.

This is open-source with a permissive license (MIT-style). Feel free to fork and build your own version—just please keep a credit line in the README: “First version by Xia Lixia.”

I hope someone finds this useful or fun to hack on. Feedback is welcome, and thank you for reading!

What interesting things low spending people do, that others know nothing about?

9•evolve2k•2h ago•10 comments

Big Beautiful Bill R&D Tax: Will tech go on a hiring spree again?

6•jbverschoor•5h ago•7 comments

I'm Peter Roberts, immigration attorney, who does work for YC and startups. AMA

251•proberts•3d ago•449 comments

Ask HN: What's your go-to message queue in 2025?

56•enether•4d ago•94 comments

Ask HN: Do people actually pay for small web tools?

16•scratchyone•1d ago•15 comments

Ask HN: Best on device LLM tooling for PDFs?

4•martinald•18h ago•1 comments

Ask HN: Moving to London from California

8•siamese_puff•13h ago•9 comments

Ask HN: How are you acquiring your first hundred users?

566•amanchanda•6d ago•350 comments

Ask HN: Conversational AI to Learn a Language

13•edweis•2d ago•5 comments

Ask HN: Anyone working in traditional ML/stats research instead of LLMs?

20•itsmekali321•2d ago•10 comments

Is current state of querying on observability data broken?

12•pranay01•1d ago•0 comments

Ask HN: Email Provider for Main Account?

23•agent008t•4d ago•25 comments

Xray: A full-behavior-chain anti-malware system built in Go by a student

6•tangtian•2d ago•0 comments

Ask HN: How do you store private keys?

7•max_•2d ago•15 comments

Best AI editor for local models?

6•rocketbro•2d ago•0 comments

Ask HN: How do you store the knowledge gained in a day?

67•dennisy•5d ago•95 comments

SwipeJobs App – Tinder for Job Seekers

3•fidla•1d ago•10 comments

Ask HN: Our only salesperson was working for a competitor. Advice?

12•betrayawayed555•2d ago•8 comments

Ask HN: Is Slack Down?

69•abatilo•6d ago•29 comments

Ask HN: Why is no one making FILE_ID.DIZ anymore?

11•reconnecting•4d ago•5 comments

Symbolic Logic Based LLM

5•sandeeptshelvan•3d ago•1 comments

FlyLoop – AI Agent for Scheduling Meetings and Managing Your Calendar

19•localbuilder•6d ago•4 comments

Ask HN: Did anyone else see an avalanche of old email appear in Gmail?

4•DamnInteresting•2d ago•2 comments

Ask HN: How would you fund a tech cooperative owned by workers and users?

8•prrada•3d ago•7 comments

What do people use for on-call these days?

8•skullum•2d ago•10 comments

Ask HN: Any good tools to pgdump multi tenant database?

3•polishdude20•2d ago•4 comments