Am investigating a macOS Catalina machine that is believed to be infected with malware. Have been viewing packets with tcpdump and noticed, on connecting to any web address, there are legit packet that gets sent to the DNS server... then... there are packets that get sent from (or some port) to -- the packet headers are labelled with incorrect checksum (cksum -> incorrect).

Also, there are packets (or some other port) -> labelled bad checksum (bad udp cksum). And, again localhost, -> again with bad checksum (bad udp cksum). All this traffic is on the lo0 adapter.

Packet traces

Incorrect checksum destination Incorrect checksum destination

Bad checksum destination Bad checksum destination

Bad checksum source destination Bad checksum source destination

Attempts to find process:

sudo lsof -i sudo lsof -i

netstat netstat

My guess is this is related to some corruption with mDNSResponder? Welcoming and appreciate any tips or suggestions on how to solve.

2 Answers 2


The bad checksums might be the result of checksum offloading: https://wiki.wireshark.org/CaptureSetup/Offloading#Checksum_Offload

Also, you can use the "-p" switch in netstat to show the Process ID, I believe this requires sudo for that switch.

Hope this helps.

  • Disable TSO / LRO / GSO
  • Disable Tx / Rx Checksum offloading
  • 3
    And what would these things do? Can you expand your answer with more detail and explain how this might help
    – schroeder
    Mar 4, 2021 at 18:30
  • These options will help offload some work from SW to HW. To my understanding, the tcpdump will capture the packets in the SW layer, take a sending packet for example, the checksum field will be recalculated by HW or FW in the NIC. So in the pcap file, some packet captured may not have the correct checksum since the SW doesn't care about this field before sending. Mar 27, 2021 at 12:19
  • Can you please edit your question with these details? Right now, this is only a fraction of an answer.
    – schroeder
    Mar 27, 2021 at 12:40
  • This is not my question. This is my answer. Mar 29, 2021 at 3:37
  • Right, can you pleased edit your answer with these details?
    – schroeder
    Mar 29, 2021 at 6:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .