Skip to content

Unmasking juice jacking: the hidden cyber threat lurking at public charging stations

Imagine this: you’re at an airport, and your phone’s battery is low. You spot a public charging kiosk—perfect, right? Well, not really. Welcome to the world of juice jacking. It’s like pickpocketing in the digital age, which happens while your phone is charging at public stations.

Juice jacking is mostly bad news for people who are always on the move, like travelers or those who do business on the go. Thus, this threat is on the radar of business cybersecurity risks.

While there isn’t much data on juice jacking or recorded events that serve as a precedent, this type of attack is a potential sleeper. Interestingly, earlier in 2023, the Federal Bureau of Investigation (FBI) and the Federal Communications Commission (FCC) raised awareness about juice jacking, implying that such cases have appeared.

In this article, we’re diving into the not-so-sweet details of juice jacking. We’ll uncover what it is, how the bad actors pull it off, and how you can dodge this sneaky cyber trick. Ready? Let’s jump right in.

What is juice jacking?

Juice jacking is like a stealthy attack on a phone, tablet, or laptop. It happens when someone plugs a device into a public charging station, and sneaky software slips into it. The goal is to steal information or infect your device with malware.

Which devices are the usual targets? Phones and tablets are the top picks, but really, it’s anything that charges up through a USB port. Think about your devices—smartphones, laptops, and even some e-readers. If it charges using USB, it could be at risk.

Where is this attack most likely to happen? Airports, malls, hotels, gyms, libraries—places with public charging spots that seem helpful when your battery’s running low. Attackers know that when a battery’s dying, people don’t think about security—they just want that charge. And that’s when the attackers make their move.

The mechanics of juice jacking

Imagine the charging cable as a two-way street. Typically, we think it’s just there to send power to your device, but it can also transfer data.

But here’s the sneaky part—criminals rig the public charging stations with a so-called “skimming device”—think of it like a hidden microphone, but for data. It’s tucked away inside the USB port, out of sight, waiting to snatch the data. When someone plugs in their device, this skimmer gets busy, extracting information from it or dropping off malware like an invisible spy.

How juice jacking works

Let’s dive deeper. Juice jacking is all about two things: stealing your business data and leaving behind nasty surprises in the form of malware.

Data theft

While a device is charging in a public station, the hidden skimming device gets to work. It discreetly sifts through the device, hunting for valuable information. We’re talking emails, contacts, and even confidential business files—the juicy details that you definitely don’t want in the wrong hands. So, while you’re waiting for a battery boost, someone could also be shopping online with your credit card.

Malware installation

Having a device connected and charging, the skimmer plays the role of a malicious invader, planting unwanted malware into your device.

Malware can have many harmful effects, like discreetly spying on your business activities, interfering with your device’s operation, or even locking you out of your own files. It’s like leaving a device with a bug that keeps causing trouble long after you’ve unplugged from the charging station.

Why endpoint security matters

Endpoint security is important in the grand scheme of a business’s digital safety net. It’s like having well-trained guards at every door and window of your office in the digital dimension.

  • A study by the Ponemon Institute reveals that 68% of organizations faced one or more endpoint attacks, leading to compromised data and/or IT infrastructure.

  • According to an IBM publication, 79% of business travelers unknowingly risk exposure to attacks by using public USB ports or charging stations.

  • A 2021 global Statista survey on endpoint security visibility revealed that 73% of participants considered isolating the endpoint from the network to be crucial for effectively responding to an endpoint attack. Meanwhile, 38% believed that locking user accounts and revoking credentials were vital actions in responding to such attacks.

In essence, endpoint security is not just a part of the defense; it’s a core element. It helps cement the walls of your business’s cyber fortress, ensuring that data remains protected and business operations flow smoothly without disruptions from sneaky, malicious invaders.

Preventing juice jacking

First, knowing if you’ve fallen victim to juice jacking is tricky. The device might act weird, like slower performance or unexpected pop-ups—signs that your device has been compromised if:

  • The device consumes more battery life than usual

  • It operates at a slower speed

  • Takes longer to load

  • Crashes frequently due to abnormal data usage

If you spot unfamiliar apps or your battery drains faster than usual, those could be red flags, too.

Best practices

Protecting your device starts with some simple habits. Keep a personal charger handy—your own charger is always the safest option. Public USB charging stations? Maybe skip those if you can. They’re like candy stores for cybercriminals.

To avoid being juice jacked, follow these tips for protecting your device:

  • Steer clear of public USB charging stations

  • Refuse requests for data transfer

  • Opt for two-factor authentication or biometric login options when possible

  • Bring along a personal portable charger or battery pack with you

  • Use electrical outlets with your personal charging cable and wall charger

Technological solutions

Technology can be your ally here. Consider using USB data blockers—they let you charge without the risk of data transfer. And keep your device’s software updated; it’s like giving the device some armor against malware.

Awareness and training

Knowledge is power. The more people know about these sneaky attacks, the better. Organizations should consider conducting training sessions—they’ll make their defense game stronger. And stay updated—new tricks pop up, and keeping in the loop helps stay one step ahead.

Juice jacking and corporate security

For businesses, juice jacking is a real headache. It’s not just about one device—it could jeopardize the whole company’s data. Especially for traveling employees, staying cautious is key. A simple charge at a public station could turn into a costly data disaster.

Further readings to grow your cyber awareness

FAQ

What types of business data are most vulnerable during juice jacking?

Any data stored on your device can be at risk. This includes emails, contacts, customer information, and sensitive business documents. Basically, anything you wouldn’t want to fall into the wrong hands.

How can businesses prevent their employees from becoming victims of juice jacking?

Education is key. Make sure employees are aware of the risks associated with using public USB charging stations. Encourage the use of personal chargers and provide USB data blockers as a protective measure.

Are certain types of public charging stations riskier than others?

It’s hard to pinpoint which public charging stations are riskier, as any station could be compromised. However, stations in less secure or highly populated areas may present a higher risk.

What immediate steps should be taken if an employee suspects their device has been juice jacked?

If there is suspicion, immediately stop using the device and disconnect it from networks to prevent potential data transmission. Conduct a thorough security scan, remove unfamiliar apps, and change passwords as a precautionary step.

How can a business assess the security of a public charging station?

It’s challenging to assess the security of a public charging station on the spot. Instead, focus on equipping employees with tools and knowledge to avoid risks, such as carrying personal chargers or using USB data blockers.

Should businesses avoid the use of public charging stations altogether?

While it’s not always feasible to avoid public charging stations entirely, minimizing their use and applying protective measures, like using USB data blockers, can help mitigate risks.

Can updated or newer devices still be susceptible to juice jacking?

Yes, even the latest devices can fall victim to juice jacking. Keeping devices updated and using security tools can help protect them, but awareness and caution are crucial.

Genetic data leak, 23andMe point to credential stuffing

Hackers are selling genetic data stolen from users of the company 23andMe. The company itself says they weren’t breached, although their users’ data was used by what seems to be a single threat actor stealing personal details and genetic data. This data was then published or advertised online. 23andMe suggested that the threat actor(s) gained unauthorized access with “recycled login credentials”, a technique known as credential stuffing.

The logic is simple: Keep trying stolen username/password combinations, and eventually, they’ll work on another site. An easy solution to credential stuffing attacks? You guessed it: Multi-factor authentication (MFA). While 23andMe has offered an MFA feature since 2019, it was not made mandatory for users. With genetic and personal data at stake and up to 7 million users affected by these recent breaches, it might be time for a change in policy.

The Bleach Breach: Clorox revenue and supply chain hit

Clorox, the household cleaning giant, predicts a more than 20% drop in quarterly sales due to a cyberattack (thought to be ransomware) that caused product shortages and operational disruptions. Manufacturing, often kept running by legacy systems and sprawling workforces, suffers more cyberattacks than any other industry.

The Clorox incident is being linked to the same group responsible for the MGM and Caesars Palace hacks, discussed in our previous episode, which occurred around the same time in August 2023. “Scattered Spider” is notorious for using social engineering methods to gain access to internal systems. The Clorox Company’s share price has dropped by over 7 percent in the last month.

Wearable AI: Trendy or just trending?

Tech companies are rushing to secure the lead in wearable AI products. Meta has collaborated with Ray-Ban on a pair of high-tech glasses, enabling wearers to live stream directly from the glasses to Facebook or Instagram and voice activate Meta AI, “an advanced conversational assistant”. Jony Ive, Apple’s legendary former design lead, and OpenAI are reportedly teaming up to design the “iPhone of AI”.

Rewind.ai unveiled a neck-worn pendant that records conversations to your smartphone and creates a searchable database of life moments. Humane, imagining “a world where you can take AI everywhere”, have developed a smart device that resembles a badge or lapel pin.

The common goal here seems to be for technology to rely less on screens, to fade from view, and become all but invisible.

Stay tuned for the next episode of Cyberview.

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

About NordLayer
NordLayer is an adaptive network access security solution for modern businesses – from the world’s most trusted cybersecurity brand, Nord Security.

The web has become a chaotic space where safety and trust have been compromised by cybercrime and data protection issues. Therefore, our team has a global mission to shape a more trusted and peaceful online future for people everywhere.

Data speaks volumes: how analytics improves network visibility

Network management is pivotal and complex in the increasingly connected world. The task is enormous, whether it’s understanding the intricate user activity patterns, keeping a keen eye on data traffic, or monitoring device activity within the network.

Enter the analytics territory, where data doesn’t just speak; it roars volumes. By harnessing tools such as activity logs, server usage analytics, and Device Posture Monitoring, network visibility reaches a new height into a new dimension.

Different challenges require diverse solutions

A company network is a complicated organizational ecosystem. Various aspects, like the load of data traffic and employee connections, require specific attention. These targeted approaches help in decision-making, identifying problems, and streamlining network performance.

The use of data analytics in network management is transformative in addressing different issues:

Security concerns

  • Behavior analysis – continuous monitoring and analyzing data traffic, unusual patterns, or anomalies can help detect signs of a security breach or threats.

  • Compliance monitoring – regular scans and assessments ensure that network configurations meet the industry’s compliance regulations.

Network performance optimization

  • Bottleneck identification – real-time analysis of network traffic data helps identify potential bottlenecks or overloaded devices, allowing proactive action to prevent slowdowns.

  • Capacity planning – historical data analysis allows organizations to predict future network needs, making planning for expansion or upgrades easier.

Troubleshooting and maintenance

  • Root cause analysis – analytics can provide deep insights into the root causes of network issues, allowing for quicker and more accurate resolutions.

  • Predictive maintenance – by analyzing trends and historical data, predictive algorithms can forecast potential hardware failures or performance degradation, enabling preventative maintenance.

User experience and behavior understanding

  • Application performance monitoring – insights into how applications perform on the network can lead to optimizations that enhance user experience.

  • User behavior tracking – understanding how users interact with the network provides valuable security and performance-tuning insights.

Cost Management

  • Resource allocation – data-driven insights help efficiently allocate resources, ensuring no part of the network is over- or underutilized.

  • Cost prediction – analyzing trends helps forecast bandwidth usage, hardware upgrades, and maintenance costs, aiding budget planning.

Strategic planning and decision-making

  • Trend analysis – long-term data analysis can uncover emerging trends and potential opportunities for innovation or improvement.

  • Decision support – data-driven insights support informed strategic decisions, aligning network management with business goals.

