Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    N

    NETRESEC Blog

    netresec.com · Company blog · on HN since 2011

    NETRESEC is a network security firm whose blog covers network forensics and traffic analysis, including the 2015 attack on GitHub.

    Visit blogHN submissions
    SecurityNetworking
    What HN says

    HN links it for its analysis of China's man-on-the-side attack on GitHub, which commenters say injected JavaScript rather than using a botnet.

    Stats for nerds
    27HN people shared it
    23linked in comments
    823story points
    Feb 2023last shared
    2013people per year2023

    Top posts on HN

    1. 1
      China's Man-On-the-Side Attack on GitHub
      6 people · 692 points · first shared 2015 · 309 comments on HN
    2. 2
      Detecting Tor Communication in Network Traffic
      2 people · 80 points · first shared 2013 · 27 comments on HN
    3. 3
      Analysis of Chinese MITM on Google
      2 people · 15 points · first shared 2014 · 3 comments on HN
    4. 4
      Finding Targeted Sunburst Victims with PDNS
      2 people · 4 points · first shared 2021 · 1 comments on HN
    5. 5
      Chinese MITM Attack on iCloud
      1 person · 3 points · first shared 2014 · Discussion on HN
    6. 6
      Covert Man-On-the-Side Attacks (a.k.a. QUANTUM INSERT)
      1 person · 3 points · first shared 2015 · Discussion on HN
    7. 7
      RawCap Windows sniffer
      1 person · 3 points · first shared 2011 · Discussion on HN
    8. 8
      Findject.py – a new tool to detect man-on-the-side attacks like QUANTUM INSERT
      1 person · 2 points · first shared 2016 · Discussion on HN
    9. 9
      Reassembling Victim Domain Fragments from Sunburst DNS
      1 person · 2 points · first shared 2020 · Discussion on HN
    10. 10
      Rinse-Repeat Intrusion Detection – a blacklist/signature free approach
      1 person · 2 points · first shared 2015 · Discussion on HN

    What HN people wrote when they linked it

    • userbinatorDec 2015

      I've used this behaviour --- non-maliciously --- multiple times in the past to override APIs for logging/tracing/debugging purposes. For example, I have a set of DLLs[1] that you can put in the same directory as the .exe of an application and it will log all network traffic that it generates. Very useful and convenient compared to the alternatives. Another use is to workaround compatibility problems.

      What I find more saddening is the trend to view any behaviour that could potentially be exploited as a vulnerability, regardless of how useful it could be, which just leads to locked-down user-hostile systems where nothing is possible without going through some sort of ridiculously bureaucratic excess of process.

      Thus, I think the root cause of this problem is not with the DLL loading behaviour, but with this...

      The bad guy just navigates a frame of your browser to the DLL of his choice and, if you’re on Chrome or Microsoft Edge, the DLL is dropped in the Downloads folder without even asking

      ...entirely unconsented file download. The design of putting all downloads in one place is a small contributing factor.

      [1] http://www.netresec.com/?page=Blog&month=2011-01&post=Proxocket---A-Winsock-Proxy-Sniffer

      Edit: we can also exploit this behaviour benevolently by putting a set of DLLs in the Downloads folder that would be loaded by any installers being run from there, which could do things like sandboxing/install logging. (Presumably browsers would be not so brash as to…

    • rahimnathwaniSep 2015

      "Baidu Yun" is an online file locker (like Dropbox) with a generous free quota. You can create a shareable link for a file with a single click. Why would you think someone at Baidu would have knowledge of a particular file a user shared on that service?

      Separately, you bring up Baidu's "involvement" in the DDoS attack on GitHub. I remember reading that this was achieved using a man-in-the-middle attack on customers of Baidu's analytics product, which would not need Baidu's cooperation: http://www.netresec.com/?page=Blog&month=2015-03&post=China%27s-Man-on-the-Side-Attack-on-GitHub

    • mirashiiApr 2015

      The man on the side they're performing, according to analysis, seems to be letting the initial SYN through to the original server, you get the SYN-ACK back from the actual Baidu server. Then after your ACK and HTTP GET, the other packets are injected. If they wanted to make the attack more subtle, messing with the timing to make it match the original SYN-ACK pair and keeping the right TTL values would make it much harder to detect.

      http://www.netresec.com/?month=2015-03&page=blog&post=china%27s-man-on-the-side-attack-on-github

    • acdhaApr 2015

      Actually, it would have stopped this particular variant because Baidu serves the script from baidu.com:

      http://www.netresec.com/?page=Blog&month=2015-03&post=China%27s-Man-on-the-Side-Attack-on-GitHub

      That said, it would only matter if Baidu was doing something like serving the script only over HTTPS using HSTS which I imagine would incur a non-trivial backlash for them.

      I'd also be surprised if they couldn't relatively easily move on to another similarly insecure script requested by many people outside of China.

    • stock_toasterJun 2015

      I assume you can (untested) reference https endpoints with a favicon?

      If you can inject html though, a hidden image would probably would just as well. Although the behavior of chrome apparently still requesting the favicon file after the tab has closed, and possibly storing it in the history or bookmark file, may make this more or less appealing. Unsure.

      http://www.netresec.com/?page=Blog&month=2015-03&post=China%27s-Man-on-the-Side-Attack-on-GitHub

    • EvanAndersonFeb 2023

      I used to use netsh to capture on Windows boxes but the workflow for getting the data into pcap format was awful. Lately I’ve been using RawCap[0]. It’s a single EXE that works on stock versions of Windows and produces pcap files. It has no capture-time filtering options, which is a bummer, but it’s quicker for me to get data to look at than the netsh / convert to pcap workflow.

      [0] https://www.netresec.com/?page=Blog&month=2020-01&post=RawCap-Redux

    Related

    Netcraft Newsnews.netcraft.com205 people

    The Meteoric Rise of DigitalOcean

    Netcraft News
    Company · last shared 2023
    Tor Project Blogblog.torproject.org465 people

    Is Tor still safe to use?

    Tor Project Blog
    Company · last shared 2026
    Krebs on Securitykrebsonsecurity.com1.4k people

    Whistleblower: Ubiquiti Breach “Catastrophic”

    Krebs on Security
    Personal · last shared 2026
    Synacktivsynacktiv.com47 people

    Defend against vampires with 10 gbps network encryption

    Synacktiv
    Company · last shared 2026
    NetBSD Blogblog.netbsd.org66 people

    NetBSD fully reproducible builds

    NetBSD Blog
    Company · last shared 2026
    Cisco Blogsblogs.cisco.com165 people

    Thor – A Project to Hammer Out a Royalty Free Video Codec

    Cisco Blogs
    Company · last shared 2026
    Netlab 360 Blogblog.netlab.360.com27 people

    RotaJakiro: A long live secret backdoor with 0 VT detection

    Netlab 360 Blog
    Company · last shared 2024
    Netflix Tech Blogtechblog.netflix.com360 people

    Node.js in Flame Graphs

    Netflix Tech Blog
    Company · last shared 2025