0

I would like to enumerate all possible PGP e-mails related to North Korean top-level domain .kp

Few years ago I would have used theHarvester but I recently discovered that this useful tool doesn't support PGP keyring search any more :(

If I use the official MIT PGP Key Server search and I try to search for .it:

enter image description here

the search starts but it then ends up in an error:

enter image description here

Which makes sense, there are maybe too many entries.

But for North Korea it might maybe be possible because they had only 1024 routable IP addresses, the list of website is not that long, and I'm quite sure some might have used PGP. Or maybe not?

Anyway, do you know any tool alternative to theHarvester to dig into e-mails by top-level domain?

4
  • its open source.... you could add the code needed for your specific usecase...
    – LvB
    May 18, 2021 at 11:17
  • @LvB I don't think so. If the author removed the PGP feature is because it was no more compatible. In fact the MIT Key Server doesn't provide API endpoints so the only alternative would be to write a web crawler. But that web crawler will be kicked off like in the screenshot. That's why I'm looking for an alternative. May 18, 2021 at 15:29
  • What's your goal here? Blocking all mail from .kr is pretty simple, but scraping a list of PGP keys that claim to sign .kr domains is much more complicated and I'm not sure how useful it is. Also recall that there's no mandate anywhere within PGP usage for a key to actually be added to key servers. For secrecy or privacy, many users intentionally avoid public PGP servers. I expect that to be more common in North Korea.
    – Adam Katz
    May 18, 2021 at 16:43
  • Thank you @AdamKatz, I just want to try to send an e-mail to North Korea. In order to do that I need to enumerate as much e-mail address as possible. Any tool or advice that will help me enumerate e-mails will be helpful May 18, 2021 at 20:16

1 Answer 1

1

A keyserver can't let users query something that will return arbitrarily large amounts of data. If this were possible it would make them extremely vulnerable to Denial of Service.

If you want to find all keys containing emails in a certain domain, you'll have to download the SKS keydumps (for example, from here) and trawl through them.

The keydumps total around 11 GB, so this is no small project.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .