In AppSealing Blog

The increasing use of mobile devices for online transactions, browsing, and accessing various services has made it essential to enhance the security of these devices. By analyzing device-specific characteristics, device fingerprinting can identify suspicious activities or patterns in real-time. This allows organizations to detect potential fraudulent behavior and take proactive measures to mitigate risks, ensuring a safer online environment for users. 

Let’s try to understand device fingerprinting in detail. And it starts with “What”.

What is Device Fingerprinting?

Device fingerprinting is a sophisticated technique employed to recognize, monitor, and track

individual devices as they interact with websites and applications, by analyzing their unique characteristics.In the digital realm, it allows websites, advertisers, and security experts to monitor user activity, safeguard against cyber threats, and personalize content.

In device fingerprinting, various data points are collected to create a unique identifier for individual devices. Each data point provides specific information about the device or user, contributing to a comprehensive fingerprint. Let’s explore these data points in detail:

  • IP address: The IP address is a unique string of numbers and/or letters assigned to a device when it connects to the internet. It helps identify the device’s location and internet service provider.
  • HTTP request headers: These headers are sent by the client’s browser to the server when requesting a web page. They contain information about the browser, the requested page, and user preferences.
  • User-agent string: The user-agent string is a text identifier sent by the browser that provides information about the browser type, version, and the device’s operating system.
  • Installed plugins: Plugins are software components that extend the functionality of a browser. The list of installed plugins can provide insight into a user’s preferences and device capabilities.
  • Client time zone: The client’s time zone is determined based on the device’s system clock and provides information about the user’s location.
  • Information about the client device: This includes data such as screen resolution, touch support, operating system, and language. These attributes help tailor the user experience and contribute to the uniqueness of the device fingerprint.
  • List of installed fonts: The collection of installed fonts on a device can provide insight into the user’s preferences and further contribute to the uniqueness of the device’s fingerprint.
  • Silverlight data: Microsoft Silverlight, though also no longer widely used, can provide additional information about the device, such as installed codecs, screen resolution, and more.
  • List of mime-types: Mime-types are identifiers for different file formats and media types supported by the browser. This information can help tailor the user experience and contribute to the device’s fingerprint.
  • Timestamp: The timestamp is a record of the date and time when a specific event, such as accessing a website or submitting a form, occurred. It can be used to analyze user behavior and detect suspicious activity.

Accurate device identification is essential for businesses to assess the effectiveness of their online presence. By examining device fingerprints, companies can determine which devices are most commonly used by their target audience and optimize their web design and marketing strategies accordingly.

How Does Device Fingerprinting Work?

Device fingerprinting collects and analyzes these data sources to identify unique devices and track user behavior. Here is a step-by-step explanation of how device fingerprinting works as a user accesses a website or app:

  1. The user navigates to a website or opens an app on their device. In order to load and display the content properly, the site or app requires certain information about the user’s device.
  2. As the site or app loads, it automatically retrieves a range of device attributes, including the IP address, browser brand, and version, HTTP request headers, the user_agent string, operating system (OS), browser or OS language, installed browser fonts, time zone, and many others.
  3. These attributes are crucial for optimizing the user experience by tailoring the website or app content to the specific device. For example, the site might display a mobile-friendly layout on smartphones or adjust the language based on the browser’s language setting.
  4. Once the site or app has collected the device attributes, it processes and combines them to create a unique identifier known as a device hash. This hash represents the device’s fingerprint, which can be used to distinguish it from other devices accessing the site or app.
  5. The device hash is then parsed by the platform’s fraud manager, which compares it against a database of known devices and their associated behavior patterns. This enables the fraud manager to identify potentially malicious devices, track user activity, and flag unusual behavior that might indicate fraud or other security threats.
  6. Depending on the platform’s security policies, the fraud manager may take various actions based on the device’s fingerprint analysis. This could include blocking high-risk devices, requiring additional authentication measures, or alerting the security team for further investigation.

Cookies vs. a Device Fingerprint

Cookies and device fingerprints are two distinct methods employed for tracking user activity and identifying devices in the digital realm. While both techniques serve the purpose of tracking and personalizing user experiences, they differ in several key aspects:

Data Storage and Collection:

Cookies are small text files stored on a user’s device by a website containing information about the user’s preferences, browsing history, and other site-specific data. They are created and managed by the website’s server, which sends the cookie to the user’s browser, where it is saved for future reference.

In contrast, device fingerprinting does not rely on storing data on the user’s device. Instead, it collects various device attributes such as operating system, browser type and version, screen resolution, IP address, and more during user interactions with websites or apps. This information is then combined to create a unique identifier or device hash.

User Control:

Users have more control over cookies, as they can delete, block, or manage them using their browser settings. This enables users to safeguard their privacy and limit online activity tracking.

Device fingerprinting, on the other hand, offers limited user control as it does not involve storing data on the user’s device. Consequently, users cannot easily opt out or manage device fingerprinting through browser settings.

Persistence and Reliability:

Cookies have an expiration date, which means they can be temporary (session cookies) or persistent (long-term cookies). However, users can easily delete or block cookies, rendering them less reliable for tracking and identification purposes.

Device fingerprints are more persistent and reliable, as they are based on the unique combination of device attributes, which remain relatively consistent over time. This makes it difficult for users to evade tracking or identification, providing a more stable means of monitoring user activity.

Privacy Concerns:

Cookies have been the subject of privacy concerns due to their capacity to track user behavior across multiple websites, leading to the implementation of privacy regulations such as the EU’s General Data Protection Regulation (GDPR) and the California Consumer Privacy Act (CCPA).

How is a Device Fingerprint Used to Help Fight Fraud? 

As an e-commerce merchant, combating fraud is crucial to maintaining your business’s reputation, ensuring customer satisfaction, and minimizing financial losses. Relying solely on IP addresses for fraud detection has its limitations, as numerous devices can share the same IP address, and fraudsters can easily mask their IP using VPNs or proxy servers. 

Device fingerprinting can be employed as a more comprehensive and robust fraud detection strategy to overcome these challenges. In this context, we will explore how device fingerprinting can help mitigate various fraud tactics, including click fraud, card testing fraud, fraudulent orders, and account takeover fraud.

Click Fraud: 

Click fraud occurs when fraudsters repeatedly click on pay-per-click (PPC) advertisements to exhaust a competitor’s advertising budget or generate illegitimate revenue for themselves. By analyzing unique device fingerprints, e-commerce platforms can identify patterns of suspicious activity, such as multiple clicks from the same device in a short period or clicks from devices with similar fingerprints. This allows merchants to filter out fraudulent clicks and prevent financial losses from click fraud.

Example: If an advertising campaign is receiving a sudden influx of clicks from a small set of devices with similar fingerprints, it could indicate a click fraud attempt. By identifying these devices and blocking their access, merchants can prevent financial losses and maintain the integrity of their advertising campaigns.

Card Testing Fraud: 

Card testing fraud occurs when cybercriminals use stolen credit card information to make small purchases, verifying if the card details are valid before making larger fraudulent transactions. Device fingerprinting can help identify devices involved in card testing by detecting unusual patterns, such as multiple small transactions from the same device or transactions from devices with similar fingerprints.

Example: If an e-commerce platform detects multiple small transactions from a single device within a short timeframe, it could indicate card testing fraud. By analyzing the device fingerprint and comparing it to known fraudulent devices, merchants can block the suspected device and prevent larger fraudulent transactions.

Fraudulent Orders:

Fraudulent orders involve cybercriminals using stolen personal information or credit card details to make unauthorized purchases. Device fingerprinting can help identify these fraudulent orders by analyzing device attributes and comparing them to known fraud patterns or blacklisted devices. This enables e-commerce platforms to flag suspicious orders, verify the user’s identity, or block the transaction altogether.

Example: Suppose an e-commerce platform receives a high-value order from a device with a fingerprint that matches known fraudulent devices. The merchant can flag the order for manual review, request additional authentication, or cancel the transaction to prevent potential fraud.

Account Takeover Fraud:

Account takeover fraud occurs when cybercriminals gain unauthorized access to a user’s account, typically by exploiting weak passwords, phishing attacks, or data breaches. Device fingerprinting can help identify account takeover attempts by detecting unusual login patterns, such as multiple failed login attempts from the same device, logins from devices with similar fingerprints, or logins from unfamiliar devices.