Device monitoring in network management

  • Device Posture Monitoring – understanding the state and security of all connected devices is crucial for a robust network environment, including:

    1. Real-time assessment – monitoring device states in real-time, tracking factors like software versions, security patch levels, and endpoint configurations to determine their compliance with security policies.

    2. Threat detection – identifying potential vulnerabilities through continuous device behavior surveillance and comparing them against established baselines. This allows for an immediate response to unusual activities.

    3. Integration with security protocols – Ensuring devices connecting to the network meet specific compliance and security standards is crucial. This is achieved by integrating posture assessments with existing network access controls.

    4. Automated remediation – to prevent potential security breaches, execute automatic actions to correct non-compliant devices, such as quarantining or patching.

    5. Visibility and reporting – providing comprehensive visibility into the devices connected to the network and generating detailed reports for compliance tracking and security auditing.

How NordLayer incorporates analytics for network visibility

NordLayer’s approach is all about simplicity. We offer a unified platform to manage your organization’s network from one central place. Different pieces of information give insights into varying elements monitored from a data perspective.

Here are the scenarios where NordLayer can come in handy when looking for an analytical angle of network performance.

An overview of connections and actions: Activity monitoring

Activity log 1400x7000 (1)

The network of a small company and a large enterprise needs to record every organization member to identify who has access to connect. It’s like a window into what’s happening within the network and how each element behaves at a surface level.

NordLayer’s Activity monitoring is a helpful functionality for admins. It allows organizations to not only identify a connected member but also have their details and session time to evaluate the tool’s usage.

From a user activity perspective, information like member name, device name, given ID number, and email helps spot any deviations in created user profiles. You can also track when members connect and disconnect from the network in a provided table, ensuring compliance with security policies.

The Activity monitoring also shows a list of admin’s actions, from creating gateways and logging in to enabling or enforcing specific features. It’s practical to track down what actions were performed retrospectively in case of an audit, procedure revision, or simply to avoid accidentally duplicate actions. The functionality supports troubleshooting, helping to find if single errors have affected the team level.

Admins can use an export capability to have all concise data in one place and use it for generating insights. The export capability allows downloading encrypted connection reports, often used for compliance audits and internal process reviews.

Track service performance: server usage analytics

Connection statistics help better understand bottlenecks and overloads of the company network. From the number of members to what servers they are connected to, it provides visibility to network managers to distribute teams more effectively.

Cramped servers lead to performance issues that impact your workforce’s productivity. Therefore, the data about service usage is crucial in future decision-making and establishing processes. NordLayer’s Insights tab in the Control Panel has interactive dashboards for server usage visibility.

The Insights tab provides a detailed data summary to analyze protocol connectivity patterns and see active sessions in a given time. The information available for protocol usage displays the company’s dedicated server metrics.

The active sessions dashboard lists data about the number of users connected to specific dedicated servers. It makes it easy for admins to analyze the distribution of connections and plan for potential future needs, such as additional dedicated servers.

Maintaining a record of network activity: Device Posture Monitoring

Hybrid work and bring-your-own-device (BYOD) policies increase the risk of malicious connections.

Managing and gaining visibility into the devices within the network is challenging. You need to verify the identity of connecting individuals and ensure their connecting devices aren’t infected and don’t threaten the organization’s network.

NordLayer’s Device Posture Monitoring functionality addresses this challenge by accurately monitoring who connects to the company network based on predefined rules. The feature is convenient for registering deviations from established norms.

Device Posture Security allows admins to define periodical device check rules listed below.

  1. Enabling a list of organization admin-trusted devices.

  2. Defining a preferred OS and its version.

  3. Specifying the supported NordLayer app version.

  4. Enforcing checks if the device is jailbroken or rooted.

  5. Confirming that the device contains a specific file.

  6. Checking for an allowlisted IP address on the device.

The functionality improves the admin’s visibility of a device’s compliance with internal policies and its up-to-date status. To increase actions based on the Zero Trust framework, the functionality provides information about access, device health, and activity data for devices in the organization.

Benefits of network visibility features

Having data and knowing what to do with it offers substantial benefits for organizations. By offering a panoramic view into the complex labyrinth of connections, server usage, connected devices, and their security posture, network visibility features not only enhance the control and management of the network but open doors to numerous advantages.

Additional security

Network visibility allows organizations to monitor and analyze network traffic effectively. By observing network behavior, IT admins can detect and respond to security threats. This approach helps identify suspicious activities or unauthorized access attempts.

Network performance

Insights into the network enable understanding and optimization. It assists with the identification of bottlenecks, congestion, latency issues, and network failures. Better network management enables a landscape where data informs and empowers, leading to a smarter, safer, and more efficient work environment.

Troubleshooting

Detailed insights provide information to make troubleshooting and resolving issues easier, thus saving time. When problems occur, IT admin can use all of these capabilities to analyze traffic patterns and pinpoint the source of the problem.

Embracing the future with advanced network visibility

As the digital landscape expands, the importance of a transparent, secure, and efficient network cannot be emphasized enough. With tools like NordLayer, organizations can confidently navigate this evolving terrain.

NordLayer showcases the future of network management, where data doesn’t just inform but empowers growing businesses that face increasingly complex network challenges. Embracing advanced analytics and visibility tools is not just a luxury—it’s a necessity.

Share article

 

Copied

Copy failed

 

Genetic data leak, 23andMe point to credential stuffing

Hackers are selling genetic data stolen from users of the company 23andMe. The company itself says they weren’t breached, although their users’ data was used by what seems to be a single threat actor stealing personal details and genetic data. This data was then published or advertised online. 23andMe suggested that the threat actor(s) gained unauthorized access with “recycled login credentials”, a technique known as credential stuffing.

The logic is simple: Keep trying stolen username/password combinations, and eventually, they’ll work on another site. An easy solution to credential stuffing attacks? You guessed it: Multi-factor authentication (MFA). While 23andMe has offered an MFA feature since 2019, it was not made mandatory for users. With genetic and personal data at stake and up to 7 million users affected by these recent breaches, it might be time for a change in policy.

The Bleach Breach: Clorox revenue and supply chain hit

Clorox, the household cleaning giant, predicts a more than 20% drop in quarterly sales due to a cyberattack (thought to be ransomware) that caused product shortages and operational disruptions. Manufacturing, often kept running by legacy systems and sprawling workforces, suffers more cyberattacks than any other industry.

The Clorox incident is being linked to the same group responsible for the MGM and Caesars Palace hacks, discussed in our previous episode, which occurred around the same time in August 2023. “Scattered Spider” is notorious for using social engineering methods to gain access to internal systems. The Clorox Company’s share price has dropped by over 7 percent in the last month.

Wearable AI: Trendy or just trending?

Tech companies are rushing to secure the lead in wearable AI products. Meta has collaborated with Ray-Ban on a pair of high-tech glasses, enabling wearers to live stream directly from the glasses to Facebook or Instagram and voice activate Meta AI, “an advanced conversational assistant”. Jony Ive, Apple’s legendary former design lead, and OpenAI are reportedly teaming up to design the “iPhone of AI”.

Rewind.ai unveiled a neck-worn pendant that records conversations to your smartphone and creates a searchable database of life moments. Humane, imagining “a world where you can take AI everywhere”, have developed a smart device that resembles a badge or lapel pin.

The common goal here seems to be for technology to rely less on screens, to fade from view, and become all but invisible.

Stay tuned for the next episode of Cyberview.

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

About NordLayer
NordLayer is an adaptive network access security solution for modern businesses – from the world’s most trusted cybersecurity brand, Nord Security.

The web has become a chaotic space where safety and trust have been compromised by cybercrime and data protection issues. Therefore, our team has a global mission to shape a more trusted and peaceful online future for people everywhere.

Improving NordVPN’s Android performance using the Compose Compiler plugin

At NordVPN, we’ve harnessed the power of Jetpack Compose and its feature-rich capabilities to craft the user interface of our Android app. While Compose has accelerated our feature development workflow, our commitment to product quality drives us above all. We’re continuously exploring strategies for maintaining optimal performance.

The new Compose integration has sparked a lot of internal discussion regarding the app’s performance. One of the things we at NordVPN do is to integrate the Compose Compiler plugin in our day-to-day development process, which helps us improve our code. In this blog post, we explain what the Compose Compiler plugin is, how it works, and how we use it at NordVPN.

What problems did we have?

When working with Jetpack Compose, we encountered performance issues related to the stability of composable functions. Our primary goal in working with composable functions was to make them as stable as possible, or “skippable” in Compose terminology. In this context, “skippable” means that if a composable function is recomposed and its parameters haven’t changed since the previous recomposition, Compose will skip the function and reuse the previous values.

With Compose, we can see significant performance improvements because even minor improvements can reduce recomposition count levels throughout the app. To assess the stability of composable functions, we can leverage the Compose Compiler plugin.

The Compose Compiler plugin

Compose Compiler is a plugin that can generate reports and metrics for components or code written in Compose. These reports provide detailed insights into the behavior of our Compose code. The plugin was added in version 1.2 of the Compose library.

With this detailed insight, we can begin making improvements to our code.

How does it work?

The Compose Compiler plugin is a Gradle task that generates reports for composable code within a module. It assesses the stability of the code, offering the flexibility to run it locally or in a CI pipeline when necessary.

It is recommended to generate the report in Release builds.

To ensure that the plugin works perfectly, we first need to configure it in the project’s Gradle file.

1

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {

2

compilerOptions {

3

if (project.findProperty(“nordvpn-app.enableComposeCompilerReports”) == “true”) {

4

freeCompilerArgs.addAll([

5

“-P”,

6

“plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=” +

7

project.buildDir.absolutePath + “/compose_metrics”

8

])

9

freeCompilerArgs.addAll([

10

“-P”,

11

“plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=” +

12

project.buildDir.absolutePath + “/compose_metrics”

13

])

14

}

15

}

16

}
 

The first part of the code generates reports, while the second one generates metrics for those reports.

To run this code, we use the Gradle command as follows:

1

./gradlew assembleRelease -Pnordvpn-app.enableComposeCompilerReports=true
 

Generating a report on release builds is recommended.

When the execution is completed, it generates a file in the build folder like the one below.

compose_generated_report folder

Where,

*-classes.txt: contains information about classes referenced from a composable function.

*-composables.csv: CSV version of the TXT file

*-composables.txt: contains a detailed output of each Composable.

*-module.json: provides detailed statistics as a comprehensive view.

In our case, we’re primarily focused on the *-composables.txt files and will be working with those.

The image above displays the generated value for only one module. However, for NordVPN, we have multiple UI modules, and each module generates its own compose_metrics folder (that has its Compose code) with all relevant reports included.

Refining the generated report

With all of our modules generating reports, here’s an example of how an individual -composables.txt file can contain multiple blocks of code like:

1

restartable scheme(“[androidx.compose.ui.UiComposable]”) fun ScreenContent(

2

stable onBack: Function0<Unit>

3

stable onSettingToggled: Function0<Unit>

4

unstable state: State?

5

stable modifier: Modifier? = @static Companion

6

}
 

Each of these files contains numerous functions that exhibit a Kotlin-style code structure. Additionally, each module with Compose code has a dedicated text file. Before delving into the details, let’s take a closer look at the significance of this code:

Restartable: When Compose detects changes in the function inputs, it restarts the function, invoking it again with the updated inputs.

Stable: This parameter in the provided function is stable; if they have not changed, Compose will skip it.

Unstable: This parameter in the provided function is unstable and Compose always recomposes it when the parent is recomposed.

We then merge all the *-composables.txt files into a single text file within our project using a script we’ve created for this purpose. This combined file plays a crucial role in our development process. Let’s see how we utilize it.

