top of page

Nespresso Smart Cards Brewed with Weak Security

  • 8 de fev. de 2021
  • 2 min de leitura

Atualizado: 8 de jul. de 2021

A researcher hacked Nespresso Pro smart cards to dispense free, unlimited coffee.

Researchers have demonstrated how to outsmart Nespresso Pro machines that use certain smart cards, hacking them to dispense coffee on-demand.


Nespresso produces a range of coffees and machines for personal and professional use. Some of the commercial machines accept Mifare Classic stored-value smart cards, which allow users to load money onto the cards to use in the machines. The cards however have been widely panned as lacking in security for at least the past 12 years. In 2008, a paper entitled Dismantling Mifare Classic was published, flagging many issues.


But, that didn’t stop Nespresso from using the cards with its Nespresso Pro public machines, which are installed throughout Europe — despite updated alternatives being available, like the Mifare Plus smart cards , according to researcher Polle Vanhoof.


He added that storing the money on the card, rather than on a back-end server, would seem to make sense on the surface.


“This is a much simpler and cost-effective design, requiring less hardware and software to implement, making it a likely choice for anyone developing such a system unaware of the security weaknesses of the Mifare Classic,” Vanhoof explained in the disclosure.


Vanhoof found that he could easily crack the smart card and add unlimited funds to be used in the coffee dispensers.


Threatpost reached out to Nespresso for comment but hasn’t yet heard back.

A Whole Latte Security Flaws


Vanhoof explained that he used mfoc, a tool to crack the Mifare Classic chip’s encryption and move the contents of the data to a separate file.


“While attempting to crack the keys for the Nespresso cards I encountered some bugs that would prevent the application from properly dumping the keys,” Vanhoof said. “I fixed the issues and submitted a pull request… but I do not expect that it will be merged given the state of the repository.”


Vanhoof directed other researchers doing this type of work to use a patched version.


He then ran the mfoc tool to crack non-default keys with the command [mfoc -P 500 nespressp.dmp].


“Before we continue, we manually grab the keys that were found and add them to a file [keys.txt], Vanhoof added. “That way we can feed them into the tool and skip the cracking part for subsequent dumps.”


He loaded the card with €1.50 and made a binary dump using the previous keys. Then he purchased coffee from a Nespresso machine, dropping the card’s value and made another dump for comparison to find the money bytes in the code.


“After doing some more testing and debugging, we come to the conclusion that the card uses 3 bytes to represent the total monetary value on the card,” Vanhoof said. “The maximum possible amount of money on one of these cards is therefore €167.772,15.”


Using the [nfc-mfclassic] tool, Vanhoof was then able to add money back onto the card.


To fix the bug, Vanhoof explained Nespresso users should upgrade their smart cards. He added that updating the machines so that money values are stored on a centralized server, rather than the card itself, would be a big improvement.


“After talking to Nespresso, it seems they already offer both of these options,” Vanhoof said. “Clients concerned with the security of their systems should look into these alternatives.”


Original Post: ThreatPost



7 comentários


ball88.site mình lướt thử vì thấy mấy ông bạn nhắc, kiểu vào xem cho biết thôi. Cảm giác đầu tiên là trang làm gọn gàng, nhìn phát hiểu đây là dạng “hệ sinh thái” nên mọi thứ nằm chung một chỗ, không phải bấm qua lại nhiều. Mình cũng để ý họ có phần tổng quan điểm khác biệt đặt khá nổi, đọc nhanh vài dòng là nắm được hướng họ muốn làm nhanh và dễ dùng cho người Việt. Cuộn xuống không bị rối mắt, chữ với khoảng cách ổn nên đọc lướt cũng nhẹ nhàng. Nói chung không cần ngồi soi lâu mà vẫn bắt nhịp được nhờ mấy khối nội dung và menu điều hướng được gom…

Curtir

x8smile.net mình thấy dạo này hay được nhắc nên cũng tò mò bấm vào xem thử giao diện họ làm thế nào. Mình không có thời gian ngồi soi từng mục hay chơi gì cả, chỉ lướt qua để xem cách họ trình bày thông tin cho dễ hiểu không. Ấn tượng ban đầu là bố cục khá sáng sủa, các khối nội dung tách ra rõ nên nhìn một vòng không bị ngợp. Có đoạn họ ghi tỷ lệ RTP 97.2% ngay trong phần giới thiệu, kiểu đặt thông tin “con số” lên trước nên ai quan tâm là thấy liền. Mình cũng để ý mấy tiêu đề năm 2026 được làm nổi bật, nhìn vào là biết họ…

Curtir

Tải sunwin hôm trước mình chỉ ghé thử cho biết vì thấy mọi người nói nhiều, chứ cũng không có ý định ngồi chơi hay đọc kỹ gì. Vào cái là thấy giao diện khá dễ chịu, nền nhìn thoáng nên lướt không bị rối mắt. Mình thích nhất là cách họ chia nội dung thành mấy khối rõ ràng, kéo xuống tới đâu biết mình đang ở phần nào tới đó, không phải đoán. Thanh menu đặt ngay chỗ dễ nhìn nên chuyển qua lại nhanh, kiểu bấm cái là tới, khỏi mò. Mấy bảng thông tin dạng cột nhìn gọn, chữ không bị dồn, nên xem trên trang thấy khá “mượt” và dễ theo dõi.

Curtir

Mấy hôm nay lướt thấy người ta bàn về Kuwin nhiều quá nên mình cũng ghé xem thử cho biết. Cảm giác đầu tiên là giao diện chia mục khá rõ ràng, kiểu kéo xuống là thấy đúng phần mình cần, không phải mò lâu. Mình có bấm vào mục Hướng Dẫn & Giải Đáp một chút, thấy họ giải thích ngắn gọn về chuyện kết quả game chạy theo RNG chuẩn quốc tế và nạp rút thì xử lý tự động qua kết nối ngân hàng ví nên đọc cũng yên tâm phần nào. Mình không chơi gì cả, chủ yếu xem cách họ trình bày thông tin thôi, nhìn chung dễ theo dõi. Mấy box hỏi đáp đặt…

Curtir

tỷ lệ kèo nhà cái hôm bữa mình lướt thấy người quen share nên bấm vào xem thử cho biết, kiểu tò mò giao diện thôi chứ không ngồi nghiên cứu gì nhiều. Vào trang cái mình để ý ngay là nhìn khá sáng sủa, khoảng trắng vừa đủ nên không bị bí mắt. Nội dung họ chia thành mấy khối rõ ràng, kéo xuống tới đâu là hiểu tới đó, không bị dồn chữ một cục. Mình thích nhất là mấy bảng số liệu trình bày theo cột gọn gàng, nhìn lướt cũng bắt được thông tin chính mà không phải căng mắt. Menu đặt ở chỗ dễ thấy nên chuyển qua lại vài mục cũng nhanh, không phải…

Curtir

© 2015 - 2025 Todos as informações aqui publicações encontram-se em sites públicos

bottom of page