Example: If a user’s account experiences a sudden change in device fingerprints, such as a new operating system or an unexpected IP address, it could indicate an account takeover attempt. By analyzing the device fingerprint, merchants can prompt the user for additional authentication or temporarily lock the account to prevent unauthorized access.

Use Cases for Device Fingerprinting 

Device fingerprinting has numerous use cases, from enhancing user experiences to ensuring online security. 

By collecting and analyzing unique device attributes, businesses, and organizations can better understand user behavior, optimize online experiences, and protect against potential threats.

Let’s explore 3 use cases of device fingerprinting as under:

Use Case #1: Tailored Content Recommendations: 

When users access a website, their IP address and device fingerprint can reveal their geo-location. This information allows e-commerce sites and content providers to offer personalized recommendations based on the user’s location. For example, they can display locally relevant content, suggest nearby stores or events, or adjust language and currency settings to cater to user preferences. This level of personalization enhances user experience and increases the likelihood of user engagement and conversion.

Use Case #2:Preventing Financial Frauds in Banks 

Device fingerprinting plays a crucial role in preventing banking fraud, as it enables banks and financial institutions to identify and monitor devices used to access their services. By collecting and analyzing various device attributes, device fingerprinting can detect and flag potentially suspicious activities that may indicate fraud.

 Let’s explore some use cases where device fingerprinting can help prevent banking fraud:

  • Unusual Device or Location:

When a user logs into their bank account using a different device or from an unfamiliar location, device fingerprinting can identify these changes and flag the activity as potentially suspicious. For example, suppose a user typically accesses their iPhone account in New York but suddenly logs in using an Android device in Paris. In that case, the bank can detect this discrepancy and take appropriate action, such as requiring additional authentication or temporarily locking the account.

  • Obscure IP Address:

Fraudsters often use VPNs, proxy servers, or other methods to mask their true IP addresses and evade detection. Device fingerprinting can identify when a user logs in from an obscure or unexpected IP address, flagging the activity for further investigation. For instance, if a user’s account is typically accessed from a residential IP address in the United States but suddenly shows a login from a data center IP address in a foreign country, the bank may consider this activity suspicious and take appropriate precautions.

  • Account Takeovers:

In account takeover fraud, cybercriminals gain unauthorized access to a user’s bank account, often through phishing attacks, data breaches, or by exploiting weak passwords. Device fingerprinting can help detect account takeover attempts by identifying unusual login patterns, such as multiple failed login attempts, logins from devices with similar fingerprints, or logins from unfamiliar devices. Suppose a user’s account experiences a sudden change in device fingerprint or an unexpected login location. In that case, the bank can prompt the user for additional authentication or temporarily lock the account to prevent unauthorized access.

  • Money Laundering:

Money laundering involves disguising the origins of illegally obtained funds to make them appear legitimate. Fraudsters may use spoofing techniques to conceal their identity, making it challenging for banks to detect and prevent money laundering. Device fingerprinting can help identify devices involved in money laundering by analyzing the device attributes and comparing them to known fraud patterns or blacklisted devices. Banks can flag suspicious transactions, freeze accounts, or report the activity to relevant authorities.

Use Case #3:Preventing ECommerce Frauds 

Device fingerprinting offers a powerful solution for preventing e-commerce fraud, thanks to its ability to uniquely identify devices and detect irregularities in user behavior. 

By analyzing the unique device fingerprint, merchants can identify patterns that may indicate a fraudulent transaction, such as an unusual combination of device attributes, a sudden change in the device’s location, or a mismatch between the billing and shipping addresses. Additionally, merchants can compare the device fingerprint against a database of known fraudulent devices or blacklisted attributes. If a match is found, the system can flag the order for manual review or request additional authentication from the user to verify their identity.

Device fingerprinting can also help detect card testing fraud by identifying devices involved in multiple small transactions within a short time frame or devices with similar fingerprints attempting transactions across different accounts. Upon detecting such patterns, merchants can block the suspected device, require additional verification, or monitor the transactions for further signs of fraud.