How do we use it in our day-to-day development?

At NordVPN, we’ve seamlessly integrated this workflow into our CI pipeline for every pull request we create, ensuring that we merge only stable Compose code (whenever possible) into our main branches.

However, before implementing this process, we conduct a thorough review to ensure that all of our Composable code contains no unnecessary unstable parameters. This proactive step guarantees that when we introduce this to our pull request flow, we initiate with a clean slate.

Let’s take a closer look at the steps in our pull request workflow:

1. Create pull request: The process begins with the creation of a pull request (PR).
2. CI job: A Continuous integration (CI) job is triggered for the current PR if there’s a change in any of the UI modules. The CI job performs several tasks:
a. Generate report: We generate a report on the release branch, which results in the creation of multiple text files in each module containing Compose code.
b. Merge the text files: At this stage, we execute a script that combines these text files, retaining only the functions containing unstable parameters.
c. Create a markdown table: Next, we create a markdown table that lists the function names along with their associated unstable parameters.

Output Markdown table

d. Post comment: We post this markdown table as a comment within the PR. This informs developers about any potential instability introduced in the PR.
e. Fix: If instability issues are identified, we proceed to fix the affected functions and commit the changes.

The entire process is then rerun, and if the unstable parameter issues have been addressed, no further comment will be posted. Any previous comments on the matter can be resolved.

Execution of the CI pipeline

This practice aids us in utilizing the Compose Compiler plugin as a lint check for our Composable code, which maintains coding standards and contributes to improved performance for the NordVPN Android app.

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

About NordLayer
NordLayer is an adaptive network access security solution for modern businesses – from the world’s most trusted cybersecurity brand, Nord Security.

The web has become a chaotic space where safety and trust have been compromised by cybercrime and data protection issues. Therefore, our team has a global mission to shape a more trusted and peaceful online future for people everywhere.

A quick dive into identity- and attribute-based encryption

Securing data and communications with genuine encryption is not a simple process, as anyone who has ever dealt with S/MIME or PGP can attest. The biggest problem is the trusted public key exchange. You can download a random public key from a server, but how can you trust that this key is also the right one for your intended recipient? That’s where identity-based and attribute-based encryption comes into play.

 

Identity-based encryption

Wouldn’t it be great if we could just encrypt emails directly with a key derived from the email of the recipient? This question was first formalized by Adi Shamir, the co-inventor of the Rivest-Shamir-Adleman algorithm, or RSA, in 1984. The resulting cryptographic concept was called “identity-based encryption.” It took another 17 years until this concept was proven to be secure by Dan Boneh and Matt Franklin using the Weil Pairing.

Identity-based encryption (IBE) solves the problem of trusted public key distribution by letting users calculate the public key of recipients based on their identifier. An identifier can be any kind of string — the email address of the recipient, for example. The concept introduces a central authority whose job it is to generate respective private keys for identifiers.

Simplified overview of Identity-Based Encryption

Simplified overview of Identity-Based Encryption

Since the sender (let’s call her Alice) can calculate the recipient’s (Bob’s) public key offline based on his email address, Bob doesn’t even have to exist in the system yet. When Bob registers in the system, he just requests his private key from the central identity authority and then decrypts the data.

This design also solves the problem of key expiration — a complicated procedure in classic trusted web applications usually requiring expiring certificates. By making the identifier user+currentYear()@example.com, Alice forces Bob to request a new private key from the central authority every year.

Bob could also act as his own central authority, allowing Alice to send emails that could only be decrypted by certain departments. Imagine a scenario in which Bob is a company administrator and he needs to be able to view all company emails. However, he also wants to make sure that no department can decrypt emails from any other departments. The solution? Bob can set up a central authority and Alice can send emails to security@company.com, press@company.com, and info@company.com (all hypothetical email addresses invented for this example), each encrypted under their own identity public key. Best of all, these emails could all go to the same inbox without compromising confidentiality.

So why is identity-based encryption not used widely for email encryption? The biggest hurdle to this system is setting up the central identity authority to manage the generation of private keys. That might be practical in a company where it’s not unusual for administrators to have a master key to access employee data, but what about other non-corporate contexts?

Imagine that you have an image that you would like to show to your doctor — an X-ray from a previous appointment, for example. Maybe the doctor needs to consult another specialist, like a radiographer. You would like to encrypt your X-ray image in such a way that it could be shared among doctors and specialists.

Identity-based encryption wouldn’t allow the first recipient (your doctor) to safely share the data with someone else. For that, we would need something more flexible that would allow us to embed access policies within a message’s ciphertext. We need attribute-based encryption.

Attribute-based encryption

Attribute-based encryption (ABE) is the next generation of identity-based encryption. Instead of binding public keys to identity strings, they are instead bound to attributes.

Relying on attributes allows the sender to craft a ciphertext over a chosen access policy, combining different attributes with “and”/“or” gates to formalize access conditions. This approach is called ciphertext-policy attribute-based encryption (CP-ABE).

You can also do it the other way around — associate the user’s key with an access policy. Doing so is known as key-policy attribute-based encryption (KP-ABE). Similar to identity-based encryption, an attribute authority is responsible for managing attributes and their private and public key pairs. The owner of the attribute authority has global decryption power over all its attributes.

It is simple to make and own an attribute-based encryption scheme. Let’s introduce a central attribute authority, which stores a map of attribute identifiers to (normal, RSA) public keys. For example, imagine the following mappings:

Map of attribute identifiers to RSA public keys

If Alice would like to craft a ciphertext that can only be decrypted by general doctors who have her as a client, she would encrypt her secret text like this:

Cipher_client-alice = enc(text, PB_client-alice)
Cipher_client-alice&general-doctor = enc(Cipher_client-alice, PB_general-doctor)

