This idea is interesting to me because hell making my own stuff is fun. I have access to quite a few usb keys already so technically I might have the material available. Also my threat model is pretty low so I’m interested in security mostly for fun.

Most methods I have found talk about making a key to secure a computer but I would really like to make something that would do WebAuthn.

There is a neat Git project that shows how to turn a few specific devices into 2FA code prompters/automatic fillers. But in my naive mind that falls short of what I would truly wish to be able to accomplish ie. Stock USB --> WebAuthn/Passkey device.

Has anybody seen anything on the subject?

10 points

Have you seen this? https://flipperzero.one/

You can do way more than just 2FA with it. If you’re interested in security, there are all kinds of things you can do. It’s getting some heat because of people using them maliciously, but if you aren’t ethically compromised, it’s a great tool to play around with and find potential vulnerabilities in your own systems and learn a lot in the process.

https://docs.flipperzero.one/u2f

Also, there are custom firmware loads and open source apps that open up some other avenues with a highly engaged community.

https://github.com/ClaraCrazy/Flipper-Xtreme https://github.com/UberGuidoZ/Flipper

It’s super fun, I’ve barely scratched the surface with mine.

permalink
report
reply
4 points

Thank you for sharing some of the flippers capabilities. I am looking for a 0$ option, I got my reasons.

permalink
report
parent
reply
1 point

You can certainly store your private keys on a usb flash drive and refer to those for any asymmetric cryptography in use. For example, ssh keys and personal ssl certificates.

permalink
report
reply
4 points

I don’t think it’s possible due to security keys having dedicated hardware for WebAuthn. I had the same idea before I got my pair of Yubikeys

permalink
report
reply
7 points

By “USB keys” and “stock USB,” are you talking about USB flash drives? Chances are there’s no way to reprogram the controller in one to act as a HID device rather than mass storage.

permalink
report
reply
2 points

I’ll look into HID devices but buying stuff is annoying. I was really hoping to be able to just repurpose a flash drive.

permalink
report
parent
reply
4 points

You could try USB Raptor - it’s Windows only and works as a wrapper to use your drive as the authentication since you need special hardware to make an actual HID authentication device as @SpaceNoodle correctly stated.

https://sourceforge.net/projects/usbraptor/

permalink
report
parent
reply
2 points

There were a few different resources talking about ways to make a security key that locks/unlocks a computer. It’s not on my radar right now. Thank you for sharing this one.

permalink
report
parent
reply
6 points
*

From what I remember, you need a specific usb drive with a controller that is able to be reprogrammed

Another way is to just buy a usb HID device, they’re cheap

permalink
report
reply
2 points

The tutorials I found see to point towards specific controllers. I was hoping for a measly flash drive to be able to modified.

permalink
report
parent
reply

Privacy Guides

!privacyguides@lemmy.one

Create post

In the digital age, protecting your personal information might seem like an impossible task. We’re here to help.

This is a community for sharing news about privacy, posting information about cool privacy tools and services, and getting advice about your privacy journey.


You can subscribe to this community from any Kbin or Lemmy instance:

Learn more…


Check out our website at privacyguides.org before asking your questions here. We’ve tried answering the common questions and recommendations there!

Want to get involved? The website is open-source on GitHub, and your help would be appreciated!


This community is the “official” Privacy Guides community on Lemmy, which can be verified here. Other “Privacy Guides” communities on other Lemmy servers are not moderated by this team or associated with the website.


Moderation Rules:

  1. We prefer posting about open-source software whenever possible.
  2. This is not the place for self-promotion if you are not listed on privacyguides.org. If you want to be listed, make a suggestion on our forum first.
  3. No soliciting engagement: Don’t ask for upvotes, follows, etc.
  4. Surveys, Fundraising, and Petitions must be pre-approved by the mod team.
  5. Be civil, no violence, hate speech. Assume people here are posting in good faith.
  6. Don’t repost topics which have already been covered here.
  7. News posts must be related to privacy and security, and your post title must match the article headline exactly. Do not editorialize titles, you can post your opinions in the post body or a comment.
  8. Memes/images/video posts that could be summarized as text explanations should not be posted. Infographics and conference talks from reputable sources are acceptable.
  9. No help vampires: This is not a tech support subreddit, don’t abuse our community’s willingness to help. Questions related to privacy, security or privacy/security related software and their configurations are acceptable.
  10. No misinformation: Extraordinary claims must be matched with evidence.
  11. Do not post about VPNs or cryptocurrencies which are not listed on privacyguides.org. See Rule 2 for info on adding new recommendations to the website.
  12. General guides or software lists are not permitted. Original sources and research about specific topics are allowed as long as they are high quality and factual. We are not providing a platform for poorly-vetted, out-of-date or conflicting recommendations.

Additional Resources:

Community stats

  • 584

    Monthly active users

  • 633

    Posts

  • 12K

    Comments