Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How North Korea Tracked Wannacry Hackers

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, it is possible to trace cyberattacks to their physical origin. Authorities tracked the North Korean hackers behind the WannaCry ransomware attack by combining digital forensics with traditional police investigation. This process involves identifying the hackers' digital infrastructure, linking that infrastructure to real-world assets, and executing surveillance operations.

What You'll Need

  • A computer with internet access for analysis (if following the forensic methodology).
  • Basic knowledge of network protocols and IP addresses.
  • Access to threat intelligence feeds or open-source security reports.
  • Legal authorization and cooperation from law enforcement agencies.

Step-by-Step

  1. Identify the Initial Vectors: Analyze the malware to determine how it spread. For WannaCry, the attack exploited the EternalBlue vulnerability in Microsoft’s Server Message Block (SMB) protocol. Investigators look for the specific tools used to scan for and exploit this vulnerability.
  2. Correlate the Infrastructure: Trace the command-and-control (C2) servers used by the malware to communicate back to the attackers. This involves analyzing network traffic logs and DNS records to find the IP addresses and domain names used to receive stolen data or issue new commands.
  3. Map the Digital Footprint: Use threat intelligence to link these IP addresses and domains to known hacking groups or specific organizations. In the case of WannaCry, the infrastructure was linked to Lazarus Group, a North Korean state-sponsored hacking group.
  4. Identify the Hosting Provider: Once the C2 servers are identified, determine which internet service provider (ISP) or data center hosts them. This requires subpoenas or cooperation with international law enforcement to reveal the billing and registration details of the hosting service.
  5. Locate Physical Assets: With the hosting provider’s information, investigators can pinpoint the physical location of the servers. This often involves tracing the internet backbone to the specific data center rack where the servers are housed.
  6. Conduct Surveillance: Deploy surveillance teams to the physical location. This may involve monitoring the building for personnel entering and exiting, or using network traffic analysis to track the movement of the attackers if they are physically present at the data center.
  7. Link to Individuals: Use security footage, access logs, and financial records to identify specific individuals responsible for the servers. Investigators look for patterns of behavior, such as the use of specific hardware or the presence of North Korean travel documents.
  8. Execute Arrests: Coordinate with local law enforcement to arrest the individuals identified in the previous step. This is often the most difficult step, as it requires international cooperation and legal agreements between countries.

Common Mistakes

  • Ignoring Low-Complexity Indicators: Focusing only on sophisticated tools while missing basic security failures. In WannaCry, the attackers exploited a known vulnerability. Many victims had not applied the necessary security patches, which allowed the attack to spread.
  • Overlooking Attribution: Assuming that a specific IP address always belongs to the same individual. Hackers often use proxies, VPNs, and botnets to obscure their true location, making it difficult to attribute an attack to a specific person or group.
  • Neglecting Legal Jurisdiction: Attempting to trace an attack without proper legal authorization. Cybercrime often crosses international borders, and investigators must ensure they have the legal authority to request data from foreign entities.
  • Ignoring Physical Security: Relying solely on digital forensics without considering the physical location of the attackers. This can lead to a situation where the digital infrastructure is identified, but the individuals behind it remain at large.

Tips

  • Use Threat Intelligence Platforms: Leverage platforms that aggregate data from multiple sources to identify and track hacking groups. These platforms can provide valuable insights into the tactics, techniques, and procedures (TTPs) used by attackers.
  • Monitor Dark Web Markets: The dark web is often used by hackers to sell stolen data and tools. Monitoring these markets can provide clues about the activities of specific groups and the tools they are using.
  • Collaborate with International Partners: Cybercrime is a global problem. Working with law enforcement agencies in other countries is essential for tracing attacks to their physical origin and apprehending the perpetrators.
  • Preserve Digital Evidence: When an attack occurs, it is crucial to preserve all digital evidence, including logs, network traffic, and malware samples. This evidence is essential for tracing the attack back to its source.

Troubleshooting

If the investigation does not go to plan, the following steps may help:

  • No Direct Link Found: If the digital infrastructure is not directly linked to the attackers, try looking for indirect links. This may involve analyzing the financial transactions associated with the servers or the communication patterns of the individuals involved.
  • Host is Uncooperative: If the hosting provider refuses to reveal the identity of the customer, try to obtain a subpoena or court order. You may also need to work with international law enforcement to apply pressure on the provider.
  • Attackers Use Proxy Networks: If the attackers are using a proxy network, try to identify the entry point and the exit point. This can help to narrow down the search to a specific geographic area.
  • Physical Surveillance is Ineffective: If surveillance teams are unable to identify the attackers, try using network traffic analysis to track their movement. This can be done by monitoring the traffic patterns of the servers and looking for anomalies.

Frequently Asked Questions

How long does it take to trace a cyberattack?

It depends on the complexity of the attack and the availability of evidence. Some attacks can be traced in a matter of hours, while others may take weeks or months.

Is it possible to trace a hacker to their exact location?

Yes, it is possible to trace a hacker to their general location, but pinpointing their exact address is difficult due to the use of proxies and VPNs.

What tools are used to trace cyberattacks?

Investigators use a variety of tools, including network traffic analyzers, threat intelligence platforms, and malware analysis tools.

How do international law enforcement agencies work together?

Agencies work together through mutual legal assistance treaties (MLATs) and other agreements that allow them to share information and request assistance in investigations.

Can individuals trace cyberattacks on their own?

Individuals can gather some basic information, but tracing a cyberattack to its physical origin requires specialized skills and legal authority.