Note that Alice herself doesn’t need to have access to the attributes. Only people who have access to both private keys of the attribute “has Alice as a client” and “general doctor” can decrypt the ciphertext. First Bob removes the outer layer of encryption by providing the “has Alice as a client” private key and then additionally applying the “general doctor” private key to retrieve the plain text.

Additionally, Alice would like to give all radiographers (Charlie) access to her photo scan. She creates the following ciphertext:

Cipher_x-ray-specialist = enc(text, PB_x-ray-specialist)

She can now combine both ciphertexts into one message and send it to her doctor:

Cipher_x-ray-specialist || (client-alice&general-doctor) =
Cipher_x-ray-specialist || Cipher_client-alice&general-doctor

As we can see, the ciphertext can be decrypted by radiographers (who will decrypt the first part of the ciphertext) or by any general doctor who has Alice as a client (decrypting the second part of the ciphertext).

Overview of an insecure Attribute-Based Encryption system which is vulnerable to collusion

As with most simple cryptography schemes, this system has some issues. In this case, our simple ABE schema is not collusion resistant. That means that if Eve is a general doctor and Dave is a psychologist who has Alice as a client, nothing stops Dave from just providing Eve with the private key for the attribute “has Alice as a client,” allowing Eve to escalate access.

Attribute-based encryption schemas must be collusion resistant. In practice, collusion resistant means that even if users exchange private attribute keys, they cannot gain additional knowledge about plaintexts beyond their access level.

This could be done, for example, by creating an individual user-bound attribute private key for each attribute, essentially combining the identity element from identity-based encryption with attributes. Additionally, ciphertext should not grow in size the more policies are added to them. Contradictorily, in our self-made schema, a ciphertext would grow larger and larger if we had multiple “or” conditions in our access policy.

Nevertheless, one problem remains. The central attribute authority can globally decrypt ciphertexts, allowing it to impersonate any user and issue any attribute to itself. Having this trusted central authority in the medical context is a bad idea, since medical information is highly sensitive and should only be decryptable and accessible by authorized parties. For the corporate context, attribute-based encryption makes more sense because an administrator could issue attributes to users and is allowed to decrypt and access any file in the company. But what if we have multiple companies, each with its own attribute authority?

Multi-authority attribute-based encryption

Multi-authority attribute-based encryption (MA-ABE) is an attribute-based encryption variation where multiple attribute authorities are responsible for managing distinct attributes. Why don’t we set up multiple individual attribute authorities? Well, we still want to be able to combine attributes from other companies with attributes from our own company to enable cross-company sharing.

Overview of an Multi-Authority Attribute-Based Encryption system for different companies

Overview of an Multi-Authority Attribute-Based Encryption system for different companies

In such a system, it becomes a problem to establish globally known parameters for each attribute authority. MA-ABE introduces a new central server that is responsible for setting up new attribute authorities and bootstrapping the system overall.

Early MA-ABE schemes required this central server to have global decryption power over all attribute authorities. On the other hand, modern MA-ABE schemes such as DAC-MACS (effective data access control for multi-authority cloud storage systems) are close to what we need to implement for MA-ABE in real-world scenarios because they don’t require the central server to have global decryption power.

MA-ABE offers some useful new approaches to data encryption:

  1. ABE schemes are group centric, meaning that a single group can be described with a single attribute. This makes encrypting and decrypting for groups easier. On the other hand, encrypting information for single individuals becomes more computationally intensive compared to traditional encryption schemes because these individuals usually don’t share common attributes.

  2. When an attribute gets revoked from a user, the attribute key and all ciphertexts using this attribute need to be rotated and re-keyed. This can be done by the attribute authority or a proxy-reencryption service.

  3. Proxy-decryption is a technique where a server helps the user during decryption. It does so by using the user’s private attribute keys. As the ciphertext is additionally protected with the user’s identifier (IBE), confidentiality is not compromised. Proxy-decryption can be used to help mobile clients with the computationally intensive decryption process.

Is MA-ABE ready to be deployed in modern secure cloud storage solutions such as NordLocker Business or NordPass Business? Personally, I would say no.

Even though the modern MA-ABE schemes fulfill most of the security requirements for end-to-end encrypted cloud storage systems, their system implementation is complex, and the underlying cryptographic principles like pairings are not yet widely adopted in cryptographic libraries. In addition, pairing operations are computationally intensive and not suitable for mobile devices, which require low power consumption for a good user experience.

With the world shifting increasingly further to the mobile side, proxy-decryption might help to decrease the computational overhead on the mobile device, but it requires the user to be always online to access their encrypted files. Finally, MA-ABE can only be cryptographically beneficial if users change their attitudes around encrypting files — away from sharing data with individuals, and towards attributing access policies over their data. It is yet to be seen if users and companies are willing to adopt this mindset change.

The existence and proven security of attribute-based and identity-based encryption schemes show that we are just scratching the surface of what is cryptographically possible with elliptic curves. However, the practical applicability of schemes in real-world scenarios is yet to be seen.

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

About NordLayer
NordLayer is an adaptive network access security solution for modern businesses – from the world’s most trusted cybersecurity brand, Nord Security.

The web has become a chaotic space where safety and trust have been compromised by cybercrime and data protection issues. Therefore, our team has a global mission to shape a more trusted and peaceful online future for people everywhere.

How to create a resilient human firewall: a talk with Mark T. Hofman

Is the modern cybercriminal a solitary figure acting as a lone wolf? Or are they more often part of a sophisticated, white-collar pack? We discuss this with Mark T. Hofman, a well-known crime and intelligence analyst. Together, we explore the mechanics and motivations behind cybercrime. Spoiler alert: it’s not just about money. 

In our talk, we examine the tactics of cybercriminals. How they exploit human behavior, not just system vulnerabilities, to target victims. We shed light on why people click on suspicious links.  We also reveal organizations’ weakest links. Finally, we discuss what it means that cyber-attacks fail at the coffee machine.