The Impact the GDPR Has on Device Fingerprinting 

While device fingerprinting can provide valuable insights and enhance security measures, organizations must carefully consider the GDPR’s requirements when implementing such techniques. 

Balancing the benefits of device fingerprinting with the need to protect user privacy and adhere to the GDPR is essential to ensure compliance and maintain user trust.

Under Article 4 of the GDPR, personal data includes any information relating to an identified or identifiable natural person using online identifiers like cookies, device IDs, and IP addresses. Device fingerprinting, by its nature, collects and processes numerous data points (including IP addresses, user agent strings, and other device-specific information) to uniquely identify devices and users.

The GDPR emphasizes the importance of user consent, transparency, and data minimization. In the context of device fingerprinting, this means:

  • Consent: In most cases, collecting and processing personal data through device fingerprinting requires explicit and informed consent from the user. This means that users must be made aware of the data collection, its purpose, and be given the option to opt-in or opt-out. Processing personal data without proper consent could result in non-compliance with the GDPR.
  • Transparency: Organizations must provide clear and easily understandable information to users about how their personal data is being collected, processed, and stored through device fingerprinting. This should include details on the specific data points being collected, the purpose of the data collection, and any third parties with whom the data might be shared.
  • Data Minimization: The GDPR requires organizations to collect and process only the minimum personal data necessary to achieve their intended purpose. In the context of device fingerprinting, this means limiting the data points collected to those that are absolutely necessary for the specific use case, such as fraud prevention or providing a personalized user experience.

Is Device Fingerprinting Enough to Stop Fraud? 

The short answer is, No. The theft of device fingerprints via malware and their subsequent use in anti-fingerprinting browsers presents a significant threat to users and organizations.

Let’s try to understand a typical scenario where cybercriminals continually develop new techniques to carry out their malicious activities, then use them to spoof the user’s identity in anti-fingerprinting browsers. 

Let’s break down this process to understand how it works:

  1. Malware Infection: The first step involves infecting a user’s device with malware, which can happen through various means, such as phishing emails, malicious downloads, or drive-by downloads from compromised websites. Once the malware is installed on the user’s device, it gains access to its data, including the device’s fingerprint.
  2. Stealing Device Fingerprint: The malware then collects the device fingerprint, which consists of various data points, such as IP address, user agent string, browser and operating system details, installed plugins, and other unique identifiers. This information is transmitted back to the cybercriminals, who now possess a detailed profile of the user’s device.
  3. Importing Stolen Fingerprint into Anti-fingerprinting Browsers: Anti-fingerprinting browsers are designed to help users maintain their privacy by hiding or obfuscating their unique device fingerprints. Cybercriminals can take advantage of these browsers by importing the stolen device fingerprint into them, effectively impersonating the targeted user.
  4. Spoofing the User: With the stolen device fingerprint loaded into the anti-fingerprinting browser, cybercriminals can now attempt to spoof the user in question. They may use this impersonation to access the user’s online accounts, carry out fraudulent transactions, or conduct other malicious activities while appearing as legitimate users. This makes it harder for security systems to detect fraudulent activities, as they appear to originate from a genuine user’s device.

At AppSealing, we are dedicated to providing top-notch mobile application security through our extensive range of security solutions tailored for Android, iOS, and Hybrid applications. We cater to a diverse range of industries including gaming, fintech, O2O, and e-commerce by customizing our security offerings to suit specific needs. Our in-app protection, shielding, and app strengthening techniques guarantee safety without requiring any coding, allowing for the swift launch of secure applications.

We pride ourselves on delivering solid security without compromising performance, featuring a real-time monitoring dashboard, insightful threat analytics on potential attack vectors, and seamless integration with third-party tools. Reach out to us today to benefit from our innovative and patented technology in mobile app security.

Govindraj Basatwar, Global Business Head
Govindraj Basatwar, Global Business Head
A Techo-Commerical evangelist who create, develop, and execute a clear vision for teams. Successfully created a SaaS business model with multi Million Dollar revenues globally. Proven leadership track record of establishing foreign companies in India with market entering strategy, business plan, sales, and business development activities.