Dive into the interview and learn how to build a strong human firewall in your business.

The interview’s highlights

  • Cybercriminals don’t fit the stereotypes shown in movies. They operate within structured, business-like entities that use advanced tactics like ransomware-as-a-service.

  • Cyber attackers often seek thrills, not just money. The excitement of outsmarting the system often motivates them more than financial gains.

  • Cybercrime targets human error more than system flaws. It often exploits moments of inattention or bad luck. And has nothing to do with a victim’s intelligence.

  • Cyber awareness across all levels of staff is key for organizational security. Anyone, even IT admins, can become the weakest link in a cyber-attack.

  • Fostering a company culture of cybersecurity is key for digital safety. Just like looking both ways before crossing the street, taking precautions is a must.

Key insight #1: cybercriminals are smart individuals operating in company-like structures.

NordLayer: You often say in your keynote speeches that the idea of a lone cybercriminal is inaccurate. What is the reality?

Mark T. Hofman: Cybercriminals are often presented as 15-year-old teenagers with black hoodies sitting in a dark room. That’s a Hollywood myth.

The number one threat for many companies is ransomware and crime-as-a-service operations. The individuals behind these are not just kids. They’re sophisticated and work within organized, business-like setups on the economy’s dark side. These criminal organizations function like companies. They have customer support, quality management, recruitment, and specialists who negotiate ransoms.

For example, look at DarkSide, a group that attacked the Colonial Pipeline networks. Like many other cyber gangs, it is set up like a business with affiliates. They even issued a press release discussing their “ethics” and preferred targets.

NordLayer: Can you tell us more about how these ransomware-as-a-service structures work?

Mark T. Hofman: Everything starts with a ransomware creator, like DarkSide. They make ransomware that locks and encrypts data once it gets into a victim’s computer.

What’s interesting is that DarkSide doesn’t interact with the victims. Instead, they operate through a network of affiliates responsible for infiltrating computer systems. These affiliates use DarkSide’s ransomware and subscribe to their malicious software.

The fees for using this service vary based on how much ransom is taken from the victim. This shows the sophistication and organization level within modern cybercrime enterprises.

Key insight #2: cybercriminals love the challenge of beating the system more than money

NordLayer: You’ve talked to quite a few cybercriminals. What really drives them?

Mark T. Hofman: When I talk with threat actors on the darknet, X, 4chan, various forums, and Telegram groups, I try to figure out as much as possible about their psychology and methods. In my keynote talks, I share this knowledge to help companies and government agencies understand how to protect themselves.

Here’s the scoop: many people believe they are only after money. Sure, that’s part of it. But for many, it’s not just about money. It’s more about the psychological trait of thrill-seeking or the challenge to beat the system. Many cybersecurity experts might disagree with this argument. But, if you already have millions of dollars in Bitcoin in your wallet and you still commit crimes, then your motive is not money but greed.

For example, cybercriminals often target government institutions, not because of financial gains but simply because they can. It’s a game of cat and mouse. Or a game of chess that always gives you a challenge.

Another thing is that most cybercriminals start young, around 10 to 15 years old. They play with technology, take things apart, and try to find bugs or hacks in computer games. Here, it’s a mix of boredom and thrill-seeking behavior. For many, school is boring, and there are more interesting hacks to learn on platforms like Reddit. YouTube is usually their entry point before going into the dark net. For many 11-year-olds, cybercrime is a way to gain recognition and respect.

In contrast, young soccer talents get support at school and the opportunity to join a soccer team. What support is there for coding talents? Mostly nothing. If we want to prevent cybercrime in the long term, we should give 11-year-olds a chance to use their skills for good purposes. Otherwise, they may learn the wrong things on the darknet and end up on the wrong side of the law.

Key insight #3: cybercrime exploits human psychology rather than system vulnerabilities.

NordLayer: In one of your YouTube videos, you said that cybercrime is not about technology but psychology. Why is that?

Mark T. Hofman: Over 90% of cyberattacks happen because of simple mistakes people make. And it’s clearly a psychological problem, not a technical one.

Quote 2 1400x500

It’s people clicking on suspicious links, opening email attachments, plugging in USB flash drives they found in the parking lot, connecting to public Wi-Fi networks, having loud phone calls about sensitive topics at airport lounges, revealing their OTP (one-time password) on the phone, and falling for deception like honeytraps or well-made deep fakes. In short, cybercrime often uses human error—this is where psychology comes into play. And yet, this psychological aspect of cybercrime is often underestimated.

NordLayer: “I’m smart, I will never click on a suspicious link,” many people say. Yet, they do click and get attacked. How does that happen?

Mark T. Hofman: It has nothing to do with their IQ. It’s more about whether you’re paying attention at that moment or just having a run of bad luck.

For instance, if you get a phishing email about a recent Amazon purchase you didn’t make, you might say, “Who would be so stupid to click on this?” But, if you did make an Amazon purchase 20 minutes ago and now you get an email claiming there’s a problem with your order, you’re much more likely to click, and it has nothing to do with your intelligence. Everyone can fall victim to a cyber-attack. 

NordLayer: How do cybercriminals analyze our weakest points?

Mark T. Hofman: Most of the time, they don’t. For example, in many cases, phishing emails are not specifically targeted. They are sent out to thousands of users, hoping that someone will click on a suspicious link and take the bait.

I get phishing attempts from banks where I don’t even have an account. It just shows cybercriminals shoot in the dark. But when they target someone, like in spear phishing, open-source intelligence (OSINT), and on social media, they smartly use the information about you that’s available online.

Say an IT admin lists an XY software skill on their LinkedIn profile. They get an email saying, “Critical security update for software XY,” and even a tech-savvy IT guy might click. It shows everyone can fall victim to this type of attack.

NordLayer: How do you conduct cyber profiling? Is it similar to offline crimes?

Mark T. Hofman: Yes and no. In everything we do, we show something about who we are. Our behavior leaves personality traces. The same principle applies to cyberspace, where there are no physical traces but digital ones.

Cybercriminals decide when and how to attack, who to target, and what language to use in their threatening emails, ransom chats, or phone calls. They also leave a trail of their personality. And disclose their intentions or identity, which can be analyzed to learn more about them.

For example, the FBI uses a checklist to judge how serious a threatening letter is. Today, these letters aren’t letters anymore. They are social media posts, tweets, or emails, but their content can be analyzed in a similar way. So, some profiling methods used in the real world can also be applied in cyberspace.

Key insight #4: to create a robust human firewall, everybody in an organization must be aware of security.

NordLayer: Who is more at risk for online scams and cyber-attacks? IT professionals, who know the ropes or remote workers?

Mark T. Hofman: It’s a common misconception that IT professionals are immune to cyber threats because of their expertise. In fact, the risk isn’t about knowledge alone—it’s about context.

Many cyberattacks fail at the coffee machine. What do I mean by that? For example, identity theft scams like CEO fraud exploit a lack of face-to-face talk. If I meet my boss at the coffee machine and ask them about a bank transfer, and they respond with, “What bank transfer? I didn’t send you any email,” the attack fails.

Working from home increases the risk of cyber threats, as people might fall for online scams that prey on individual mistakes and the absence of a ‘coffee machine’ moment of verification.

NordLayer: What are the most successful social engineering techniques that attackers use?

Mark T. Hofman: Attackers often combine three elements, which I call the dark triad of cybercrime: time pressure, emotion, and an exception. Be cautious if someone calls you, triggers emotions, creates time pressure, and asks you to do something unusual.

Deepfake technology has advanced to the point where someone can replicate your voice with just a half-minute of audio. I could clone your voice and make you say anything in any language. Imagine your partner calls you and says, “Honey, I’m in trouble, you need to send me money.” It’s a combination of time pressure, emotion, and an unusual request, all classic signs of a scam. So, be careful when you get an urgent request for money, even if it appears to come from someone you trust.

NordLayer: Now, let’s discuss a cyber attack’s “butterfly effect.” How do small steps in an attack, such as a minor vulnerability, cause major problems across a system?

Mark T. Hofman: We need both technical security and a human firewall. Do you have a well-trained CISO or IT department? What do your interns or executive assistants know about cybersecurity? How security-aware are your C-level executives or your receptionist? Every chain is as strong as its weakest link, so we must reach out to everyone. My motto is “Make cybersecurity great again.” It’s because the main target group is people who are not interested in cybersecurity. They represent the weakest link. We must also make them security-aware.

Quote 5 400x560

Key insight #5: staying safe online is like looking both ways before you cross the street.

NordLayer: What can we do to become the human firewall?

Mark T. Hofman: I would be happy if people paid attention to the basics of cybersecurity. This includes using long and different passwords and enabling multi-factor authentication. Equally important are protective measures like firewalls, antivirus software, and VPNs at work and home.

We need physical and psychological awareness. This means being wary of third-party USB sticks, suspicious links, or email attachments and always keeping your software updated. Also, never leave your laptop or cell phone unlocked. Avoid buying USB sticks from online shops. And stay alert when emotions are triggered or something seems out of place.

When every employee understands that cybersecurity is a personal responsibility, not just the job of the IT, that’s what I call the human firewall.

NordLayer: Can education reduce human errors in the future? And how can AI help us make fewer mistakes?

Mark T. Hofman: Discussions on cybercriminals’ forums focus on AI’s risks and benefits. They see its opportunities but also worry that their crimes might get harder if businesses and law enforcement agencies understand the full potential of AI. I think the threat actors’ concern is good news for us.

Of course, cybercriminals also exploit AI technologies, such as deep fakes, and specialized versions of Chat GPT tailored for attacks, such as  WormGPT. I discuss the dark side of AI a lot in my talks. And AI also offers opportunities for defense and cyber profiling.

Basically, AI is like a knife. You can use it to make a salad or kill your wife. It’s a tool that can be used to create good and bad outcomes and will be used on both sides.

NordLayer: How can we engage and educate those not very knowledgeable about cybersecurity, including C-level executives?

Mark T. Hofman: At many cybersecurity conferences worldwide, I meet cybersecurity experts discussing cybersecurity topics with other cybersecurity experts. That’s great. But in the end, it’s interns, regular employees, or C-level executives who often open email attachments or click on suspicious links.

Cybersecurity must be entertaining and relatable to make people aware of threats. I always say, „Make it about people, not just about business.“. If you include “Three ways child predators can exploit your child in World of Warcraft” in your cyber-awareness training, guess what? Suddenly, mothers will care more about cybersecurity.

I also address private life and the so-called “grandchild trick.” Brief seniors in your family to be cautious when they get a WhatsApp message telling them, „Hi mom, I have a new number. “ Make cybersecurity matter to everyone.

Thank you.

Mark T. Hofmann, a crime and intelligence analyst and business psychologist, specializes in behavioral and cyber profiling. Featured on CNN, CBS, and 60 Minutes Australia and publications such as Forbes, Mark T. Hofman is also a popular keynote speaker, discussing the psychology of cybercrime and the dark side of AI.

How NordLayer can help

No matter if your team is in-office, hybrid, or fully remote, it’s vital to enhance your security and make your employees aware of it. Contact the NordLayer team for a customized solution for secure network access for your organization.

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

About NordLayer
NordLayer is an adaptive network access security solution for modern businesses – from the world’s most trusted cybersecurity brand, Nord Security.

The web has become a chaotic space where safety and trust have been compromised by cybercrime and data protection issues. Therefore, our team has a global mission to shape a more trusted and peaceful online future for people everywhere.

×

Hello!

Click one of our contacts below to chat on WhatsApp

×